/* =========================================================
   PS Assessoria — sistema visual premium (identidade PS Cred)
   Preto + dourado · Manrope (títulos) · DM Sans (texto)
   ========================================================= */
:root {
  --black: #060504;
  --night: #100e0b;
  --night-2: #1a1712;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --ink: #17140f;
  --ink-soft: #5d584e;
  --line: rgba(23, 20, 15, .11);
  --gold: #d3a83f;
  --gold-light: #f0d68a;
  --gold-dark: #86600d;          /* dourado para texto sobre fundo claro (contraste AA) */
  --gold-grad: linear-gradient(135deg, #f6e3a4 0%, #d3a83f 45%, #a77915 100%);
  --gold-grad-ink: linear-gradient(135deg, #a8781a 0%, #86600d 60%, #6e4f0a 100%);
  --hair-gold: linear-gradient(90deg, transparent, rgba(211,168,63,.65), transparent);
  --r-card: 24px;
  --r-ico: 14px;
  --r-btn: 12px;
  --pad-section: 128px;
  --head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-card: 0 30px 60px -40px rgba(23, 20, 15, .55);
  --shadow-deep: 0 50px 100px -50px rgba(0, 0, 0, .9);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -0.025em; }
h1 { font-weight: 600; line-height: 1.1; }
h2 { font-weight: 700; line-height: 1.12; font-size: clamp(32px, 3.7vw, 50px); }
h3 { font-weight: 700; line-height: 1.25; font-size: 20px; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(211,168,63,.35); }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--black); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Rótulo (eyebrow) */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 700 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--gold); }

