/* São Miguel Tur — Redesign v2
   HTML e CSS puros, mobile-first, zero JavaScript adicional.
   Paleta: #0F172A (base escura), #00a859 (marca), #85d827 (destaque sobre escuro). */

:root {
  --cor-escura: #0F172A;
  --cor-escura-2: #1E293B;
  --cor-marca: #00a859;
  --cor-marca-hover: #007a40;
  --cor-destaque: #85d827;
  --cor-texto-botao: #0F172A;
  --cor-marca-suave: color-mix(in srgb, var(--cor-marca) 10%, transparent);

  --cor-texto: #0F172A;
  --cor-texto-suave: #475569;
  --cor-fundo: #ffffff;
  --cor-fundo-suave: #F8FAFC;
  --cor-borda: #E2E8F0;

  --fonte: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --largura: 1200px;
  --altura-header: 84px;

  --esp-1: 0.5rem;
  --esp-2: 1rem;
  --esp-3: 1.5rem;
  --esp-4: 2.5rem;
  --esp-5: 4rem;
  --esp-6: 5.5rem;

  --raio-sm: 8px;
  --raio: 14px;
  --raio-lg: 20px;

  --sombra-sm: 0 1px 3px rgb(15 23 42 / 0.06);
  --sombra: 0 8px 24px -6px rgb(15 23 42 / 0.08);
  --sombra-lg: 0 18px 40px -12px rgb(15 23 42 / 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--altura-header) + 1rem); }
body { margin: 0; font-family: var(--fonte); font-size: 1rem; line-height: 1.7; color: var(--cor-texto); background: var(--cor-fundo); -webkit-font-smoothing: antialiased; }
img, iframe, video, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--cor-marca-hover); text-underline-offset: 3px; }
a:hover { color: var(--cor-escura); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.75rem; color: var(--cor-escura); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p, ul, ol { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 1.25rem; }
.pular { position: absolute; left: -9999px; }
.pular:focus { left: 1rem; top: 1rem; z-index: 100; padding: .6rem 1rem; border-radius: var(--raio-sm); background: var(--cor-escura); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header e menu (CSS puro) ---------- */

.header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cor-borda); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--altura-header); }
.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo img { width: auto; height: 56px; max-height: 64px; }

.menu__toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu__botao { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; border-radius: var(--raio-sm); }
.menu__botao span, .menu__botao span::before, .menu__botao span::after { display: block; width: 22px; height: 2px; background: var(--cor-escura); position: relative; content: ""; border-radius: 2px; }
.menu__botao span::before { position: absolute; top: -7px; }
.menu__botao span::after { position: absolute; top: 7px; }
.menu__toggle:focus-visible + .menu__botao { outline: 2px solid var(--cor-marca); }

.menu__lista { display: none; position: absolute; top: var(--altura-header); left: 0; right: 0; max-height: calc(100dvh - var(--altura-header)); overflow-y: auto; margin: 0; padding: .75rem 1.25rem 1.25rem; list-style: none; background: #fff; border-bottom: 1px solid var(--cor-borda); box-shadow: var(--sombra); }
.menu__toggle:checked ~ .menu__lista { display: block; }
.menu__lista a { display: flex; align-items: center; min-height: 44px; color: var(--cor-texto); text-decoration: none; font-weight: 600; white-space: nowrap; }
.menu__lista a:hover, .menu__lista a[aria-current="page"], .menu__lista a.menu__ativo { color: var(--cor-marca-hover); }
.menu__seta { margin-left: .35rem; font-size: .75em; }
.menu__item--sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.menu__item--sub > a { flex: 1; }
.menu__item--sub > a .menu__seta { display: none; }
.menu__toggle-sub { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--cor-texto); font-size: 1.05rem; cursor: pointer; border-radius: var(--raio-sm); }
.menu__toggle-sub span { display: inline-block; transition: transform .2s; }
.menu__item--sub.is-open > .menu__toggle-sub span { transform: rotate(180deg); }
.menu__sub { display: none; flex-basis: 100%; list-style: none; margin: 0 0 .5rem; padding: 0 0 0 1rem; border-left: 2px solid var(--cor-borda); }
.menu__item--sub.is-open > .menu__sub { display: block; }
.menu__sub a { min-height: 38px; font-weight: 500; font-size: .94rem; color: var(--cor-texto-suave); }
.menu__cta { margin-top: .75rem; }
.menu__cta .botao { width: 100%; min-height: 44px; padding: .6rem 1.2rem; }

