/* ABV Ambulâncias · Exemplo 2 "Clara e acolhedora"
   Fundo claro, cartões grandes, letra Atkinson Hyperlegible (feita para quem vê mal),
   azul-marinho do logótipo + vermelho das viaturas. Botões com 64px de altura. */

:root {
  --navy: #0a3d7a;
  --navy-d: #072b57;
  --navy-l: #1f5fa8;
  --red: #d62631;
  --red-d: #b01d27;
  --green: #138a4b;
  --bg: #f5f7fb;
  --tint: #eaf1fb;
  --tint-2: #dce8f7;
  --rose: #fdeced;
  --ink: #142238;
  --muted: #4a5a74;
  --line: #d5e0ee;

  --head: "Figtree", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --script: "Dancing Script", cursive;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --wrap: 1180px;
  --pad: clamp(56px, 8vw, 104px);
  --tap: 64px;
  --bar: 84px;
  --shadow-s: 0 1px 2px rgba(10,61,122,.06), 0 6px 18px -10px rgba(10,61,122,.25);
  --shadow: 0 2px 6px rgba(10,61,122,.06), 0 24px 48px -24px rgba(10,61,122,.35);
}

html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
html.is-big { font-size: 127%; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.015em; color: var(--navy-d); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 4px solid #ffb300; outline-offset: 3px; border-radius: 10px; }
.lucide { width: 1.2em; height: 1.2em; stroke-width: 2.2; flex-shrink: 0; }
.flag { width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); flex-shrink: 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 12px; z-index: 100; font-weight: 700; }
.skip:focus { transform: translate(-50%, 0); }
.script { font-family: var(--script); font-weight: 700; color: var(--red); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; }
.redline { height: 8px; background: linear-gradient(90deg, var(--red) 0 50%, var(--navy) 50%); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--tap); padding: .7em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 800; font-size: 1.08rem; line-height: 1.2; cursor: pointer; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn .lucide { width: 1.4em; height: 1.4em; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(214,38,49,.7); }
.btn--red:hover { background: var(--red-d); }
.btn--white { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--white:hover { border-color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; }

/* ---------- Faixa de cima ---------- */
.topbar { background: var(--navy-d); color: #fff; font-size: .9rem; font-weight: 700; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 12px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.topbar__item .lucide { color: #ff8a90; }

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(10,61,122,.5); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand__badge { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--head); font-weight: 900; font-size: 1.6rem; letter-spacing: .02em; }
.brand__text span { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.brand--light { color: #fff; }
.brand--light .brand__text span { color: #ff9aa0; }

.header__tools { display: flex; gap: 8px; align-items: center; }
.fontbtn, .burger {
  display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: .92rem; cursor: pointer;
}
.fontbtn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.burger { background: var(--navy); border-color: var(--navy); color: #fff; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }

.nav {
  position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 60; display: flex; flex-direction: column; gap: 6px;
  padding: 100px 18px 30px; background: #fff; box-shadow: -20px 0 60px rgba(7,43,87,.25);
  transform: translateX(105%); transition: transform .3s ease; overflow-y: auto;
}
.nav.is-open { transform: none; }
.nav a {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 18px; border-radius: 16px;
  color: var(--navy-d); font-weight: 700; font-size: 1.1rem; text-decoration: none; background: var(--bg);
}
.nav a .lucide { color: var(--red); width: 26px; height: 26px; }
.nav a.is-active { background: var(--tint); }
.nav a.nav__cta { background: var(--red); color: #fff; margin-top: 8px; justify-content: center; }
.nav a.nav__cta .lucide { color: #fff; }
body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(7,43,87,.45); }
.header__tools { position: relative; z-index: 61; }

@media (min-width: 1100px) {
  .burger { display: none; }
  .nav { position: static; width: auto; flex-direction: row; align-items: center; gap: 2px; padding: 0; background: none; box-shadow: none; transform: none; overflow: visible; }
  .nav a { min-height: 48px; padding: 0 12px; font-size: .92rem; background: none; gap: 7px; white-space: nowrap; }
  .nav a .lucide { width: 20px; height: 20px; }
  .nav a:hover { background: var(--bg); }
  .nav a.is-active { background: var(--tint); }
  .nav a.nav__cta { margin: 0 0 0 8px; padding: 0 18px; border-radius: 999px; }
  .header__tools { order: 3; }
}

/* ---------- Topo ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); background:
  radial-gradient(600px 400px at 100% 0%, var(--tint) , transparent 70%),
  radial-gradient(500px 300px at 0% 100%, var(--rose), transparent 70%), #fff; }
.hero__grid { display: grid; gap: 30px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: #e8f6ee; color: #0d6b3a; font-weight: 700; font-size: .92rem;
}
.live { width: 12px; height: 12px; border-radius: 50%; background: #18b45b; box-shadow: 0 0 0 0 rgba(24,180,91,.6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(24,180,91,0); } 100% { box-shadow: 0 0 0 0 rgba(24,180,91,0); } }
.hero__title { margin-top: 18px; font-size: clamp(2.5rem, 8vw, 4.4rem); font-weight: 900; line-height: 1.02; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--red); display: inline-block; position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .14em; border-radius: 99px; background: var(--red); opacity: .18; }
.hero__lead { margin-top: 18px; font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 36em; }
.hero__actions { display: grid; gap: 12px; margin-top: 26px; }
.hero__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero__trust { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__trust span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255,255,255,.95); color: var(--navy-d); font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-s);
}
.hero__trust .lucide { color: var(--green); }
@media (min-width: 560px) { .hero__actions { grid-template-columns: auto auto; justify-content: start; } }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .hero__photo { aspect-ratio: 4 / 4.6; }
}

/* ---------- Ambulância interativa ---------- */
.tour { padding: 0 0 var(--pad); background: #fff; }
.tour__panel {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 24px 18px;
  background: linear-gradient(160deg, var(--tint) 0%, #f7fbff 60%, #fff 100%); border: 1px solid var(--line);
}
.amb { display: grid; gap: 14px; grid-template-areas: "hint" "van" "ctrls" "card"; }
.amb__hint { grid-area: hint; display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; }
.amb__hint .lucide { color: var(--red); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.van3d { grid-area: van; position: relative; margin-right: -18px; margin-left: 6%; }
.van3d__tilt, .van3d__move { position: relative; }
.van3d__move { transition: transform 1.3s cubic-bezier(.2,.8,.2,1); }
.van3d img { position: relative; z-index: 1; width: 100%; height: auto; user-select: none; pointer-events: none; filter: drop-shadow(0 20px 20px rgba(7,43,87,.25)); }
.van3d__shadow { position: absolute; z-index: 0; left: -6%; right: -4%; bottom: -3%; height: 14%; background: radial-gradient(closest-side, rgba(7,30,60,.45), transparent); }
.van3d__road { display: none; }
.speed { position: absolute; inset: 10% 0 30% -30%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.speed i { position: absolute; left: 0; height: 4px; width: 34%; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--navy-l)); }
.speed i:nth-child(1) { top: 10%; } .speed i:nth-child(2) { top: 34%; width: 24%; } .speed i:nth-child(3) { top: 58%; } .speed i:nth-child(4) { top: 80%; width: 20%; }
.amb.is-driving .speed { opacity: .7; }
.amb.is-driving .speed i { animation: streak .5s linear infinite; }
.speed i:nth-child(2n) { animation-delay: .22s !important; }
@keyframes streak { from { transform: translateX(-40%); } to { transform: translateX(160%); } }
.amb.is-driving .van3d__move { animation: drive .35s ease-in-out infinite; }
@keyframes drive { 50% { transform: translateY(-1.2%); } }

.vlight { position: absolute; z-index: 2; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%); mix-blend-mode: screen; }
.vlight--head { width: 26%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,250,215,1), rgba(255,240,170,.55) 40%, rgba(255,240,170,0)); }
.vlight--h1 { left: 8%; top: 56%; } .vlight--h2 { left: 67%; top: 55%; }
.vlight--fog { width: 12%; aspect-ratio: 1; background: radial-gradient(closest-side, #fffbe0, rgba(255,250,220,0)); }
.vlight--f1 { left: 3%; top: 72%; } .vlight--f2 { left: 66%; top: 74%; }
.vlight--r, .vlight--b { width: 60%; aspect-ratio: 1; top: 2%; mix-blend-mode: multiply; }
.vlight--r { left: 38%; background: radial-gradient(closest-side, rgba(255,40,40,.75), rgba(255,40,40,0)); }
.vlight--b { left: 78%; background: radial-gradient(closest-side, rgba(40,100,255,.75), rgba(40,100,255,0)); }
.amb.lights-on .vlight--head, .amb.lights-on .vlight--fog { opacity: 1; transition: opacity .25s; }
.amb.lights-on .vlight--r { animation: strobe .6s steps(1) infinite; }
.amb.lights-on .vlight--b { animation: strobe .6s steps(1) .3s infinite; }
@keyframes strobe { 0% { opacity: 1; } 50% { opacity: 0; } }

.hs {
  position: absolute; z-index: 3; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 4px solid #fff; border-radius: 50%;
  background: var(--red); color: #fff; font: 900 1.1rem/1 var(--head); cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.hs::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--red); z-index: -1; animation: ping 1.8s ease-out infinite; }
.hs.is-on, .hs.is-on::before { background: var(--navy); }
@keyframes ping { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(2); opacity: 0; } }
.hs--1 { left: 9%; top: 56%; } .hs--2 { left: 40%; top: 25%; } .hs--3 { left: 76%; top: 28%; } .hs--4 { left: 83%; top: 83%; }

.amb__ctrls { grid-area: ctrls; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actl {
  display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 14px; border-radius: 18px; cursor: pointer;
  background: #fff; border: 2px solid var(--line); color: var(--navy-d); font-weight: 700; font-size: 1rem; text-align: left; line-height: 1.15;
}
.actl .lucide { width: 28px; height: 28px; color: var(--red); }
.actl[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.actl[aria-pressed="true"] .lucide { color: #fff; }
.amb__card { grid-area: card; display: grid; padding: 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.amb__state { grid-area: 1 / 1; display: flex; gap: 14px; align-items: flex-start; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.amb__state.is-on { visibility: visible; opacity: 1; }
.amb__state > div { flex: 1; min-width: 0; }
.amb__card .ic { flex-shrink: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--rose); color: var(--red); }
.amb__card .ic .lucide { width: 28px; height: 28px; }
.amb__card h2 { font-size: 1.3rem; }
.amb__card p { margin-top: 4px; color: var(--muted); }
.amb__card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; color: var(--red); }
.amb__thumb { flex-shrink: 0; width: 88px; height: 88px; border-radius: 14px; object-fit: cover; }
@media (min-width: 960px) {
  .tour__panel { padding: 44px 0 44px 48px; }
  .amb { grid-template-columns: .85fr 1.15fr; grid-template-areas: "hint van" "ctrls van" "card van"; gap: 16px 40px; align-content: center; }
  .amb__hint { align-self: end; font-size: 1.05rem; }
  .amb__card { align-self: start; }
  .van3d { margin: 0; align-self: center; }
}

/* ---------- Atalhos ---------- */
.quick { padding: var(--pad) 0 0; background: var(--bg); }
.quick__title { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; margin-bottom: 18px; }
.quick__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qtile {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; min-height: 170px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); color: var(--navy-d); text-decoration: none; box-shadow: var(--shadow-s);
  transition: transform .2s, box-shadow .2s;
}
.qtile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.qtile__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--tint); color: var(--navy); margin-bottom: auto; }
.qtile__ic .lucide { width: 32px; height: 32px; }
.qtile strong { font-family: var(--head); font-size: 1.2rem; font-weight: 800; line-height: 1.15; margin-top: 12px; }
.qtile span:not(.qtile__ic):not(.flags) { color: var(--muted); font-size: .95rem; line-height: 1.3; }
.qtile--red { background: var(--red); border-color: var(--red); color: #fff; }
.qtile--red .qtile__ic { background: rgba(255,255,255,.18); color: #fff; }
.qtile--red span:not(.qtile__ic) { color: #ffe3e5 !important; }
.qtile--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.qtile--navy .qtile__ic { background: rgba(255,255,255,.15); color: #fff; }
.qtile--navy span:not(.qtile__ic) { color: #d6e3f5 !important; }
.flags { display: flex; gap: 6px; }
@media (min-width: 900px) { .quick__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } .qtile { min-height: 200px; padding: 24px; } .qtile strong { font-size: 1.3rem; } }

.pillars { padding: 16px 0 0; background: var(--bg); }
.pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px; border-radius: var(--r-md); background: transparent; border: 2px dashed var(--line); }
.pillar .lucide { grid-row: span 2; width: 34px; height: 34px; color: var(--red); }
.pillar strong { font-family: var(--head); color: var(--navy-d); font-size: 1.08rem; }
.pillar span { color: var(--muted); font-size: .9rem; line-height: 1.3; }
@media (min-width: 900px) { .pillars__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* ---------- Secções ---------- */
.section { padding: var(--pad) 0; background: #fff; }
.section--sky { background: var(--bg); }
.section--navy { background: var(--navy); color: #fff; }
.head { max-width: 760px; margin-bottom: 30px; }
.head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
  background: var(--rose); color: var(--red-d); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
}
.h2 { font-size: clamp(2rem, 5.4vw, 3rem); font-weight: 900; text-wrap: balance; }
.h2--light { color: #fff; }
.lead { margin-top: 12px; font-size: 1.12rem; color: var(--muted); }
.lead--light { color: #d6e3f5; }

/* Números */
.numbers__grid { display: grid; gap: 30px; align-items: center; }
.numbers__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.numbers__photo img { width: 100%; height: 100%; object-fit: cover; }
.numbers__month { position: absolute; top: 14px; left: 14px; padding: 10px 16px; border-radius: 16px; background: #fff; color: var(--muted); font-size: .85rem; line-height: 1.2; box-shadow: var(--shadow-s); }
.numbers__month strong { display: block; color: var(--navy-d); font-family: var(--head); font-size: 1.15rem; }
.counters { display: grid; gap: 12px; margin-top: 22px; }
.counter { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.counter .lucide { grid-row: span 2; width: 64px; height: 64px; padding: 16px; border-radius: 18px; background: var(--tint); color: var(--navy); }
.counter strong { font-family: var(--head); font-weight: 900; font-size: clamp(2.2rem, 7vw, 2.8rem); line-height: 1; color: var(--red); }
.counter span { color: var(--muted); font-weight: 700; }
@media (min-width: 960px) { .numbers__grid { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* Serviços */
.seg { display: grid; gap: 10px; margin-bottom: 24px; }
.seg__btn {
  display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 0 20px; border-radius: 20px; cursor: pointer;
  background: var(--bg); border: 2px solid var(--line); color: var(--navy-d); font-family: var(--head); font-weight: 800; font-size: 1.1rem; text-align: left;
}
.seg__btn .lucide { width: 28px; height: 28px; color: var(--red); }
.seg__n { margin-left: auto; display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 999px; background: #fff; color: var(--navy); font-size: .95rem; }
.seg__btn[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg__btn[aria-selected="true"] .lucide { color: #fff; }
.seg__btn[aria-selected="true"] .seg__n { background: var(--red); color: #fff; }
@media (min-width: 900px) { .seg { grid-template-columns: repeat(3, 1fr); } }
.svc-grid { display: grid; gap: 12px; }
.svc { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.svc > .lucide { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: #fff; color: var(--red); box-shadow: var(--shadow-s); }
.svc h3 { font-size: 1.2rem; }
.svc p { margin-top: 4px; color: var(--muted); }
@media (min-width: 700px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* Como funciona: linha do tempo */
.section--navy { background: radial-gradient(800px 400px at 90% 0%, rgba(31,95,168,.8), transparent 70%), var(--navy); }
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; padding: 22px 20px 22px 92px; border-radius: var(--r-lg); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.step__n { position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--red); font-family: var(--head); font-weight: 900; font-size: 1.6rem; }
.step h3 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.3rem; }
.step h3 .lucide { color: #ff9aa0; }
.step p { margin-top: 6px; color: #d6e3f5; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .steps::before { content: ""; position: absolute; }
  .step { padding: 92px 22px 24px; }
  .step__n { top: 22px; }
}

/* Quem somos */
.about__grid { display: grid; gap: 34px; align-items: center; }
.about__photo { position: relative; }
.about__photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.about__photo figcaption { position: absolute; right: 14px; bottom: 14px; padding: 12px 18px; border-radius: 16px; background: var(--red); color: #fff; font-family: var(--head); font-weight: 800; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.values li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--tint); color: var(--navy-d); font-weight: 700; }
.values .lucide { color: var(--red); }
.mvv { display: grid; gap: 12px; margin-top: 20px; }
.mvv__card { display: flex; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 2px solid var(--line); }
.mvv__card > .lucide { width: 34px; height: 34px; color: var(--red); }
.mvv__card h3 { font-size: 1.2rem; }
.mvv__card p { color: var(--muted); margin-top: 4px; }
@media (min-width: 960px) { .about__grid { grid-template-columns: .85fr 1.15fr; gap: 60px; } .mvv { grid-template-columns: 1fr 1fr; } }

/* Faixa internacional */
.intl-band { background: linear-gradient(120deg, var(--navy-d), var(--navy) 60%, var(--navy-l)); }
.intl-band__grid { display: grid; gap: 30px; align-items: center; }
.intl-band .kicker { background: rgba(255,255,255,.14); color: #fff; }
.intl-band .btn { margin-top: 24px; }
.intl-band__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-xl); border: 6px solid rgba(255,255,255,.9); }
.dest-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dest-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--navy-d); font-weight: 700; }
@media (min-width: 960px) { .intl-band__grid { grid-template-columns: 1.2fr .8fr; gap: 60px; } }

/* Frota */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.shot { position: relative; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; scroll-snap-align: start; background: var(--tint); aspect-ratio: 3 / 4; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.04); }
.shot span { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.95); color: var(--navy-d); font-weight: 700; text-align: left; }
.shot span .lucide { color: var(--red); }
.gallery__hint { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-weight: 700; }
@media (min-width: 900px) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } .gallery__hint { display: none; } }

/* Acordos */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--navy-d); font-weight: 700; }
.chips .lucide { color: var(--red); }

/* Testemunhos */
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; padding: 28px 24px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.review img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 4px solid var(--tint); }
.review__stars { display: flex; gap: 2px; margin-top: 14px; color: #f2a900; }
.review__stars .lucide { fill: currentColor; width: 22px; height: 22px; }
.review blockquote { margin: 12px 0 0; font-size: 1.15rem; line-height: 1.55; color: var(--ink); flex: 1; }
.review figcaption { margin-top: 16px; display: flex; flex-direction: column; }
.review figcaption strong { font-family: var(--head); color: var(--navy-d); font-size: 1.1rem; }
.review figcaption span { color: var(--muted); }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.slider__arrow { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.dots { display: flex; gap: 8px; }
.dots button { width: 14px; height: 14px; padding: 0; border-radius: 99px; border: 0; background: var(--line); cursor: pointer; transition: width .2s; }
.dots button[aria-current="true"] { width: 34px; background: var(--red); }
@media (min-width: 900px) { .slider__track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } .slider__nav { display: none; } }

/* Perguntas */
.faq__list { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: var(--r-lg); background: var(--bg); border: 2px solid var(--line); overflow: hidden; }
.section--sky.faq details { background: #fff; }
.faq details[open] { border-color: var(--navy); }
.faq summary { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 20px; cursor: pointer; list-style: none; font-family: var(--head); font-weight: 800; font-size: 1.15rem; color: var(--navy-d); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { width: 30px; height: 30px; color: var(--red); }
.faq summary .tog { margin-left: auto; width: 36px; height: 36px; padding: 6px; border-radius: 50%; background: var(--navy); color: #fff; transition: transform .25s; }
.faq details[open] .tog { transform: rotate(45deg); background: var(--red); }
.faq details p { padding: 0 20px 20px 64px; color: var(--muted); font-size: 1.08rem; }

/* Formulário */
.form { padding: clamp(20px, 4vw, 40px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 980px; }
.form__grid { display: grid; gap: 18px; }
.form label > span, .fieldset legend { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; color: var(--navy-d); font-size: 1.05rem; }
.form label > span .lucide, .fieldset legend .lucide { color: var(--red); }
.form input:not([type="radio"]):not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-height: 62px; padding: 12px 18px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); font-size: 1.08rem;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(10,61,122,.15); }
.form .is-invalid { border-color: var(--red) !important; background: var(--rose) !important; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radios--3 { grid-template-columns: 1fr; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 8px 14px; margin: 0 !important; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); font-weight: 700; color: var(--navy-d); text-align: center; }
.radio input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.radio input:checked + span .lucide { color: #fff; }
.radio input:focus-visible + span { outline: 4px solid #ffb300; outline-offset: 2px; }
.form__msg { margin: 16px 0; font-weight: 700; color: var(--red); min-height: 1em; }
.form__msg.is-ok { color: var(--green); }
@media (min-width: 560px) { .radios--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__full { grid-column: 1 / -1; } }

/* Contactos */
.contact { padding: var(--pad) 0; background: var(--tint); }
.contact .h2--light { color: var(--navy-d); }
.contact__grid { display: grid; gap: 30px; }
.contact__cards { display: grid; gap: 10px; margin-top: 22px; }
.ccard { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: var(--r-lg); background: #fff; color: var(--navy-d); text-decoration: none; border: 1px solid var(--line); }
a.ccard:hover { border-color: var(--navy); }
.ccard .lucide { grid-row: span 2; width: 56px; height: 56px; padding: 14px; border-radius: 16px; background: var(--rose); color: var(--red); }
.ccard span { color: var(--muted); font-size: .92rem; }
.ccard strong { font-family: var(--head); font-size: 1.2rem; word-break: break-word; }
.contact__map { border-radius: var(--r-xl); overflow: hidden; min-height: 340px; border: 6px solid #fff; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
@media (min-width: 700px) { .contact__cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: stretch; } }

/* Rodapé */
.footer { padding: 40px 0; background: var(--navy-d); color: #fff; }
.footer__in { display: grid; gap: 20px; justify-items: start; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__nav a { color: #d6e3f5; font-weight: 700; text-decoration: none; padding: 6px 0; }
.footer__nav a:hover { color: #fff; }
.footer__copy { color: #9fb3d1; font-size: .9rem; }

/* Barra de baixo (telemóvel) */
.bottombar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 24px;
  background: #fff; box-shadow: 0 10px 40px -10px rgba(7,43,87,.5); border: 1px solid var(--line);
}
body { padding-bottom: calc(var(--bar) + 16px + env(safe-area-inset-bottom)); }
.bottombar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; border-radius: 18px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--navy-d); }
.bottombar .lucide { width: 26px; height: 26px; }
.bottombar__call { background: var(--red); color: #fff !important; }
.bottombar__wa .lucide { color: #1a9e4e; }
.bottombar__book .lucide { color: var(--navy); }
@media (min-width: 1100px) { .bottombar { display: none; } body { padding-bottom: 0; } }

/* Foto ampliada */
.lightbox { width: min(96vw, 900px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--r-lg); background: #000; overflow: hidden; }
.lightbox::backdrop { background: rgba(7,20,40,.85); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox__cap { padding: 14px 18px; color: #fff; font-weight: 700; background: var(--navy-d); }
.lightbox__close { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 0; background: #fff; color: var(--navy-d); font-weight: 700; cursor: pointer; }

/* Aparecer */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Página Internacional
   ========================================================= */
.ihero { padding: clamp(28px, 5vw, 64px) 0; background: radial-gradient(600px 400px at 100% 0%, var(--tint), transparent 70%), radial-gradient(500px 300px at 0% 100%, var(--rose), transparent 70%), #fff; }
.ihero__grid { display: grid; gap: 28px; align-items: center; }
.ihero h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 900; line-height: 1.04; text-wrap: balance; }
.ihero h1 em { font-style: normal; color: var(--red); }
.ihero .lead { font-size: 1.15rem; }
.ihero .dest-chip { background: var(--bg); border: 1px solid var(--line); }
.ihero .btn--ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.ihero__actions { display: grid; gap: 12px; margin-top: 24px; }
.ihero__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.6; box-shadow: var(--shadow); }
.ihero__photo img { width: 100%; height: 100%; object-fit: cover; }
.ihero__photo figcaption { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--navy-d); font-weight: 700; }
.ihero__photo figcaption .lucide { color: var(--red); }
.crumb { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-bottom: 12px; padding: 0 16px; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 700; text-decoration: none; }
@media (min-width: 560px) { .ihero__actions { grid-template-columns: auto auto; justify-content: start; } }
@media (min-width: 960px) { .ihero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

.planner { display: grid; gap: 18px; }
.planner__pick { padding: 22px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.pick__label { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--navy-d); }
.pick__label:first-child { margin-top: 0; }
.pick__label .lucide { color: var(--red); }
.pick__hint { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.origins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.origin { min-height: 54px; padding: 6px; border-radius: 14px; cursor: pointer; border: 2px solid var(--line); background: var(--bg); color: var(--navy-d); font-weight: 700; font-size: .95rem; line-height: 1.1; }
.origin[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.countries { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.country { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 76px; border-radius: 20px; border: 3px solid var(--line); background: var(--bg); cursor: pointer; font-family: var(--head); font-weight: 900; font-size: 1.25rem; color: var(--navy-d); }
.country .flag { width: 44px; height: 30px; }
.country[aria-selected="true"] { border-color: var(--navy); background: var(--tint); }
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.city { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 8px 12px; border-radius: 14px; cursor: pointer; border: 2px solid var(--line); background: var(--bg); color: var(--navy-d); font-weight: 700; text-align: left; line-height: 1.15; }
.city .lucide { color: var(--red); }
.city[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.city[aria-pressed="true"] .lucide { color: #fff; }
.map { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #d7e7f7; border: 6px solid #fff; box-shadow: var(--shadow); }
.map svg { width: 100%; height: auto; }
.map .land { fill: #fff; stroke: #a8bbd4; stroke-width: 2.5; stroke-linejoin: round; transition: fill .4s; }
.map .land--pt { fill: #e9f0fb; }
.map .land.is-on { fill: #fdeced; }
.map .clabel { font: 900 40px var(--head); fill: #a8bbd4; letter-spacing: .12em; text-anchor: middle; }
.map .route-bg { fill: none; stroke: rgba(10,61,122,.15); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.map .route { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 16; }
.map .dot { fill: #fff; stroke: var(--navy); stroke-width: 5; cursor: pointer; }
.map .dot.is-on { fill: var(--red); stroke: #fff; stroke-width: 6; }
.map .dot--home { fill: var(--navy); stroke: #fff; stroke-width: 6; }
.map .mlabel { font: 800 36px var(--body); fill: var(--navy-d); paint-order: stroke; stroke: #fff; stroke-width: 9px; stroke-linejoin: round; pointer-events: none; }
.map .mlabel--on { font-size: 46px; font-weight: 900; fill: var(--red); }
.map__legend { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.95); font-size: .82rem; font-weight: 700; color: var(--navy-d); }
.map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.map__legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.trip { padding: 22px; border-radius: var(--r-xl); background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.trip__top { display: flex; align-items: center; gap: 12px; }
.trip__top .flag { width: 42px; height: 28px; }
.trip h3 { color: #fff; font-size: 1.6rem; }
.trip__from { color: #c9d8ee; font-weight: 700; }
.trip__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.stat { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.1); }
.stat .lucide { color: #ff9aa0; width: 28px; height: 28px; }
.stat strong { display: block; margin-top: 6px; font-family: var(--head); font-size: clamp(1.3rem, 6vw, 1.7rem); font-weight: 900; line-height: 1; white-space: nowrap; }
.stat span { color: #c9d8ee; font-size: .88rem; }
.trip__note { margin-top: 14px; color: #e9f0fb; }
.trip__small { margin-top: 10px; color: #a9bbd8; font-size: .85rem; }
.trip .btn { margin-top: 16px; }
@media (min-width: 960px) {
  .planner { grid-template-columns: 1.05fr .95fr; grid-template-areas: "pick map" "trip map"; align-items: start; gap: 22px 34px; }
  .planner__pick { grid-area: pick; } .map { grid-area: map; position: sticky; top: 110px; } .trip { grid-area: trip; }
  .cities { grid-template-columns: repeat(3, 1fr); } .origins { grid-template-columns: repeat(4, 1fr); }
}

.icards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.icard { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.icard .lucide { width: 54px; height: 54px; padding: 13px; border-radius: 50%; background: #fff; color: var(--red); box-shadow: var(--shadow-s); }
.icard h3 { font-size: 1.1rem; }
.icard p { color: var(--muted); font-size: .95rem; line-height: 1.4; }
@media (min-width: 900px) { .icards { grid-template-columns: repeat(4, 1fr); gap: 16px; } .icard { padding: 22px; } }

.cases { display: grid; gap: 12px; }
.case { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.case img { width: 100px; height: 100px; border-radius: 18px; object-fit: cover; }
.case h3 { font-size: 1.15rem; }
.case p { margin-top: 4px; color: var(--muted); font-size: .96rem; line-height: 1.4; }
.case__flags { display: flex; gap: 4px; margin-bottom: 6px; }
.case__flags .flag { width: 26px; height: 17px; }
@media (min-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }

.docs { display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border-radius: var(--r-lg); background: var(--bg); border: 2px solid var(--line); cursor: pointer; font-weight: 700; color: var(--navy-d); }
.doc input { width: 32px; height: 32px; accent-color: var(--green); flex-shrink: 0; cursor: pointer; }
.doc .lucide { color: var(--red); width: 30px; height: 30px; }
.doc small { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
.doc:has(input:checked) { border-color: var(--green); background: #eefaf3; }
.docs__done { margin-top: 14px; font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
@media (min-width: 900px) { .docs { grid-template-columns: 1fr 1fr; } }

/* cabeçalho: logótipo nunca encolhe */
.brand { flex-shrink: 0; }
@media (min-width: 1100px) and (max-width: 1320px) { .nav a { padding: 0 8px; font-size: .84rem; } .nav a .lucide { display: none; } .nav a.nav__cta .lucide { display: block; } .fontbtn { padding: 0 10px; } }
/* telemóvel pequeno: cabeçalho cabe sem rolar para o lado */
@media (max-width: 459px) {
  .header__in { gap: 6px; }
  .brand { gap: 8px; }
  .brand__badge { width: 46px; height: 46px; }
  .brand__text strong { font-size: 1.3rem; }
  .brand__text span { font-size: .62rem; letter-spacing: .08em; }
  .header__tools { gap: 6px; }
  .fontbtn, .burger { padding: 0 10px; min-height: 50px; font-size: .85rem; }
}
