/* ===================================
   Variáveis CSS - Paleta de Cores
   =================================== */
:root {
    /* Cores principais */
    --color-primary: #4A5F7C;
    --color-primary-light: #5d7490;
    --color-accent: #7EB3D4;
    --color-background: #F5F1E8;
    --color-dark: #293237;
    --color-white: #ffffff;
    
    /* Tipografia */
    --font-display: 'Playfair Display', serif;
    --font-ui: 'Montserrat', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-footer: 'Questrial', sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(74, 95, 124, 0.08);
    --shadow-md: 0 4px 16px rgba(74, 95, 124, 0.12);
    --shadow-lg: 0 8px 32px rgba(74, 95, 124, 0.16);
    --shadow-xl: 0 16px 48px rgba(74, 95, 124, 0.2);
}

/* ===================================
   Reset e Base
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   Tipografia
   =================================== */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

/* ===================================
   Container
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Navbar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    font-style: normal;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--color-dark);
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 300;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.btn-whatsapp {
    background: var(--color-accent);
    color: var(--color-white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 400 !important;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===================================
   Hero Section - TALL VERSION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, 
        var(--color-background) 0%, 
        rgba(126, 179, 212, 0.05) 100%
    );
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding: 2rem 0;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 300;
    width: fit-content;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.hero-title {
    font-size: 3rem;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.2;
}

.hero-title .highlight {
    display: block;
    font-style: italic;
    color: var(--color-primary);
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-dark);
    opacity: 0.85;
    line-height: 1.7;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--color-dark);
    opacity: 0.7;
    font-weight: 300;
}

/* Hero Image - TALL (vai além das stats) */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin-top: -80px; /* Começa antes (perto do header) */
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    width: 2px;
    height: 30px;
    background: var(--color-primary);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================================
   Process Section
   =================================== */
.process-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-dark);
    opacity: 0.8;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.process-card {
    background: var(--color-background);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.process-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.process-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.process-card p {
    color: var(--color-dark);
    opacity: 0.85;
    line-height: 1.7;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-background);
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: flex-end; /* Alinha foto e texto pela parte de baixo */
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Imagem ancorada embaixo dentro da coluna */
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

.about-text {
    display: flex;
    flex-direction: column;
    /* gap removido - usando margins individuais */
}

.about-text .section-label {
    margin-bottom: 1rem;
}

.about-text .section-title {
    margin-bottom: 0.75rem; /* Espaço pequeno até as badges */
}

.credentials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.75rem; /* Espaço MAIOR embaixo das badges */
    margin-top: 0;
}

.about-description {
    margin-bottom: 1.5rem; /* Espaço entre parágrafos */
}

.about-description:last-of-type {
    margin-bottom: 1rem; /* Menos espaço antes da citação */
}

.credential {
    background: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-dark);
}

.credential-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.credential-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.credential-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.about-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-dark);
}

.about-description strong {
    color: var(--color-primary);
    font-weight: 600;
}

.about-description em {
    font-style: italic;
    color: var(--color-primary);
}

.quote {
    background: var(--color-white);
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem 2rem;
    margin: 0; /* Sem margem extra - espaçamento controlado pelo parágrafo acima */
    font-style: italic;
    color: var(--color-dark);
    opacity: 0.9;
    line-height: 1.7;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--color-background);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-white);
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-dark);
    opacity: 0.85;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--color-dark);
    opacity: 0.8;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-background);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--color-background);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-dark);
    opacity: 0.85;
    line-height: 1.75;
}

/* ===================================
   Contact Section - CENTRALIZADO
   =================================== */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.contact-content-centered {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content-centered h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--color-dark);
    opacity: 0.8;
    margin-bottom: 3rem;
}

.contact-methods-centered {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.contact-method-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--color-white);
}

.contact-link {
    font-size: 1.125rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
    font-family: var(--font-footer);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer h3, .footer h4 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer p {
    opacity: 0.8;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===================================
   Botão Flutuante WhatsApp - VERDE
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366; /* Verde WhatsApp oficial */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--color-white);
}

/* Animação de pulso */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* ===================================
   Animações
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Responsividade
   =================================== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: 2; /* Imagem vai para depois do texto */
        margin-top: 2rem;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image img {
        max-width: 350px;
        margin-top: 0;
        margin: 0 auto; /* Centraliza */
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 colunas lado a lado */
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat {
        text-align: center; /* Centraliza os números */
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: 2; /* Imagem vai para depois do texto */
        margin-top: 2rem;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image img {
        margin: 0 auto; /* Centraliza */
    }
    
    .process-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-direction: row; /* Mantém as 3 colunas lado a lado */
        justify-content: space-between;
    }
    
    .stat {
        flex: 1; /* Distribui igualmente */
    }
    
    .stat-number {
        font-size: 1.75rem; /* Um pouco menor em mobile */
    }
    
    .stat-label {
        font-size: 0.75rem; /* Um pouco menor em mobile */
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25vh; /* 25% da altura da tela = topo do último quarto */
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .hero-image img {
        max-width: 280px;
    }
}
