/* =========================================================
   Karin Machado Semijoias — estilos
   Paleta inspirada na logo: dourado metálico sobre marfim,
   com seções em preto quente para realçar o brilho.
   ========================================================= */

/* Fontes hospedadas no próprio site (sem requisições ao Google = sem envio do IP do visitante a terceiros).
   Cormorant Garamond e Jost — licença SIL Open Font License. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/jost.woff2") format("woff2"); }

:root {
  /* Dourados da logo */
  --gold-50:  #FBF3D6;
  --gold-200: #F1DC8C;
  --gold-300: #E4C24A;
  --gold-400: #D4AE22;
  --gold-500: #BF9A12;
  --gold-600: #9C7C0C;
  --gold-700: #765C08;
  --gold-800: #4E3D06;

  --gold-grad: linear-gradient(120deg, #7A5C08 0%, #BF9A12 22%, #F1DC8C 48%, #D4AE22 62%, #8C6D0A 100%);
  --gold-grad-soft: linear-gradient(135deg, #F1DC8C 0%, #D4AE22 50%, #9C7C0C 100%);

  /* Neutros */
  --ivory: #FBF8F1;
  --sand:  #F4EDDF;
  --line:  #E7DCC4;
  --ink:   #15110C;
  --ink-2: #1F1912;
  --ink-3: #2C241A;
  --text:  #2B241A;
  --muted: #6E6453;

  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(60, 42, 5, .35);
  --container: 1200px;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", 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);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; color: var(--ink); }
h2 em, h1 em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.center { text-align: center; margin-top: 48px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-600); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow svg { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, background-position .6s ease, color .3s, border-color .3s, background-color .3s;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--gold {
  background: var(--gold-grad); background-size: 200% 100%; background-position: 0 0;
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(191, 154, 18, .7), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(191, 154, 18, .85), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--ghost { color: var(--gold-200); border-color: rgba(241, 220, 140, .4); }
.btn--ghost:hover { border-color: var(--gold-300); background: rgba(241, 220, 140, .08); transform: translateY(-2px); }
.btn--outline { color: var(--gold-700); border-color: var(--gold-500); }
.btn--outline:hover { background: var(--ink); color: var(--gold-200); border-color: var(--ink); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 12.5px; }
.btn--lg { padding: 18px 34px; font-size: 15px; }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: padding .35s ease;
}
.header::before { /* fundo com desfoque em pseudo-elemento para não prender o menu fixo */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(21, 17, 12, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(241, 220, 140, .12);
  opacity: 0; transition: opacity .35s ease;
}
.header.is-scrolled { padding: 10px 0; }
.header.is-scrolled::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: auto; filter: drop-shadow(0 4px 10px rgba(191,154,18,.35)); }
.brand__name {
  font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1; color: var(--gold-200);
  display: flex; flex-direction: column;
}
.brand__name small { font-family: var(--sans); font-size: 10px; letter-spacing: .42em; text-transform: uppercase; color: rgba(241,220,140,.6); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) {
  font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251, 248, 241, .82);
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav > a:not(.btn):not(.nav__ig)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold-300); transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.nav > a:not(.btn):hover { color: var(--gold-200); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__ig { display: inline-flex; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 60; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--gold-200); transition: transform .3s, opacity .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21.5px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 90px;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(212, 174, 34, .14), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(212, 174, 34, .08), transparent 60%),
    var(--ink);
  color: var(--ivory);
}
.hero::before { /* textura sutil */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(241,220,140,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero__glow {
  position: absolute; width: 640px; height: 640px; right: -120px; top: 50%; translate: 0 -50%;
  background: radial-gradient(circle, rgba(212,174,34,.22), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.2vw, 76px); font-weight: 400; color: var(--ivory); letter-spacing: -.01em; }
.hero h1 em { display: block; }
.hero__lead { font-size: 18.5px; font-weight: 300; color: rgba(251,248,241,.78); max-width: 520px; margin: 26px 0 36px; }
.hero .eyebrow { color: var(--gold-300); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { list-style: none; padding: 0; margin: 48px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; padding-left: 18px; border-left: 1px solid rgba(241,220,140,.25); }
.hero__facts strong { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--gold-200); line-height: 1.1; }
.hero__facts span { font-size: 13px; letter-spacing: .06em; color: rgba(251,248,241,.6); }

.hero__visual { position: relative; height: 600px; }
.hero__arch {
  position: absolute; overflow: hidden;
  border-radius: 999px 999px 24px 24px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.hero__arch::after { /* moldura dourada */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hero__arch:hover img { transform: scale(1.05); }
.hero__arch--main { width: 54%; height: 82%; left: 23%; top: 4%; z-index: 2; animation: float 9s ease-in-out infinite; }
.hero__arch--a { width: 36%; height: 50%; left: 0; bottom: 2%; z-index: 1; opacity: .9; animation: float 11s ease-in-out infinite reverse; }
.hero__arch--b { width: 36%; height: 50%; right: 0; top: 18%; z-index: 1; opacity: .9; animation: float 10s 1s ease-in-out infinite; }
.hero__mark {
  position: absolute; z-index: 3; width: 120px; right: 10%; bottom: 0;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.55));
  animation: float 7s ease-in-out infinite reverse;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 1px solid rgba(241,220,140,.4); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold-300); animation: scroll 2s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Faixa ---------- */
.ribbon { background: var(--gold-grad); overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(78,61,6,.2); }
.ribbon__track { display: flex; gap: 34px; width: max-content; animation: marquee 32s linear infinite; align-items: center; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink); white-space: nowrap; }
.ribbon i { font-style: normal; color: var(--gold-800); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: 120px 0; position: relative; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section__head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section__head h2 { font-size: clamp(36px, 4.6vw, 58px); }
.section__head p:not(.eyebrow) { color: var(--muted); margin: 18px 0 0; font-size: 17.5px; }
.section__head--light h2 { color: var(--ivory); }
.section__head--light .eyebrow { color: var(--gold-300); }

/* ---------- Coleções ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s, border-color .45s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,17,12,.35), transparent 45%); opacity: 0; transition: opacity .45s; }
.card:hover .card__img::after { opacity: 1; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__img img { transform: scale(1.07); }
.card__body { padding: 22px 24px 26px; position: relative; flex: 1; display: flex; flex-direction: column; }
.card__num { position: absolute; right: 22px; top: 18px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-400); }
.card h3 { font-size: 30px; }
.card p { margin: 8px 0 18px; color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); font-weight: 500; }
.card__link svg { transition: transform .3s; }
.card:hover .card__link svg { transform: translateX(5px); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.about__media { position: relative; max-width: 470px; margin-inline: auto; width: 100%; }
.about__frame { border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); position: relative; z-index: 1; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__media::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 999px 999px 24px 24px;
  border: 1px solid var(--gold-400);
}
.about__badge {
  position: absolute; z-index: 2; right: -24px; bottom: 40px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--ink); color: var(--gold-200);
  display: grid; place-content: center; text-align: center;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.45), 0 0 0 6px var(--sand), 0 0 0 7px var(--gold-400);
}
.about__badge strong { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; color: rgba(241,220,140,.7); }
.about__badge span { font-family: var(--serif); font-size: 40px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__text h2 { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 26px; }
.about__text p { color: var(--muted); margin: 0 0 16px; }
.about blockquote {
  margin: 32px 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--gold-400);
  font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--ink);
}
.about__sign { width: 170px; margin-top: 8px; }

/* ---------- Diferenciais ---------- */
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 50% 0%, rgba(212,174,34,.12), transparent 70%);
}
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.feature {
  padding: 38px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(241,220,140,.14);
  transition: border-color .4s, transform .4s, background .4s;
}
.feature:hover { border-color: rgba(241,220,140,.5); transform: translateY(-6px); background: linear-gradient(180deg, rgba(212,174,34,.1), rgba(255,255,255,.01)); }
.feature svg { color: var(--gold-300); margin-bottom: 22px; }
.feature h3 { color: var(--gold-200); font-size: 26px; margin-bottom: 10px; }
.feature p { margin: 0; color: rgba(251,248,241,.66); font-size: 15.5px; }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-flow: dense; }
.gallery__item {
  padding: 0; border: 0; background: var(--sand); border-radius: 14px; overflow: hidden;
  aspect-ratio: 4 / 5; position: relative;
}
.gallery__item.is-tall { grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s; }
.gallery__item::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 54px; font-weight: 300; color: var(--gold-50);
  background: rgba(21,17,12,.45); opacity: 0; transition: opacity .4s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }

