/* =========================================================
   Bariri Turismo - Folha de estilo moderna e acessivel
   Reconstrucao 2026. Marca preservada: vermelho #d94d3a.
   Foco: legibilidade para idosos, alto contraste, mobile-first.
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Open+Sans:wght@400;600;700&display=swap');

/* ----------------------- Tokens ------------------------ */
:root {
  /* Marca */
  --red: #d94d3a;
  --red-dark: #b83a29;
  --red-darker: #7d261a;
  --yellow: #f4b400;
  --blue: #1b6fb3;

  /* Neutros */
  --ink: #1f1d1d;        /* texto principal (contraste ~15:1 no branco) */
  --ink-soft: #4a4544;   /* texto secundario (AA) */
  --bg: #ffffff;
  --bg-soft: #faf6f4;    /* secoes alternadas */
  --bg-warm: #fdeee9;    /* destaque suave */
  --line: #e6dfdc;       /* bordas */
  --white: #ffffff;

  /* WhatsApp */
  --wa: #25d366;
  --wa-dark: #1da851;

  /* Tipografia */
  --font-head: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Raios e sombras */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(31, 29, 29, 0.08);
  --shadow: 0 8px 24px rgba(31, 29, 29, 0.12);
  --shadow-lg: 0 16px 40px rgba(31, 29, 29, 0.18);

  /* Layout */
  --container: 1200px;
  --gap: 1.5rem;

  /* z-index */
  --z-header: 50;
  --z-overlay: 80;
  --z-float: 90;
  --z-modal: 100;
}

/* ----------------------- Reset ------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 112.5%; /* 18px base, melhor para idosos */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-darker); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; }
p { margin: 0 0 1rem; max-width: 70ch; }
ul, ol { line-height: 1.7; }

/* ------------------- Acessibilidade -------------------- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .9rem 1.2rem;
  z-index: var(--z-modal);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --------------------- Utilidades ---------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__head p { margin: 0 auto; color: var(--ink-soft); font-size: 1.1rem; }
.text-center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }

/* Cabecalho de secao com risco vermelho */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}

/* ----------------------- Botoes ------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 22px; height: 22px; flex: 0 0 auto; }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--red-darker); border-color: var(--red); }
.btn--outline:hover { background: var(--bg-warm); color: var(--red-darker); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }
.btn--lg { min-height: 60px; font-size: 1.2rem; padding: 1rem 2rem; }
.btn--block { width: 100%; }
@media (max-width: 560px) {
  .btn { font-size: 1.02rem; min-height: 48px; padding: .7rem 1.2rem; }
  .btn--lg { min-height: 52px; font-size: 1.05rem; padding: .75rem 1.25rem; }
  .btn svg { width: 20px; height: 20px; }
  .hero__actions { gap: .6rem; }
  .hero__actions .btn { width: 100%; }
}

/* ----------------------- Header ------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 56px; width: auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: .5rem .9rem;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .5rem 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color .2s ease, color .2s ease;
}
.main-nav a:hover { background: var(--bg-warm); color: var(--red-darker); }
.main-nav a[aria-current="page"] { color: #fff; background: var(--red); }
.main-nav .nav-cta a { background: var(--wa); color: #fff; margin-left: .5rem; gap: .5rem; }
.main-nav .nav-cta a:hover { background: var(--wa-dark); color: #fff; }
.main-nav .nav-cta a .wa-ico { width: 22px; height: 22px; flex: 0 0 auto; fill: currentColor; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .75rem 1.25rem 1.25rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .main-nav a { min-height: 54px; font-size: 1.15rem; justify-content: flex-start; }
  .main-nav .nav-cta a { margin-left: 0; justify-content: center; margin-top: .5rem; }
}

/* ------------------------ Hero ------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 70vh, 620px);
  color: #fff;
  background: var(--red-darker);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(125,38,26,.88) 0%, rgba(125,38,26,.6) 45%, rgba(31,29,29,.25) 100%);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; padding: 3rem 1.25rem; }
.hero h1, .hero__pane h2 {
  color: #fff;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  max-width: 20ch;
}
.hero__facts { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem .7rem; }
.hero__facts li {
  display: inline-flex; align-items: center; gap: .4rem;
  color: #fff; font-weight: 600; font-size: .98rem;
  background: rgba(0,0,0,.28); padding: .35rem .75rem; border-radius: 999px;
}
.hero__facts svg { width: 18px; height: 18px; flex: 0 0 auto; }
.hero p { color: #fff; font-size: 1.25rem; max-width: 46ch; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--yellow);
  color: #3a2c00;
  font-family: var(--font-head);
  font-weight: 800;
  padding: .45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}
.hero__badge svg { width: 22px; height: 22px; flex: 0 0 auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }

/* Hero rotativo: paineis empilhados + indicadores */
.hero__inner { display: grid; }
.hero__pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.hero__pane.is-active { opacity: 1; visibility: visible; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 3; display: flex; gap: .6rem; justify-content: center; }
.hero__dot { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; transition: background-color .2s ease; }
.hero__dot:hover { background: rgba(255,255,255,.5); }
.hero__dot.is-active { background: #fff; }

/* ---------------- Destaque Bate e Volta ---------------- */
.promo {
  background: var(--bg-warm);
  border-top: 5px solid var(--red);
}
.promo__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.promo__tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .04em;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .95rem;
  margin-bottom: .8rem;
}
.promo dl { margin: 0; display: grid; gap: .9rem; }
.promo dt { font-family: var(--font-head); font-weight: 700; color: var(--red-darker); font-size: 1.05rem; }
.promo dd { margin: 0; color: var(--ink); }
.promo__price {
  background: var(--bg-soft);
  border: 1px dashed var(--red);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
}
.promo__price strong { font-size: 1.5rem; color: var(--red-darker); font-family: var(--font-head); }
/* Lista de informacoes com icones + badges de horario */
.info-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .85rem; align-items: flex-start; }
.info-ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-warm); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
}
.info-ico svg { width: 24px; height: 24px; }
.info-list strong { font-family: var(--font-head); color: var(--red-darker); display: block; margin-bottom: .15rem; }
.info-list p { margin: 0; }
.time-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  padding: .12rem .55rem; border-radius: 999px; white-space: nowrap; vertical-align: middle;
}
.time-badge svg { width: 13px; height: 13px; }

