/* =========================================================
   Zentro | Marketing Digital
   Mármore branco com veios pretos · preto laca · dourado
   ========================================================= */
:root {
  --paper: #f3f1ec;
  --paper-2: #fbfaf7;
  --ink: #0b0b0c;
  --ink-2: #161618;
  --ink-3: #232326;
  --stone: #5f5c57;          /* texto secundário no claro */
  --mist: rgba(255,255,255,.66); /* texto secundário no escuro */
  --line: rgba(11,11,12,.12);
  --line-d: rgba(255,255,255,.12);
  --gold: #b8912e;
  --gold-2: #d9b868;
  --gold-3: #7f6219;          /* dourado para texto sobre o claro (contraste AA) */
  --gold-ink: #876818;           /* dourado de texto sobre o claro (contraste AA) */
  --wpp: #12843f;
  --ff: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-serif: 'Instrument Serif', Georgia, serif;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.8,.2,1);
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--ff); font-size: 16px; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--gold-2); }

.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; overflow: visible; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sprite { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Superfícies de mármore ---------- */
.marble {
  background-color: var(--paper);
  background-image: linear-gradient(rgba(243,241,236,.42), rgba(243,241,236,.42)), url('../assets/marmore.jpg');
  background-size: cover; background-position: center;
}
.marble.alt { background-image: linear-gradient(rgba(243,241,236,.5), rgba(243,241,236,.5)), url('../assets/marmore-2.jpg'); }
.marble-dark {
  background-color: var(--ink); color: #fff;
  background-image: linear-gradient(rgba(9,9,10,.62), rgba(9,9,10,.62)), url('../assets/marmore-negro.jpg');
  background-size: cover; background-position: center;
}

/* ---------- Tipografia ---------- */
.display, h1, h2, h3 { font-family: var(--ff); font-stretch: 118%; font-weight: 800; letter-spacing: -.01em; margin: 0; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; font-stretch: 110%; line-height: 1.2; letter-spacing: 0; }
.serif { font-family: var(--ff-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; font-stretch: 100%; }
.serif.gold, .gold { color: var(--gold-ink); }
.marble-dark .serif.gold, .marble-dark .gold { color: var(--gold-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-3);
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.marble-dark .eyebrow { color: var(--gold-2); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--stone); max-width: 36rem; margin: 1.6rem 0 0; }
.marble-dark .lead { color: var(--mist); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.05rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s, border-color .3s;
  white-space: nowrap;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico.arrow { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 14px 34px -16px rgba(0,0,0,.6); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.65); }
.btn-ink .ico.arrow { color: var(--gold-2); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2) 55%, var(--gold)); background-size: 200% 200%; color: var(--ink); box-shadow: 0 14px 30px -18px rgba(0,0,0,.8); }
.btn-gold:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.marble-dark .btn-line { border-color: rgba(255,255,255,.35); color: #fff; }
.marble-dark .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wpp { background: var(--wpp); color: #fff; }
.btn-wpp:hover { transform: translateY(-2px); background: #0f7436; }
.btn-sm { padding: .72rem 1.2rem; font-size: .86rem; }
.link-u { font-weight: 700; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: color .25s; }
.link-u:hover { color: var(--gold-3); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand-mark { width: 42px; height: 42px; border-radius: 11px; background: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease); }
.brand-mark svg { width: 22px; height: 26px; fill: #fff; }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-stretch: 125%; font-weight: 800; font-size: 1.15rem; letter-spacing: .16em; }
.brand-name small { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); margin-top: .35rem; font-weight: 600; }
.marble-dark .brand-mark, .footer .brand-mark { background: #fff; }
.marble-dark .brand-mark svg, .footer .brand-mark svg { fill: var(--ink); }
.footer .brand-name small { color: rgba(255,255,255,.5); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.header .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header.scrolled { background: rgba(243,241,236,.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; gap: 2.2rem; font-size: .92rem; font-weight: 600; }
.nav a { position: relative; color: rgba(11,11,12,.72); transition: color .25s; white-space: nowrap; }
@media (max-width: 1180px) { .nav { gap: 1.4rem; } }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--gold); transition: width .35s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); }
.lang-switch button { min-width: 36px; height: 32px; padding: 0 .5rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--stone); transition: color .25s, background .25s; }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang-switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
@media (max-width: 440px) {
  .header .brand-name small { display: none; }
  .header .brand-name b { letter-spacing: .1em; }
  .header-cta { gap: .4rem; }
  .lang-switch button { min-width: 30px; padding: 0 .3rem; letter-spacing: .06em; }
}
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); place-items: center; font-size: 1.15rem; background: rgba(255,255,255,.5); }
.mobile-menu { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); background: var(--paper-2); box-shadow: 0 1px 0 var(--line); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.4rem var(--pad) 1.8rem; font-weight: 600; font-size: 1.05rem; }
@media (max-width: 960px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: grid; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 120px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: center; }
.nowrap { white-space: nowrap; }
.hero h1 .serif { display: block; font-size: 1.12em; line-height: .95; margin-top: .05em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.4rem; }
.hero-actions .link-u { display: inline-flex; align-items: center; gap: .5rem; }
.chess-stage { position: relative; height: min(660px, 74vh); }
/* o tabuleiro avança sobre a margem direita da página */
.hero .chess-stage { margin-right: calc(-1 * var(--pad) - max(0px, (100vw - var(--wrap)) / 2)); margin-left: -4%; }
.chess-stage canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.chess-stage canvas.is-ready { opacity: 1; }
.chess-stage::after { /* sombra macia sob o tabuleiro */
  content: ''; position: absolute; left: 12%; right: 12%; bottom: 10%; height: 18%;
  background: radial-gradient(closest-side, rgba(0,0,0,.18), transparent); z-index: -1;
}
.chess-stage.no-webgl { display: none; }
.hero-strip { margin-top: 1rem; border-top: 1px solid var(--line); background: rgba(251,250,247,.55); }
.hero-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.3rem; padding-bottom: 1.3rem; }
.hero-strip p { margin: 0; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--stone); }
.platforms { display: flex; flex-wrap: wrap; gap: .6rem 2rem; list-style: none; margin: 0; padding: 0; font-weight: 700; font-stretch: 112%; font-size: .98rem; }
.platforms li { display: inline-flex; align-items: center; gap: .5rem; }
.platforms .ico { color: var(--gold); }
@media (max-width: 960px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero .chess-stage { height: 340px; order: -1; margin: -6px calc(-1 * var(--pad)) 0; }
}

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Manifesto */
.manifesto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: end; }
.manifesto h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line-d); }
.principles li:last-child { border-bottom: 1px solid var(--line-d); }
.principles .n { font-family: var(--ff-serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--gold-2); }
.principles h3 { margin-bottom: .35rem; }
.principles p { margin: 0; color: var(--mist); font-size: .95rem; }
.manifesto .lead { max-width: 34rem; }
@media (max-width: 900px) { .manifesto-grid { grid-template-columns: 1fr; } }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r);
  background: rgba(251,250,247,.92); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.35);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(184,145,46,.55); box-shadow: 0 40px 70px -40px rgba(0,0,0,.45); }