/* Texto dourado */
.gold-text { background: var(--gold-grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .gold-text { background: linear-gradient(110deg, #a77915 0%, #f6e3a4 25%, #d3a83f 50%, #f6e3a4 75%, #a77915 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: goldflow 9s linear infinite; }
@keyframes goldflow { to { background-position: -220% 0; } }

/* Botões */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border: 0; border-radius: var(--r-btn); background: var(--gold-grad); color: var(--black); font: 800 13px/1 var(--head); letter-spacing: .11em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 14px 32px -16px rgba(211,168,63,.75), inset 0 1px 0 rgba(255,255,255,.45); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-130%); transition: transform .9s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(211,168,63,.95), inset 0 1px 0 rgba(255,255,255,.45); }
.btn:hover::after { transform: translateX(130%); }
.btn .arr { font-size: 19px; font-weight: 400; letter-spacing: 0; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ink { background: var(--night); color: var(--paper); box-shadow: 0 16px 34px -18px rgba(0,0,0,.6); }
.btn-ink::after { background: linear-gradient(110deg, transparent 35%, rgba(211,168,63,.35) 50%, transparent 65%); }
.btn-pill { min-height: 42px; padding: 0 20px; border-radius: 999px; background: transparent; color: var(--paper); border: 1px solid rgba(211,168,63,.55); box-shadow: none; font: 700 14px/1 var(--head); letter-spacing: 0; text-transform: none; }
.btn-pill::after { display: none; }
.btn-pill:hover { background: rgba(211,168,63,.12); box-shadow: none; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: rgba(255,253,248,.85); text-decoration: none; font: 600 15px/1 var(--head); border-bottom: 1px solid rgba(211,168,63,.45); transition: color .3s, border-color .3s, gap .3s var(--ease); }
.text-link:hover { color: var(--gold-light); border-color: var(--gold); gap: 12px; }
:is(a, button, summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }

/* Barra de progresso de leitura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Topo (menu) */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .45s var(--ease), border-color .45s; }
.topbar.solid { background: rgba(8,7,5,.84); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); border-bottom-color: rgba(211,168,63,.16); }
.topbar-inner { display: flex; align-items: center; gap: 32px; height: 84px; transition: height .45s var(--ease); }
.topbar.solid .topbar-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--paper); text-decoration: none; }
.brand img { width: 42px; height: auto; transition: width .45s var(--ease); filter: drop-shadow(0 4px 12px rgba(211,168,63,.25)); }
.topbar.solid .brand img { width: 36px; }
.brand span { font: 800 17px/1.1 var(--head); letter-spacing: -0.01em; }
.brand small { display: block; margin-top: 3px; font: 700 10px/1.2 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; padding: 6px 0; color: rgba(255,253,248,.72); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Seções e cabeçalhos padronizados */
.section { position: relative; padding: var(--pad-section) 0; }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-dark { background: radial-gradient(900px 460px at 50% -10%, rgba(211,168,63,.13), transparent 65%), var(--night); color: var(--paper); }
.on-dark { color: var(--paper); }
.sh { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sh h2 { max-width: 640px; }
.sh .sh-lead { max-width: 460px; justify-self: end; font-size: 18px; color: var(--ink-soft); }
.on-dark .sh .sh-lead { color: rgba(255,253,248,.66); }

/* Ícones */
.ico { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: var(--r-ico); background: var(--night); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card.dark .ico { background: rgba(211,168,63,.1); border: 1px solid rgba(211,168,63,.28); }

/* Família de cartões */
.card { position: relative; isolation: isolate; overflow: hidden; padding: 34px 32px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(211,168,63,.14), transparent 60%); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(167,121,21,.45); }
.card:hover::before { opacity: 1; }
.card.dark { background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%); color: var(--paper); border-color: rgba(211,168,63,.22); }
.card.dark::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(211,168,63,.18), transparent 60%); }
.card.dark:hover { box-shadow: var(--shadow-deep); border-color: rgba(211,168,63,.55); }
.card h3 { margin: 22px 0 10px; }
.card p { font-size: 15.5px; color: var(--ink-soft); }
.card.dark p { color: rgba(255,253,248,.66); }
.card .tag { display: block; margin-top: 22px; font: 700 11.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); }
.card.dark .tag { color: var(--gold); }
.check { display: inline-grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font-size: 10px; font-weight: 800; }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.checks .check { margin-top: 2px; }
.card.dark .checks li { color: rgba(255,253,248,.86); }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; color: var(--paper); background: radial-gradient(800px 460px at 82% 22%, rgba(211,168,63,.14), transparent 65%), linear-gradient(180deg, #040302 0%, #0d0b08 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E"); }
.hero-ring { position: absolute; width: 780px; height: 780px; right: -270px; top: -190px; border-radius: 50%; border: 1px solid rgba(211,168,63,.1); pointer-events: none; will-change: transform; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 88px; align-items: center; min-height: min(820px, 100vh); padding: 140px 0 96px; }
.hero h1 { font-size: clamp(36px, 3.8vw, 54px); margin-bottom: 24px; white-space: nowrap; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { max-width: 500px; font-size: 18px; color: rgba(255,253,248,.66); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero-points { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13.5px; color: rgba(255,253,248,.52); }
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 4px; height: 4px; transform: rotate(45deg); background: var(--gold); }
.hero-photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.hero-photo .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-deep); }
.hero-photo .frame::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 22px; padding: 1px; pointer-events: none; background: linear-gradient(160deg, rgba(246,227,164,.6), rgba(211,168,63,.08) 45%, rgba(167,121,21,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.hero-photo .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(3,3,2,.42) 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; transform: scale(1.08); will-change: transform; }
.hero-photo figcaption { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13.5px; color: rgba(255,253,248,.56); }
.live { width: 7px; height: 7px; border-radius: 50%; background: #2fae6b; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,174,107,.55); } 70% { box-shadow: 0 0 0 9px rgba(47,174,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,174,107,0); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 1; width: 22px; height: 36px; border: 1px solid rgba(211,168,63,.45); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Animação de entrada do topo */
.js .hero h1 .line > span { transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero .eyebrow, .js .hero .lead, .js .hero-actions, .js .hero-points, .js .hero-photo figcaption { opacity: 0; animation: fade 1s var(--ease) forwards; }
.js .hero .eyebrow { animation-delay: .05s; }
.js .hero .lead { animation-delay: .35s; }
.js .hero-actions { animation-delay: .5s; }
.js .hero-points { animation-delay: .65s; }
.js .hero-photo figcaption { animation-delay: 1s; }
.js .hero-photo .frame { clip-path: inset(100% 0 0 0 round 22px); animation: unveil 1.4s var(--ease) .2s forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 22px); } }

/* Faixa abaixo do topo */
.strip { background: #0a0907; border-top: 1px solid rgba(211,168,63,.14); border-bottom: 1px solid rgba(211,168,63,.14); }
.strip-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 24px 0; }
.strip-inner span { display: inline-flex; align-items: center; gap: 14px; font: 600 11.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: rgba(240,214,138,.75); }
.strip-inner span + span::before { content: ""; width: 4px; height: 4px; margin-right: 10px; transform: rotate(45deg); background: rgba(211,168,63,.55); }

/* ===== QUEM SOMOS ===== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; }
.about-media { position: relative; }
.about-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: 0; border: 1px solid rgba(167,121,21,.45); border-radius: var(--r-card); }
.about-photo { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; transition: transform 1.2s var(--ease); }
.about-media:hover .about-photo img { transform: scale(1.04); }
.about h2 { margin-bottom: 26px; }
.about .body p:not(.eyebrow) { font-size: 17.5px; color: var(--ink-soft); }
.about .body p + p { margin-top: 16px; }
.pillars { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pillars li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.pillars li:nth-child(odd) { border-right: 1px solid var(--line); }
.pillars li:nth-child(even) { padding-left: 24px; }
.pillars b { display: block; margin-bottom: 8px; font: 800 11.5px/1 var(--body); letter-spacing: .18em; color: var(--gold-dark); }
.pillars strong { display: block; margin-bottom: 4px; font: 700 17px/1.3 var(--head); }
.pillars span { font-size: 15px; color: var(--ink-soft); }

/* ===== GRADES ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ===== SOLUÇÕES ===== */
.solution { display: flex; flex-direction: column; padding: 40px 34px 34px; }
.solution::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad); transform: scaleX(.25); transform-origin: left; transition: transform .7s var(--ease); }
.solution:hover::after { transform: scaleX(1); }
.solution .idx { position: absolute; right: 30px; top: 32px; font: 700 13px/1 var(--head); letter-spacing: .1em; color: rgba(211,168,63,.6); }
.solution h3 { margin-top: 14px; font-size: 25px; }
.solution .btn { margin-top: auto; }
.note { margin-top: 32px; text-align: center; font-size: 13.5px; color: rgba(255,253,248,.5); }

