/* =========================================================
   SAFEWAY CAR RENTAL — Brand stylesheet
   Palette / type / tokens from kit-de-design-safeway.md
   ========================================================= */

:root {
  --black: #060606;
  --charcoal: #131313;
  --charcoal-2: #1B1B1B;
  --charcoal-3: #232323;
  --gold: #D4AF37;
  --gold-light: #F4D06F;
  --gold-deep: #A9822B;
  --white: #FFFFFF;
  --silver: #CBD0D6;
  --txt-2: rgba(255,255,255,.70);
  --txt-3: rgba(255,255,255,.45);
  --hairline: rgba(212,175,55,.22);
  --whatsapp: #1FB15A;

  --grad-btn: linear-gradient(135deg, #F4D06F, #D4AF37);
  --grad-headline: linear-gradient(120deg, #F4D06F, #D4AF37 55%, #A9822B);
  --grad-card: linear-gradient(160deg, #141414, #0B0B0B);

  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --r-btn: 2px;
  --r-card: 4px;
  --r-modal: 6px;
  --r-pill: 20px;
  --wrap: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

section { padding: 110px 0; position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 34px; height: 1px;
  background: var(--gold);
  opacity: .6;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: '';
  width: 34px; height: 1px;
  background: var(--gold);
  opacity: .6;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head p { color: var(--txt-2); margin-top: 16px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--r-btn);
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
}
.btn-gold {
  background: var(--grad-btn);
  color: #0A0A0A;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(212,175,55,.55);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px rgba(31,177,90,.6);
}

/* ---------- Header ---------- */
#siteHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
#siteHeader.scrolled {
  background: rgba(6,6,6,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--hairline);
}
#siteHeader nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  height: 54px; width: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--hairline);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--txt-2);
  transition: color .2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--txt-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .2s ease, color .2s ease;
}
.lang-btn .flag {
  width: 18px;
  height: 12.6px;
  flex: none;
  border-radius: 1.5px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16);
  opacity: .45;
  transition: opacity .2s ease;
}
.lang-btn:hover .flag { opacity: .8; }
.lang-btn.active {
  background: rgba(212,175,55,.14);
  color: var(--gold-light);
}
.lang-btn.active .flag {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(212,175,55,.5);
}

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--r-btn);
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  width: 18px; height: 1.6px;
  background: var(--gold);
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero — cinematic road ---------- */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 0 70px;
  background: var(--black);
  overflow: hidden;
}
.hero-stage-video { margin-top: 16vh; }
.hero-stage-video .hero-carname {
  font-size: clamp(30px, 3.8vw, 54px);
  text-align: center;
}
.hero-stage-video .hero-ctas-center { margin-top: 28px; margin-bottom: 0; }

/* scene layers — background video, graded to the brand */
.road-scene { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.scene-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(4,4,4,.62) 0%,
      rgba(4,4,4,.16) 22%,
      rgba(5,5,5,.08) 55%,
      rgba(6,6,6,.58) 84%,
      #060606 100%);
}
.scene-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 85% at 50% 45%, transparent 52%, rgba(4,4,4,.72) 100%);
}

