/* =========================================================
   SDH Gestão de Saúde: site institucional
   Paleta tirada do logotipo oficial (petróleo + gradiente teal/azul)
   ========================================================= */
:root {
  --abyss: #012A33;
  --petrol: #023D4A;
  --petrol-2: #0A4E5C;
  --teal: #00A99D;
  --blue: #00A5C3;
  --grad: linear-gradient(135deg, #00A99D 0%, #00A5C3 100%);
  --mist: #EEF5F6;
  --line: #D6E4E7;
  --ink: #0E2A31;
  --muted: #4E6A70;
  --red: #E0313B;
  --white: #FFFFFF;

  --f-display: "Sora Variable", "Sora", system-ui, sans-serif;
  --f-body: "Nunito Sans Variable", "Nunito Sans", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 12px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; font-weight: 700; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 650; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--petrol); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-body); font-weight: 800; font-size: 1rem;
  padding: .95em 1.5em; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn i { font-size: 1.25em; }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 30px -10px rgba(0,169,157,.7); }
.btn--primary:hover { background: #009489; transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.08); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.16); }
.btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); padding: .7em 1.2em; font-size: .95rem; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; }

/* ---------- Faixa de campanha ---------- */
.campaign { background: var(--red); color: var(--white); font-size: .92rem; position: relative; z-index: 60; }
.campaign__inner { display: flex; align-items: center; gap: 12px; padding-block: 9px; }
.campaign__inner p { flex: 1; }
.campaign__ribbon {
  width: 10px; height: 16px; flex: none; position: relative;
  border: 3px solid var(--white); border-radius: 50% 50% 0 0; border-bottom: 0;
}
.campaign__ribbon::before, .campaign__ribbon::after {
  content: ""; position: absolute; top: 9px; width: 3px; height: 10px; background: var(--white); border-radius: 2px;
}
.campaign__ribbon::before { left: -2px; transform: rotate(22deg); }
.campaign__ribbon::after { right: -2px; transform: rotate(-22deg); }
.campaign__close {
  background: transparent; border: 0; color: inherit; cursor: pointer; font-size: 1.1rem;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
}
.campaign__close:hover { background: rgba(255,255,255,.18); }
.campaign.is-hidden { display: none; }

/* ---------- Navegação ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: var(--abyss);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: block; position: relative; height: 46px; aspect-ratio: 580 / 227; }
.nav__brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease; }
.logo-on-light { opacity: 0; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a:not(.btn) {
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 700; font-size: .98rem;
  padding-block: 6px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav__links > a:not(.btn):hover { color: var(--white); border-color: var(--teal); }

.nav.is-solid { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .logo-on-dark { opacity: 0; }
.nav.is-solid .logo-on-light { opacity: 1; }
.nav.is-solid .nav__links > a:not(.btn) { color: var(--muted); }
.nav.is-solid .nav__links > a:not(.btn):hover { color: var(--petrol); }
.nav.is-solid .btn--ghost { color: var(--petrol); box-shadow: inset 0 0 0 1.5px var(--petrol); }
.nav.is-solid .btn--ghost:hover { background: var(--petrol); color: var(--white); }

/* Botão hambúrguer (3 linhas que viram X) */
.nav__toggle {
  display: none; position: relative; width: 52px; height: 44px; margin-left: auto;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
}
.nav__toggle .line { display: block; width: 60%; height: 3px; border-radius: 3px; background: var(--white); transition: .5s; }
.nav__toggle .line:first-child { margin-bottom: 8px; }
.nav__toggle .line:last-child { margin-top: 8px; }
.nav__toggle[aria-expanded="true"] .line:first-child { rotate: 45deg; margin-bottom: 0; position: absolute; }
.nav__toggle[aria-expanded="true"] .line:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .line:last-child { rotate: -45deg; margin-top: 0; position: absolute; }

/* Gaveta do menu mobile */
.drawer { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(0,165,195,.22), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(0,169,157,.18), transparent 70%),
    var(--abyss);
  color: var(--white);
  padding-top: clamp(48px, 8vw, 96px);
}
.hero__mark {
  position: absolute; z-index: -1;
  right: max(-110px, -7vw); top: 36px;
  width: min(48vw, 620px); height: auto;
  opacity: .95;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.35));
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; min-height: 520px; }