/* Rota: origem -> destino em destaque */
.route { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.route__trip {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-left: 4px solid var(--red); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.route__label {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); margin-bottom: .5rem;
}
.route__cities { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .7rem; }
.route__city {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .35rem .8rem; border-radius: 999px;
}
.route__city--dest { background: var(--red-darker); }
.route__city svg { width: 18px; height: 18px; }
.route__arrow { display: inline-flex; color: var(--red); }
.route__arrow svg { width: 22px; height: 22px; }
.route__stops { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.route__stops li { display: flex; gap: .5rem; align-items: center; line-height: 1.5; }
.route__note { margin: .6rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.route__how { display: flex; gap: .6rem; align-items: flex-start; margin: .2rem 0 0; font-size: .95rem; }
.route__how-ico {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-warm); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
}
.route__how-ico svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .promo__card { grid-template-columns: 1fr; }
}

/* ----------------------- Cards ------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
a.card:hover h3 { color: var(--red-darker); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__body h3 { margin: 0; }
.card__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-warm); color: var(--red); border-radius: 50%;
  margin-bottom: .4rem;
}
.card__icon svg { width: 30px; height: 30px; }

/* Card de servico (lista de destinos) */
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
/* Feature com numero (missao/visao/valor) */
.feature--num { padding-top: 2.2rem; }
.feature--num .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: .6rem;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem;
  border-radius: 50%;
}

/* Lista de destinos (chips) */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: .85rem 1.3rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.chip svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 auto; }

