:root {
    /* =====================================================
       PALETA PRINCIPAL
       -----------------------------------------------------
       Se quiser mudar a identidade visual inteira do site,
       comece por estas variáveis.
       ===================================================== */

    --green-dark: #173f35;
    --green-medium: #3f705e;
    --green-light: #a9c7b3;
    --mustard: #c7a64b;
    --cream: #f7f2e8;

    --white: #ffffff;
    --ink: #21322d;
    --muted: #66736d;
    --border: rgba(23, 63, 53, 0.14);

    --shadow-soft: 0 18px 45px rgba(23, 63, 53, 0.09);
    --shadow-hover: 0 22px 55px rgba(23, 63, 53, 0.15);

    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 34px;

    --container: 1180px;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Trebuchet MS", Arial, sans-serif;
    line-height: 1.7;
}

body.modal-open {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.15;
    color: var(--green-dark);
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.25rem;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.centered {
    text-align: center;
}

.narrow-content {
    max-width: 760px;
    margin-inline: auto;
}

.top-space {
    margin-top: 45px;
}


/* =========================================================
   HEADER / NAV
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 242, 232, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    color: var(--green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
}

.brand-role {
    color: var(--mustard);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: var(--green-dark);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.nav-cta,
.button {
    border: 0;
    border-radius: 999px;
    padding: 13px 21px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.nav-cta {
    color: var(--white);
    background: var(--green-dark);
}

.button:hover,
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.button-primary {
    color: var(--white);
    background: var(--green-dark);
}

.button-secondary {
    color: var(--green-dark);
    background: var(--mustard);
}

.button-outline {
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.button-large {
    padding: 16px 28px;
}

.full-width {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 50%;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--green-dark);
}


/* =========================================================
   TYPOGRAPHY HELPERS
   ========================================================= */

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--mustard);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green-dark);
    font-weight: 700;
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.light-text h2,
.light-text h3,
.light-text p {
    color: var(--white);
}

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


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
}

.section-cream {
    background: var(--cream);
}

.section-light-green {
    background: #e7f0e8;
}

.section-sage {
    background: var(--green-light);
}

.section-dark {
    background: var(--green-dark);
}

.organic-section {
    position: relative;
    overflow: hidden;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 50px;
}

.section-heading.centered {
    margin-inline: auto;
}

.section-heading p {
    max-width: 680px;
}

