/* ============================================================
   NATITOUR — design tokens
   Marca: azul-marinho (#192b49) + dourado (#bc9944) + verde-musgo (#2a413e),
   sobre bege/creme. Tipografia: Fraunces (títulos) + Cormorant Garamond
   (detalhes/eyebrow) + Libre Baskerville (corpo) — substitutas gratuitas
   das fontes do manual (Avocalipss / Candlefish / Baskerville) até a
   designer disponibilizar os arquivos originais.
   ============================================================ */
:root {
    --navy: #192b49;
    --navy-light: #2c4470;
    --gold: #bc9944;
    --gold-light: #d7bd80;
    --moss: #2a413e;
    --beige: #ead9b6;
    --beige-tint: #f4ecd9;
    --cream: #faf6ec;
    --surface: #ffffff;
    --ink: #2a2620;
    --muted: #746b5e;
    --border: #e6d9bd;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 30px;
    --radius-pill: 999px;

    --shadow: 0 1px 2px rgba(25, 43, 73, .05), 0 10px 28px -10px rgba(25, 43, 73, .14);
    --shadow-lg: 0 4px 10px rgba(25, 43, 73, .06), 0 24px 56px -16px rgba(25, 43, 73, .2);

    --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
    --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
    --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

    --font-heading: 'Fraunces', 'Georgia', serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Libre Baskerville', Georgia, serif;

    --container: 1180px;
    --container-sm: 760px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h, 96px); }
html { overflow-x: hidden; }
body {
    margin: 0;
    overflow-x: hidden;
    max-width: 100vw;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.15;
    margin: 0 0 var(--space-3);
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 500; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--space-3); }

.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.mt-3 { margin-top: var(--space-3); }
.mt-8 { margin-top: var(--space-8); }

/* ============================================================
   Layout
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.container-sm { width: 100%; max-width: var(--container-sm); margin: 0 auto; padding: 0 var(--space-6); }
.main { overflow-x: hidden; }

.section { padding: var(--space-20) 0; position: relative; }
.section--tint { background: var(--beige-tint); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section__eyebrow {
    display: inline-flex; align-items: center; gap: var(--space-2);
    font-family: var(--font-accent); font-size: 1.15rem; font-style: italic; font-weight: 600;
    color: var(--gold); margin-bottom: var(--space-2); letter-spacing: .02em;
}
.section__eyebrow::before {
    content: ''; width: 26px; height: 1px; background: var(--gold);
}
.section__header { max-width: 720px; margin: 0 0 var(--space-10); }
.section__header.text-center { margin-left: auto; margin-right: auto; }
.section__subtitle { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: var(--space-6); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; } }

/* ============================================================
   Componentes
   ============================================================ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-6);
    box-shadow: var(--shadow);
}
.card--framed { border: 1px solid var(--gold); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    font-family: var(--font-heading); font-weight: 500; font-size: .98rem;
    padding: .8rem 1.7rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 16px -6px rgba(25,43,73,.45); }
.btn-primary:hover { filter: brightness(1.15); box-shadow: 0 10px 22px -6px rgba(25,43,73,.55); }
.btn-secondary { background: transparent; border-color: var(--gold); color: var(--navy); }
.btn-secondary:hover { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 8px 18px -8px rgba(188,153,68,.5); }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.15rem; font-size: .875rem; }

.badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--beige); color: var(--navy);
    font-family: var(--font-accent); font-style: italic; font-weight: 600;
    font-size: .9rem; letter-spacing: .02em;
    padding: .35rem 1rem; border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
}
.badge i { color: var(--gold); font-size: .8rem; }

/* ============================================================
   Header
   ============================================================ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250, 246, 236, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s ease;
}
.header.is-scrolled { box-shadow: 0 6px 18px -10px rgba(25,43,73,.25); }
.main { padding-top: var(--header-h, 96px); }
.header__container { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) 0; gap: var(--space-6); }
.header__logo { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; margin-left: 4px; }
.header__logo img { height: 48px; width: auto; }
.header__logo-text { font-family: var(--font-heading); font-weight: 600; font-size: 1.35rem; color: var(--navy); }
.header__nav { display: flex; align-items: center; gap: var(--space-6); }
.header__nav-link { font-family: var(--font-heading); font-weight: 500; font-size: .95rem; color: var(--navy); position: relative; padding: .25rem 0; }
.header__nav-link:hover, .header__nav-link.active { color: var(--gold); }
.header__actions { display: flex; align-items: center; gap: var(--space-4); }
.header__mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--navy); }

@media (max-width: 860px) {
    .header { backdrop-filter: none; }
    .header__nav {
        position: fixed; inset: 76px 0 0 0; z-index: 150;
        background: var(--cream); opacity: 1; backdrop-filter: none;
        flex-direction: column; padding: var(--space-8) var(--space-6); gap: var(--space-5);
        box-shadow: 0 12px 24px -8px rgba(25,43,73,.15);
        transform: translateX(100%); transition: transform .25s ease;
    }
    .header__nav.is-open { transform: translateX(0); }
    .header__nav-link { font-size: 1.15rem; }
    .header__mobile-toggle { display: block; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: var(--space-16) 0 var(--space-20); position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -140px; right: -140px; width: 460px; height: 460px;
    background: radial-gradient(circle, var(--beige) 0%, transparent 70%);
    border-radius: 50%; z-index: 0;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-12); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__subtitle { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; gap: var(--space-4); margin-top: var(--space-6); flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); border: 1px solid var(--gold); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero__media::after {
    content: ''; position: absolute; bottom: -18px; left: -18px; width: 96px; height: 96px;
    border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}
.hero__motif { aspect-ratio: 1/1; max-width: 420px; margin: 0 auto; }
@media (max-width: 900px) { .hero__motif { max-width: 280px; } }
@media (prefers-reduced-motion: no-preference) {
    .hero__motif svg circle:first-of-type { animation: motif-spin 60s linear infinite; transform-origin: center; }
    .hero__motif svg g { animation: motif-float 3.6s ease-in-out infinite; transform-origin: center; }
}
@keyframes motif-spin { to { transform: rotate(360deg); } }
@keyframes motif-float {
    0%, 100% { transform: translate(335px, 65px) rotate(35deg) translateY(0); }
    50% { transform: translate(335px, 65px) rotate(35deg) translateY(-8px); }
}

/* Entrada em sequência do texto do hero (roda uma vez, ao carregar a página —
   não depende de scroll, já que fica acima da dobra). */