/* ===== COMPARATIVO ===== */
.compare { overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-card); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 22px 26px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.compare thead th { background: var(--night); color: var(--paper); font: 700 16px/1.3 var(--head); border-bottom: 1px solid rgba(211,168,63,.5); }
.compare thead th:first-child { vertical-align: middle; color: var(--gold); font: 700 11.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.compare tbody th { width: 21%; background: var(--cream); color: var(--gold-dark); font: 700 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.compare tbody td { transition: background .3s; }
.compare tbody tr:hover td { background: rgba(211,168,63,.05); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td a { color: var(--gold-dark); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(134,96,13,.35); }
.compare td a:hover { border-color: var(--gold-dark); }

/* ===== PROCESSO ===== */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.timeline::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 31px; height: 1px; background: var(--hair-gold); transform: scaleX(1); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.js .timeline:not(.in)::before { transform: scaleX(0); }
.tl-step { padding: 0 14px; text-align: center; }
.tl-step .num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 26px; border-radius: 50%; background: var(--night); border: 1px solid var(--gold); color: var(--gold-light); font: 700 19px/1 var(--head); box-shadow: 0 0 0 10px var(--night), 0 0 34px rgba(211,168,63,.22); }
.tl-step h3 { margin-bottom: 10px; font-size: 21px; }
.tl-step p { max-width: 320px; margin: 0 auto; font-size: 15.5px; color: rgba(255,253,248,.66); }

/* ===== ATENDIMENTO ===== */
.human { display: grid; grid-template-columns: 1.05fr .95fr; gap: 88px; align-items: center; }
.human h2 { margin-bottom: 24px; }
.human .body p:not(.eyebrow) { font-size: 17.5px; color: var(--ink-soft); }
.human .checks { margin: 30px 0 36px; }
.human .checks li { font-size: 16px; }
.human .checks .check { border-color: var(--gold-dark); color: var(--gold-dark); }
.phone { position: relative; justify-self: center; width: min(360px, 100%); padding: 14px; border-radius: 46px; background: linear-gradient(160deg, #2a241b, #0b0a08); border: 1px solid rgba(211,168,63,.45); box-shadow: 0 60px 100px -50px rgba(23,20,15,.75), inset 0 0 0 2px rgba(255,255,255,.04); }
.phone-notch { position: absolute; top: 22px; left: 50%; z-index: 2; width: 92px; height: 24px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 52px 18px 14px; border-radius: 32px 32px 0 0; background: #f3efe6; border-bottom: 1px solid var(--line); }
.phone-head img { width: 38px; height: 38px; padding: 5px; object-fit: contain; border-radius: 50%; background: var(--night); }
.phone-head strong { display: block; font: 800 15px/1.2 var(--head); }
.phone-head span { font-size: 12px; font-weight: 600; color: #2a9d5e; }
.phone-chat { display: grid; align-content: start; gap: 10px; min-height: 410px; padding: 18px 14px 20px; background: #ece5d8 radial-gradient(rgba(23,20,15,.05) 1px, transparent 1px) 0 0 / 14px 14px; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.4; box-shadow: 0 10px 24px -16px rgba(0,0,0,.55); }
.bubble.in { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.out { justify-self: end; background: #dcf7c5; color: #1c2a12; border-bottom-right-radius: 4px; }
.bubble small { display: block; margin-top: 4px; font-size: 11px; opacity: .5; text-align: right; }
.typing { display: inline-flex; gap: 4px; width: max-content; padding: 12px 14px; border-radius: 14px; background: #fff; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b8b2a6; animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.js .phone:not(.in) .phone-chat > * { opacity: 0; }
.js .phone.in .phone-chat > * { animation: msg .6s var(--ease) both; }
.js .phone.in .phone-chat > :nth-child(2) { animation-delay: .6s; }
.js .phone.in .phone-chat > :nth-child(3) { animation-delay: 1.3s; }
.js .phone.in .phone-chat > :nth-child(4) { animation-delay: 2.1s; }
.js .phone.in .phone-chat > :nth-child(5) { animation-delay: 2.7s; }
@keyframes msg { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.phone-input { padding: 12px 14px 18px; border-radius: 0 0 32px 32px; background: #f3efe6; }
.phone-input span { display: block; padding: 10px 16px; border-radius: 999px; background: #fff; color: #9b958a; font-size: 14px; border: 1px solid var(--line); }

/* ===== SEGURANÇA ===== */
.tip { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 30px; }
.tip .ico { color: var(--gold-light); font: 700 15px/1 var(--head); }
.tip h3 { margin: 4px 0 6px; font-size: 18px; }

/* ===== DÚVIDAS ===== */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside h2 { margin-bottom: 20px; }
.faq-aside p:not(.eyebrow) { margin-bottom: 30px; font-size: 17.5px; color: var(--ink-soft); }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--paper); border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s; }
.faq details[open] { border-color: rgba(167,121,21,.55); box-shadow: var(--shadow-card); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 23px 66px 23px 26px; font: 700 16.5px/1.4 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0d68a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .45s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--gold-dark); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 26px 24px; font-size: 15.5px; color: var(--ink-soft); }

/* ===== CONTATO ===== */
.contact-band { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 12% 0%, rgba(211,168,63,.18), transparent 60%), linear-gradient(180deg, var(--night), #050403); color: var(--paper); }
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.contact h2 { margin-bottom: 22px; font-size: clamp(36px, 4.4vw, 58px); }
.contact .lead { max-width: 520px; font-size: 18px; color: rgba(255,253,248,.7); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 38px; }
.contact-card { padding: 36px; }
.contact-card dl { margin: 0; display: grid; gap: 22px; }
.contact-card dt { margin-bottom: 8px; font: 700 11.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); }
.contact-card dd { margin: 0; font-size: 16.5px; color: var(--ink); }
.contact-card a { font-weight: 700; text-decoration: none; transition: color .3s; }
.contact-card a:hover { color: var(--gold-dark); }

/* ===== RODAPÉ ===== */
.footer { background: var(--black); color: rgba(255,253,248,.56); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 44px; }
.footer-brand img { width: 60px; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.footer h4 { margin: 0 0 18px; font: 800 12px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--gold-light); }
.legal { display: grid; gap: 10px; padding: 28px 0 36px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12.5px; line-height: 1.65; }
.legal strong { color: rgba(255,253,248,.82); }

/* WhatsApp flutuante (aparece depois do topo) */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: rgba(16,14,11,.9); color: var(--paper); border: 1px solid rgba(211,168,63,.5); text-decoration: none; font: 700 14px/1 var(--head); box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .6s var(--ease), opacity .6s, border-color .3s; }
.js .wa-float:not(.show) { transform: translateY(140%); opacity: 0; pointer-events: none; }
.wa-float:hover { border-color: var(--gold); }
.wa-float svg { width: 22px; height: 22px; fill: #2fd06f; }

/* Entrada ao rolar */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Movimento reduzido: tudo visível, sem animação */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero h1 .line > span, .js .hero .eyebrow, .js .hero .lead, .js .hero-actions, .js .hero-points, .js .hero-photo figcaption, .js .phone:not(.in) .phone-chat > * { opacity: 1; transform: none; }
  .js .hero-photo .frame { clip-path: none; }
  .hero-photo img { transform: none; }
  .js .timeline:not(.in)::before { transform: scaleX(1); }
  .js .wa-float:not(.show) { transform: none; opacity: 1; pointer-events: auto; }
}

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
  :root { --pad-section: 104px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; min-height: 0; padding: 132px 0 88px; }
  .hero-photo { justify-self: start; max-width: 400px; }
  .scroll-cue { display: none; }
  .sh { grid-template-columns: 1fr; gap: 18px; }
  .sh .sh-lead { justify-self: start; }
  .about, .human, .contact, .faq-layout { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 440px; }
  .faq-aside { position: static; }
  .grid-3 { grid-template-columns: 1fr; max-width: 640px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --pad-section: 84px; }
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 40px); }
  .nav { display: none; }
  .topbar-inner, .topbar.solid .topbar-inner { height: 68px; gap: 12px; }
  .brand img, .topbar.solid .brand img { width: 34px; }
  .hero-inner { padding: 112px 0 72px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .hero .lead { font-size: 16.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 20px; }
  .hero-actions .text-link { align-self: center; }
  .hero-points { flex-direction: column; margin-top: 36px; }
  .strip-inner { justify-content: center; }
  .strip-inner span { font-size: 10.5px; letter-spacing: .16em; }
  .strip-inner span + span::before { display: none; }
  .sh { margin-bottom: 44px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li:nth-child(odd) { border-right: 0; }
  .pillars li:nth-child(even) { padding-left: 0; }
  .about-media::before { inset: 14px -10px -14px 14px; }
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .card { padding: 30px 24px; }
  .solution { padding: 34px 26px 28px; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { display: none; }
  .tip { padding: 24px 22px; gap: 16px; }
  .btn { width: 100%; }
  .btn-pill { width: auto; }
  .contact-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .contact-actions .text-link { align-self: center; }
  .contact-card { padding: 28px 24px; }
  .compare thead { display: none; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody th { width: 100%; padding: 14px 20px; background: var(--night); color: var(--gold); }
  .compare td { padding: 16px 20px; border-bottom: 1px dashed var(--line); }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 6px; font: 800 11px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); }
  .footer-top { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; padding: 0 15px; }
  .wa-float span { display: none; }
}

/* Garantia: se o navegador pausar as animações, o topo aparece completo */
.hero-done .hero h1 .line > span, .hero-done .hero .eyebrow, .hero-done .hero .lead, .hero-done .hero-actions, .hero-done .hero-points, .hero-done .hero-photo figcaption { opacity: 1 !important; transform: none !important; }
.hero-done .hero-photo .frame { clip-path: none !important; }
@media (max-width: 760px) { .hero h1 { white-space: normal; } }

/* Garantia de forma final dos blocos animados */
.js [data-reveal].settled { opacity: 1; transform: none; transition: none; }
.js .phone.settled .phone-chat > * { opacity: 1; animation: none; transform: none; }
.js .timeline.settled::before { transform: scaleX(1); transition: none; }