.verbs {
  display: flex; flex-direction: column;
  font-size: clamp(3.4rem, 10.5vw, 8.6rem); line-height: .9; font-weight: 750; letter-spacing: -0.055em;
  margin-bottom: 32px;
}
.verb { color: rgba(255,255,255,.14); transition: color .6s ease; }
.verb.is-on { color: var(--white); }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__live { position: relative; height: 100%; min-height: 440px; }
.pulse {
  position: absolute; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.96); color: var(--ink);
  padding: 14px 20px 14px 14px; border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.55);
  font-size: .92rem; line-height: 1.3; max-width: 400px;
  opacity: 0; transform: translateY(16px);
  animation: chipIn .7s cubic-bezier(.2,.8,.2,1) forwards;
}
.pulse i {
  flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.35rem; color: var(--white); background: var(--petrol);
}
.pulse b { display: block; white-space: nowrap; font-family: var(--f-display); font-weight: 650; font-size: .98rem; }
.pulse span { color: var(--muted); }
.pulse--a { top: 10%; left: 0; animation-delay: .5s; }
.pulse--b { top: 42%; right: 0; animation-delay: .8s; }
.pulse--a i { background: var(--petrol-2); }
.pulse--b i { background: var(--teal); }
.pulse--c i { background: var(--blue); }
.pulse--c { bottom: 6%; left: 8%; animation-delay: 1.1s; }

@keyframes chipIn { to { opacity: 1; transform: none; } }

.figures {
  margin: clamp(40px, 6vw, 72px) 0 0; padding: 30px 0 38px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  position: relative;
}
.figures div { min-width: 0; }
.figures dt { font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.figures dd { margin: 4px 0 0; color: rgba(255,255,255,.66); font-size: .98rem; }

/* ---------- Cabeçalho de seção ---------- */
section { padding-block: clamp(72px, 10vw, 128px); }
.hero { padding-bottom: 0; }
.sec-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); }
.sec-head--dark p { color: rgba(255,255,255,.72); }