.hero__content > * { opacity: 0; transform: translateY(18px); animation: hero-in .7s ease forwards; }
.hero__content > .badge { animation-delay: .05s; }
.hero__content > h1 { animation-delay: .18s; }
.hero__content > .hero__subtitle { animation-delay: .32s; }
.hero__content > .hero__actions { animation-delay: .46s; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .hero__content > * { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   Diferenciais
   ============================================================ */
.diferenciais-card { text-align: left; height: 100%; }
.diferenciais-card__icon {
    width: 52px; height: 52px; border-radius: var(--radius-sm);
    background: var(--beige); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: var(--space-4);
}

/* ============================================================
   Sobre / Missão, Visão, Valores
   ============================================================ */
.sobre__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-10); align-items: start; }
.sobre__body { color: var(--muted); }
.sobre__body p { margin-bottom: var(--space-4); }
.sobre__mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-8); }
@media (max-width: 780px) { .sobre__mvv { grid-template-columns: 1fr; } }
.sobre__mvv-card {
    background: var(--surface); border: 1px solid var(--gold); border-radius: var(--radius);
    padding: var(--space-6); box-shadow: var(--shadow);
}
.sobre__mvv-card h4 {
    font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: 1.3rem;
    color: var(--gold); margin-bottom: var(--space-2);
}
.sobre__mvv-card p, .sobre__mvv-card ul { color: var(--muted); font-size: .95rem; margin: 0; }
.sobre__mvv-card ul { display: flex; flex-direction: column; gap: var(--space-2); }
.sobre__mvv-card li { position: relative; padding-left: 1.1rem; }
.sobre__mvv-card li::before {
    content: ''; position: absolute; left: 2px; top: .55em;
    width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

/* ============================================================
   Serviços
   ============================================================ */
.servico-card {
    display: flex; flex-direction: column; height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.servico-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.servico-card__icon {
    width: 52px; height: 52px; border-radius: var(--radius-sm);
    background: var(--beige); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: var(--space-4);
    transition: background .25s ease, color .25s ease;
}
.servico-card:hover .servico-card__icon { background: var(--gold); color: #fff; }
.servico-card__body { color: var(--muted); flex: 1; }
.servico-card h3 { font-size: 1.15rem; }
.grid-cols-2--odd-center > *:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - var(--space-3)); margin: 0 auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: var(--space-5) var(--space-6); }
.faq-item summary {
    font-family: var(--font-heading); font-weight: 500; font-size: 1.05rem; color: var(--navy);
    cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { color: var(--gold); transition: transform .2s ease; flex-shrink: 0; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { color: var(--muted); margin-top: var(--space-3); }

/* ============================================================
   Contato
   ============================================================ */
.contato__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-12); align-items: start; }
@media (max-width: 900px) { .contato__grid { grid-template-columns: 1fr; } }
.contato__item { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); color: var(--ink); }
.contato__item i { color: var(--gold); width: 20px; text-align: center; }
.contato-card { background: var(--surface); border: 1px solid var(--gold); border-radius: var(--radius); padding: var(--space-6); }

