/* ============================================================
   VR7 PERFORMANCE — performance automotiva & motociclística
   Preto + laranja→vermelho (cores da logo) · moderno e arrojado
   ============================================================ */

:root{
  /* superfícies */
  --bg:        #0a0a0c;
  --bg-2:      #0e0e12;
  --bg-3:      #121217;
  --surface:   rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.15);

  /* texto */
  --text:      #f6f6f8;
  --text-mid:  rgba(246,246,248,0.64);
  --text-dim:  rgba(246,246,248,0.40);

  /* acento — laranja → vermelho (logo) */
  --acc-1: #ff8a1e;
  --acc-2: #ff3d12;
  --acc-solid: #ff6f1a;
  --acc-glow: #ff5a14;
  --acc-grad: linear-gradient(100deg, var(--acc-1), var(--acc-2));

  /* tipografia */
  --font-head: "Saira", system-ui, sans-serif;
  --font-body: "Saira", system-ui, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 14px;
}

/* ---------- Tema claro ---------- */
:root[data-theme="light"]{
  --bg:        #FFFFFF;
  --bg-2:      #F1F3F5;
  --bg-3:      #E9ECEF;
  --surface:   rgba(17,17,17,0.035);
  --surface-2: rgba(17,17,17,0.06);
  --border:    rgba(17,17,17,0.08);
  --border-2:  rgba(17,17,17,0.15);

  --text:      #111111;
  --text-mid:  #4B5563;
  --text-dim:  #6B7280;

  /* acento da marca levemente aprofundado para manter contraste AA sobre fundo claro */
  --acc-1: #E8590C;
  --acc-2: #D9270B;
  --acc-solid: #E8590C;
  --acc-glow: #E8590C;
}

/* O Hero tem overlay escuro fixo (independente do tema), então mantém
   os tokens de texto/superfície do modo escuro para continuar legível
   no modo claro. */
:root[data-theme="light"] .hero{
  --bg:        #0a0a0c;
  --surface:   rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.15);
  --text:      #f6f6f8;
  --text-mid:  rgba(246,246,248,0.64);
  --text-dim:  rgba(246,246,248,0.40);
  --acc-1: #ff8a1e;
  --acc-2: #ff3d12;
  --acc-solid: #ff6f1a;
  --acc-glow: #ff5a14;
}

/* Header antes de rolar (ainda sobre a Hero escura): manter tokens
   escuros para os links, botões e toggle continuarem legíveis. */
:root[data-theme="light"] .nav:not(.scrolled){
  --surface:   rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.15);
  --text:      #f6f6f8;
  --text-mid:  rgba(246,246,248,0.64);
  --text-dim:  rgba(246,246,248,0.40);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
  font-weight:400;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  transition:background-color .25s ease, color .25s ease;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }

/* ---------- atmosfera global (brasa + grão) ---------- */
.atmos{ position:fixed; inset:0; pointer-events:none; z-index:0; }
.atmos .glow{ position:absolute; border-radius:50%; filter:blur(100px); mix-blend-mode:screen; }
.atmos .g1{ width:55vw; height:55vw; left:-15vw; top:-18vw;
  background:radial-gradient(circle, color-mix(in oklab, var(--acc-1) 60%, transparent), transparent 62%); opacity:.32; }
.atmos .g2{ width:48vw; height:48vw; right:-14vw; bottom:-12vw;
  background:radial-gradient(circle, color-mix(in oklab, var(--acc-2) 55%, transparent), transparent 62%); opacity:.22; }
.atmos .grain{ position:absolute; inset:-50%;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:.045; mix-blend-mode:overlay; }
body.no-grain .atmos .grain{ display:none; }

