/* ==========================================================================
   LP SEDUC — CADASTRO ESCOLAR 2027
   style.css — tokens, base e componentes (mobile first)
   Breakpoints maiores ficam em responsive.css; movimento em animations.css.
   ========================================================================== */

/* ---------- 00. TOKENS (extraídos do PDF) ---------- */
:root {
  /* Cores */
  --c-blue: #0951c8;          /* títulos, textos, botão EJA */
  --c-blue-strong: #0743a8;
  --c-blue-deep: #063a96;
  --c-sky: #0498fd;           /* início do gradiente das faixas azuis */
  --c-yellow: #fee000;        /* faixa do menu, botões principais, títulos em fundo azul */
  --c-gold: #f6cc00;          /* destaque Ensino Fundamental */
  --c-orange: #fe9800;        /* "sombra" dos botões e moldura das fotos */
  --c-pink: #ed1b99;          /* destaque Educação Infantil */
  --c-pink-strong: #d0107f;
  --c-green: #1fbf8f;         /* selo dos documentos */
  --c-notice-bg: #fef8de;
  --c-notice-border: #f6e39a;
  --c-notice-text: #6c4e01;
  --c-notice-icon: #a98100;
  --c-ink: #10213f;
  --c-white: #ffffff;

  /* Cores do topo institucional (portal da Prefeitura) */
  --c-portal-blue: #0042c8;
  --c-portal-yellow: #ffc90a;
  --c-portal-yellow-text: #ffd82b;
  --c-portal-link: #1a3a8f;

  --bg-page: #f3f8fb;
  --bg-alt: #deedfa;          /* faixa da Educação Fundamental */
  --bg-locator: #e9f6fc;      /* igual ao fundo embutido na arte do mapa */

  --grad-blue: linear-gradient(115deg, var(--c-sky) 0%, #0a74e6 38%, var(--c-blue) 100%);
  --grad-blue-rev: linear-gradient(115deg, var(--c-blue) 0%, #0a74e6 60%, var(--c-sky) 100%);
  --grad-sky: linear-gradient(180deg, #1c4f92 0%, #2a6ab5 38%, #4f8fd2 70%, #7fb2e5 100%);

  /* Tipografia — Saira variável (eixo de largura imita a Allotrope expandida do PDF) */
  --ff: "Saira", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-body: clamp(1rem, .93rem + .35vw, 1.3rem);
  --fs-small: clamp(.82rem, .78rem + .2vw, .95rem);
  --fs-h1: clamp(2.6rem, 1.2rem + 6.6vw, 5.7rem);
  --fs-h2-xl: clamp(2.2rem, 1rem + 5.4vw, 5.7rem);
  --fs-h2: clamp(1.6rem, 1.05rem + 2.2vw, 2.7rem);
  --fs-h3: clamp(1rem, .9rem + .4vw, 1.25rem);

  /* Espaço */
  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --section-y: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  --container: 1200px;

  /* Forma */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(9, 38, 94, .06), 0 8px 24px -12px rgba(9, 38, 94, .18);
  --shadow-card-hover: 0 2px 4px rgba(9, 38, 94, .08), 0 18px 36px -16px rgba(9, 38, 94, .28);

  /* Movimento */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s;
  --t: .32s;

  --header-h: 72px;     /* altura da faixa que fica presa no topo (mobile: barra azul; desktop: faixa amarela) */
}

/* ---------- 01. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--fs-body);
  font-variation-settings: "wdth" 100;
  line-height: 1.35;
  color: var(--c-blue);
  background: var(--bg-page);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, figure { margin: 0; }
button { font: inherit; color: inherit; }

/* O PDF compõe todo o texto em caixa alta. O HTML guarda o texto em caixa
   normal (melhor para leitores de tela e SEO) e a caixa alta vem do CSS. */
h1, h2, h3, p, li, a, .btn, strong { text-transform: uppercase; }

:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px rgba(9, 81, 200, .55);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 1000;
  padding: .75rem 1.1rem; border-radius: var(--r-sm);
  background: var(--c-yellow); color: var(--c-blue);
  font-weight: 700; text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Títulos de seção (estilo "Allotrope Black Expanded") */
.section-title,
.stage__title,
.stages-intro__title,
.hero__title {
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  letter-spacing: -.01em;
  line-height: .98;
}
.section-title { font-size: clamp(1.55rem, 1.05rem + 2vw, 2.45rem); font-variation-settings: "wdth" 118; color: var(--c-blue); }
.section-title--yellow { color: var(--c-yellow); }

/* ---------- 02. BOTÕES ---------- */
.btn {
  --btn-bg: var(--c-yellow);
  --btn-fg: var(--c-blue);
  --btn-edge: var(--c-orange);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px;
  padding: .85em 1.6em;
  border: 0; border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 5px 0 var(--btn-edge);
  font-size: clamp(.9rem, .85rem + .2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
              background-color var(--t) var(--ease), color var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--btn-edge), 0 14px 24px -10px rgba(6, 40, 110, .45); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--btn-edge); }
.btn__icon { width: 1.15em; height: 1.15em; flex: none; transition: transform var(--t) var(--ease-out); }
.btn:hover .btn__icon, .btn:focus-visible .btn__icon { transform: translateX(4px); }

.btn--yellow { --btn-bg: var(--c-yellow); --btn-fg: var(--c-blue); --btn-edge: var(--c-orange); }
.btn--yellow:hover { --btn-bg: #ffe825; }
.btn--pink { --btn-bg: var(--c-pink); --btn-fg: #fff; --btn-edge: #e2b4cf; }
.btn--pink:hover { --btn-bg: var(--c-pink-strong); }
.btn--gold { --btn-bg: var(--c-gold); --btn-fg: var(--c-blue); --btn-edge: #efece0; }
.btn--gold:hover { --btn-bg: #ffd60a; }
.btn--blue { --btn-bg: var(--c-blue); --btn-fg: #fff; --btn-edge: #ebebeb; }
.btn--blue:hover { --btn-bg: var(--c-blue-strong); }
.btn--lg { min-height: 56px; padding: 1em 2.2em; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); }
.btn--block { width: 100%; }

/* Botões das etapas: retangulares como no PDF */
.btn--stage {
  border-radius: var(--r-sm);
  min-height: 60px;
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  font-size: clamp(.95rem, .85rem + .45vw, 1.3rem);
}

/* Botão sem URL configurada (ver CONFIG em main.js) */
/* (mantém a aparência normal; o clique mostra um aviso em vez de abrir o cadastro) */

/* ==========================================================================
   01–02. HEADER_INSTITUCIONAL + NAVIGATION_MENU
   Padrão visual do portal da Prefeitura (feiradesantana.ba.gov.br):
   faixa azul (logo + Secretaria + banner) e faixa amarela (seletor + menu).
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
}
.site-header__top { position: relative; background: var(--c-portal-blue); }
.site-header__top-inner {
  display: flex; align-items: center; gap: .75rem;
  height: var(--header-h);
}
.brand { position: relative; display: block; flex: none; text-decoration: none; }
.brand__logo { width: auto; height: 52px; }
/* filete branco que sai da borda esquerda da tela e "entra" no logo (como no portal) */
.brand__line {
  position: absolute; right: calc(100% - 2px); top: 23%;
  width: 50vw; height: 12%;
  background: #fff;
}
.brand__secretaria {
  max-width: 8.5em;
  color: var(--c-portal-yellow-text);
  font-size: .78rem; font-weight: 700;
  font-variation-settings: "wdth" 92;
  line-height: 1.08;
}
.portal-banner { display: none; }
.portal-banner img { width: 100%; height: auto; border-radius: 10px; }

/* Botão hambúrguer */
.nav-toggle {
  margin-left: auto;
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; border-radius: 12px;
  background: var(--c-portal-yellow);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 22px; height: 16px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px;
  background: var(--c-portal-blue);
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease), top var(--t) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6.75px; }
.nav-toggle__bars span:nth-child(3) { top: 13.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6.75px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6.75px; transform: rotate(-45deg); }

/* Menu — mobile: painel amarelo que desce */
.main-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-portal-yellow);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .45);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .4s var(--ease-out), visibility 0s linear .4s;
}
.main-nav.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .45s var(--ease-out), visibility 0s;
}
.main-nav__inner { display: flex; flex-direction: column; padding-block: 1rem 1.25rem; }

.portal-select { display: block; }
.portal-select select {
  width: 100%; min-height: 44px;
  padding: .4rem 2.2rem .4rem .8rem;
  border: 1px solid #c9c9c9; border-radius: 4px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.8' d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right .8rem center / 12px 8px;
  -webkit-appearance: none; appearance: none;
  color: #333;
  font: 400 .92rem/1.2 "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}

.main-nav__list { display: flex; flex-direction: column; padding-top: .5rem; }
.main-nav__link {
  position: relative;
  display: flex; align-items: center;
  min-height: 50px;
  border-bottom: 1px solid rgba(0, 66, 200, .15);
  color: var(--c-portal-link);
  font-size: 1.02rem; font-weight: 400;
  font-variation-settings: "wdth" 100;
  text-transform: none;
  text-decoration: none;
}
.main-nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 10px;
  width: 100%; height: 2px; border-radius: 2px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease-out);
}
.main-nav__link:hover::after,
.main-nav__link.is-active::after { transform: scaleX(1); }
.main-nav__link.is-active { font-weight: 600; }
.main-nav__cta { margin-top: 1.1rem; }