/* ---------- Como comprar ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 40px; left: 16%; right: 16%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); }
.step { text-align: center; padding: 0 12px; position: relative; }
.step__n {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 26px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 36px; color: var(--ink);
  background: var(--gold-grad-soft);
  box-shadow: 0 0 0 8px var(--sand), 0 0 0 9px rgba(191,154,18,.35), 0 16px 30px -12px rgba(156,124,12,.6);
  position: relative;
}
.step h3 { font-size: 30px; margin-bottom: 10px; }
.step p { margin: 0 auto; color: var(--muted); max-width: 300px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 130px 0; background: var(--ink-2); color: var(--ivory);
}
.cta__glow { position: absolute; inset: 0; background: radial-gradient(600px 340px at 50% 40%, rgba(212,174,34,.2), transparent 70%); pointer-events: none; }
.cta__inner { position: relative; max-width: 760px; }
.cta__mark { width: 90px; margin: 0 auto 28px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }
.cta h2 { font-size: clamp(36px, 5vw, 62px); color: var(--ivory); font-weight: 400; }
.cta p { color: rgba(251,248,241,.7); font-size: 18px; margin: 22px auto 40px; max-width: 560px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: rgba(251,248,241,.66); padding: 80px 0 30px; border-top: 1px solid rgba(241,220,140,.12); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px; }
.footer__brand img { width: 170px; margin-bottom: 20px; }
.footer__brand p { max-width: 340px; font-size: 15px; margin: 0; }
.footer h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15.5px; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--gold-200); }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact svg { color: var(--gold-300); flex: none; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(241,220,140,.1); font-size: 13.5px;
  align-items: center; padding-right: 80px; /* espaço para o botão flutuante do WhatsApp */
}
.footer__bottom p { margin: 0; }
.footer__top { color: var(--gold-300); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip {
  position: absolute; right: 74px; top: 50%; translate: 0 -50%;
  background: var(--ink); color: var(--gold-50); font-size: 13.5px; padding: 8px 14px; border-radius: 10px;
  white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(8px); transition: opacity .3s, transform .3s;
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 8, 5, .94); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 60px 16px 100px;
  animation: fade .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 78vh; max-width: min(92vw, 560px); width: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: var(--gold-200); font-size: 44px; line-height: 1; padding: 6px 12px; }