@media (min-width: 960px) {
  .header__logo img { height: 64px; }
  .menu__botao { display: none; }
  .menu__lista { display: flex; align-items: center; gap: 0 1.5rem; position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none; box-shadow: none; }
  .menu__item--sub { display: block; position: relative; }
  .menu__item--sub > a .menu__seta { display: inline; }
  .menu__toggle-sub { display: none; }
  .menu__sub { display: none; position: absolute; top: 100%; left: 0; min-width: 265px; margin: 0; padding: .5rem 0; background: #fff; border: 1px solid var(--cor-borda); border-radius: var(--raio-sm); box-shadow: var(--sombra-lg); z-index: 60; }
  .menu__item--sub:hover > .menu__sub, .menu__item--sub:focus-within > .menu__sub { display: block; }
  .menu__sub a { padding: .45rem 1rem; min-height: 38px; color: var(--cor-texto); }
  .menu__sub a:hover, .menu__sub a[aria-current="page"] { background: var(--cor-fundo-suave); color: var(--cor-marca-hover); }
  .menu__cta { margin-top: 0; margin-left: .25rem; }
  .menu__cta .botao { width: auto; min-height: 42px; padding: .55rem 1.15rem; font-size: .95rem; }
}

/* ---------- Botões e badges ---------- */

.botao { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.5rem; border-radius: var(--raio-sm); background: var(--cor-marca); color: var(--cor-texto-botao); font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .2s, transform .15s, box-shadow .2s; }
.botao:hover { background: var(--cor-marca-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--sombra); }
.botao--destaque { background: var(--cor-destaque); color: var(--cor-escura); }
.botao--destaque:hover { background: #75c21f; color: var(--cor-escura); }
.botao--contorno { background: transparent; color: var(--cor-escura); border-color: var(--cor-borda); }
.botao--contorno:hover { background: var(--cor-fundo-suave); color: var(--cor-escura); border-color: var(--cor-escura); }
.botao--claro { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.35); }
.botao--claro:hover { background: rgb(255 255 255 / 0.12); color: #fff; border-color: #fff; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cor-marca-hover); margin-bottom: .6rem; }
.hero .kicker, .secao--escura .kicker { color: var(--cor-destaque); }
.badge { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--cor-marca-suave); color: var(--cor-escura); }

/* ---------- Seções ---------- */

.secao { padding: var(--esp-4) 0; }
@media (min-width: 860px) { .secao { padding: var(--esp-5) 0; } }
.secao--suave { background: var(--cor-fundo-suave); border-top: 1px solid var(--cor-borda); border-bottom: 1px solid var(--cor-borda); }
.secao--escura { background: var(--cor-escura); color: #cbd5e1; }
.secao--escura h1, .secao--escura h2, .secao--escura h3, .secao--escura h4 { color: #fff; }
.secao--escura a:not(.botao) { color: var(--cor-destaque); }
.secao--cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #004524 0%, #005f32 55%, #00753d 100%);
  color: #f0fdf4;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.secao--cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 20%, rgb(133 216 39 / 0.16) 0%, transparent 55%);
}
.secao--cta-final > .container { position: relative; }
.secao--cta-final .kicker { color: #d9f99d; }
.secao--cta-final .secao__sub { color: #f0fdf4; }
.secao--cta-final .botao--destaque { background: #fff; color: var(--cor-escura); border-color: #fff; }
.secao--cta-final .botao--destaque:hover { background: var(--cor-destaque); color: var(--cor-escura); border-color: var(--cor-destaque); }
.secao--cta-final .botao--claro { background: rgb(15 23 42 / 0.18); color: #fff; border-color: rgb(255 255 255 / 0.65); }
.secao--cta-final .botao--claro:hover { background: rgb(15 23 42 / 0.35); color: #fff; border-color: #fff; }
.secao--centro { text-align: center; }
.secao--centro .acoes { justify-content: center; }
.secao__topo { max-width: 720px; margin-bottom: 2rem; }
.secao--centro .secao__topo, .secao__topo--centro { margin-left: auto; margin-right: auto; text-align: center; }
.secao__sub { font-size: 1.1rem; color: var(--cor-texto-suave); margin-bottom: 0; }
.secao--escura .secao__sub { color: #94a3b8; }
.texto { max-width: 760px; }
.secao--centro .texto { margin: 0 auto; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 4rem 0; color: #e2e8f0; background: var(--cor-escura) var(--fundo, none) center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgb(15 23 42 / 0.92) 0%, rgb(15 23 42 / 0.72) 100%); }
.hero--foto,
.hero--home {
  background-position: center 60%;
}
.hero--foto::before,
.hero--home::before {
  background: linear-gradient(180deg, rgb(15 23 42 / 0.88) 0%, rgb(15 23 42 / 0.76) 62%, rgb(15 23 42 / 0.52) 100%);
}
.hero--home { --fundo: url('/assets/img/hero-home-frota-768.webp'); }
.hero--empresa {
  --fundo: url('/assets/img/hero-empresa-768.webp');
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-position: center center;
}
.hero--empresa::before {
  background: linear-gradient(180deg, rgb(15 23 42 / 0.84) 0%, rgb(15 23 42 / 0.68) 62%, rgb(15 23 42 / 0.35) 100%);
}
@media (min-width: 768px) {
  .hero--home { --fundo: url('/assets/img/hero-home-frota.webp'); }
  .hero--empresa { --fundo: url('/assets/img/hero-empresa.webp'); }
}
@media (min-width: 860px) {
  .hero--foto,
  .hero--home { background-position: 75% 60%; }
  .hero--empresa {
    min-height: min(78vh, 720px);
    background-position: center center;
  }
  .hero--foto::before,
  .hero--home::before {
    background: linear-gradient(90deg, rgb(15 23 42 / 0.90) 0%, rgb(15 23 42 / 0.74) 48%, rgb(15 23 42 / 0.35) 100%);
  }
  .hero--empresa::before {
    background: linear-gradient(90deg, rgb(15 23 42 / 0.85) 0%, rgb(15 23 42 / 0.65) 48%, rgb(15 23 42 / 0.25) 100%);
  }
}
.hero > .container { position: relative; }
.hero--compacto { padding: 3rem 0; }
.hero h1 { color: #fff; max-width: 26ch; }
.hero p { font-size: 1.125rem; color: #e2e8f0; max-width: 60ch; }
.hero__destaques { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.hero__destaques li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.18); color: #f8fafc; font-size: .9rem; font-weight: 600; }
.hero__destaques svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--cor-destaque); }
.hero--centro { text-align: center; }
.hero--centro h1, .hero--centro p { margin-left: auto; margin-right: auto; }
.hero--centro .acoes { justify-content: center; }
@media (min-width: 860px) { .hero { padding: 5.5rem 0; } .hero--compacto { padding: 3.5rem 0; } }

/* ---------- Credibilidade (números) ---------- */

.credibilidade { background: var(--cor-escura-2); color: #f8fafc; padding: 1.75rem 0; border-top: 1px solid rgb(255 255 255 / 0.08); }
.numeros { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .numeros { grid-template-columns: repeat(4, 1fr); } }
.numero__valor { display: block; font-size: 1.65rem; font-weight: 800; color: var(--cor-destaque); line-height: 1.15; }
.numero__rotulo { font-size: .92rem; color: #cbd5e1; }

/* ---------- Breadcrumb ---------- */

.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: #94a3b8; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: #cbd5e1; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Filtros de categoria ---------- */

.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filtro { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--cor-borda); background: #fff; color: var(--cor-escura); font-weight: 600; font-size: .92rem; text-decoration: none; }
.filtro:hover, .filtro--ativo { background: var(--cor-escura); color: #fff; border-color: var(--cor-escura); }

/* ---------- Grade e Cards ---------- */

.grade { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grade { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grade--3 { grid-template-columns: repeat(3, 1fr); } .grade--4 { grid-template-columns: repeat(4, 1fr); } }

.cartao { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; border: 1px solid var(--cor-borda); border-radius: var(--raio); background: #fff; color: var(--cor-texto); box-shadow: var(--sombra-sm); transition: transform .2s, box-shadow .2s; }
.cartao:hover { transform: translateY(-2px); box-shadow: var(--sombra); }
.cartao > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--raio-sm); }
.cartao h3, .cartao h4 { margin: 0; }
.cartao p { color: var(--cor-texto-suave); margin: 0; }
.cartao ul { margin: 0; padding-left: 1.15rem; color: var(--cor-texto-suave); font-size: .94rem; }
.cartao footer { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.cartao footer .botao { min-height: 42px; padding: .55rem 1rem; font-size: .92rem; }
.premio .badge { align-self: flex-start; }
.premio__thumb { display: flex; align-items: center; justify-content: center; height: 210px; padding: .75rem; border-radius: var(--raio-sm); background: var(--cor-fundo-suave); border: 1px solid var(--cor-borda); overflow: hidden; }
.premio__thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.premio__thumb:hover img { transform: scale(1.03); }
.frota-links { margin-top: auto; padding-top: .5rem; font-size: .92rem; color: var(--cor-texto-suave); }
.frota-links a { color: var(--cor-marca-hover); font-weight: 600; text-decoration: none; }
.frota-links a:hover { text-decoration: underline; }
.frota-apoio { margin-top: 2rem; margin-bottom: 0; color: var(--cor-texto-suave); max-width: 68ch; }
.passos { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: passo; }
@media (min-width: 640px) { .passos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .passos { grid-template-columns: repeat(4, 1fr); } }
.passos li { counter-increment: passo; position: relative; padding: 1.35rem 1.35rem 1.35rem 1.35rem; border: 1px solid var(--cor-borda); border-radius: var(--raio); background: #fff; box-shadow: var(--sombra-sm); }
.passos li::before { content: counter(passo); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cor-marca); color: var(--cor-escura); font-weight: 800; font-size: .95rem; margin-bottom: .75rem; }
.passos strong { display: block; color: var(--cor-escura); margin-bottom: .3rem; }
.passos__apoio { margin-top: 1.5rem; margin-bottom: 0; color: var(--cor-texto-suave); }
.diferencial__icone { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--cor-marca-suave); color: var(--cor-marca-hover); }
.diferencial__icone svg { width: 22px; height: 22px; }

/* ---------- Mídia (imagem + texto) ---------- */

.midia { display: grid; gap: 2.25rem; align-items: start; }
.midia img { border-radius: var(--raio); width: 100%; box-shadow: var(--sombra); }
@media (min-width: 860px) { .midia { grid-template-columns: 1fr 1fr; } .midia--inversa > :first-child { order: 2; } }

/* ---------- Foto full-bleed e ficha técnica dos veículos ---------- */

.veiculo-foto { width: 100%; background: var(--cor-escura); display: flex; justify-content: center; }
.veiculo-foto img { display: block; width: 100%; height: auto; max-height: 85vh; object-fit: contain; }

.ficha { display: grid; gap: .85rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
@media (min-width: 640px) { .ficha { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ficha--3 { grid-template-columns: repeat(3, 1fr); } }
.ficha__item { display: flex; align-items: flex-start; gap: .65rem; padding: .75rem .9rem; border: 1px solid var(--cor-borda); border-radius: var(--raio-sm); background: var(--cor-fundo-suave); font-size: .95rem; }
.ficha__item svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--cor-marca-hover); }

/* ---------- Galeria sem JS ---------- */

.galeria { display: grid; gap: .85rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .galeria { grid-template-columns: repeat(4, 1fr); } }
.galeria a { display: block; overflow: hidden; border-radius: var(--raio-sm); border: 1px solid var(--cor-borda); }
.galeria img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.galeria a:hover img { transform: scale(1.03); }

/* ---------- Lightbox CSS puro (:target) ---------- */

.lightbox { display: none; position: fixed; inset: 0; z-index: 120; align-items: center; justify-content: center; padding: 3.75rem 1.25rem 1.25rem; }
.lightbox:target { display: flex; }
.lightbox__fundo { position: fixed; inset: 0; background: rgba(8, 12, 24, 0.96); backdrop-filter: blur(4px); }
.lightbox__fechar { position: fixed; top: 1rem; right: 1rem; z-index: 3; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgb(255 255 255 / 0.18); color: #fff; text-decoration: none; font-size: 1.65rem; line-height: 1; }
.lightbox__fechar:hover { background: var(--cor-marca); color: var(--cor-escura); }
.lightbox__conteudo { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: .65rem; max-width: 90vw; max-height: calc(100dvh - 5rem); }
.lightbox__conteudo img { max-width: 90vw; max-height: calc(100dvh - 11.5rem); width: auto; height: auto; object-fit: contain; border-radius: var(--raio-sm); box-shadow: var(--sombra-lg); }
.lightbox__legenda { color: #e2e8f0; font-size: .95rem; text-align: center; }
.lightbox__nav { display: flex; gap: .75rem; }
.lightbox__seta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .45rem 1.1rem; border-radius: var(--raio-sm); background: rgb(255 255 255 / 0.16); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.lightbox__seta:hover { background: var(--cor-marca); color: var(--cor-escura); }

/* ---------- Modal <dialog> de orçamento (páginas de veículo) ---------- */

dialog:modal { overscroll-behavior: contain; }
dialog::backdrop { overflow: hidden; overscroll-behavior: contain; background: rgba(8, 12, 24, 0.78); backdrop-filter: blur(4px); }
.modal { width: min(92vw, 480px); max-height: 92dvh; overflow-y: auto; padding: 0; border: 1px solid var(--cor-borda); border-radius: var(--raio); background: #fff; color: var(--cor-texto); box-shadow: var(--sombra-lg); margin: auto; }
.modal__topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--cor-borda); }
.modal__topo h2 { margin: 0; font-size: 1.25rem; }
.modal__fechar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cor-fundo-suave); color: var(--cor-escura); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.modal__fechar:hover { background: var(--cor-borda); }
.modal__form { display: grid; gap: .85rem; padding: 1.15rem 1.25rem; }
.modal__form label { display: grid; gap: .35rem; min-width: 0; font-weight: 600; font-size: .95rem; color: var(--cor-escura); }
.modal__form input { width: 100%; min-width: 0; min-height: 46px; padding: .65rem .85rem; border: 1px solid var(--cor-borda); border-radius: var(--raio-sm); font: inherit; color: var(--cor-escura); background: #fff; }
@media (min-width: 640px) {
  .modal__topo { padding: 1.25rem 1.5rem; }
  .modal__form { gap: 1rem; padding: 1.5rem; }
}
.modal__form input:focus { outline: 2px solid var(--cor-marca); border-color: transparent; }
.modal__form .botao { width: 100%; cursor: pointer; font: inherit; font-weight: 700; }
.modal__aviso { margin: 0; font-size: .84rem; color: var(--cor-texto-suave); line-height: 1.5; }

/* ---------- FAQ (<details> acessível) ---------- */

.faq { display: grid; gap: .75rem; max-width: 820px; }
.faq details { border: 1px solid var(--cor-borda); border-radius: var(--raio-sm); background: #fff; padding: 0 1.25rem; }
.faq summary { list-style: none; display: flex; align-items: center; gap: .65rem; padding: 1.05rem 0; font-weight: 700; color: var(--cor-escura); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; inline-size: .9rem; block-size: .9rem; flex-shrink: 0; background-color: var(--cor-marca-hover); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 5.5 8 10.3l4.8-4.8 1.2 1.2L8 12.7 2 6.7z'/%3E%3C/svg%3E") no-repeat center / contain; rotate: -90deg; }
.faq details[open] > summary::before { rotate: 0deg; }
.faq details::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.faq details:not([open])::details-content { block-size: 0; }
.faq details > p { padding: 0 0 1.1rem 1.55rem; margin: 0; color: var(--cor-texto-suave); }
@media (prefers-reduced-motion: no-preference) {
  .faq summary::before { transition: rotate .2s; }
  .faq details::details-content { transition: block-size .28s ease-in-out, content-visibility .28s ease-in-out allow-discrete; }
}

/* ---------- Contato e incorporações ---------- */

.contato-grade { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .contato-grade { grid-template-columns: 1fr 1.15fr; } }
.contatos { display: grid; gap: 1rem; margin: 0; }
.contatos dt { font-weight: 700; color: var(--cor-escura); margin-bottom: .15rem; }
.contatos dd { margin: 0; color: var(--cor-texto-suave); }
.incorporacao { width: 100%; border: 0; border-radius: var(--raio); box-shadow: var(--sombra); }
.incorporacao--mapa, .incorporacao--video { aspect-ratio: 16 / 9; height: auto; }
.terceiro-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; text-align: center; padding: 1.5rem; aspect-ratio: 16 / 9; border: 1px solid var(--cor-borda); border-radius: var(--raio); background: var(--cor-fundo-suave); }
.terceiro-placeholder[hidden], .incorporacao[hidden] { display: none; }
.terceiro-placeholder p { margin: 0; max-width: 44ch; font-size: .92rem; color: var(--cor-texto-suave); }
.terceiro-placeholder .botao { cursor: pointer; font-family: inherit; }

/* ---------- Prêmios ---------- */

.premios-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .premios-grid { grid-template-columns: repeat(5, 1fr); } }
.premio { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem; border: 1px solid var(--cor-borda); border-radius: var(--raio-sm); background: #fff; text-decoration: none; color: var(--cor-texto); }
.premio img { width: 100%; max-width: 140px; aspect-ratio: 1; object-fit: contain; margin-bottom: .5rem; }
.premio span { font-size: .85rem; font-weight: 600; color: var(--cor-texto-suave); }

/* ---------- Rodapé ---------- */

.rodape { background: var(--cor-escura); color: #cbd5e1; padding: 3.5rem 0 5.5rem; font-size: .95rem; }
.rodape a { color: #f8fafc; text-decoration: none; }
.rodape a:hover { color: var(--cor-destaque); text-decoration: underline; }
.rodape__grade { display: grid; gap: 2rem; }
@media (min-width: 860px) { .rodape__grade { grid-template-columns: 1.4fr 1fr 1fr; } }
.rodape__titulo { color: #fff; font-weight: 700; margin-bottom: .65rem; font-size: 1rem; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li a, .rodape__preferencias { display: inline-flex; align-items: center; min-height: 36px; }
.rodape__preferencias { background: none; border: 0; padding: 0; font: inherit; color: #f8fafc; cursor: pointer; text-align: left; }
.rodape__preferencias:hover { color: var(--cor-destaque); text-decoration: underline; }
.tabela-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--cor-borda); border-radius: var(--raio-sm); }
.tabela { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.tabela th, .tabela td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--cor-borda); vertical-align: top; }
.tabela th { background: var(--cor-fundo-suave); color: var(--cor-escura); font-weight: 700; }
.tabela tr:last-child td { border-bottom: 0; }
.texto h2 { margin-top: 2rem; }
.texto h3 { margin-top: 1.4rem; }
.rodape__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .875rem; color: #94a3b8; }

/* ---------- WhatsApp flutuante ---------- */

.whatsapp-flutuante { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #128c7e; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / 0.25); transition: transform .15s, background .2s, bottom .2s; }
body.has-consent-banner { padding-bottom: var(--banner-h, 180px); }
body.has-consent-banner .whatsapp-flutuante { bottom: calc(var(--banner-h, 180px) + 1rem); }
.whatsapp-flutuante::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; pointer-events: none; animation: whatsapp-pulsar 2.2s ease-out infinite; }
.whatsapp-flutuante:hover, .whatsapp-flutuante:focus-visible { background: #075e54; color: #fff; transform: scale(1.06); }
.whatsapp-flutuante:hover::before, .whatsapp-flutuante:focus-visible::before { animation: none; opacity: 0; }
.whatsapp-flutuante svg { width: 28px; height: 28px; fill: currentColor; }

@keyframes whatsapp-pulsar {
  0% { transform: scale(1); opacity: .55; }
  65%, 100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .whatsapp-flutuante::before { display: none; animation: none; }
}

/* ---------- Pacotes de viagem (LP) ---------- */

.pacote-hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero--pacote { --fundo: url('/assets/img/pacotes/carnaval-2027-meia-praia/hero-960.webp'); }
@media (min-width: 860px) {
  .hero--pacote { --fundo: url('/assets/img/pacotes/carnaval-2027-meia-praia/hero.webp'); }
  .pacote-hero__grid { grid-template-columns: 1.25fr 0.75fr; gap: 2.5rem; }
}
.pacote-arte { width: 100%; max-width: 380px; height: auto; border-radius: var(--raio); box-shadow: var(--sombra-lg); border: 1px solid rgb(255 255 255 / 0.16); justify-self: center; }
.pacote-preco { font-size: 1.25rem; font-weight: 800; color: var(--cor-marca-hover); margin: 0; }
.pacote-meta { font-size: .92rem; color: var(--cor-texto-suave); margin: 0; }

.pacote-dados {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  background: var(--cor-fundo-suave);
  border: 1px solid var(--cor-borda);
  border-radius: var(--raio);
  padding: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 860px) {
  .pacote-dados { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; padding: 1.25rem 1.5rem; }
}
.pacote-dado { display: flex; align-items: flex-start; gap: .75rem; }
.pacote-dado__icone {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cor-marca-suave);
  color: var(--cor-marca-hover);
  display: grid;
  place-items: center;
}
.pacote-dado__icone svg { width: 22px; height: 22px; display: block; }
.pacote-dado__texto { display: flex; flex-direction: column; line-height: 1.35; }
.pacote-dado__rotulo { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--cor-texto-suave); }
.pacote-dado__valor { font-size: .98rem; font-weight: 700; color: var(--cor-texto); margin-top: .15rem; }

.pacote-opcoes { display: grid; gap: 1.5rem; }
@media (min-width: 760px) {
  .pacote-opcoes { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
.pacote-opcao {
  background: #fff;
  border: 1.5px solid var(--cor-borda);
  border-radius: var(--raio-lg);
  padding: 1.25rem;
  box-shadow: var(--sombra-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pacote-opcao:hover {
  border-color: var(--cor-marca);
  box-shadow: var(--sombra);
  transform: translateY(-2px);
}
@media (min-width: 640px) {
  .pacote-opcao { padding: 1.5rem; }
}
.pacote-opcao__thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--raio);
  background: var(--cor-fundo-suave);
}
.pacote-opcao__cabecalho { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.pacote-opcao__cabecalho h3 { margin: 0; font-size: 1.35rem; line-height: 1.25; color: var(--cor-escura); }
.pacote-opcao__preco-bloco { display: flex; flex-direction: column; gap: .2rem; padding: .75rem 1rem; border-radius: var(--raio-sm); background: var(--cor-fundo-suave); border-left: 4px solid var(--cor-marca); }
.pacote-opcao__preco-linha { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.pacote-opcao__preco { font-size: 1.9rem; font-weight: 800; line-height: 1.1; color: var(--cor-marca-hover); letter-spacing: -0.02em; }
.pacote-opcao__por { font-size: .92rem; font-weight: 600; color: var(--cor-texto-suave); }
.pacote-opcao__parcela { font-size: .9rem; font-weight: 600; color: var(--cor-texto); }
.pacote-opcao__inclui-titulo { margin: 0; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--cor-texto-suave); }
.pacote-opcao__inclui { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pacote-opcao__inclui li { display: flex; align-items: flex-start; gap: .55rem; font-size: .96rem; line-height: 1.45; color: var(--cor-texto); }
.pacote-opcao__check { flex: 0 0 auto; width: 20px; height: 20px; color: var(--cor-marca); margin-top: 2px; }
.pacote-opcao__cta { margin-top: auto; width: 100%; justify-content: center; background: var(--cor-marca-hover); color: #fff; border-color: var(--cor-marca-hover); }
.pacote-opcao__cta:hover { background: var(--cor-escura); border-color: var(--cor-escura); color: #fff; }

@media (max-width: 639px) {
  .hero--pacote .acoes .botao, #reservar .acoes .botao { width: 100%; }
}

/* ---------- Banner de consentimento (LGPD) ---------- */

.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; background: #fff; color: var(--cor-texto); border-top: 2px solid var(--cor-marca); box-shadow: 0 -8px 30px rgb(15 23 42 / 0.18); padding: 1rem 0; }
.consent-banner[hidden] { display: none; }
.consent-banner__inner { display: grid; gap: .85rem; }
.consent-banner__texto { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--cor-texto); }
.consent-banner__texto a { color: var(--cor-marca-hover); font-weight: 600; }
.consent-banner__acoes { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.consent-banner__acoes .botao { min-height: 44px; padding: .6rem 1.15rem; font-size: .92rem; cursor: pointer; font-family: inherit; }
.consent-banner__painel { border-top: 1px solid var(--cor-borda); padding-top: .85rem; display: grid; gap: .75rem; }
.consent-banner__painel[hidden] { display: none; }
.consent-banner__opcoes { display: grid; gap: .6rem; }
@media (min-width: 720px) {
  .consent-banner__opcoes { grid-template-columns: repeat(3, 1fr); }
}
.consent-opcao { display: flex; align-items: flex-start; gap: .55rem; padding: .65rem .8rem; border: 1px solid var(--cor-borda); border-radius: var(--raio-sm); background: var(--cor-fundo-suave); font-size: .88rem; cursor: pointer; }
.consent-opcao input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--cor-marca); flex-shrink: 0; }
.consent-opcao strong { display: block; color: var(--cor-escura); font-size: .9rem; }
.consent-opcao span { display: block; color: var(--cor-texto-suave); line-height: 1.4; }
@media (max-width: 639px) {
  .consent-banner__acoes .botao { flex: 1 1 calc(50% - .3rem); }
  .consent-banner__acoes .botao--contorno { flex-basis: 100%; }
}