/* stage content */
.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.hero-head { text-align: center; }
.hero-carname {
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 10px 40px rgba(0,0,0,.65);
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 12px;
}
.hero-ctas-center { margin-top: 22px; margin-bottom: 20px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-ctas-center { justify-content: center; margin-top: 34px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges-center { justify-content: center; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: rgba(212,175,55,.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.badge-pill svg { width: 14px; height: 14px; }

/* ---------- Gold ribbon divider ---------- */
.ribbon-divider {
  position: relative;
  height: 120px;
  margin: -60px 0;
  z-index: 2;
  pointer-events: none;
}
.ribbon-divider svg { width: 100%; height: 100%; }
.ribbon-divider path {
  stroke-dasharray: 14 10;
  animation: ribbonFlow 2.6s linear infinite;
}
@keyframes ribbonFlow {
  to { stroke-dashoffset: -48; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: #0A0A0A;
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--txt-3);
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}
.marquee-track span::after {
  content: '◆';
  color: var(--gold);
  font-size: 8px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Fleet ---------- */
#fleet { background: #0A0A0A; }
.fleet-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.chip {
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  color: var(--txt-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 9px 20px;
  transition: all .22s ease;
}
.chip:hover { color: var(--gold-light); border-color: var(--gold); }
.chip.active {
  background: var(--grad-btn);
  color: #0A0A0A;
  border-color: transparent;
  font-weight: 600;
}
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.car-card {
  background: var(--charcoal);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.7);
}
.car-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #E9E9EA;
}
.car-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.car-card:hover .car-photo img { transform: scale(1.045); }
.car-status {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.car-status .dot { width: 7px; height: 7px; border-radius: 50%; }
.car-status.available { background: rgba(10,10,10,.72); color: #7BE3A5; }
.car-status.available .dot { background: #34D276; box-shadow: 0 0 8px rgba(52,210,118,.9); }
.car-status.unavailable { background: rgba(10,10,10,.72); color: #E9B0B0; }
.car-status.unavailable .dot { background: #D9534F; }
.car-flag {
  position: absolute;
  top: 14px; right: 14px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--grad-btn);
  color: #0A0A0A;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.car-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-title { font-size: 19px; }
.car-title small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--txt-3);
}
.car-specs span { display: inline-flex; align-items: center; gap: 7px; }
.car-specs svg { width: 15px; height: 15px; flex: none; }
.car-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.car-price {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.car-foot .btn { padding: 11px 20px; font-size: 11.5px; }
.car-card.is-unavailable .car-photo img { filter: grayscale(.85) brightness(.9); }
.fleet-empty {
  text-align: center;
  color: var(--txt-3);
  padding: 60px 20px;
  border: 1px dashed var(--hairline);
  border-radius: var(--r-card);
  grid-column: 1 / -1;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.why-card {
  position: relative;
  overflow: hidden;
  background: var(--grad-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 34px 28px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
}
/* luz dourada que segue o cursor */
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%),
              rgba(212,175,55,.15), transparent 62%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
/* fio dourado que corre no topo do card */
.why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transform: scaleX(0);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 22px 44px -24px rgba(0,0,0,.8);
}
.why-card:hover::before { opacity: 1; }
.why-card:hover::after { transform: scaleX(1); }

.why-card svg {
  position: relative;
  width: 42px; height: 42px;
  margin-bottom: 20px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), filter .4s ease;
}
.why-card:hover svg {
  transform: translateY(-4px) scale(1.07);
  filter: drop-shadow(0 6px 14px rgba(212,175,55,.45));
}
.why-card h3 {
  position: relative;
  font-size: 17px;
  margin-bottom: 10px;
  transition: color .3s ease;
}
.why-card:hover h3 { color: var(--gold-light); }
.why-card p { position: relative; color: var(--txt-2); font-size: 14.5px; }

/* ícones que se desenham ao entrar na tela (mesma técnica da fita da marca) */
.why-card svg [data-draw] {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
}
.why-card.in svg [data-draw] {
  animation: drawIcon 1.1s cubic-bezier(.45,0,.25,1) forwards;
}
@keyframes drawIcon {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .why-card svg [data-draw] { stroke-dasharray: none; stroke-dashoffset: 0; }
  .why-card.in svg [data-draw] { animation: none; }
}

/* ---------- How ---------- */
#how { background: #0A0A0A; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.how-card {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--charcoal);
  padding: 40px 28px 34px;
  overflow: hidden;
}
.how-card::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,175,55,.35);
}
.how-card h3 { font-size: 17px; margin-bottom: 10px; }
.how-card p { color: var(--txt-2); font-size: 14.5px; }

/* ---------- Area ---------- */
.area-band {
  border: 1px solid var(--hairline);
  border-radius: var(--r-modal);
  background:
    radial-gradient(ellipse 500px 260px at 88% 10%, rgba(212,175,55,.14), transparent 60%),
    var(--grad-card);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 40px;
  align-items: center;
}
.area-band h2 { margin-bottom: 16px; }
.area-band p { color: var(--txt-2); max-width: 560px; }
.area-cta { text-align: right; }

/* ---------- FAQ ---------- */
#faq { background: #0A0A0A; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--charcoal);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
}
.faq-q .faq-icon {
  flex: none;
  width: 26px; height: 26px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 15px;
  transition: transform .25s ease, background .25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(212,175,55,.12); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p { padding: 0 24px 22px; color: var(--txt-2); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: var(--r-modal);
  padding: 80px 40px;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(212,175,55,.16), transparent 65%),
    var(--grad-card);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--txt-2); margin-bottom: 34px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 70px 0 34px;
  background: #050505;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 44px;
  margin-bottom: 50px;
}
.foot-brand img {
  height: 64px; width: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  margin-bottom: 18px;
}
.foot-brand p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 20px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-col a, .foot-col li { color: var(--txt-2); font-size: 14px; }
.foot-col a:hover { color: var(--gold-light); }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.foot-note {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  color: var(--txt-3);
  font-size: 12.5px;
}
.foot-tagline {
  font-family: var(--font-mono);
  letter-spacing: .14em;
}
.foot-note-left {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
/* crédito da agência que desenvolveu o site */
.foot-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.foot-credit a {
  color: var(--txt-2);
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.foot-credit a:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(212,175,55,.5);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -6px rgba(31,177,90,.6);
  transition: transform .25s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(31,177,90,.55);
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Booking modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,4,4,.78);
  backdrop-filter: blur(6px);
  display: none;
  /* flex-start + margin:auto no filho, e nao align-items:center.
     Com "center" um modal mais alto que a tela tem o topo cortado
     numa area que nao rola — no celular o botao "Salvar Veiculo"
     ficava fora do alcance. Assim ele centraliza quando cabe e
     rola por inteiro quando nao cabe. */
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: 100%;
  max-width: 440px;
  margin: auto;
  background: var(--grad-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-modal);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  padding: 34px 32px;
  position: relative;
  animation: modalIn .28s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  width: 32px; height: 32px;
  color: var(--txt-2);
  font-size: 16px;
  line-height: 1;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); }
.modal h3 { font-size: 18px; margin-bottom: 6px; }
.modal .modal-car {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.modal form { display: flex; flex-direction: column; gap: 14px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 7px;
}
.field input, .field select {
  width: 100%;
  background: #101010;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-btn);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
  color-scheme: dark;
}
.field input:focus, .field select:focus {
  border-color: var(--gold);
  background: #141210;
}
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-note { font-size: 12px; color: var(--txt-3); margin-top: 4px; }

/* ---------- Contact section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}
.contact-card {
  background: var(--grad-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-modal);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card textarea {
  width: 100%;
  background: #101010;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-btn);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  outline: none;
  resize: vertical;
  transition: border-color .2s ease, background .2s ease;
}
.contact-card textarea:focus { border-color: var(--gold); background: #141210; }
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-side-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--charcoal);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 22px 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.contact-side-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-side-item svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.contact-side-item h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 5px;
}
.contact-side-item a, .contact-side-item span { color: var(--txt-2); font-size: 14.5px; }
.contact-side-item a:hover { color: var(--gold-light); }

/* ---------- Live chat widget ---------- */
.chat-launcher {
  position: fixed;
  right: 26px;
  bottom: 100px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--grad-btn);
  color: #0A0A0A;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 22px;
  box-shadow: 0 12px 30px -8px rgba(212,175,55,.55);
  transition: transform .25s ease, opacity .25s ease;
}
.chat-launcher:hover { transform: translateY(-3px); }
.chat-launcher.hidden { opacity: 0; pointer-events: none; }
.chat-launcher svg { width: 18px; height: 18px; }

.chat-widget {
  position: fixed;
  right: 26px;
  bottom: 100px;
  z-index: 95;
  width: min(360px, calc(100vw - 36px));
  background: var(--grad-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-modal);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.98);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.chat-widget.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(212,175,55,.08);
  border-bottom: 1px solid var(--hairline);
}
.chat-head img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline);
}
.chat-head-info { flex: 1; }
.chat-head-info strong { font-size: 13.5px; display: block; }
.chat-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #7BE3A5;
}
.chat-online .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34D276;
  box-shadow: 0 0 8px rgba(52,210,118,.9);
}
.chat-close {
  background: none;
  border: none;
  color: var(--txt-3);
  font-size: 15px;
  padding: 6px;
}
.chat-close:hover { color: var(--gold); }
.chat-body {
  height: 300px;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(ellipse 300px 160px at 80% 0%, rgba(212,175,55,.06), transparent 60%),
    #0B0B0B;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: 10px;
  animation: modalIn .25s ease;
}
.chat-msg.bot {
  align-self: flex-start;
  background: var(--charcoal-3);
  border: 1px solid rgba(255,255,255,.08);
  border-bottom-left-radius: 2px;
  color: var(--txt-2);
}
.chat-msg.user {
  align-self: flex-end;
  background: rgba(212,175,55,.16);
  border: 1px solid var(--hairline);
  border-bottom-right-radius: 2px;
  color: var(--gold-light);
}
.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chat-quick button {
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 8px 14px;
  transition: all .2s ease;
}
.chat-quick button:hover { background: rgba(212,175,55,.12); border-color: var(--gold); }
.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--hairline);
  background: rgba(6,6,6,.7);
}
.chat-input-row input {
  flex: 1;
  background: #101010;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-pill);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13.5px;
  padding: 11px 16px;
  outline: none;
}
.chat-input-row input:focus { border-color: var(--gold); }
.chat-input-row button {
  flex: none;
  width: 42px; height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #0A0A0A;
  display: grid;
  place-items: center;
  transition: transform .2s ease;
}
.chat-input-row button:hover { transform: scale(1.07); }
.chat-input-row button svg { width: 17px; height: 17px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   ADMIN
   ========================================================= */
body.admin { padding-top: 0; }
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 28px;
  background: rgba(6,6,6,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.admin-topbar .brand img { height: 44px; width: 44px; }
.admin-topbar .admin-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 5px 12px;
}
/* No celular a barra nao cabe em uma linha so: a etiqueta subia por cima
   do nome SAFEWAY. A etiqueta sai (o titulo "Gerenciar Frota" logo abaixo
   ja diz onde a pessoa esta) e os botoes ganham a linha de baixo. */
@media (max-width: 700px) {
  .admin-topbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
  }
  .admin-topbar .admin-tag { display: none; }
  .admin-topbar .brand img { height: 38px; width: 38px; }
  .admin-topbar .btn-sm { padding: 11px 16px; }
}