.lightbox__nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(241,220,140,.1); border: 1px solid rgba(241,220,140,.3); color: var(--gold-200);
  font-size: 30px; line-height: 1; transition: background .3s;
}
.lightbox__nav:hover { background: rgba(241,220,140,.22); }
.lightbox__nav--prev { left: 3vw; }
.lightbox__nav--next { right: 3vw; }
.lightbox__cta { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; white-space: nowrap !important; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: 30px; }
  .hero__visual { height: 520px; }
  .about { gap: 60px; }
  .nav { gap: 22px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(21, 17, 12, .98);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { font-family: var(--serif); font-size: 32px; letter-spacing: 0; text-transform: none; color: var(--ivory); }
  .nav .btn { margin-top: 10px; }
  body.menu-open { overflow: hidden; }

  .hero { padding-top: 110px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__facts { justify-content: center; }
  .hero .eyebrow::before { display: none; }
  .hero__visual { height: 460px; max-width: 520px; margin: 20px auto 0; width: 100%; }
  .hero__scroll { display: none; }

  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 380px; }
  .about__text { text-align: center; }
  .about blockquote { text-align: left; }
  .about__sign { margin-inline: auto; }
  .about__text .eyebrow::before { display: none; }

  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 50px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 44px; }
  .brand__name { font-size: 21px; }
  .brand img { width: 38px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; }
  .hero__facts li { padding: 0 6px; border-left: 0; align-items: center; text-align: center; }
  .hero__facts li + li { border-left: 1px solid rgba(241,220,140,.25); }
  .hero__facts strong { font-size: 21px; }
  .hero__facts span { font-size: 11.5px; line-height: 1.35; margin-top: 4px; }
  .about__media::before { inset: -12px 12px 12px -12px; }
  .hero__visual { height: 400px; }
  .hero__mark { width: 84px; right: 4%; }
  .cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card__body { padding: 16px 16px 18px; }
  .card h3 { font-size: 24px; }
  .card p { font-size: 13.5px; }
  .card__num { display: none; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about__badge { width: 108px; height: 108px; right: -6px; }
  .about__badge span { font-size: 32px; }
  .about blockquote { font-size: 22px; }
  .cta { padding: 96px 0; }
  .cta__actions .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 24px; }
}