/* ---------- layout ---------- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); position:relative; z-index:1; }
section{ position:relative; z-index:1; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12.5px; font-weight:600; letter-spacing:.24em; text-transform:uppercase; color:var(--acc-solid);
}
.eyebrow::before{ content:""; width:24px; height:2px; background:var(--acc-grad); border-radius:2px; }
.eyebrow.center{ justify-content:center; }
.eyebrow.center::before{ display:none; }

.grad-text{ background:var(--acc-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* títulos de seção (estilo referência: NOSSOS SERVIÇOS) */
.title{
  font-family:var(--font-head); font-weight:800; text-transform:uppercase; letter-spacing:-.01em;
  font-size:clamp(30px, 4.4vw, 54px); line-height:1.02;
}
.sub{ margin-top:14px; color:var(--text-mid); font-size:clamp(15px,1.5vw,17px); font-weight:400; }

.sec{ padding:clamp(72px,10vw,128px) 0; }
.sec-head{ text-align:center; max-width:720px; margin-inline:auto; }

/* ---------- botões ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  height:52px; padding:0 26px; border-radius:10px;
  font-family:var(--font-head); font-size:14.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  white-space:nowrap;
  transition:transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, background .22s, border-color .22s, color .2s;
}
.btn:active{ transform:translateY(1px); }
.btn svg{ width:18px; height:18px; }
.btn-primary{
  color:#120a04; background:var(--acc-grad); position:relative;
  box-shadow:0 14px 36px -14px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 22px 46px -14px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost{
  color:var(--text); background:var(--surface); border:1px solid var(--border-2); backdrop-filter:blur(8px);
}
.btn-ghost:hover{ background:var(--surface-2); border-color:var(--acc-solid); transform:translateY(-2px); }
.btn-wa{ color:#fff; background:linear-gradient(100deg,#1faf54,#13853f); box-shadow:0 14px 34px -14px #1faf54; }
.btn-wa:hover{ transform:translateY(-2px); box-shadow:0 22px 44px -14px #1faf54; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav{ position:fixed; top:0; left:0; right:0; z-index:60; transition:background .3s, border-color .3s, backdrop-filter .3s; border-bottom:1px solid transparent; }
.nav.scrolled{ background:color-mix(in oklab, var(--bg) 80%, transparent); backdrop-filter:blur(16px) saturate(1.3); border-bottom-color:var(--border); }
.nav .row{ display:flex; align-items:center; justify-content:space-between; height:96px; }
.brand{ display:inline-flex; align-items:center; gap:11px; }
.brand img{ height:64px; width:auto;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.45)) drop-shadow(0 0 3px rgba(0,0,0,.3)); }
.brand .wm{ font-family:var(--font-head); font-weight:800; font-size:22px; letter-spacing:-.01em; }
.brand .wm b{ color:var(--acc-solid); }
.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{ font-family:var(--font-head); font-size:15.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--text-mid); transition:color .2s; position:relative; }
.nav-links a:hover{ color:var(--text); }
.nav-links a::after{ content:""; position:absolute; left:0; bottom:-7px; height:2px; width:0; background:var(--acc-grad); transition:width .25s; }
.nav-links a:hover::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav .btn{ height:48px; padding:0 22px; font-size:13.5px; }
.menu-btn{ display:none; width:42px; height:42px; border-radius:10px; border:1px solid var(--border-2); align-items:center; justify-content:center; }
.menu-btn svg{ width:20px; height:20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:120px 0 70px; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.hero-bg-light{ display:none; }
:root[data-theme="light"] .hero-bg-dark{ display:none; }
:root[data-theme="light"] .hero-bg-light{ display:block; }
.hero-embers{ position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(40% 50% at 50% 78%, color-mix(in oklab, var(--acc-glow) 55%, transparent), transparent 70%),
    radial-gradient(70% 60% at 50% 120%, color-mix(in oklab, var(--acc-2) 30%, transparent), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.012) 0 2px, transparent 2px 9px);
}
.hero-overlay{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(10,10,12,.78) 0%, rgba(10,10,12,.55) 38%, rgba(10,10,12,.72) 72%, var(--bg) 100%); }
.sparks{ position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden; }
.spark{ position:absolute; bottom:20%; left:50%; width:2px; height:2px; border-radius:50%; background:var(--acc-1);
  box-shadow:0 0 8px 1px var(--acc-glow); opacity:0; }
@media (prefers-reduced-motion: no-preference){
  .spark{ animation:fly 3.2s linear infinite; }
  @keyframes fly{
    0%{ transform:translate(0,0) scale(1); opacity:0; }
    12%{ opacity:1; }
    100%{ transform:translate(var(--dx,40px), -340px) scale(.2); opacity:0; }
  }
}
.hero-content{ position:relative; z-index:2; max-width:880px; }
.hero h1{ font-family:var(--font-head); font-weight:800; text-transform:uppercase; letter-spacing:-.015em;
  font-size:clamp(46px, 8vw, 104px); line-height:.95; color:var(--text); }
.hero h1 .vr7{ color:var(--acc-solid); }
.hero-logo{ margin:0 auto; display:flex; justify-content:center; }
.hero-logo img{ width:clamp(280px, 46vw, 560px); height:auto; filter:drop-shadow(0 14px 40px rgba(0,0,0,.55)); }
:root[data-theme="light"] .hero-logo img{ filter:drop-shadow(0 10px 30px rgba(0,0,0,.28)); }
.hero .tagline{ margin:24px auto 0; max-width:560px; font-size:clamp(16px,1.7vw,20px); color:var(--text-mid); font-weight:400; line-height:1.55; }
.hero .loc{ margin-top:18px; display:inline-flex; align-items:center; gap:8px; font-size:14px; color:var(--text-dim); font-weight:500; letter-spacing:.06em; text-transform:uppercase; }
.hero .loc svg{ width:15px; height:15px; color:var(--acc-solid); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:36px; }
.scroll-cue{ position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:2; color:var(--text-dim); display:flex; flex-direction:column; align-items:center; gap:7px; font-size:11px; letter-spacing:.2em; text-transform:uppercase; }
.scroll-cue .ln{ width:1px; height:34px; background:linear-gradient(var(--acc-solid), transparent); }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.serv-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:54px; }
.card{
  position:relative; padding:30px 26px 34px; border-radius:var(--radius);
  background:linear-gradient(180deg, var(--bg-2), var(--bg)); border:1px solid var(--border);
  transition:transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, box-shadow .3s, background-color .25s ease, color .25s ease; overflow:hidden;
}
.card::after{ content:""; position:absolute; left:0; top:0; right:0; height:3px; background:var(--acc-grad); transform:scaleX(0); transform-origin:left; transition:transform .35s; }
.card:hover{ transform:translateY(-6px); border-color:color-mix(in oklab, var(--acc-solid) 55%, var(--border)); box-shadow:0 26px 50px -28px var(--acc-glow); }
.card:hover::after{ transform:scaleX(1); }
.card .ic{ width:56px; height:56px; border-radius:13px; display:grid; place-items:center; margin-bottom:22px;
  background:radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--acc-1) 30%, transparent), transparent 70%), var(--surface);
  border:1px solid color-mix(in oklab, var(--acc-solid) 35%, var(--border)); color:var(--acc-solid); }
.card .ic svg{ width:28px; height:28px; }
.card h3{ font-family:var(--font-head); font-weight:700; text-transform:uppercase; letter-spacing:.005em; font-size:18px; line-height:1.15; }
.card p{ margin-top:11px; font-size:14.5px; line-height:1.6; color:var(--text-mid); font-weight:400; }
.card .num{ position:absolute; top:24px; right:26px; font-family:var(--font-head); font-weight:800; font-size:18px;
  background:var(--acc-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ============================================================
   POR QUE ESCOLHER (SOBRE)
   ============================================================ */