.form-envi { display: flex; flex-direction: column; gap: var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-8); box-shadow: var(--shadow); }
.form-envi label { display: flex; flex-direction: column; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--navy); width: 100%; max-width: 100%; box-sizing: border-box; }
.form-envi input, .form-envi textarea, .form-envi select {
    font-family: var(--font-body); font-size: .95rem; padding: .7rem .9rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--cream);
    color: var(--ink); width: 100%; max-width: 100%; box-sizing: border-box;
}
.form-envi input:focus, .form-envi textarea:focus, .form-envi select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-envi__success { background: var(--beige); color: var(--navy); border-radius: var(--radius-sm); padding: var(--space-4); font-weight: 600; }
.recaptcha-notice { font-size: .72rem; color: var(--muted); }
.recaptcha-notice a { text-decoration: underline; }
.grecaptcha-badge { visibility: hidden; }

/* ============================================================
   CTA final
   ============================================================ */
.cta-final { background: var(--navy); border-radius: var(--radius-lg); padding: var(--space-16) var(--space-10); text-align: center; color: #fff; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.75); max-width: 560px; margin-left: auto; margin-right: auto; }
.btn-on-dark { background: var(--gold); color: var(--navy); }
.btn-on-dark:hover { filter: brightness(1.08); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,.68);
    padding: var(--space-16) 0 var(--space-6);
    border-top: 3px solid var(--gold);
}
.footer__content { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-10); margin-bottom: var(--space-10); }
@media (max-width: 780px) { .footer__content { grid-template-columns: 1fr; gap: var(--space-8); } }
.footer__logo { height: 44px; margin-bottom: var(--space-3); }
.footer h4 {
    font-family: var(--font-accent); font-style: italic; color: var(--gold-light); font-size: 1rem; font-weight: 700;
    margin-bottom: var(--space-5); padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer__links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__links a:hover { color: var(--gold-light); }
.footer__links--icons a { display: inline-flex; align-items: center; gap: var(--space-2); }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer__social a {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s;
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer__bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3);
    padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.12);
    font-size: .8rem;
}

/* WhatsApp flutuante */
.wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; box-shadow: 0 8px 20px -4px rgba(0,0,0,.3);
    transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }

/* ============================================================
   Movimento — entrada ao rolar a página
   Só ativa com JS (html.js): sem JS, tudo fica visível normalmente.
   ============================================================ */
html.js .section__header,
html.js .card,
html.js .diferenciais-card,
html.js .sobre__mvv-card,
html.js .faq-item,
html.js .contato-card,
html.js .cta-final,
html.js .hero__media,
html.js .sobre__grid > *:first-child {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
html.js .in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
@media (prefers-reduced-motion: reduce) {
    html.js .section__header, html.js .card, html.js .diferenciais-card,
    html.js .sobre__mvv-card, html.js .faq-item, html.js .contato-card,
    html.js .cta-final, html.js .hero__media, html.js .sobre__grid > *:first-child {
        opacity: 1 !important; transform: none !important; transition: none !important;
    }
}