.section-heading.centered p {
    margin-inline: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    padding: 80px 0 140px;
    background: var(--cream);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 680px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 em {
    color: var(--green-medium);
    font-style: normal;
}

.hero-lead {
    max-width: 620px;
    font-size: 1.13rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.placeholder-photo {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 470px;
    color: var(--green-medium);
    background:
        radial-gradient(circle at 30% 25%, rgba(199, 166, 75, 0.35), transparent 25%),
        linear-gradient(145deg, #dbe8dd, #a9c7b3);
    border-radius: 48% 52% 43% 57% / 40% 45% 55% 60%;
    overflow: hidden;
}

.placeholder-photo span {
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    line-height: 1.6;
}

.hero-photo {
    min-height: 620px;
    box-shadow: var(--shadow-soft);
}

.photo-accent {
    position: absolute;
    width: 170px;
    height: 170px;
    right: 5%;
    bottom: 6%;
    background: var(--mustard);
    border-radius: 50%;
    opacity: 0.75;
}


/* =========================================================
   ONDAS / FORMAS ORGÂNICAS
   ---------------------------------------------------------
   Aqui estamos apenas criando a estrutura.
   A animação de movimento fica para uma etapa posterior.
   ========================================================= */

.wave {
    position: absolute;
    width: 100%;
    left: 0;
    line-height: 0;
    pointer-events: none;
}

.wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wave path {
    fill: var(--green-light);
}

.wave-bottom {
    height: 150px;
    bottom: -1px;
}

.wave-top {
    height: 120px;
    top: -1px;
}

.wave-top path {
    fill: var(--green-dark);
}

.organic-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-hero-one {
    width: 360px;
    height: 360px;
    right: -160px;
    top: 8%;
    background: rgba(169, 199, 179, 0.28);
}

.shape-hero-two {
    width: 150px;
    height: 150px;
    left: -70px;
    bottom: 15%;
    background: rgba(199, 166, 75, 0.18);
}

.shape-dark-one {
    width: 360px;
    height: 360px;
    right: -170px;
    top: -80px;
    background: rgba(169, 199, 179, 0.08);
}


/* =========================================================
   CARDS
   ========================================================= */

.audience-grid,
.steps-grid,
.testimonials-grid,
.contact-grid {
    display: grid;
    gap: 22px;
}

.audience-grid,
.steps-grid {
    grid-template-columns: repeat(3, 1fr);
}

.soft-card,
.step-card,
.testimonial-card,
.contact-card,
.info-card {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(23, 63, 53, 0.08);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.card-number,
.area-index,
.contact-icon {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--mustard);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.step-card span {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--mustard);
    font-weight: 700;
}


/* =========================================================
   ÁREAS
   ========================================================= */

.area-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.area-preview-card {
    position: relative;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
}

.area-preview-card h3,
.area-preview-card p {
    color: var(--white);
}

.area-preview-card p {
    opacity: 0.78;
    max-width: 520px;
}

.area-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 70px;
    align-items: center;
    margin-bottom: 110px;
}

.area-section:last-child {
    margin-bottom: 0;
}

.area-gallery {
    min-width: 0;
}

.gallery-main {
    min-height: 520px;
    border-radius: 45% 55% 48% 52% / 52% 43% 57% 48%;
    transition: background-image 0.25s ease;
}

.gallery-main.has-image {
    background-size: cover;
    background-position: center;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: var(--cream);
    border-radius: 50%;
    color: var(--green-dark);
}

.gallery-counter {
    color: var(--muted);
    font-size: 0.85rem;
}

.area-content h2 {
    margin-bottom: 20px;
}

.area-content h3 {
    margin-top: 35px;
    margin-bottom: 12px;
}

.area-list {
    padding-left: 22px;
    margin-bottom: 30px;
}

.area-list li {
    margin-bottom: 8px;
}

.reverse-mobile {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
}


/* =========================================================
   SOBRE
   ========================================================= */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.portrait-placeholder {
    min-height: 520px;
}

.split-content {
    max-width: 620px;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 70px;
    align-items: start;
}

.info-card {
    position: sticky;
    top: 110px;
}

.clean-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.clean-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}


/* =========================================================
   DEPOIMENTOS
   ========================================================= */

.testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
    position: relative;
    min-height: 100%;
}

.quote-mark {
    display: block;
    color: var(--mustard);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    line-height: 0.8;
    margin-bottom: 22px;
}

.testimonial-card strong,
.testimonial-card > span:last-child {
    display: block;
}

.testimonial-card > span:last-child {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 4px;
}

.testimonial-placeholder {
    opacity: 0.65;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-preview-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.faq-list,
.faq-page {
    max-width: 900px;
}

.faq-page {
    margin-inline: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    list-style: none;
    cursor: pointer;
    color: var(--green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--mustard);
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 0 24px;
}

.faq-answer p {
    margin: 0;
}


/* =========================================================
   CONTATO
   ========================================================= */

.contact-grid {
    grid-template-columns: repeat(3, 1fr);
}

.contact-card {
    min-height: 320px;
}


/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    padding: 110px 0;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.final-cta {
    position: relative;
    padding: 150px 0 110px;
    background: var(--green-dark);
}

.final-cta h2,
.final-cta p {
    color: var(--white);
}

.final-cta .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 60px 0 25px;
    background: #102f28;
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
}

.footer-brand .brand-name {
    color: var(--white);
}

.footer-grid h3 {
    color: var(--white);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
}

.footer-grid a {
    display: block;
    margin-bottom: 8px;
}

.footer-grid p,
.footer-grid a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}


