/* ===========================================================================
   DESAPEGUE VEÍCULOS — BASE v2 (redesign "poster")
   Tokens, reset, tipografia, header, footer, botões, utilitários, animações.
   Estilos das seções ficam em sections2.css.
   =========================================================================== */

/* ----------------------------------------------------------------- TOKENS */
:root{
  color-scheme: light only;
  --orange:        #F97316;
  --orange-dark:   #EA670C;
  --orange-darker: #C2540A;
  --orange-tint:   #FFF3EA;
  --orange-tint-2: #FFE7D2;

  --ink:        #18181B;
  --ink-2:      #27272A;
  --ink-soft:   #3F3F46;
  --text:       #2A2A2E;
  --text-muted: #57575E;
  --text-faint: #8A8A92;

  --bg:       #FFFFFF;
  --paper:    #F8F3EC;   /* fundo "papel" quente — mata o branco de template */
  --paper-2:  #F1EAE0;
  --line:     #E6E0D7;
  --line-2:   #EFEAE2;

  --danger:   #C2410C;
  --ok:       #15803D;
  --wa:       #22C35E;

  --shadow-sm: 0 1px 2px rgba(24,24,27,.06), 0 1px 3px rgba(24,24,27,.05);
  --shadow-md: 0 8px 24px -8px rgba(24,24,27,.16), 0 4px 8px -4px rgba(24,24,27,.08);
  --shadow-lg: 0 28px 60px -18px rgba(24,24,27,.28), 0 10px 24px -12px rgba(24,24,27,.14);
  --shadow-orange: 0 16px 40px -12px rgba(249,115,22,.45);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* força modo claro em WebViews (Telegram, WhatsApp) que ignoram color-scheme */
@media (prefers-color-scheme: dark){
  :root{
    color-scheme: light only;
    --orange:        #F97316;
    --orange-dark:   #EA670C;
    --orange-darker: #C2540A;
    --orange-tint:   #FFF3EA;
    --orange-tint-2: #FFE7D2;
    --ink:        #18181B;
    --ink-2:      #27272A;
    --ink-soft:   #3F3F46;
    --text:       #2A2A2E;
    --text-muted: #57575E;
    --text-faint: #8A8A92;
    --bg:         #FFFFFF;
    --paper:      #F8F3EC;
    --paper-2:    #F1EAE0;
    --line:       #E6E0D7;
    --line-2:     #EFEAE2;
    --shadow-orange: 0 16px 40px -12px rgba(249,115,22,.45);
  }
  html, body{ background:#FFFFFF !important; color:#2A2A2E !important; }
}

/* ------------------------------------------------------------------ RESET */
*,*::before,*::after{ box-sizing:border-box; }
*{ margin:0; padding:0; }
html{ scroll-behavior:smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust:100%; overflow-x:hidden; }
body{
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(16px, 1.05vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input,textarea,select{ font-family:inherit; font-size:inherit; }
:focus-visible{ outline:3px solid var(--orange); outline-offset:2px; border-radius:4px; }

/* ------------------------------------------------------------- TIPOGRAFIA */
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -.01em;
  font-weight: 800;
}
strong{ font-weight: 800; color: var(--ink); }
.text-orange{ color: var(--orange); }

/* --------------------------------------------------------------- LAYOUT */
.container{ width:100%; max-width: var(--container); margin-inline:auto; padding-inline: var(--gutter); }
.section{ padding-block: clamp(64px, 8vw, 120px); }
.section--paper{ background: var(--paper); }
.section--ink{ background: var(--ink); color:#E9E9EC; }

.section-head{ max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center{ margin-inline:auto; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family: var(--font-display);
  font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}
.eyebrow::after{ content:none; }
.eyebrow::before{ content:none; }
.section-head.center .eyebrow{ justify-content:center; }
.section-title{
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .98;
  text-wrap: balance;
}
.section-sub{
  margin-top: 18px; font-size: 1.1rem; color: var(--text-muted); max-width: 58ch;
  text-wrap: pretty;
}
.section-head.center .section-sub{ margin-inline:auto; }

/* destaque com pincelada atrás da palavra (a <img> é injetada pelo render) */
.hl-brush{ position:relative; white-space:nowrap; z-index:1; }
.hl-brush > img.brush{
  position:absolute; z-index:-1;
  left:-5%; top:6%; width:110%; height:104%;
  max-width:none; object-fit:fill; pointer-events:none;
}

/* sublinhado de pincel (fininho, sob a linha de texto) */
.brush-under{ position:relative; white-space:nowrap; }
.brush-under > img.brush{
  position:absolute; z-index:-1;
  left:-3%; bottom:-.26em; width:106%; height:.36em;
  max-width:none; object-fit:fill; pointer-events:none;
}

/* --------------------------------------------------------------- BOTÕES */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:11px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  padding: 15px 26px; border-radius: 999px;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn i{ font-size: 1.05em; }
.btn--primary{ background: var(--orange); color:#fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover{ background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 20px 46px -12px rgba(249,115,22,.55); }
.btn--wa{ background: var(--wa); color:#fff; box-shadow: 0 16px 40px -12px rgba(34,195,94,.45); }
.btn--wa:hover{ background:#1DAE53; transform: translateY(-2px); }
.btn--ghost{ background: transparent; color: var(--ink); border:2px solid var(--line); }
.btn--ghost:hover{ border-color: var(--ink); transform: translateY(-2px); }
.btn--ink{ background: var(--ink); color:#fff; }
.btn--ink:hover{ background:#000; transform: translateY(-2px); }
.btn--lg{ padding: 19px 34px; font-size: 1.12rem; }
.btn--block{ width:100%; }

/* ------------------------------------------------------------ UTILITÁRIOS
   Vocabulário visual dos posts do Instagram: sticker, carimbo, halftone. */
.sticker{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; color:var(--ink);
  border:2px solid var(--ink); border-radius:999px;
  padding:9px 18px;
  font-family:var(--font-display); font-weight:900; font-size:.78rem;
  letter-spacing:.08em; text-transform:uppercase; white-space:nowrap;
  box-shadow: 3px 4px 0 var(--ink);
  transform: rotate(-2.5deg);
}
.sticker i{ color:var(--orange); }
.sticker--orange{ background:var(--orange); color:#fff; }
.sticker--orange i{ color:#fff; }

.stamp{
  display:inline-block;
  font-family:var(--font-display); font-weight:900; font-size:.85rem;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--danger);
  border:3px solid currentColor; border-radius:8px;
  padding:7px 14px 6px;
  transform: rotate(-9deg);
  opacity:.38;
}

/* camada halftone (pontos) p/ painéis escuros e laranjas */
.ht{ position:relative; }
.ht::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.3px, transparent 1.4px);
  background-size: 20px 20px;
  opacity:.5; mix-blend-mode: soft-light;
  border-radius: inherit;
}
.ht > *{ position:relative; z-index:1; }

/* ------------------------------------------------------------- HEADER */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  height: var(--header-h);
  background: var(--ink);
  color:#fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s, height .3s;
}
.site-header.scrolled{ box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }
.header-inner{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:24px; }

.logo{ display:flex; align-items:center; gap:11px; flex-shrink:0; }
.logo__img{ display:block; width:auto; max-width:100%; }
.logo__img--header{ height:38px; }

.main-nav{ display:flex; align-items:center; gap:34px; margin-left:auto; }
.main-nav a{ font-weight:700; font-size:.95rem; color:rgba(255,255,255,.82); transition:color .18s; position:relative; padding:6px 0; white-space:nowrap; }
.main-nav a:hover{ color:#fff; }
.main-nav a::after{ content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:var(--orange); transition:width .22s var(--ease); }
.main-nav a:hover::after{ width:100%; }

.header-cta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.header-phone{ display:flex; align-items:center; gap:8px; font-weight:800; font-family:var(--font-display); color:#fff; font-size:.98rem; }
.header-phone i{ color:var(--orange); }

.nav-toggle{ display:none; width:46px; height:46px; border-radius:12px; color:#fff; font-size:1.3rem; align-items:center; justify-content:center; background:rgba(255,255,255,.08); }
.nav-toggle:hover{ background:rgba(255,255,255,.16); }

/* mobile drawer */
.mobile-nav{
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink); color:#fff;
  display:flex; flex-direction:column; gap:6px;
  padding: 24px var(--gutter) 40px;
  transform: translateX(100%); transition: transform .32s var(--ease);
  overflow-y:auto;
}
.mobile-nav.open{ transform: translateX(0); }
.mobile-nav a:not(.btn){ display:block; font-family:var(--font-display); font-weight:800; font-size:1.5rem; text-transform:uppercase; padding:16px 0; border-bottom:1px solid rgba(255,255,255,.1); color:#fff; }
.mobile-nav a:not(.btn):active{ color:var(--orange); }
.mobile-nav .btn{ display:flex; width:100%; margin-top:20px; }
.mobile-nav__info{ margin-top:auto; padding-top:24px; color:rgba(255,255,255,.6); font-size:.9rem; line-height:1.8; }

/* ------------------------------------------------------------- FOOTER */
.site-footer{ background: var(--ink); color: rgba(255,255,255,.7); overflow:hidden; }

/* letreiro gigante vazado no topo do rodapé */
.footer-marquee{ border-bottom:1px solid rgba(255,255,255,.08); padding-block: clamp(18px,3vw,30px); overflow:hidden; }
.footer-marquee__track{
  display:flex; width:max-content; gap:0;
  animation: footer-marquee 60s linear infinite;
}
.footer-marquee__item{
  font-family:var(--font-display); font-weight:900; text-transform:uppercase;
  font-size: clamp(3.4rem, 8vw, 6.4rem); line-height:1; letter-spacing:-.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.18);
  white-space:nowrap; padding-inline: 28px;
  display:inline-flex; align-items:center; gap:56px;
}
.footer-marquee__item::after{ content:"\2726"; font-size:.4em; -webkit-text-stroke:0; color:var(--orange); }
@keyframes footer-marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

.footer-main{ padding-top: clamp(48px,6vw,72px); }
.footer-grid{ display:grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: clamp(32px,5vw,64px); padding-bottom: 52px; }
.footer-brand .logo{ margin-bottom:20px; }
.footer-brand .logo__img--footer{ height:46px; }
.footer-about{ font-size:.97rem; line-height:1.75; max-width:38ch; }
.footer-social{ display:flex; gap:12px; margin-top:24px; }
.footer-social a{ width:44px; height:44px; border-radius:12px; background:rgba(255,255,255,.08); display:grid; place-items:center; color:#fff; font-size:1.15rem; transition:background .2s, transform .2s; }
.footer-social a:hover{ background:var(--orange); transform:translateY(-3px); }
.footer-col h4{ color:#fff; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:18px; font-family:var(--font-display); }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:.97rem; transition:color .18s; }
.footer-col a:hover{ color:var(--orange); }
.footer-contact-item{ display:flex; align-items:center; gap:13px; margin-bottom:18px; font-size:.96rem; line-height:1.5; }
.footer-contact-item i{ color:var(--orange); width:18px; text-align:center; flex-shrink:0; }
.footer-contact-item a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding-block:26px; display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; align-items:center; font-size:.85rem; color:rgba(255,255,255,.5); }
.footer-bottom .cnpj{ font-variant-numeric: tabular-nums; }

/* --------------------------------------------------- FLOATING WHATSAPP */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  background:var(--wa); color:#fff; font-size: 1.9rem;
  display:grid; place-items:center;
  box-shadow: 0 14px 34px -8px rgba(34,195,94,.6);
  transition: transform .2s var(--ease);
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover{ transform: scale(1.08); }
@keyframes wa-pulse{ 0%{ box-shadow:0 14px 34px -8px rgba(34,195,94,.6), 0 0 0 0 rgba(34,195,94,.5);} 70%{ box-shadow:0 14px 34px -8px rgba(34,195,94,.6), 0 0 0 16px rgba(34,195,94,0);} 100%{ box-shadow:0 14px 34px -8px rgba(34,195,94,.6), 0 0 0 0 rgba(34,195,94,0);} }

/* ----------------------------------------------------- ANIMAÇÕES SCROLL */
[data-reveal]{ opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
[data-reveal].in{ opacity:1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay:.08s; }
[data-reveal][data-delay="2"]{ transition-delay:.16s; }
[data-reveal][data-delay="3"]{ transition-delay:.24s; }
[data-reveal][data-delay="4"]{ transition-delay:.32s; }
[data-reveal][data-delay="5"]{ transition-delay:.40s; }

/* realce do bloco em foco no preview do painel */
@keyframes preview-flash-kf{ 0%{ box-shadow: inset 0 0 0 3px var(--orange), 0 0 0 0 rgba(249,115,22,.5); } 100%{ box-shadow: inset 0 0 0 0 rgba(249,115,22,0), 0 0 0 0 rgba(249,115,22,0); } }
.preview-flash{ animation: preview-flash-kf 1.4s var(--ease) 1; position:relative; z-index:1; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  [data-reveal]{ opacity:1 !important; transform:none !important; }
}

/* ----------------------------------------------------------- UTILITÁRIOS */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.no-scroll{ overflow:hidden; position:fixed; left:0; right:0; }

/* ------------------------------------------------------------- RESPONSIVO */
@media (max-width: 980px){
  .main-nav, .header-phone{ display:none; }
  .nav-toggle{ display:flex; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
  .header-cta .btn--wa{ display:none; }
}
@media (max-width: 560px){
  :root{ --header-h: 66px; }
  .footer-grid{ grid-template-columns: 1fr; gap:36px; }
  .footer-bottom{ justify-content:flex-start; }
  .wa-float{ width:56px; height:56px; font-size:1.7rem; right:16px; bottom:16px; }
}
