/* style.css - Versão Refeita com Mobile-First */

/* --- Variáveis de Cor e Configurações Globais --- */
:root {
    --cor-fundo: #fdf9f3;
    --cor-texto-principal: #4a3f35;
    --cor-destaque: #a67c52;
    --cor-destaque-hover: #bf9a6a;
    --cor-texto-secundario: #6d5c4d;
    --cor-fundo-claro: #fffaf0;
    --fonte-principal: 'Quicksand', sans-serif;
}

/* --- Estilos Globais e Mobile-First --- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--fonte-principal);
    background-color: var(--cor-fundo);
    color: var(--cor-texto-principal);
    width: 100%;
    box-sizing: border-box;
}

body.no-scroll {
    overflow: hidden;
}

* {
    box-sizing: inherit;
}

main {
    display: block;
}

/* --- Cabeçalho e Navegação (Mobile-First) --- */
header {
    background-color: rgba(253, 249, 243, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 1100; /* Para ficar acima do menu overlay */
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cor-destaque);
}

.menu-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-hamburger span {
    width: 2rem;
    height: 3px;
    background: var(--cor-texto-principal);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Animação do Hambúrguer para 'X' */
.menu-hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
}
.menu-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}
.menu-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-links {
    list-style: none;
    padding: 1.5rem 0;
    margin: 0;
    position: absolute;
    top: 100%; /* Posiciona o menu exatamente abaixo do cabeçalho */
    left: 0;
    width: 100%;
    background-color: var(--cor-fundo);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
    border-top: 1px solid #e9e0d7;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;

    /* Controle de visibilidade e animação */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
    z-index: 1000;
}

/* --- Estilo do Menu Ativo (Quando o Hambúrguer é Clicado) --- */
.nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s;
}

.nav-links a {
    text-decoration: none;
    color: var(--cor-texto-secundario);
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cor-destaque);
}