.service.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.2rem; }
.service-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--ink); color: var(--gold-2); }
.service.featured .service-icon { background: var(--gold); color: var(--ink); }
.service-num { font-family: var(--ff-serif); font-style: italic; font-size: 1.6rem; color: var(--gold-ink); }
.badge { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: .38rem .7rem; border-radius: 999px; background: var(--gold); color: var(--ink); }
.service h3 { font-size: 1.55rem; text-transform: uppercase; }
.service .what { margin: .7rem 0 1.6rem; color: var(--stone); }
.service.featured .what { color: var(--mist); }
.checks { list-style: none; margin: 0 0 2rem; padding: 1.4rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .8rem; font-size: .95rem; }
.service.featured .checks { border-color: var(--line-d); }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks .ico { color: var(--gold); margin-top: .25rem; }
.service.featured .checks .ico { color: var(--gold-2); }
.service .btn { margin-top: auto; align-self: flex-start; }
.combo { margin: 40px 0 0; text-align: center; color: var(--stone); }
.combo button { font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.combo button:hover { color: var(--gold-3); }
@media (max-width: 1020px) { .services { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Case Ritmo */
.case-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.case-tag { display: inline-flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.case-tag li { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .4rem .75rem; border: 1px solid var(--line-d); border-radius: 999px; color: var(--mist); }
.features { list-style: none; margin: 2rem 0 2.4rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
.features li { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: start; }
.features .fi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(217,184,104,.12); border: 1px solid rgba(217,184,104,.35); color: var(--gold-2); }
.features b { display: block; font-size: .98rem; }
.features span { font-size: .86rem; color: var(--mist); line-height: 1.45; }
.devices { position: relative; margin: 0; padding: 0 0 12% 10%; }
.browser { border-radius: 14px; overflow: hidden; background: #1b1b1d; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transition: transform .8s var(--ease); }
.devices:hover .browser { transform: perspective(1600px) rotateY(-2deg) rotateX(0); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #232326; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.browser-bar span { margin-left: 14px; flex: 1; max-width: 260px; height: 20px; border-radius: 6px; background: #2e2e31; font-size: .75rem; color: rgba(255,255,255,.5); display: flex; align-items: center; padding: 0 10px; letter-spacing: .02em; }
.shots { position: relative; aspect-ratio: 1440 / 900; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shots img + img { animation: shot 9s ease-in-out infinite; }
@keyframes shot { 0%, 38% { opacity: 0 } 50%, 88% { opacity: 1 } 100% { opacity: 0 } }
.phone { position: absolute; left: 0; bottom: 0; width: 27%; border-radius: 28px; padding: 7px; background: #0c0c0d; box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12); }
.phone img { border-radius: 22px; aspect-ratio: 390 / 844; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 960px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-grid .devices { order: -1; }
  .features { grid-template-columns: 1fr; }
}

/* Método */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; top: 44px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.step { text-align: center; }
.step-piece { position: relative; width: 88px; height: 88px; margin: 0 auto 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: var(--ink); color: var(--gold-2); box-shadow: 0 18px 36px -18px rgba(0,0,0,.6), inset 0 0 0 1px rgba(217,184,104,.35); transition: transform .5s var(--ease); }
.step:hover .step-piece { transform: translateY(-6px) scale(1.05); }
.step:last-child .step-piece { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink); }
.step-piece b { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: var(--paper-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.step-card { background: rgba(251,250,247,.9); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.4rem; min-height: 100%; }
.step h3 { text-transform: uppercase; margin-bottom: .6rem; }
.step p { margin: 0; color: var(--stone); font-size: .93rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
/* o mármore negro se dissolve no preto do rodapé, sem emenda */
.contact.marble-dark { background-image: linear-gradient(to bottom, rgba(11,11,12,0) 55%, var(--ink)), linear-gradient(rgba(9,9,10,.62), rgba(9,9,10,.62)), url('../assets/marmore-negro.jpg'); }
.contact-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.king-stage { height: 380px; margin-top: 1rem; max-width: 380px; }
.king-stage::after { display: none; }
.form-card { background: var(--paper-2); color: var(--ink); border-radius: 24px; padding: clamp(26px, 4vw, 40px); box-shadow: 0 50px 90px -40px rgba(0,0,0,.85); position: relative; }
.form-card::before { content: ''; position: absolute; top: -1px; left: 40px; right: 40px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.form-card h3 { font-size: 1.6rem; text-transform: uppercase; }
.form-card > p { color: var(--stone); margin: .6rem 0 1.6rem; font-size: .95rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .king-stage { display: none; } }

/* ---------- Formulários (lógica em js/main.js) ---------- */
.lead-form { display: grid; gap: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: .9rem; pointer-events: none; }
.input-z {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid rgba(11,11,12,.16); border-radius: 12px;
  padding: .9rem 1rem .9rem 2.7rem; transition: border-color .25s, box-shadow .25s;
}
textarea.input-z { padding-left: 1rem; resize: none; }
select.input-z { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23806218' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 16px; }
.input-z::placeholder { color: rgba(11,11,12,.58); }
.input-z:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,145,46,.16); }
.input-z.error { border-color: #c94141; box-shadow: 0 0 0 4px rgba(201,65,65,.12); }
.err-msg { color: #b23535; font-size: .76rem; margin: .35rem 0 0; display: none; }
.err-msg.show { display: block; }
.lead-form .btn { width: 100%; border-radius: 12px; padding: 1.1rem; margin-top: 4px; }
.safe { display: flex; justify-content: center; align-items: center; gap: .4rem; margin: 2px 0 0; font-size: .76rem; color: var(--stone); }
.safe .ico { color: var(--gold); }
.safe a { text-decoration: underline; text-underline-offset: 2px; }
.safe a:hover { color: var(--ink); }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- Modais ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(8,8,9,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--paper-2); border-radius: 24px; padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.7); transform: translateY(24px) scale(.97); transition: transform .45s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .25s, color .25s; }
.modal-close:hover { border-color: var(--gold); color: var(--gold-3); }
.modal-head { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.modal-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--ink); color: var(--gold-2); }
.modal-tag { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-3); }
.modal-head h3 { font-size: 1.45rem; text-transform: uppercase; }
.modal-desc { color: var(--stone); font-size: .95rem; margin: 1rem 0 1.4rem; }
.success { text-align: center; max-width: 440px; }
.check-pop { width: 78px; height: 78px; margin: 4px auto 0; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: var(--ink); color: var(--gold-2); animation: pop .5s var(--ease) both; }
@keyframes pop { from { transform: scale(0); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.success h3 { font-size: 1.6rem; text-transform: uppercase; margin-top: 1.4rem; }
.success p { color: var(--stone); font-size: .95rem; }
.success .rule { height: 1px; margin: 1.4rem 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.success .btn { width: 100%; border-radius: 12px; }
.success .modal-close.text { position: static; width: 100%; height: auto; border: 0; margin-top: .6rem; padding: .6rem; color: var(--stone); font-size: .9rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.footer p { color: rgba(255,255,255,.55); font-size: .92rem; max-width: 22rem; margin: 1.2rem 0 0; }
.footer h4 { margin: 0 0 1.2rem; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; color: rgba(255,255,255,.7); font-size: .94rem; }
.footer ul a { display: inline-flex; align-items: center; gap: .6rem; transition: color .25s; }
.footer ul a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid var(--line-d); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .8rem; color: rgba(255,255,255,.42); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.wpp-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: #25d366; box-shadow: 0 16px 30px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.wpp-float:hover { transform: scale(1.08); }

/* ---------- Revelar ao rolar (só com JS ativo) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s !important } .d2 { transition-delay: .2s !important } .d3 { transition-delay: .3s !important }

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