.admin-main { max-width: 1080px; margin: 0 auto; padding: 44px 28px 90px; }
.admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}
.admin-head h1 { font-size: clamp(24px, 3vw, 34px); }
.admin-head p { color: var(--txt-2); margin-top: 8px; max-width: 560px; font-size: 14px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Aviso de que a frota ainda vive so neste navegador.
   Sai daqui quando o backend (frota.json + api.php) entrar no ar. */
.admin-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(212,175,55,.07);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-card);
  padding: 16px 18px;
  margin-bottom: 26px;
}
.admin-notice svg { flex: none; margin-top: 1px; }
.admin-notice p {
  color: var(--txt-2);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 68ch;
}
.admin-notice strong { color: var(--gold-light); font-weight: 600; }
@media (max-width: 700px) {
  .admin-notice { padding: 14px; gap: 11px; }
  .admin-notice p { font-size: 13px; }
}
.btn-sm { padding: 10px 18px; font-size: 11px; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--txt-2);
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.btn-danger {
  background: transparent;
  border: 1px solid rgba(217,83,79,.5);
  color: #E9908D;
}
.btn-danger:hover { border-color: #D9534F; color: #FF6B66; transform: translateY(-2px); }

.admin-list { display: flex; flex-direction: column; gap: 14px; }
.admin-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--charcoal);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 14px 18px;
}
.admin-row.is-off { opacity: .55; }
.admin-thumb {
  width: 110px; height: 78px;
  object-fit: cover;
  border-radius: var(--r-btn);
  border: 1px solid rgba(255,255,255,.1);
  background: #E9E9EA;
}
.admin-row-info h3 { font-size: 16px; font-family: var(--font-body); font-weight: 600; }
.admin-row-info .meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-3);
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.admin-row-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.icon-btn {
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--r-btn);
  color: var(--txt-2);
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  transition: all .2s ease;
}
.icon-btn:hover { color: var(--gold); border-color: var(--gold); }
.icon-btn.danger:hover { color: #FF6B66; border-color: #D9534F; }
.icon-btn svg { width: 16px; height: 16px; }

.switch {
  position: relative;
  width: 44px; height: 24px;
  flex: none;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #2A2A2A;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease;
}
.switch .track::after {
  content: '';
  position: absolute;
  top: 2px; left: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #888;
  transition: transform .2s ease, background .2s ease;
}
.switch input:checked + .track { background: rgba(52,210,118,.25); border-color: rgba(52,210,118,.5); }
.switch input:checked + .track::after { transform: translateX(19px); background: #34D276; }

.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form-grid .full { grid-column: 1 / -1; }
.photo-drop {
  border: 1px dashed rgba(212,175,55,.4);
  border-radius: var(--r-card);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.photo-drop:hover { border-color: var(--gold); background: rgba(212,175,55,.05); }
.photo-drop img {
  width: 96px; height: 68px;
  object-fit: cover;
  border-radius: var(--r-btn);
  background: #E9E9EA;
}
.photo-drop .hint { font-size: 12.5px; color: var(--txt-3); }
.photo-drop .hint strong { color: var(--gold-light); display: block; font-size: 13px; margin-bottom: 3px; }

.admin-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 700px 400px at 50% 10%, rgba(212,175,55,.12), transparent 60%),
    var(--black);
}
.gate-card {
  width: 100%;
  max-width: 380px;
  text-align: center;
  background: var(--grad-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-modal);
  padding: 44px 36px;
}
.gate-card img {
  width: 74px; height: 74px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  margin: 0 auto 20px;
}
.gate-card h1 { font-size: 18px; margin-bottom: 8px; }
.gate-card p { color: var(--txt-3); font-size: 13px; margin-bottom: 24px; }
.gate-card input {
  width: 100%;
  text-align: center;
  letter-spacing: .4em;
  background: #101010;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-btn);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 18px;
  padding: 13px;
  outline: none;
  margin-bottom: 14px;
}
.gate-card input:focus { border-color: var(--gold); }
.gate-error { color: #FF6B66; font-size: 12.5px; margin-top: 12px; display: none; }

.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 300;
  background: var(--charcoal-3);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  padding: 12px 26px;
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .area-band { grid-template-columns: 1fr; padding: 48px 36px; }
  .area-cta { text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100svh;
    width: min(320px, 84vw);
    background: rgba(8,8,8,.98);
    border-left: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 36px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 99;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 17px; }
  .hamburger { display: flex; }
  .nav-actions .btn { display: none; }
}
@media (max-width: 1024px) and (min-width: 641px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 70px 0; }
  .wrap { padding: 0 18px; }
  /* cabeçalho compacto: abre espaço para as bandeiras sem cortar a sigla */
  #siteHeader nav { gap: 12px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand img { height: 44px; width: 44px; }
  .brand-name { font-size: 13px; }
  .brand-name small { font-size: 8px; letter-spacing: .26em; }
  .lang-switch, .hamburger { flex: none; }
  .lang-btn { padding: 7px 9px; gap: 5px; font-size: 10px; }
  .lang-btn .flag { width: 16px; height: 11.2px; }
  #hero { padding: 110px 0 60px; }
  .hero-ctas-center { flex-direction: column; width: 100%; }
  .hero-ctas-center .btn { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card textarea, .chat-input-row input { font-size: 16px; }
  .chat-launcher { right: 18px; bottom: 90px; }
  .chat-widget { right: 18px; bottom: 90px; }
  .field input { font-size: 16px; }
  .date-row { grid-template-columns: 1fr; }
  .admin-row { grid-template-columns: 1fr; }
  .admin-thumb { width: 100%; height: 150px; }
  .admin-row-btns { justify-content: flex-start; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 60px 22px; }
  .wa-float { right: 18px; bottom: 18px; }
}

/* =========================================================
   HERO NO CELULAR — vídeo enquadrado em vez de cortado
   ---------------------------------------------------------
   Um vídeo deitado (16:9) esticado numa tela em pé perde ~74%
   da largura no corte, sobrando só o capô. Aqui o vídeo passa
   a ocupar um bloco 4:3 no topo (corte de apenas ~25%), com o
   texto e os botões logo abaixo. O carro aparece inteiro.
   ========================================================= */
@media (max-width: 700px) {
  #hero {
    display: block;
    align-items: initial;
    min-height: 0;
    padding: 0 0 58px;
  }
  /* 16/9 é a proporção exata do vídeo do celular (1280x720):
     assim ele encaixa inteiro, sem corte nenhum e sem tarjas. */
  .road-scene {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    object-position: center center;
  }
  /* degradê mais suave: escurece o topo (atrás do cabeçalho)
     e derrete a base do vídeo no preto da página */
  .scene-grade {
    background: linear-gradient(to bottom,
      rgba(4,4,4,.72) 0%,
      rgba(4,4,4,.18) 22%,
      rgba(6,6,6,0) 52%,
      rgba(6,6,6,.55) 84%,
      #060606 100%);
  }
  .scene-vignette {
    background: radial-gradient(ellipse 130% 95% at 50% 45%,
                transparent 62%, rgba(4,4,4,.5) 100%);
  }
  .hero-stage-video { margin-top: 26px; }
}

/* =========================================================
   TABLETS — 701px a 1024px (iPad, iPad Air, Galaxy Tab)
   ---------------------------------------------------------
   Esta faixa nao tinha regra nenhuma: caia no layout de
   desktop espremido. O sintoma mais visivel era o hero —
   o video ocupava a tela inteira e o carro sumia no corte,
   exatamente o problema que ja tinha sido resolvido no
   celular. Aqui vale a mesma solucao.
   ========================================================= */
@media (min-width: 701px) and (max-width: 1024px) {
  #hero {
    display: block;
    align-items: initial;
    min-height: 0;
    padding: 0 0 66px;
  }
  /* O tablet recebe o video de desktop (2206x946 = 21/9).
     Usando a proporcao exata dele, o corte vai a zero —
     o carro aparece inteiro, sem tarja. */
  .road-scene {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 21 / 9;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    object-position: center center;
  }
  .scene-grade {
    background: linear-gradient(to bottom,
      rgba(4,4,4,.70) 0%,
      rgba(4,4,4,.16) 24%,
      rgba(6,6,6,0) 54%,
      rgba(6,6,6,.52) 84%,
      #060606 100%);
  }
  .scene-vignette {
    background: radial-gradient(ellipse 130% 95% at 50% 45%,
                transparent 64%, rgba(4,4,4,.48) 100%);
  }
  .hero-stage-video { margin-top: 40px; }

  /* Sao 3 passos numerados: em 2 colunas sobra um orfao
     na segunda linha e a sequencia perde o sentido. */
  .how-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  /* Com o card mais estreito o titulo quebra em duas linhas e
     esbarra no numero. O numero encolhe e o texto comeca abaixo dele. */
  .how-card { padding: 52px 20px 28px; }
  .how-card::before { font-size: 38px; top: 12px; right: 14px; }

  /* Em 2 colunas a terceira coluna do rodape cai sozinha numa
     segunda linha e sobra metade da largura vazia. Cabem as tres. */
  .foot-grid { grid-template-columns: 1fr .7fr 1.15fr; gap: 26px; }

  /* Tablet tambem se usa com o dedo: valem os mesmos 44px minimos
     do celular. Sem isto os botoes do painel ficam com 36px. */
  .car-foot .btn { padding: 14px 22px; }
  .chip { padding: 12px 20px; }
  .icon-btn { width: 44px; height: 44px; }
  .btn-sm { padding: 15px 18px; }   /* 35px -> 45px */
  .faq-q { padding: 22px 22px; }
  .foot-col ul { gap: 15px; }
}

/* =========================================================
   ALVOS DE TOQUE NO CELULAR
   ---------------------------------------------------------
   Recomendação da Apple/Google: mínimo 44px de altura para
   qualquer coisa clicável com o dedo. Sem isto o visitante
   erra o toque — crítico no botão "Reservar", que é a ação
   principal do site.
   ========================================================= */
@media (max-width: 700px) {
  .car-foot .btn { padding: 14px 22px; }          /* 36px -> 45px */
  .chip { padding: 12px 20px; }                   /* 35px -> 44px */
  /* o formulario de veiculo e alto: cada pixel de borda conta */
  .modal-backdrop { padding: 14px; }
  .modal { padding: 30px 20px 26px; }
  /* 40px é o limite: o logo do cabeçalho tem 44px, então
     acima disso a barra inteira cresceria */
  .lang-btn { padding: 11px 10px; min-height: 40px; }
  .icon-btn { width: 44px; height: 44px; }        /* 36px -> 44px */
  .faq-q { padding: 22px 20px; }                  /* mais folga para o dedo */
  .nav-links a { padding: 6px 0; }                /* menu lateral */
  /* o rodapé fica com os links muito juntos para o dedo */
  .foot-col ul { gap: 16px; }
}

/* =========================================================
   SEÇÃO "NA ESTRADA EM 3 PASSOS" — animação discreta
   ---------------------------------------------------------
   Proposta enxuta (pedido: "algo básico, sem muita firula"):
   1. os três cards entram em cascata ao rolar — é isto que dá
      vida no CELULAR, onde não existe passar o mouse;
   2. no computador, realce sóbrio no número e na borda.

   Nota de especificidade: `.how-grid .how-card` (0,2,0) vence
   `.reveal` (0,1,0), então a transição daqui é a que vale.
   ========================================================= */
.how-grid .how-card {
  transition: transform .32s cubic-bezier(.2,.8,.2,1),
              border-color .32s ease,
              box-shadow .32s ease,
              opacity .6s ease;
}
/* cascata: cada card entra um pouquinho depois do anterior */
.how-grid .how-card:nth-child(2) { transition-delay: .11s; }
.how-grid .how-card:nth-child(3) { transition-delay: .22s; }

/* o número 01/02/03 entra junto, ganhando presença */
.how-card::before {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .55s ease, transform .55s ease,
              -webkit-text-stroke-color .32s ease;
  transition-delay: inherit;
}
.how-card.in::before {
  opacity: 1;
  transform: none;
}

/* realce no computador — o :hover anula o atraso da cascata */
.how-grid .how-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 36px -22px rgba(0,0,0,.8);
  transition-delay: 0s;
}
.how-card:hover::before { -webkit-text-stroke-color: rgba(212,175,55,.8); }
.how-card:hover h3 { color: var(--gold-light); }
.how-card h3 { transition: color .32s ease; }

@media (prefers-reduced-motion: reduce) {
  .how-grid .how-card,
  .how-grid .how-card:nth-child(2),
  .how-grid .how-card:nth-child(3) { transition-delay: 0s; }
  .how-card::before { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   FOLGA NO FIM DA PÁGINA
   ---------------------------------------------------------
   Os botões flutuantes (chat e WhatsApp) ficam fixos no canto
   inferior direito. Ao rolar até o fim, eles cobriam o crédito
   da agência no rodapé. Este espaço garante que nada
   importante fique escondido embaixo deles.
   ========================================================= */
footer { padding-bottom: 60px; }
@media (max-width: 700px) {
  footer { padding-bottom: 120px; }   /* no celular os botões são maiores em proporção */
}