@media (max-width: 340px) {
  .cards { grid-template-columns: 1fr; }
}

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

/* =========================================================
   Consentimento de cookies (LGPD)
   ========================================================= */
.consent {
  position: fixed; z-index: 90; left: 22px; bottom: 22px;
  width: min(460px, calc(100% - 32px));
  background: var(--ink-2); color: rgba(251,248,241,.8);
  border: 1px solid rgba(241,220,140,.25); border-radius: var(--radius);
  padding: 24px 24px 20px;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.6);
  animation: consent-in .5s cubic-bezier(.2,.7,.2,1);
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translateY(20px); } }
.consent__title { font-size: 24px; color: var(--gold-200); margin-bottom: 8px; }
.consent p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.consent a, .consent-modal a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.consent__actions .consent__btn--solid { flex: 1 1 140px; }
.consent__actions .consent__btn--link { order: 3; flex-basis: 100%; }

.consent__btn {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 999px; border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
/* "Aceitar" e "Rejeitar" com o mesmo destaque, como recomenda o guia de cookies da ANPD */
.consent__btn--solid { background: var(--gold-grad); background-size: 200% 100%; color: var(--ink); }
.consent__btn--solid:hover { background-position: 100% 0; transform: translateY(-1px); }
.consent__btn--outline { background: transparent; color: var(--gold-200); border-color: rgba(241,220,140,.45); }
.consent__btn--outline:hover { border-color: var(--gold-300); background: rgba(241,220,140,.08); }
.consent__btn--link { background: none; color: var(--gold-200); text-decoration: underline; text-underline-offset: 4px; padding: 6px; letter-spacing: .06em; }
.consent__btn--link:hover { color: var(--gold-50); }
.consent__btn:focus-visible, .consent-modal__close:focus-visible, .switch input:focus-visible + .switch__track { outline: 2px solid var(--gold-300); outline-offset: 3px; }

.consent-modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px;
  background: rgba(10,8,5,.72); backdrop-filter: blur(4px);
  animation: fade .25s ease;
}
.consent-modal[hidden] { display: none; }
.consent-lock, .consent-lock body { overflow: hidden; }
.consent-modal__box {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--ink-2); color: rgba(251,248,241,.78);
  border: 1px solid rgba(241,220,140,.25); border-radius: var(--radius);
  padding: 32px 30px 26px;
}
.consent-modal h2 { font-size: 30px; color: var(--gold-200); margin-bottom: 10px; padding-right: 30px; }
.consent-modal__intro { font-size: 14.5px; margin: 0 0 18px; }
.consent-modal__close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--gold-200); font-size: 34px; line-height: 1; padding: 4px 10px; }
.consent-cat { padding: 16px 0; border-top: 1px solid rgba(241,220,140,.14); }
.consent-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.consent-cat__title { font-family: var(--serif); font-size: 22px; color: var(--ivory); }
.consent-cat p { margin: 6px 0 0; font-size: 14px; color: rgba(251,248,241,.62); }
.consent-cat__always { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.consent-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(241,220,140,.14); }
.consent-modal__actions .consent__btn { flex: 1 1 150px; }

