:root {
  --navy: #0f1f33;
  --navy-2: #172c47;
  --gold: #c8a35a;
  --gold-2: #b38c41;
  --ink: #1d2430;
  --muted: #5d6675;
  --soft: #f5f2ec;
  --line: #e4ded3;
  --white: #fff;
  --green: #2e7d5b;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(15, 31, 51, .28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; color: var(--navy); }
h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: var(--gold); margin-bottom: .9rem; }
.eyebrow--dark { color: var(--gold-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .92rem; border: 2px solid transparent; cursor: pointer; transition: .25s ease; font-family: inherit; }
.btn--sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: .3s ease; padding: 18px 0; }
.header.is-scrolled { background: rgba(15, 31, 51, .96); backdrop-filter: blur(8px); padding: 10px 0; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo__mark { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; }
.logo__text small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--white); font-weight: 600; font-size: .92rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--white); padding: 140px 0 80px; overflow: hidden; }
.hero__slides, .hero__slide, .hero__overlay { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__overlay { background: linear-gradient(100deg, rgba(10, 22, 38, .92) 0%, rgba(10, 22, 38, .72) 50%, rgba(10, 22, 38, .35) 100%); }
.hero__content { position: relative; z-index: 2; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 860px; margin-bottom: 1.2rem; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero__lead { font-size: 1.12rem; max-width: 600px; opacity: .9; margin-bottom: 2.4rem; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); transition: border-color .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,163,90,.18); }
.field textarea { resize: vertical; }

/* Sections */
.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: var(--white); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head p:last-child { color: var(--muted); }
.section__head--light h2 { color: var(--white); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); }
.card__img { height: 240px; background-size: cover; background-position: center; position: relative; }

.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; margin-bottom: .2em; }

.card__body > p:not(.card__loc) { color: var(--muted); font-size: .94rem; }

.card .btn { margin-top: auto; }
.card__body p { margin-bottom: 1.4em; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.gallery figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .82rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(10, 22, 38, .8)); }
.note { font-size: .78rem; color: var(--muted); margin-top: 24px; text-align: center; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about__badge { position: absolute; right: -24px; bottom: 36px; background: var(--navy); color: var(--white); padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 200px; }
.about__badge strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.about__badge span { font-size: .85rem; }
.about__text > p { color: var(--muted); font-size: 1.04rem; }
.about__text strong { color: var(--navy); }
.values { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.values li { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.values span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: .8rem; font-weight: 800; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); transition: .3s ease; background: var(--white); }
.service:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.service__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; margin-bottom: 20px; transition: .3s; }
.service__icon svg { width: 28px; height: 28px; fill: var(--gold-2); }
.service:hover .service__icon { background: var(--navy); }
.service:hover .service__icon svg { fill: var(--gold); }
.service p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; }
.steps span { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.steps h3 { color: var(--white); }
.steps p { opacity: .75; font-size: .95rem; margin: 0; }

/* Simulator */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sim__text p:last-child { color: var(--muted); }
.sim__card { background: var(--white); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 18px; }
.sim__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sim__result { background: var(--navy); color: var(--white); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; }
.sim__result span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.sim__result strong { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1.2; }
.sim__result small { opacity: .75; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact__list a { font-weight: 700; color: var(--navy); word-break: break-word; }
.contact__list a:hover { color: var(--gold-2); }
.ci { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.ci svg { width: 22px; height: 22px; fill: var(--gold-2); }
.contact__form { background: var(--soft); padding: 36px; border-radius: var(--radius); display: grid; gap: 18px; }

/* Footer */
.footer { background: #0a1626; color: rgba(255,255,255,.75); padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer__about { margin-top: 20px; max-width: 340px; font-size: .93rem; }
.footer h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .82rem; }
.footer__bottom p { margin: 0; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { color: rgba(255,255,255,.85); text-decoration: underline; text-decoration-color: rgba(200,163,90,.5); text-underline-offset: 4px; }
.footer__legal a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.cookies p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Páginas legais */
.legal-page .header { background: var(--navy); position: sticky; top: 0; }
.legal-back { color: var(--white); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.legal-back:hover { color: var(--gold); }
.legal-hero { background: var(--navy); color: #fff; padding: 56px 0 64px; border-top: 1px solid rgba(255,255,255,.06); }
.legal-hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 600; margin: 0 0 .3em; }
.legal-hero p { margin: 0; color: rgba(255,255,255,.7); font-size: .92rem; }
.legal { width: min(820px, 100% - 40px); margin: 0 auto; padding: 56px 0 88px; }
.legal h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink); font-size: .98rem; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.legal__toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 48px; }
.legal__toc strong { display: block; color: var(--navy); margin-bottom: 8px; }
.legal__toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; font-size: .92rem; }
.legal__toc a { color: var(--navy); text-decoration: none; }
.legal__toc a:hover { color: var(--gold-2); }
@media (max-width: 600px) { .legal__toc ol { columns: 1; } .footer__bottom-inner { flex-direction: column; align-items: flex-start; } }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); z-index: 60; transition: transform .25s; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Cookies */
.cookies { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(720px, calc(100% - 40px)); background: var(--navy); color: #fff; border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(15, 31, 51, .6); padding: 18px 20px 18px 18px; z-index: 70; display: flex; gap: 18px; align-items: center; border: 1px solid rgba(200, 163, 90, .35); animation: cookiesIn .5s cubic-bezier(.2, .8, .2, 1) both; }
.cookies[hidden] { display: none; }
.cookies.is-leaving { animation: cookiesOut .3s ease forwards; }
.cookies__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: rgba(200, 163, 90, .15); display: grid; place-items: center; }
.cookies__icon svg { width: 26px; height: 26px; fill: var(--gold); }
.cookies__text { flex: 1; }
.cookies__text strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--gold); margin-bottom: 2px; }
.cookies p { margin: 0; font-size: .85rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.cookies .btn { flex: 0 0 auto; white-space: nowrap; }
@keyframes cookiesIn { from { opacity: 0; transform: translate(-50%, 30px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes cookiesOut { to { opacity: 0; transform: translate(-50%, 30px); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {

  .cards, .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about, .sim, .contact { gap: 44px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); background: var(--navy); flex-direction: column; align-items: flex-start; padding: 100px 32px 32px; gap: 22px; transform: translateX(100%); transition: transform .35s ease; box-shadow: -20px 0 40px rgba(0,0,0,.3); }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { font-size: 1.05rem; }
  .menu-toggle { position: relative; z-index: 60; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .about, .sim, .contact { grid-template-columns: 1fr; }
  .about__badge { right: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .cards, .services, .steps, .sim__row, .values { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .logo__text strong { font-size: 1.1rem; }
  .cookies { bottom: 96px; width: calc(100% - 24px); flex-wrap: wrap; gap: 12px 14px; padding: 16px; }
  .cookies__icon { width: 40px; height: 40px; }
  .cookies__text { flex: 1 1 calc(100% - 60px); }
  .cookies .btn { flex: 1 1 100%; }
  .sim__card, .contact__form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