/* ---------- Como funciona (rota) ---------- */
.flow { background: var(--white); }
.route {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  position: relative; counter-reset: stop;
}
.route::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: 31px; height: 6px; border-radius: 6px;
  background: var(--grad); opacity: .9;
}
.stop { position: relative; counter-increment: stop; }
.stop__dot {
  position: relative; z-index: 1;
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 6px solid var(--teal); color: var(--petrol); font-size: 1.6rem;
  margin-bottom: 26px;
}
.stop:nth-child(2) .stop__dot { border-color: #00A7AE; }
.stop:nth-child(3) .stop__dot { border-color: #00A6B9; }
.stop:nth-child(4) .stop__dot { border-color: var(--blue); }
.stop h3::before {
  content: counter(stop); display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; margin-right: 10px; vertical-align: 2px;
  background: var(--mist); color: var(--petrol); font-size: .8rem; font-weight: 700;
}
.stop p { margin-top: 10px; color: var(--muted); }

/* ---------- Módulos (bento) ---------- */
.modules { background: var(--mist); }
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 18px;
}
.tile {
  background: var(--white); border-radius: var(--radius-m); padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile p { color: var(--muted); }
.tile__ic { font-size: 1.9rem; color: var(--teal); margin-bottom: 8px; }
.tile--sus {
  grid-column: span 2; grid-row: span 2;
  background: var(--petrol); color: var(--white); box-shadow: none; border-radius: var(--radius-l);
  padding: 36px; position: relative; overflow: hidden;
}
.tile--sus h3 { font-size: 1.9rem; }
.tile--sus > p { color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 30em; }
.tile--sus .tile__ic { color: var(--teal); font-size: 2.4rem; }
.indicators { margin-top: auto; padding-top: 24px; }
.tile--sus .indicators__title { font-weight: 800; color: var(--white); margin-bottom: 12px; }
.indicators ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.indicators li {
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  padding: 6px 12px; border-radius: 999px; font-size: .9rem; color: rgba(255,255,255,.9);
}
.tile--bpa { grid-column: span 2; background: var(--grad); color: var(--white); box-shadow: none; }
.tile--bpa p { color: rgba(255,255,255,.9); }
.tile--bpa .tile__ic { color: var(--white); }
.tile--home { grid-column: span 2; }

/* ---------- Diretrizes ---------- */
.rules { background: var(--white); }
.rules__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.rules__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.rules__head p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); max-width: 28em; }
.rules__list { list-style: none; margin: 0; padding: 0; }
.rules__list li { display: flex; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); }
.rules__list li:last-child { border-bottom: 1px solid var(--line); }
.rules__list > li > i {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mist); color: var(--petrol); font-size: 1.5rem;
}
.rules__list p { color: var(--muted); margin-top: 6px; }
.rules__list a {
  display: inline-block; margin-top: 10px; font-weight: 800; color: var(--petrol);
  text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.rules__list a:hover { color: var(--teal); }

/* ---------- Apps ---------- */
.apps {
  background:
    radial-gradient(50% 50% at 0% 0%, rgba(0,169,157,.2), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(0,165,195,.18), transparent 70%),
    var(--abyss);
  color: var(--white);
}
.app-pair { display: grid; gap: clamp(56px, 8vw, 96px); }
.app { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.app:nth-child(even) { grid-template-columns: 1fr auto; }
.app:nth-child(even) .phone { order: 2; }

.phone {
  width: 280px; aspect-ratio: 280 / 536; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2a4a52, #0b1f24);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.7), inset 0 0 0 2px rgba(255,255,255,.12);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: 20px; background: #061316; z-index: 2;
}
.phone__screen { height: 100%; border-radius: 33px; overflow: hidden; background: var(--abyss); }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.app__id { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.app__id img { width: 64px; height: 64px; border-radius: 16px; background: var(--white); }
.app__id h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.app__id p { color: rgba(255,255,255,.66); }
.app__feats { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; max-width: 34em; }
.app__feats li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.08rem; color: rgba(255,255,255,.88); }
.app__feats i { flex: none; font-size: 1.35rem; color: var(--teal); margin-top: 2px; }
.app__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--abyss); text-decoration: none;
  padding: 10px 22px 10px 16px; border-radius: 14px; transition: transform .2s ease;
}
.store:hover { transform: translateY(-2px); }
.store i { font-size: 2rem; color: var(--teal); }
.store span { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; line-height: 1.1; }
.store small { display: block; font-family: var(--f-body); font-weight: 600; font-size: .78rem; color: var(--muted); }
.store--soon { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); cursor: default; }
.store--soon:hover { transform: none; }
.store--soon i { color: rgba(255,255,255,.5); }
.store--soon small { color: rgba(255,255,255,.6); }
.policy {
  color: rgba(255,255,255,.8); font-weight: 700; text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px;
}
.policy:hover { color: var(--white); text-decoration-color: var(--teal); }