/* --- Botões --- */
.btn-whatsapp {
    display: inline-block;
    background-color: var(--cor-destaque);
    color: white !important; /* !important para sobrescrever outros estilos de link */
    padding: .9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background-color: var(--cor-destaque-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* --- Seção Hero (#inicio) --- */
/* COLE ESTAS NOVAS REGRAS NO SEU CSS, DEPOIS DA REGRA .btn-whatsapp:hover */

/* --- Seção Hero (#inicio) - VERSÃO MOBILE REFEITA --- */
/* COLE ESTAS NOVAS REGRAS NO LUGAR DOS ESTILOS ANTERIORES DA SEÇÃO HERO */

/* --- Seção Hero (#inicio) - VERSÃO COM EFEITO DUPLO --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 95vh;
    padding: 3rem 1.5rem;
    background-color: var(--cor-fundo-claro);
    overflow: hidden; /* Evita que a linha diagonal crie barras de rolagem */
}

.hero-image-container {
    position: relative; /* Essencial para o posicionamento das imagens */
    width: 280px;
    height: 320px;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Linha Diagonal (Elemento Gráfico) */
.hero-image-container::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 20px;
    width: 2px;
    height: 350px;
    background: linear-gradient(180deg, var(--cor-destaque), #e8c9a8);
    transform: rotate(35deg);
    z-index: 1;
}

.hero-image-background {
    position: absolute;
    top: 0;
    margin-left: -300px;
    border-radius: 15%;
    width: 100%;
    height: 100%;
}

.hero-image-background img {
    width: auto;
    height: 100%;
    object-fit: contain;
    opacity: 0.80;
        border-radius: 15%;
}

.hero-image-foreground {
    position: relative; /* Para ficar acima do fundo */
    z-index: 2;
    width: 300px;
    height: 280px;
}

.hero-image-foreground img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 95%;
    position: relative;
    z-index: 3; /* Garante que o texto fique na frente de tudo */
}

.hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    color: var(--cor-texto-principal);
    text-shadow: none;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1rem;
    color: var(--cor-texto-secundario);
    text-shadow: none;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* --- Estrutura Geral das Seções --- */
.servicos-container, .sobre-section, .contato-section, .faq-section, .jornada-section {
    padding: 4rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-headline, .section-header h2, .contato-section h2, .sobre-texto h2 {
    font-size: 1.9rem;
    color: var(--cor-destaque);
    margin: 0.5rem 0;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cor-texto-secundario);
    max-width: 700px;
    margin: 0.5rem auto 0;
    line-height: 1.6;
}

.jornada-pre-titulo {
    color: var(--cor-texto-secundario);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* --- Seção Sobre --- */
.sobre-section {
    background-color: var(--cor-fundo-claro);
}

.sobre-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Padrão mobile */
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

.sobre-imagem {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sobre-imagem figure {
    margin: 0;
}

.sobre-imagem img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sobre-imagem figcaption {
    text-align: center;
    font-style: italic;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--cor-texto-secundario);
    line-height: 1.5;
}

.sobre-texto p {
    text-align: center; /* Melhora legibilidade */
}

.instagram-box {
    background-color: var(--cor-fundo);
    border: 1px solid #e9e0d7;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column; /* Padrão mobile */
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.instagram-box:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.instagram-icon {
    color: var(--cor-destaque);
}

.instagram-content strong {
    display: block;
    font-size: 1.1rem;
}

.instagram-content span {
    font-size: 0.9rem;
    color: var(--cor-texto-secundario);
}

.instagram-button {
    background-color: var(--cor-destaque);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}
.instagram-button:hover {
    background-color: var(--cor-destaque-hover);
}

/* --- Seções de Grid (Ajudar, Atendimento, Jornada) --- */
.ajuda-grid, .servicos-grid, .jornada-grid {
    display: grid;
    grid-template-columns: 1fr; /* Padrão mobile: uma coluna */
    gap: 1.5rem;
}

.ajuda-card, .servico-card, .jornada-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.ajuda-card:hover, .servico-card:hover, .jornada-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
    color: var(--cor-destaque);
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 40px;
    height: 40px;
}

.ajuda-card h3, .servico-card h3, .jornada-card h3 {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.servico-card h3 {
    font-size: 1.4rem;
}

.ajuda-card p, .servico-card p, .jornada-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--cor-texto-secundario);
}

#atendimento {
    background-color: var(--cor-fundo-claro);
}

.jornada-card {
    border-top: 4px solid var(--cor-destaque);
    padding: 2.5rem;
}

.jornada-numero {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cor-destaque);
    margin-bottom: 1rem;
}

.atendimento-online-box {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    background-color: #fff;
    border: 1px solid #e9e0d7;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.atendimento-online-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.atendimento-online-box p {
    margin-bottom: 0;
    color: var(--cor-texto-secundario);
}

/* --- Seção FAQ --- */
#faq {
    background-color: var(--cor-fundo-claro);
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e9e0d7;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--fonte-principal);
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cor-texto-principal);
}

