/* ============================================
   AVODA - Site Institucional
   Estilo Premium Canva - Transformação Visual
   ============================================ */

/* ============================================
   1. VARIÁVEIS E CONFIGURAÇÕES BASE
   ============================================ */
:root {
    /* Cores da identidade visual */
    --deep-indigo: #2C3E50;
    --soft-gold: #D4AF37;
    --clay-red: #A14E3F;
    --desert-sand: #E5D4C0;
    --charcoal-slate: #3A3A3A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --navy-blue: #2C3E50;
    
    /* Espaçamentos padronizados */
    --spacing-section-main: 80px;
    --spacing-section-secondary: 40px;
    --spacing-title-top: 40px;
    --spacing-title-bottom: 20px;
}

/* ============================================
   2. RESET E BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal-slate);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Tipografia - Títulos: Playfair Display */
h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--deep-indigo);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--deep-indigo);
    margin-top: var(--spacing-title-top);
    margin-bottom: var(--spacing-title-bottom);
}

h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1.25;
    color: var(--deep-indigo);
}

h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-indigo);
}

/* Tipografia - Corpo: Inter */
p, span, a, li, strong, em {
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   3. TÍTULOS DE SEÇÃO
   ============================================ */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--deep-indigo);
    position: relative;
    padding-bottom: 1rem;
    margin-top: var(--spacing-title-top);
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--soft-gold), var(--clay-red));
}

.section-title-light {
    color: var(--white);
}

.section-title-light::after {
    background: linear-gradient(to right, var(--soft-gold), var(--white));
}

/* ============================================
   4. NAVBAR - Transparente que muda ao rolar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-link {
    color: var(--charcoal-slate);
}

.navbar.scrolled .navbar-link:hover {
    color: var(--deep-indigo);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 104px;  /* Reduzido 20% adicional (de 130px) */
    height: auto;
    transition: opacity 0.4s ease;
}

.logo-white {
    display: block;
}

.logo-dark {
    display: none;
}

.navbar.scrolled .logo-white {
    display: none;
}

.navbar.scrolled .logo-dark {
    display: block;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar-link {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.navbar.scrolled .navbar-link {
    color: var(--charcoal-slate);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--soft-gold);
    transition: width 0.3s ease;
}

.navbar-link:hover {
    color: var(--soft-gold);
}

.navbar.scrolled .navbar-link:hover {
    color: var(--deep-indigo);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-toggle span {
    background-color: var(--deep-indigo);
}

/* ============================================
   5. HERO - Premium com imagem de fundo
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('/img/hero.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    padding-top: 120px;  /* Margem superior aumentada após remover logo */
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--white);
    color: var(--deep-indigo);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-hero {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: var(--soft-gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ============================================
   6. SEÇÃO DE MÉTRICAS - Nova seção premium
   ============================================ */
.metricas {
    padding: var(--spacing-section-main) 0;
    background-color: var(--navy-blue);
    color: var(--white);
}

.metricas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.metrica-item {
    text-align: center;
}

.metrica-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--soft-gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metrica-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   7. SOBRE A AVODA - Fundo claro
   ============================================ */
.sobre {
    padding: var(--spacing-section-main) 0;
    background-color: var(--desert-sand);
    position: relative;
}

.sobre-content {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-image {
    display: flex;
    flex-direction: column;
}

.divine-light-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sobre-text-wrapper {
    max-width: 600px;
}

.sobre-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: block;
}

.sobre-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--charcoal-slate);
}

.sobre-text em {
    font-style: italic;
    color: var(--deep-indigo);
    font-weight: 500;
}

/* ============================================
   8. SOLUÇÕES - Fundo branco, cards premium
   ============================================ */
.solucoes {
    padding: var(--spacing-section-main) 0;
    background-color: var(--white);
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.solucao-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--soft-gold);
}

.solucao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.solucao-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
}

.solucao-icon i {
    width: 48px;
    height: 48px;
    color: var(--deep-indigo);
    stroke-width: 1.5;
}

.solucao-icon i:hover {
    color: var(--clay-red);
}

.solucao-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--deep-indigo);
    text-align: center;
}

.solucao-text {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal-slate);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: center;
}

.solucao-list {
    margin-top: 1.5rem;
}