.switch { position: relative; display: inline-block; width: 50px; height: 28px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; border-radius: 999px; background: rgba(251,248,241,.18); transition: background .25s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ivory); transition: transform .25s; }
.switch input:checked + .switch__track { background: var(--gold-500); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }

.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer__legal button { font-family: inherit; line-height: inherit; cursor: pointer; }
.footer__legal a, .footer__legal button { color: rgba(251,248,241,.66); background: none; border: 0; padding: 0; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--gold-200); }

@media (max-width: 600px) {
  .consent { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 18px 18px 0 0; border-bottom: 0; padding: 20px 16px 16px; }
  .consent-open .wa-float { display: none; }
  .consent-modal__box { padding: 26px 18px 18px; }
}

/* =========================================================
   Página de Política de Privacidade
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; padding: 150px 0 70px; color: var(--ivory);
  background: radial-gradient(900px 400px at 80% 0%, rgba(212,174,34,.16), transparent 60%), var(--ink);
}
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); color: var(--ivory); font-weight: 400; }
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero p { color: rgba(251,248,241,.7); margin: 16px 0 0; max-width: 640px; }

.legal { display: grid; grid-template-columns: 260px 1fr; gap: 60px; padding: 80px 0 110px; align-items: start; }
.legal__toc { position: sticky; top: 100px; font-size: 14.5px; }
.legal__toc h2 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-600); font-weight: 500; margin-bottom: 14px; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 8px; border-left: 1px solid var(--line); }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: block; padding: 2px 0 2px 16px; color: var(--muted); margin-left: -1px; border-left: 1px solid transparent; transition: color .2s, border-color .2s; }
.legal__toc a::before { content: counter(toc) ". "; color: var(--gold-500); }
.legal__toc a:hover { color: var(--ink); border-color: var(--gold-400); }

.legal__body { max-width: 760px; }
.legal__body section { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.legal__body section:last-child { border-bottom: 0; }
.legal__body h2 { font-size: 34px; margin-bottom: 16px; }
.legal__body h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 22px 0 8px; color: var(--ink); }
.legal__body p, .legal__body li { color: #4a4234; }
.legal__body ul { padding-left: 20px; }
.legal__body li { margin-bottom: 6px; }
.legal__body a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__updated { display: inline-block; font-size: 13.5px; color: var(--gold-200); border: 1px solid rgba(241,220,140,.3); border-radius: 999px; padding: 6px 14px; margin-top: 22px; }

.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; color: var(--ink); background: var(--sand); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.legal-table td { color: #4a4234; }
.table-wrap { overflow-x: auto; }

.legal__box { background: var(--sand); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 18px 0; }
.legal__box p { margin: 0; }
.legal__body .btn { margin-top: 8px; text-decoration: none; }
.fill { background: #FFF1B8; color: #6B4E00; padding: 1px 6px; border-radius: 4px; font-weight: 500; }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
  .legal__toc { position: static; background: var(--sand); border-radius: 14px; padding: 20px; }
  .page-hero { padding-top: 120px; }
}
@media (max-width: 600px) {
  .legal-table thead { display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 6px 0; background: #fff; }
  .legal-table td { border: 0; padding: 6px 14px; }
  .legal-table td::before { content: attr(data-label); display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
}

/* Sprite de ícones SVG (classe em vez de style inline, compatível com a Content-Security-Policy) */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =========================================================
   Página 404
   ========================================================= */
.page-hero--404 { min-height: 78vh; display: flex; align-items: center; }
.page-hero--404 .eyebrow { font-size: 15px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 600px) { .page-hero__actions .btn { width: 100%; } }