.faq-arrow {
    color: var(--cor-destaque);
    min-width: 24px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 1rem 1.5rem 0;
    color: var(--cor-texto-secundario);
    margin: 0;
    line-height: 1.7;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* --- Contato e Rodapé --- */
.contato-section {
    text-align: center;
}
.contato-section p {
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.contato-section .social-link {
    margin-top: 2rem;
}
.contato-section .social-link a {
    color: var(--cor-destaque);
    font-weight: 600;
    text-decoration: none;
}
.contato-section .social-link a:hover {
    text-decoration: underline;
}

footer {
    padding: 4rem 1.5rem;
    background-color: #f3eee8;
    color: var(--cor-texto-secundario);
    border-top: 1px solid #e9e0d7;
    text-align: center; /* Padrão mobile */
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Padrão mobile */
    align-items: center;
    gap: 3rem;
}

.footer-logo {
    order: -1; /* Coloca o logo no topo no mobile */
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-nome {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cor-texto-principal);
    margin: 0 0 0.5rem 0;
}

.footer-info {
    margin: 0.25rem 0;
}
.footer-info a {
    color: var(--cor-texto-secundario);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-info a:hover {
    color: var(--cor-destaque);
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--cor-destaque);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.footer-whatsapp:hover {
    color: var(--cor-destaque-hover);
}

.footer-copy {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9e0d7;
    font-size: 0.9rem;
}

/* --- Botão Flutuante WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* ======================================================= */
/* === AJUSTES PARA TELAS MAIORES (TABLET E DESKTOP) === */
/* ======================================================= */

/* --- TABLETS (e telas maiores) --- */
@media (min-width: 768px) {
    .section-headline, .section-header h2, .contato-section h2, .sobre-texto h2 {
        font-size: 2.2rem;
    }

    /* Dentro de @media (min-width: 768px) ou @media (min-width: 992px),
   SUBSTITUA as regras da .hero e .hero-content por estas: */

.hero {
    /* Restaura o layout original para desktop */
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    min-height: 90vh;
    padding: 0; /* Reseta o padding */
    background: url('img/laura.png') no-repeat center center;
    background-size: cover;
    background-position: 70% 50%;
    background-attachment: fixed; /* Mantém o efeito parallax */
}

.hero-image-container {
    display: none; /* Esconde a nova estrutura de imagem no desktop */
}

.hero-content {
    max-width: 600px;
    padding: 0 5%;
    z-index: auto; /* Reseta o z-index */
}

.hero-content h1 {
    font-size: 2.2rem;
    color: #3D3830;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: #3D3830;
    text-shadow: 0 1px 5px rgba(56, 44, 44, 0.6);
}
    .ajuda-grid, .servicos-grid, .jornada-grid {
    grid-template-columns: repeat(3, 1fr);
}
    
    .sobre-container {
        flex-direction: row;
        text-align: left;
        gap: 3rem;
    }

    .sobre-imagem {
        flex: 1;
        max-width: 450px;
    }

    .sobre-imagem img {
        width: 300px;
        height: 300px;
    }

    .sobre-texto {
        flex: 1.5;
        text-align: left;
    }

    .instagram-box {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }

    .instagram-content {
        flex-grow: 1;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 2rem;
    }

    .footer-logo {
        order: 0;
        text-align: right;
    }
}

@media (min-width: 992px) {
    .menu-hamburger {
        display: none;
    }

    .nav-links {
        /* Reseta para o layout de desktop */
        position: static;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        flex-direction: row;
        background-color: transparent;
        box-shadow: none;
        border-top: none;
        gap: 2.5rem;
        margin-left: auto;
        padding: 0;
        padding-right: 4rem;

        /* Garante a visibilidade permanente no desktop */
        visibility: visible;
        opacity: 1;
        transform: none;
        z-index: auto;
    }

    /* ESTAS REGRAS DEVEM ESTAR AQUI DENTRO */
    .nav-links a {
        font-size: 1rem;
        padding-bottom: 6px;
        position: relative;
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--cor-destaque);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .logo img {
        height: 50px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
}


/* --- Efeito de Brilho nos Cards --- */
.ajuda-card, .servico-card, .jornada-card {
    position: relative; /* Necessário para o pseudo-elemento */
    overflow: hidden;   /* Esconde o brilho fora do card */
}

.ajuda-card::before, .servico-card::before, .jornada-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%; /* Começa fora da tela à esquerda */
    width: 75%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg); /* Inclina o brilho */
    transition: left 0.75s;
}

.ajuda-card:hover::before, .servico-card:hover::before, .jornada-card:hover::before {
    left: 150%; /* Move o brilho para fora da tela à direita */
}

/* --- Botão Voltar ao Topo --- */
/* --- Botão Voltar ao Topo --- */
#back-to-top-btn {
    position: fixed;
    bottom: 20px;
    left: 20px; /* ALTERADO DE 'right' PARA 'left' */
    
    width: 45px;
    height: 45px;
    background-color: var(--cor-destaque);
    color: white;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    text-decoration: none;
    z-index: 998;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

#back-to-top-btn:hover {
    background-color: var(--cor-destaque-hover);
}

/* Classe que o JavaScript irá adicionar para mostrar o botão */
#back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}