/* ==========================================================================
   03. HERO_CADASTRO_ESCOLAR
   ========================================================================== */
.hero {
  /* A foto entra DEPOIS do texto (nunca por baixo dos rostos). Só a faixa de céu
     do topo da foto sobe por trás do texto, com fusão suave no gradiente. */
  --mh: 112vw;          /* altura visível da foto */
  --op: 72%;            /* recorte vertical (object-position y) */
  --ov: 28vw;           /* quanto o céu da foto sobe por trás do texto */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--grad-sky);
  color: #fff;
  padding-top: clamp(2rem, 1.2rem + 3vw, 4rem);
}
.hero__media { position: relative; z-index: -1; order: 2; }
.hero__media img {
  width: 100%; height: var(--mh); max-width: none;
  margin-top: calc(-1 * var(--ov));
  object-fit: cover; object-position: 50% var(--op);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 24%);
}
.hero__content {
  order: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 1.15rem;
}
.hero__title { font-size: var(--fs-h1); display: flex; flex-wrap: wrap; justify-content: center; column-gap: .28em; }
.hero__title-line { display: inline-block; }
.hero__title-line--accent { color: var(--c-yellow); }
.hero__badge {
  padding: .35em .9em;
  background: var(--c-yellow);
  color: var(--c-blue);
  box-shadow: 0 5px 0 var(--c-orange);
  font-size: clamp(1.2rem, .95rem + 1.1vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}
.hero__lead {
  max-width: 34em;
  font-size: clamp(1rem, .92rem + .4vw, 1.35rem);
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(10, 40, 90, .35);
}
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 0;
  padding: .45em 1.1em;
  border: 1.5px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-pill);
  background: rgba(43, 91, 205, .82);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t-fast) var(--ease);
}
.chip:hover { background: #fff; color: var(--c-blue); transform: translateY(-2px); }
.hero__cta { margin-top: .35rem; }

/* ==========================================================================
   04. QUICK_ACCESS_NAVIGATION
   ========================================================================== */
.quick-access { position: relative; z-index: 2; margin-top: -1px; background: var(--bg-page); }
.quick-access__stripe {
  position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background: linear-gradient(90deg, var(--c-orange) 0 14%, var(--c-yellow) 14% 100%);
}
.quick-access__list {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: .65rem;
  padding-top: .75rem;
}
.qa-card {
  display: flex; align-items: center; gap: .65rem;
  height: 100%;
  padding: .8rem .75rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--c-ink);
  text-decoration: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.qa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.qa-card__icon {
  --tint: #fce9f4; --ico: var(--c-pink);
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--tint); color: var(--ico);
  transition: transform var(--t) var(--ease-out);
}
.qa-card__icon svg { width: 20px; height: 20px; }
.qa-card:hover .qa-card__icon { transform: scale(1.08) rotate(-6deg); }
.qa-card--yellow .qa-card__icon { --tint: #fef7cf; --ico: #b38f00; }
.qa-card--blue .qa-card__icon { --tint: #e9f6fd; --ico: var(--c-sky); }
.qa-card--green .qa-card__icon { --tint: #eaf9f5; --ico: #17a57b; }
.qa-card__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.qa-card__text strong {
  color: var(--c-sky);
  font-size: .72rem; font-weight: 900; font-variation-settings: "wdth" 125;
}
.qa-card__text span { font-size: .78rem; text-transform: uppercase; }

/* ==========================================================================
   Título "CADA ETAPA, UM NOVO CAMINHO."
   ========================================================================== */
.stages-intro { padding-block: clamp(2.75rem, 1.5rem + 5vw, 6rem) clamp(1rem, .5rem + 2vw, 2.5rem); text-align: center; }
.stages-intro__title { font-size: var(--fs-h2-xl); color: var(--c-blue); }

/* ==========================================================================
   05–07. SEÇÕES DE ETAPA (Infantil / Fundamental / EJA)
   ========================================================================== */
.stage { padding-block: var(--section-y); }
.stage--infantil { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.stage--fundamental { background: var(--bg-alt); }

.stage__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
.stage__body { display: flex; flex-direction: column; gap: 1.5rem; }

.stage__title { font-size: var(--fs-h2); color: var(--c-blue); }
.stage__kicker { display: block; }
.stage__text { line-height: 1.28; }

/* Card "Quem pode se cadastrar?" */
.eligibility {
  --accent: var(--c-pink);
  position: relative;
  display: flex; align-items: center; gap: .85rem;
  padding: 1.15rem 1.1rem 1.15rem 1.6rem;
  border: 1px solid #d9dee8;
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  color: #000;
  font-size: clamp(.9rem, .85rem + .25vw, 1.08rem);
  line-height: 1.3;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.eligibility::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 14px;
  background: var(--accent);
}
.eligibility:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.eligibility__icon { flex: none; width: 2.4rem; height: 2.4rem; color: var(--accent); }
.eligibility strong {
  display: block;
  color: var(--accent);
  font-weight: 900; font-variation-settings: "wdth" 125;
}
.eligibility--pink { --accent: var(--c-pink); }
.eligibility--yellow { --accent: var(--c-gold); }
.eligibility--yellow strong { color: #c9a400; }

/* Aviso "Atenção" */
.notice {
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--c-notice-border);
  border-radius: var(--r-md);
  background: var(--c-notice-bg);
  color: var(--c-notice-text);
  line-height: 1.22;
}
.notice__icon { flex: none; width: 2.3rem; height: 2.3rem; color: var(--c-notice-icon); }

/* Moldura das fotos: arco laranja + "asas" amarelas (PDF) */
.media-frame {
  position: relative;
  isolation: isolate;
  width: min(100%, 360px);
  margin-inline: auto;
  padding-inline: 12%;
}
.media-frame::before {           /* asas amarelas */
  content: ""; position: absolute; z-index: -1;
  left: 0; right: 0; top: 11%; bottom: 11%;
  border-radius: clamp(48px, 9vw, 92px);
  background: var(--c-yellow);
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: clamp(8px, 1.4vw, 14px) solid var(--c-orange);
  border-radius: clamp(60px, 12vw, 120px);
  background: var(--c-orange);
  transition: transform .6s var(--ease-out);
}
.media-frame--tall img { object-position: 50% 22%; }
.media-frame:hover img { transform: translateY(-6px); }

/* ==========================================================================
   08. SECTION_DOCUMENTOS
   ========================================================================== */
.docs {
  padding-block: var(--section-y);
  background: var(--grad-blue);
  color: #fff;
}
.docs__header { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; }
.docs__lead { line-height: 1.25; }
.docs__grid { display: grid; gap: 1rem; margin-top: clamp(2rem, 1.5rem + 2.5vw, 4rem); }
.doc-card {
  display: flex; align-items: center; gap: 1rem;
  min-height: 92px;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-blue);
  box-shadow: 0 10px 26px -18px rgba(0, 20, 70, .6);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.doc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -18px rgba(0, 20, 70, .65); }
.doc-card__icon { flex: none; width: 2.4rem; height: 2.4rem; color: var(--c-green); transition: transform .5s var(--ease-out); }
.doc-card:hover .doc-card__icon { transform: rotate(-12deg) scale(1.06); }
.doc-card__title { font-size: clamp(1rem, .92rem + .3vw, 1.25rem); line-height: 1.25; }
.doc-card__note { display: block; margin-top: .15em; font-size: .78em; line-height: 1.3; }
.doc-card__note--inline { font-size: 1em; }

/* ==========================================================================
   09. SECTION_LGPD
   ========================================================================== */
.lgpd {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  padding: 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--r-md);
  background: rgba(58, 174, 247, .38);
  line-height: 1.3;
  font-size: clamp(.95rem, .88rem + .3vw, 1.2rem);
}
.lgpd__icon { flex: none; width: 3.75rem; height: 3.75rem; color: #0b4fc0; }
.lgpd strong { font-weight: 900; font-variation-settings: "wdth" 115; }

/* ==========================================================================
   10. SECTION_LOCALIZADOR_ESCOLAS
   ========================================================================== */
.locator { padding-block: var(--section-y); background: var(--bg-locator); }
.locator__grid { display: grid; gap: 2rem; align-items: center; }
.locator__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.locator__text { line-height: 1.25; max-width: 31rem; }
.locator__art { width: min(100%, 520px); margin-inline: auto; }
.locator__art img { width: 100%; }

.locator__integration { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.locator__map:empty { display: none; }
.locator__map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; min-height: 320px; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.locator__search {
  display: flex; align-items: center; gap: .6rem;
  padding: 0 1rem; min-height: 52px;
  border: 1.5px solid #c9dcf2; border-radius: var(--r-pill);
  background: #fff;
}
.locator__search:focus-within { border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(9, 81, 200, .15); }
.locator__search svg { width: 20px; height: 20px; flex: none; }
.locator__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--c-ink); }
.locator__list { display: grid; gap: .6rem; margin-top: 1rem; }
.school-item { padding: 1rem 1.1rem; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-card); }
.school-item h3 { font-size: var(--fs-h3); font-weight: 800; }
.school-item p { font-size: var(--fs-small); color: #33476b; margin-top: .25rem; }
.school-item a { display: inline-flex; margin-top: .5rem; font-size: var(--fs-small); font-weight: 700; color: var(--c-blue); }

/* ==========================================================================
   11. SECTION_ATENDIMENTO
   ========================================================================== */
.support {
  padding-block: var(--section-y);
  background: var(--grad-blue-rev);
  color: #fff;
}
.support__grid { display: grid; gap: 2rem; align-items: center; }
.support__body { display: flex; flex-direction: column; gap: 1rem; }
.support__text { line-height: 1.28; }
.support__cards { display: grid; gap: 1rem; }
.info-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-blue);
  box-shadow: 0 10px 26px -18px rgba(0, 20, 70, .6);
}
.info-card__icon { flex: none; width: 2rem; height: 2rem; margin-top: .1rem; color: var(--c-blue); opacity: .9; }
.info-card__title { font-size: var(--fs-h3); font-weight: 900; font-variation-settings: "wdth" 125; }
.info-card p, .info-card__phones { margin-top: .2rem; font-size: clamp(1rem, .95rem + .25vw, 1.2rem); }
.info-card__phones li { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; }
.info-card__phones a {
  display: inline-flex; align-items: center; min-height: 40px;
  color: var(--c-blue); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 85% / 0 2px no-repeat;
  transition: background-size var(--t) var(--ease-out);
}
.info-card__phones a:hover { background-size: 100% 2px; }
.info-card__phones .wa-link {
  display: inline-flex; align-items: center; gap: .3rem;
  min-height: 34px; padding: .2rem .7rem;
  border-radius: var(--r-pill);
  background: #e6f8ee; color: #128c4a;
  font-size: .8em; font-weight: 700;
}
.info-card__phones .wa-link svg { width: 16px; height: 16px; }

/* ==========================================================================
   12. FOOTER_INSTITUCIONAL
   ========================================================================== */
.site-footer { background: var(--c-blue-deep); color: rgba(255, 255, 255, .88); padding-block: 2.5rem; }
.site-footer__inner { display: grid; gap: 1.5rem; justify-items: center; text-align: center; }
.site-footer__brand img { width: 190px; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; }
.site-footer__nav a {
  display: inline-flex; align-items: center; min-height: 40px;
  font-size: var(--fs-small); text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.site-footer__nav a:hover { color: var(--c-yellow); }
.site-footer__meta { font-size: .78rem; opacity: .75; }

/* ---------- Utilitários flutuantes ---------- */
.back-to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-yellow); color: var(--c-blue);
  box-shadow: 0 4px 0 var(--c-orange), 0 10px 20px -8px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.back-to-top svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }

.toast {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 200;
  width: max-content; max-width: calc(100% - 2rem);
  padding: .9rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--c-ink); color: #fff;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .5);
  font-size: var(--fs-small);
  transform: translate(-50%, 0);
}
.toast p { text-transform: none; }

/* Foco programático em seções (rolagem por âncora) não precisa de contorno */
[tabindex="-1"]:focus { outline: none; box-shadow: none; }