.solucao-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--charcoal-slate);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.solucao-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--clay-red);
    font-weight: bold;
}

/* ============================================
   9. IMAGENS SEPARADORAS - Full width
   ============================================ */
.section-image {
    height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
}

.section-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.section-image-1 {
    background-image: url('/img/section1.jpg');
}

.section-image-2 {
    background-image: url('/img/section2.jpg');
}

/* ============================================
   10. COMO TRABALHAMOS - Fundo azul navy
   ============================================ */
.como-trabalhamos {
    padding: var(--spacing-section-main) 0;
    background-color: var(--navy-blue);
    color: var(--white);
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.processo-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.processo-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.processo-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--soft-gold), var(--clay-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.processo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--white);
}

.processo-text {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ============================================
   11. QUEM SOMOS - Fundo branco
   ============================================ */
.quem-somos {
    padding: var(--spacing-section-main) 0;
    background-color: var(--white);
}

.quem-somos-content {
    max-width: 900px;
    margin: 0 auto;
}

.quem-somos-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--charcoal-slate);
    text-align: center;
}

/* ============================================
   12. DIFERENCIAIS - Fundo azul navy, cards premium
   ============================================ */
.diferenciais {
    padding: var(--spacing-section-main) 0;
    background-color: var(--navy-blue);
    color: var(--white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.diferencial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--soft-gold);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.diferencial-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--soft-gold);
    margin-bottom: 1rem;
}

.diferencial-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
}

.diferencial-icon i {
    width: 48px;
    height: 48px;
    color: var(--soft-gold);
    stroke-width: 1.5;
}

.diferencial-text {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1.05rem;
}

.diferencial-text strong {
    color: var(--soft-gold);
    font-weight: 600;
}

/* ============================================
   13. CONTATO - Fundo escuro com imagem
   ============================================ */
.contato {
    padding: var(--spacing-section-main) 0;
    background-color: var(--navy-blue);
    color: var(--white);
    position: relative;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contato-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.contato-logo {
    flex-shrink: 0;
}

.contato-logo-img {
    max-width: 120px;
    height: auto;
    opacity: 0.9;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.contato-item {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contato-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--soft-gold);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contato-item a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: var(--soft-gold);
    text-underline-offset: 4px;
}

.contato-item a:hover {
    color: var(--soft-gold);
}

.contato-qr {
    text-align: center;
}

.qr-image {
    max-width: 200px;
    margin: 0 auto;
    border: 2px solid var(--soft-gold);
    border-radius: 8px;
    padding: 10px;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ============================================
   14. FOOTER - Com imagem de fundo
   ============================================ */
.footer {
    position: relative;
    background: url('/img/footer.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: var(--spacing-section-main) 0;
    text-align: center;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 80, 0.85);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   15. RESPONSIVIDADE PREMIUM
   ============================================ */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-link {
        color: var(--charcoal-slate);
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-toggle span {
        background-color: var(--deep-indigo);
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero Mobile */
    .hero {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-container {
        padding-top: 80px;  /* Margem reduzida em mobile */
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .logo-img {
        width: 88px;  /* Logo reduzida em mobile (proporcional) */
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    /* Métricas Mobile - 2 colunas */
    .metricas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .metrica-number {
        font-size: 3rem;
    }

    /* Sobre Mobile */
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sobre-image {
        order: -1;
        max-width: 100%;
    }
    
    .sobre-text-wrapper {
        max-width: 100%;
    }
    
    .sobre-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    /* Soluções Mobile - Cards 100% largura */
    .solucoes-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .solucao-card {
        padding: 40px 30px;
    }

    /* Imagens Separadoras Mobile */
    .section-image {
        height: 200px;
        background-attachment: scroll;
    }

    /* Processo Mobile */
    .processo-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Diferenciais Mobile - Cards 100% largura */
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Contato Mobile */
    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contato-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .contato-logo-img {
        max-width: 100px;
    }

    .contato-qr {
        order: -1;
    }
    
    .qr-image {
        max-width: 180px;
    }
    
    /* Footer Mobile */
    .footer {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
    
    /* Métricas Mobile - 1 coluna em telas muito pequenas */
    .metricas-grid {
        grid-template-columns: 1fr;
    }

    .solucao-card,
    .processo-item,
    .diferencial-card {
        padding: 30px 20px;
    }
}