/* Cards de destino (pagina de servicos) */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 980px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .dest-grid { grid-template-columns: 1fr; } }
.dest-card {
  position: relative; overflow: hidden;
  min-height: 132px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem 1.1rem; color: #fff; text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: #fff; }
.dest-card__pin { position: absolute; top: .6rem; right: .5rem; opacity: .22; line-height: 0; }
.dest-card__pin svg { width: 64px; height: 64px; }
.dest-card h3 { position: relative; color: #fff; margin: 0; font-size: 1.12rem; line-height: 1.25; }
.dest-card span { position: relative; color: rgba(255,255,255,.92); font-weight: 600; font-size: .82rem; }
.dest-card--a { background: linear-gradient(135deg, #e2654f, #b83a29); }
.dest-card--b { background: linear-gradient(135deg, #2f86c9, #1a5e96); }
.dest-card--c { background: linear-gradient(135deg, #ef9d3b, #cf6a13); }
.dest-card--d { background: linear-gradient(135deg, #7d261a, #4f160d); }

/* Cabecalho de pagina interna */
.page-hero {
  background: linear-gradient(135deg, var(--red-darker) 0%, var(--red) 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .3rem; }
.page-hero p { color: #fff; font-size: 1.2rem; margin: 0 auto; opacity: .95; }
.page-hero .eyebrow { color: var(--yellow); }

/* --------------- Bloco texto + imagem ----------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* --------------------- Selos / trust ------------------- */
.trust { text-align: center; }
.trust img { display: inline-block; max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; margin-top: 1rem; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--red); line-height: 1; }
.stat span { color: var(--ink-soft); font-weight: 600; }

/* ----------------------- CTA faixa --------------------- */
.cta-band {
  background: var(--red);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff; margin: 0 auto 1.6rem; font-size: 1.2rem; max-width: 50ch; }
.cta-band .btn--outline { background: #fff; border-color: #fff; color: var(--red-darker); }
.cta-band .btn--outline:hover { background: rgba(255,255,255,.88); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ----------------------- Formulario -------------------- */
.form { display: grid; gap: 1.2rem; }
.form label { display: block; font-family: var(--font-head); font-weight: 700; margin-bottom: .4rem; font-size: 1.05rem; }
.form input, .form textarea {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217,77,58,.25);
}
.form input.invalid, .form textarea.invalid {
  border-color: #b00020;
  box-shadow: 0 0 0 3px rgba(176,0,32,.15);
}
.form .hint { color: var(--ink-soft); font-size: .95rem; margin: .3rem 0 0; }
.form .error { color: #b00020; font-weight: 600; font-size: .95rem; margin: .3rem 0 0; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status--ok { background: #e7f6ec; color: #14632c; border: 1px solid #a9dcb9; }
.form-status--err { background: #fdecef; color: #8a0017; border: 1px solid #f3b6c0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Bloco de contato (icone + texto) */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ci {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-warm); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-list .ci svg { width: 26px; height: 26px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: var(--red); text-decoration: underline; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* --------------- Galeria de veiculos ------------------- */
.vehicle { margin-bottom: 2.5rem; }
.vehicle + .vehicle { border-top: 1px solid var(--line); padding-top: 2.5rem; }
.vehicle__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
.vehicle__grid > * { min-width: 0; }
.vehicle__info h2 { margin-bottom: .3rem; }
.vehicle__model { font-weight: 700; color: var(--red-darker); font-size: 1.1rem; margin-bottom: 1rem; }
@media (max-width: 820px) { .vehicle__grid { grid-template-columns: 1fr; } }
/* Galeria estilo vitrine: palco + miniaturas com rolagem */
.gallery__stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #15110f;
}
.gallery__backdrop {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(24px) brightness(.55);
  transform: scale(1.12);
  z-index: 0;
}
.gallery__main {
  position: relative; z-index: 1;
  display: block; width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 460px;
  object-fit: contain;
  cursor: zoom-in;
}
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 50px; height: 50px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .2s ease;
}
.gallery__nav:hover { background: rgba(0,0,0,.72); }
.gallery__nav svg { width: 26px; height: 26px; }
.gallery__prev { left: 10px; }
.gallery__next { right: 10px; }
.gallery__counter {
  position: absolute; left: 12px; bottom: 12px;
  z-index: 2;
  background: rgba(0,0,0,.6); color: #fff;
  padding: .3rem .7rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.gallery__zoom {
  position: absolute; right: 12px; bottom: 12px;
  z-index: 2;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .2s ease;
}
.gallery__zoom:hover { background: rgba(0,0,0,.82); }
.gallery__zoom svg { width: 24px; height: 24px; }
.thumbs-wrap { position: relative; margin-top: .7rem; padding: 0 42px; }
.gallery__thumbs {
  display: flex; gap: .55rem; list-style: none;
  margin: 0; padding: .25rem 0;
  max-width: 100%;
  overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.thumbs-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(31,29,29,.62); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color .2s ease;
}
.thumbs-nav:hover { background: rgba(31,29,29,.85); }
.thumbs-nav svg { width: 20px; height: 20px; }
.thumbs-prev { left: 0; }
.thumbs-next { right: 0; }
.thumbs-nav[hidden] { display: none; }
.gallery__thumbs li { flex: 0 0 auto; }
.gallery__thumb {
  display: block; padding: 0; cursor: pointer;
  width: 88px; height: 66px;
  border: 2px solid var(--line); border-radius: 10px;
  overflow: hidden; background: var(--bg-soft);
  transition: border-color .2s ease, transform .2s ease;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb:hover { transform: translateY(-2px); border-color: var(--red); }
.gallery__thumb.is-active { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.specs { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.specs li { display: block; }
.specs .badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--bg-warm); color: var(--red-darker);
  padding: .35rem .8rem; border-radius: 999px; font-size: .95rem; font-weight: 700;
}
.specs .badge svg { width: 20px; height: 20px; }

/* ------------------ Lightbox (vanilla) ----------------- */
.lightbox {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(15,12,12,.92);
  z-index: var(--z-modal);
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox__btn {
  position: absolute;
  min-width: 56px; min-height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); color: #fff;
  border: 2px solid rgba(255,255,255,.6); border-radius: 50%;
  cursor: pointer;
}
.lightbox__btn svg { width: 30px; height: 30px; }
.lightbox__btn:hover { background: rgba(255,255,255,.3); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ------------ Conteudo de texto (privacidade) ---------- */
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; color: var(--red-darker); }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .6rem; }

/* ----------------------- Footer ------------------------ */
.site-footer { background: var(--ink); color: #f3efee; padding: 3rem 0 1.5rem; }
.site-footer a { color: #ffd9d1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1.2rem; }
.site-footer img.footer-logo { height: 54px; width: auto; margin-bottom: 1rem; background: #fff; padding: .4rem .6rem; border-radius: var(--radius-sm); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-social { display: flex; gap: .8rem; margin-top: .6rem; }
.footer-social a {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 26px; height: 26px; fill: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 2rem; padding-top: 1.2rem;
  text-align: center; color: #cfc7c5; font-size: .95rem;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ------------------ Botao flutuante WA ----------------- */
.wa-float {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: var(--z-float);
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--wa); color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { background: var(--wa-dark); color: #fff; transform: translateY(-3px) scale(1.06); }
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: waPulse 2.4s ease-out infinite; }
}
@keyframes waPulse {
  0%   { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============ Efeitos modernos ============ */
/* Revelar ao rolar */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Hover nos cards, features, botoes e WhatsApp */
.card__media img { transition: transform .45s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.feature { transition: box-shadow .2s ease, transform .2s ease; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.btn--primary:hover, .btn--wa:hover, .btn--outline:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.wa-float { transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }

/* Detalhe sob os titulos de secao */
.section__head h2 { position: relative; }
.section__head h2::after {
  content: ""; display: block; width: 64px; height: 4px;
  border-radius: 2px; background: var(--red); margin: .7rem auto 0;
}

/* Badge do hero mais proporcional */
.hero__badge { font-size: .95rem; padding: .4rem 1rem .4rem .85rem; gap: .45rem; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.hero__badge svg { width: 20px; height: 20px; }

/* ==================== Aviso de cookies ==================== */
.cookie-banner {
  position: fixed; left: 1.25rem; bottom: 1.25rem; right: auto;
  z-index: 95;
  max-width: 330px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.1rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0 0 .8rem; font-size: .9rem; line-height: 1.5; color: var(--ink); }
.cookie-banner__actions { display: flex; gap: .5rem; }
.cookie-banner__actions .btn { min-height: 40px; padding: .4rem .8rem; font-size: .92rem; flex: 1; }
@media (max-width: 480px) {
  .cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
  .has-cookie .wa-float { bottom: 10.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-banner:not([hidden]) { animation: cookieUp .4s ease; }
  @keyframes cookieUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
}

/* ---------------- Separador de secoes (icone Bariri) ---------------- */
.section-divider {
  display: flex; align-items: center; gap: 1rem;
  max-width: 460px; margin: 0 auto;
  padding: 0 1.25rem 1.6rem;
}
.section-divider__line {
  flex: 1; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.section-divider__line:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.section-divider img { width: 46px; height: 46px; flex: 0 0 auto; }

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