/* =========================================================
   MODAL WHATSAPP
   ========================================================= */

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(16, 47, 40, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.whatsapp-modal {
    position: relative;
    width: min(680px, 100%);
    max-height: min(760px, 90vh);
    overflow-y: auto;
    padding: 44px;
    border-radius: var(--radius-lg);
    background: var(--cream);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--green-dark);
    font-size: 1.8rem;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.choice-stack {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.choice-button {
    min-height: 58px;
    padding: 15px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    color: var(--green-dark);
    text-align: left;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.choice-button:hover {
    border-color: var(--green-medium);
    background: #edf4ee;
    transform: translateY(-1px);
}

.modal-back-button {
    margin-top: 20px;
    border: 0;
    background: transparent;
    color: var(--muted);
}

.input-label {
    display: block;
    margin-top: 25px;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--green-dark);
}

.text-input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    outline: none;
}

.text-input:focus {
    border-color: var(--green-medium);
    box-shadow: 0 0 0 4px rgba(63, 112, 94, 0.12);
}

.form-error {
    display: none;
    color: #9b4034;
    font-size: 0.88rem;
    margin-top: 8px;
}

.form-error.show {
    display: block;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green-dark);
    font-weight: 700;
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 980px) {
    .nav-links {
        gap: 16px;
    }

    .hero-grid,
    .split-section,
    .content-with-sidebar,
    .faq-preview-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 50px;
    }

    .hero-photo {
        min-height: 500px;
    }

    .audience-grid,
    .steps-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .area-section,
    .reverse-mobile {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .content-with-sidebar {
        gap: 40px;
    }

    .info-card {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .section {
        padding: 75px 0;
    }

    .navbar {
        min-height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 80px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 20px;
        background: var(--cream);
        box-shadow: var(--shadow-hover);
        border: 1px solid var(--border);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 8px 4px;
    }

    .nav-cta {
        width: 100%;
    }

    .hero {
        min-height: auto;
        padding: 70px 0 120px;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 18vw, 5rem);
    }

    .hero-photo,
    .gallery-main,
    .portrait-placeholder {
        min-height: 390px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .area-preview-grid {
        grid-template-columns: 1fr;
    }

    .area-preview-card {
        padding: 30px;
    }

    .gallery-main {
        border-radius: 36% 64% 48% 52% / 45% 42% 58% 55%;
    }

    .choice-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-modal {
        padding: 32px 22px;
        border-radius: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .page-hero {
        padding: 75px 0;
    }
}

/* =========================================================
   ANIMAÇÕES DE SCROLL
   ========================================================= */

/*
   Os elementos só ficam invisíveis quando o JavaScript
   estiver funcionando.
*/
body.js-enabled .scroll-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


/*
   Estado final da animação.
*/
body.js-enabled .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   FOTOS
   ========================================================= */

body.js-enabled .scroll-photo {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

body.js-enabled .scroll-photo.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* =========================================================
   CARDS — ENTRADA COM PEQUENO ATRASO
   ========================================================= */

body.js-enabled .scroll-card {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0s);
}

body.js-enabled .scroll-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   ONDAS
   ========================================================= */

.wave svg {
    animation: waveFloat 12s ease-in-out infinite alternate;
}

@keyframes waveFloat {
    from {
        transform: translateX(-1%);
    }

    to {
        transform: translateX(1%);
    }
}


/* =========================================================
   FORMAS ORGÂNICAS
   ========================================================= */

.organic-shape {
    animation: organicFloat 10s ease-in-out infinite alternate;
}

@keyframes organicFloat {
    from {
        transform: translateY(-8px);
    }

    to {
        transform: translateY(8px);
    }
}


/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* crédito das imagens */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

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

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* política de privadade no modal */
.privacy-note {
    margin-top: 16px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
}

.privacy-note a {
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: underline;
}

.privacy-note a:hover {
    opacity: 0.75;
}

/* =========================================================
   AJUSTE DO TÍTULO DAS PÁGINAS INTERNAS
   ========================================================= */

.page-hero .narrow-content {
    max-width: 900px;
}

.page-hero h1 {
    max-width: 850px;
    margin-inline: auto;
    margin-bottom: 28px;
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1;
}

.page-hero .hero-lead {
    max-width: 680px;
    margin-inline: auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Agrupa os links do rodapé nas páginas internas */
.footer-bottom > a:first-of-type {
    margin-left: auto;
}

@media (max-width: 760px) {
    .footer-bottom > a:first-of-type {
        margin-left: 0;
    }
}