.why{ background:linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.why-grid{ display:grid; grid-template-columns:1.02fr .98fr; gap:56px; align-items:center; }
.why-copy .title{ margin-top:18px; }
.why-copy p{ margin-top:20px; color:var(--text-mid); font-size:16.5px; line-height:1.7; max-width:480px; font-weight:400; }
.why-copy .quote{ margin-top:24px; padding-left:18px; border-left:3px solid var(--acc-solid); font-family:var(--font-head); font-weight:600; font-size:19px; color:var(--text); font-style:italic; }
.why-actions{ margin-top:32px; display:flex; gap:14px; flex-wrap:wrap; }

.checks{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.check{ display:flex; align-items:center; gap:13px; padding:16px 18px; border-radius:11px;
  background:var(--surface); border:1px solid var(--border); transition:border-color .25s, background .25s, transform .25s, color .25s ease; }
.check:hover{ border-color:color-mix(in oklab, var(--acc-solid) 50%, var(--border)); background:var(--surface-2); transform:translateX(3px); }
.check .ck{ flex:0 0 auto; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:color-mix(in oklab, var(--acc-solid) 18%, transparent); color:var(--acc-solid); }
.check .ck svg{ width:15px; height:15px; }
.check span{ font-size:14.5px; font-weight:500; line-height:1.3; }

/* ============================================================
   GALERIA
   ============================================================ */
.gal-carousel{ position:relative; margin-top:50px; }
.gal-track{ display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  padding:6px 2px; scrollbar-width:none; -ms-overflow-style:none; cursor:grab; }
.gal-track::-webkit-scrollbar{ display:none; }
.gal-track.dragging{ cursor:grabbing; scroll-behavior:auto; }
.gal-card{ flex:0 0 auto; width:clamp(286px, 36vw, 418px); scroll-snap-align:center; display:flex; flex-direction:column; }
.gal-card image-slot{ width:100%; height:288px; border:1px solid var(--border); transition:border-color .25s; }
.gal-card:hover image-slot{ border-color:color-mix(in oklab, var(--acc-solid) 55%, var(--border)); }
.gal-cap{ margin-top:14px; text-align:center; font-family:var(--font-head); font-weight:600; font-size:15.5px;
  color:var(--text); letter-spacing:.01em; outline:none; padding:5px 8px; border-radius:7px;
  transition:background .2s, box-shadow .2s, color .25s ease; cursor:text; }
.gal-cap:hover{ background:var(--surface); }
.gal-cap:focus{ background:var(--surface-2); box-shadow:inset 0 0 0 1px color-mix(in oklab, var(--acc-solid) 50%, transparent); }
.gal-cap:empty:before{ content:attr(data-ph); color:var(--text-dim); font-weight:400; }
/* desvanecer bordas laterais */
.gal-carousel::before, .gal-carousel::after{ content:""; position:absolute; top:0; bottom:0; width:90px; z-index:4; pointer-events:none; }
.gal-carousel::before{ left:0; background:linear-gradient(90deg, var(--bg), transparent); }
.gal-carousel::after{ right:0; background:linear-gradient(270deg, var(--bg), transparent); }
.gal-arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:6; width:54px; height:54px; border-radius:50%;
  display:grid; place-items:center; background:color-mix(in oklab, var(--bg-2) 82%, transparent);
  border:1px solid var(--border-2); backdrop-filter:blur(8px); color:var(--text); transition:all .2s; }
.gal-arrow:hover{ border-color:var(--acc-solid); color:var(--acc-solid); background:var(--surface-2); transform:translateY(-50%) scale(1.06); }
.gal-arrow:active{ transform:translateY(-50%) scale(.96); }
.gal-arrow.prev{ left:6px; } .gal-arrow.next{ right:6px; }
.gal-arrow svg{ width:24px; height:24px; }
.gal-note{ margin-top:24px; text-align:center; font-size:13.5px; color:var(--text-dim); }
@media (max-width:620px){
  .gal-carousel::before, .gal-carousel::after{ width:36px; }
  .gal-track image-slot{ height:230px; width:78vw; }
  .gal-card{ width:82vw; }
  .gal-card image-slot{ height:240px; }
  .gal-arrow{ width:46px; height:46px; }
}

/* ============================================================
   CONTATO
   ============================================================ */
.contact{ background:linear-gradient(180deg, var(--bg), var(--bg-2)); }
.contact-actions{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:36px; }
.pill{ display:inline-flex; align-items:center; gap:12px; height:54px; padding:0 24px; border-radius:12px; font-weight:600; font-size:15px;
  background:var(--surface); border:1px solid var(--border-2); transition:transform .2s, border-color .2s, background .2s, color .25s ease; }
.pill:hover{ transform:translateY(-2px); border-color:var(--acc-solid); background:var(--surface-2); }
.pill svg{ width:20px; height:20px; color:var(--acc-solid); }
.pill.wa{ color:#fff; background:linear-gradient(100deg,#1faf54,#13853f); border-color:transparent; box-shadow:0 14px 34px -16px #1faf54; }
.pill.wa svg{ color:#fff; }
.contact-loc{ margin-top:18px; text-align:center; display:flex; align-items:center; gap:8px; justify-content:center; color:var(--text-dim); font-size:14px; letter-spacing:.06em; text-transform:uppercase; }
.contact-loc svg{ width:15px; height:15px; color:var(--acc-solid); }

.form-card{ max-width:560px; margin:46px auto 0; padding:36px 34px; border-radius:18px;
  background:linear-gradient(180deg, var(--bg-2), var(--bg-3)); border:1px solid var(--border); position:relative; overflow:hidden; }
.form-card::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--acc-grad); }
.form-card h3{ font-family:var(--font-head); font-weight:800; text-transform:uppercase; text-align:center; font-size:21px; letter-spacing:.01em; margin-bottom:24px; }
.field{ margin-bottom:14px; }
.field label{ display:block; font-size:12.5px; color:var(--text-mid); margin-bottom:8px; font-weight:500; letter-spacing:.03em; }
.field input, .field select, .field textarea{
  width:100%; background:var(--surface); border:1px solid var(--border); border-radius:10px;
  padding:14px 15px; color:var(--text); font-family:inherit; font-size:15px; transition:border-color .2s, background .2s, color .25s ease; }
.field select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ff6f1a' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 15px center; }
.field input::placeholder, .field textarea::placeholder{ color:var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--acc-solid); background:var(--surface-2); }
.field textarea{ resize:vertical; min-height:104px; }
.form-card .btn{ width:100%; height:54px; margin-top:6px; }
.form-mini{ margin-top:13px; text-align:center; font-size:12px; color:var(--text-dim); }

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer{ border-top:1px solid var(--border); padding:50px 0 38px; }
.footer-grid{ display:flex; align-items:flex-start; justify-content:space-between; gap:36px; flex-wrap:wrap; }
.footer .brand img{ height:52px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.45)) drop-shadow(0 0 3px rgba(0,0,0,.3)); }
.footer .fcol-links{ display:flex; gap:28px; flex-wrap:wrap; }
.footer .fcol-links a{ font-family:var(--font-head); font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:var(--text-mid); transition:color .2s; }
.footer .fcol-links a:hover{ color:var(--acc-solid); }
.socials{ display:flex; gap:10px; }
.socials a{ width:40px; height:40px; border-radius:10px; display:grid; place-items:center; border:1px solid var(--border); color:var(--text-mid); transition:all .2s; }
.socials a:hover{ color:#fff; border-color:var(--acc-solid); background:var(--surface); }
.socials svg{ width:18px; height:18px; }
.footer-base{ margin-top:34px; padding-top:24px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; }
.footer-base p{ font-size:12.5px; color:var(--text-dim); }

/* ============================================================
   REVELAÇÃO AO ROLAR
   ============================================================ */
@media (prefers-reduced-motion: no-preference){
  .reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
  .reveal.in{ opacity:1; transform:none; }
  .reveal[data-d="1"]{ transition-delay:.07s; } .reveal[data-d="2"]{ transition-delay:.14s; }
  .reveal[data-d="3"]{ transition-delay:.21s; } .reveal[data-d="4"]{ transition-delay:.28s; }
  .hero-content > *{ opacity:0; transform:translateY(22px); animation:rise .8s cubic-bezier(.2,.7,.3,1) forwards; }
  .hero-content > *:nth-child(1){ animation-delay:.1s; } .hero-content > *:nth-child(2){ animation-delay:.22s; }
  .hero-content > *:nth-child(3){ animation-delay:.34s; } .hero-content > *:nth-child(4){ animation-delay:.46s; }
  @keyframes rise{ to{ opacity:1; transform:none; } }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width:1080px){
  .serv-grid{ grid-template-columns:repeat(2,1fr); }
  .gal-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:880px){
  .nav-links{ display:none; position:absolute; top:100%; right:0; margin-top:6px; flex-direction:column;
    align-items:stretch; gap:3px; background:color-mix(in oklab, var(--bg-2) 96%, transparent); backdrop-filter:blur(14px);
    border:1px solid var(--border-2); border-radius:14px; padding:10px; min-width:210px; box-shadow:0 24px 60px -22px #000; }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:13px 14px; border-radius:9px; font-size:15px; color:var(--text); }
  .nav-links a:hover{ background:var(--surface); color:var(--acc-solid); }
  .nav-links a::after{ display:none; }
  .menu-btn{ display:flex; }
  .why-grid{ grid-template-columns:1fr; gap:40px; }
  .hero{ min-height:0; padding:130px 0 80px; }
}
@media (max-width:620px){
  .serv-grid{ grid-template-columns:1fr; }
  .gal-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:150px; }
  .checks{ grid-template-columns:1fr; }
  .g-wide{ grid-column:span 2; }
  .nav .nav-cta .btn-ghost{ display:none; }
  .footer-grid{ flex-direction:column; align-items:center; text-align:center; }
  .footer-base{ justify-content:center; text-align:center; }
}

/* ---------- FAQ ---------- */
.faq-list{ display:flex; flex-direction:column; gap:12px; max-width:820px; margin-inline:auto; }
.faq-item{ background:linear-gradient(180deg, var(--bg-2), var(--bg)); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.faq-item summary{ cursor:pointer; list-style:none; padding:20px 24px; font-weight:700; font-size:16px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-size:22px; line-height:1; color:var(--acc-solid); flex-shrink:0; transition:transform .2s; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item .faq-a{ padding:0 24px 20px; color:var(--text-mid); font-size:15px; line-height:1.65; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:1000;
  display:flex; align-items:center; justify-content:center;
  width:60px; height:60px; border-radius:50%;
  background:linear-gradient(100deg,#1faf54,#13853f);
  color:#fff; box-shadow:0 14px 34px -10px rgba(31,175,84,.6);
  transition:transform .2s ease, box-shadow .2s ease;
}
.wa-float svg{ width:30px; height:30px; }
.wa-float:hover{ transform:translateY(-3px) scale(1.05); box-shadow:0 18px 40px -10px rgba(31,175,84,.7); }
.wa-float::before{
  content:''; position:absolute; inset:0; border-radius:50%;
  background:rgba(31,175,84,.55); animation:wa-pulse 2.4s ease-out infinite; z-index:-1;
}
@keyframes wa-pulse{
  0%{ transform:scale(1); opacity:.7; }
  70%{ transform:scale(1.9); opacity:0; }
  100%{ transform:scale(1.9); opacity:0; }
}
@media (max-width:640px){
  .wa-float{ right:16px; bottom:16px; width:54px; height:54px; }
  .wa-float svg{ width:26px; height:26px; }
}

/* ---------- Prova Social ---------- */
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:48px; }
.stat-card{
  text-align:center; padding:28px 18px; border-radius:var(--radius);
  background:linear-gradient(180deg, var(--bg-2), var(--bg)); border:1px solid var(--border);
}
.stat-card .stat-num{
  display:block; font-family:var(--font-head); font-weight:800; font-size:clamp(24px,3vw,34px);
  background:var(--acc-grad); -webkit-background-clip:text; background-clip:text; color:transparent; margin-bottom:8px;
}
.stat-card .stat-label{ color:var(--text-mid); font-size:14px; font-weight:600; }
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.testi-card{
  padding:26px 24px; border-radius:var(--radius);
  background:linear-gradient(180deg, var(--bg-2), var(--bg)); border:1px solid var(--border);
}
.testi-stars{ color:var(--acc-solid); font-size:16px; letter-spacing:2px; margin-bottom:14px; }
.testi-card p{ color:var(--text-mid); font-size:15px; line-height:1.6; font-style:italic; }
@media (max-width:900px){
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .testi-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .testi-grid{ grid-template-columns:1fr; }
}

/* ---------- Transição de tema para cards/seções sem transition prévia ---------- */
.faq-item, .form-card, header.nav, footer, .stat-card, .testi-card{
  transition:background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}

/* ---------- Ajuste do glow ambiente para o tema claro ---------- */
:root[data-theme="light"] .atmos .glow{ opacity:.10; mix-blend-mode:multiply; }
:root[data-theme="light"] .atmos .grain{ opacity:.015; }

/* ---------- Botão de alternância de tema ---------- */
.theme-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:10px; flex-shrink:0;
  background:var(--surface); border:1px solid var(--border-2);
  color:var(--text); backdrop-filter:blur(8px);
  transition:background-color .25s ease, border-color .25s ease, color .25s ease, transform .2s ease;
}
.theme-toggle:hover{ background:var(--surface-2); border-color:var(--acc-solid); transform:translateY(-2px); }
.theme-toggle svg{ width:21px; height:21px; }
.theme-toggle .ic-sun{ display:none; }
.theme-toggle .ic-moon{ display:block; }
:root[data-theme="light"] .theme-toggle .ic-sun{ display:block; }
:root[data-theme="light"] .theme-toggle .ic-moon{ display:none; }
@media (max-width:480px){
  .theme-toggle{ width:42px; height:42px; }
  .theme-toggle svg{ width:19px; height:19px; }
}

/* ============================================================
   SPLASH / TELA DE CARREGAMENTO
   ============================================================ */
#vr7-splash{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(60% 60% at 50% 45%, #15151b 0%, #0a0a0c 70%);
  transition:opacity .55s ease, visibility .55s ease;
}
#vr7-splash.hide{ opacity:0; visibility:hidden; }
.splash-inner{ display:flex; flex-direction:column; align-items:center; gap:26px; padding:24px; }
.splash-logo{
  width:clamp(220px, 42vw, 360px); height:auto;
  filter:drop-shadow(0 14px 44px rgba(0,0,0,.6));
  animation:splashPulse 1.6s ease-in-out infinite;
}
.splash-bar{
  width:clamp(160px, 40vw, 240px); height:3px; border-radius:3px;
  background:rgba(255,255,255,.10); overflow:hidden;
}
.splash-bar span{
  display:block; height:100%; width:40%; border-radius:3px;
  background:linear-gradient(100deg, var(--acc-1), var(--acc-2));
  animation:splashSlide 1.1s cubic-bezier(.65,.05,.35,1) infinite;
}
@keyframes splashPulse{ 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.04); opacity:.85; } }
@keyframes splashSlide{ 0%{ transform:translateX(-120%); } 100%{ transform:translateX(320%); } }
@media (prefers-reduced-motion: reduce){
  .splash-logo, .splash-bar span{ animation:none; }
}