/* ---------- Sobre ---------- */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__year {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.06em; line-height: 1.1; padding-top: .05em;
  font-size: clamp(6rem, 17vw, 15rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__text h2 { margin-bottom: 22px; }
.about__text p { color: var(--muted); font-size: 1.1rem; max-width: 36em; }
.about__text p + p { margin-top: 14px; }
.partner { display: flex; align-items: center; gap: 20px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.partner > span { color: var(--muted); font-weight: 700; }
.partner__logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--petrol); font-family: var(--f-display); font-size: 1.3rem; }
.partner__logo img { height: 40px; width: auto; }

/* ---------- Contato ---------- */
.contact { background: var(--mist); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__info > p { margin-top: 16px; color: var(--muted); font-size: 1.15rem; }
.channels { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.channels li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; }
.channels i {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--white); color: var(--teal); font-size: 1.4rem; box-shadow: inset 0 0 0 1px var(--line);
}
.channels a, .channels span { font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.08rem; }
.channels a:hover { color: var(--teal); }
.channels span { font-weight: 700; line-height: 1.45; }
.channels small { color: var(--muted); }
.map { border-radius: var(--radius-m); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 16 / 9; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form {
  background: var(--white); border-radius: var(--radius-l); padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 40px 80px -50px rgba(2,61,74,.45);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); width: 100%;
  padding: 13px 16px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: #FAFCFC;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,169,157,.15); background: var(--white);
}
.field [aria-invalid="true"] { border-color: var(--red); }
.form__error { color: var(--red); font-weight: 700; font-size: .95rem; }
.form__note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.form__note i { color: var(--teal); font-size: 1.1rem; margin-top: 1px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--abyss); color: rgba(255,255,255,.75); padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { width: 190px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 22em; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem;
  color: var(--white); background: rgba(255,255,255,.07); text-decoration: none; transition: background-color .2s ease;
}
.social a:hover { background: var(--teal); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 4px; }
.footer__base {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-block: 24px 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem;
}
.footer__gd img { height: 18px; width: auto; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  /* Barra do topo: vira uma "pílula" flutuante de vidro ao rolar */
  .nav, .nav.is-solid { background: transparent; backdrop-filter: none; box-shadow: none; }
  .nav__inner {
    margin-inline: auto; width: 100%;
    transition: width .4s, height .4s, margin .4s, padding .4s, border-radius .4s, background-color .4s, box-shadow .4s;
  }
  .hero { margin-top: calc(var(--nav-h) * -1); padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); }
  .nav.is-scrolled .nav__inner {
    width: 92%; height: 58px; padding-inline: 18px; border-radius: 25px;
    background: rgba(1, 42, 51, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0,0,0,.35);
  }
  .nav.is-scrolled { padding-top: 12px; }
  .nav { transition: padding .4s; }
  .nav.is-scrolled .nav__brand { height: 38px; }
  .nav.is-solid .logo-on-dark { opacity: 1; }
  .nav.is-solid .logo-on-light { opacity: 0; }

  .drawer {
    display: block; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0, 0, 0, .25);
    transform: translateX(-102%); transition: transform .5s ease, visibility .5s;
    visibility: hidden;
  }
  .drawer[hidden] { display: block; }
  .drawer.is-open { transform: translateX(0); visibility: visible; }
  .drawer__panel {
    width: 70%; max-width: 340px; height: 100%;
    background: var(--abyss); border-right: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 25px rgba(0,0,0,.35);
    display: flex; flex-direction: column; align-items: center; overflow-y: auto;
  }
  .drawer__logo { display: flex; width: 130px; margin-top: 50px; }
  .drawer__logo img { width: 100%; height: auto; object-fit: contain; }
  .drawer nav { width: 100%; flex: 1; }
  .drawer ul { list-style: none; margin: 50px 0 40px; padding: 0; display: flex; flex-direction: column; min-height: calc(100% - 90px); }
  .drawer li { width: 100%; }
  .drawer li a {
    display: flex; align-items: center; height: 48px; padding: 0 30px;
    color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.05rem; transition: color .3s;
  }
  .drawer li a:hover { color: var(--teal); }
  .drawer .drawer__cta { margin-top: auto; padding-top: 60px; }
  .drawer .drawer__cta a { padding: 0 24px; height: auto; }
  .drawer .drawer__cta span {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; border-radius: 18px; background: var(--grad); color: var(--white);
    transition: transform .3s, box-shadow .3s;
  }
  .drawer .drawer__cta span i { font-size: 1.25em; }
  .drawer .drawer__cta a:hover span { transform: scale(1.05); box-shadow: 0 10px 30px -10px rgba(0,169,157,.8); }
  body.menu-open { overflow: hidden; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--sus { grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__mark { width: 90vw; right: -38vw; top: 120px; opacity: .4; }
  .hero__live { min-height: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
  .pulse { position: static; max-width: none; }
  .pulse--b { display: none; }
  .figures { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }

  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { display: none; }
  .stop:not(:last-child)::before {
    content: ""; position: absolute; left: 31px; top: 34px; bottom: -2px; width: 6px;
    background: linear-gradient(180deg, var(--teal), var(--blue));
  }
  .stop:last-child { padding-bottom: 0; }
  .stop { display: grid; grid-template-columns: 68px 1fr; column-gap: 22px; padding-bottom: 34px; }
  .stop__dot { grid-row: span 2; margin: 0; }
  .stop h3 { align-self: end; padding-top: 10px; }

  .rules__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .rules__head { position: static; }

  .app, .app:nth-child(even) { grid-template-columns: 1fr; justify-items: center; }
  .app:nth-child(even) .phone { order: 0; }
  .app__body { width: 100%; }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile--sus, .tile--bpa, .tile--home { grid-column: auto; }
  .tile--sus { padding: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .phone { width: 250px; }
  .hero__actions .btn { width: 100%; }
  .campaign { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .pulse { opacity: 1; transform: none; }
}
