/* Escola Castro Alves — site institucional
   Paleta derivada da logo oficial (#0890D0). Mobile first. */

:root {
  --brand: #0890D0;        /* azul exato da logo: detalhes, arcos, ícones */
  --primary: #0A6DB3;      /* botões e links (AA sobre branco) */
  --primary-dark: #085A94;
  --navy: #0B2B4F;
  --navy-deep: #071E39;
  --sky: #D8ECF8;
  --ice: #EDF5FB;
  --bg: #F7FAFD;
  --white: #FFFFFF;
  --text: #14213A;
  --muted: #5A6A82;
  --border: #DCE6F0;
  --success: #1E9E62;
  --danger: #C8362F;

  --radius-lg: 24px;
  --radius: 16px;
  --radius-btn: 14px;
  --arco: 140px 24px 140px 24px;   /* máscara de foto derivada da elipse inclinada da logo */
  --arco-sm: 88px 18px 88px 18px;

  --container: 1200px;
  --gutter: 20px;
  --section: clamp(48px, 6vw, 80px);

  --shadow-soft: 0 10px 30px -12px rgba(11, 43, 79, 0.16);
  --shadow-card: 0 1px 2px rgba(11, 43, 79, 0.05), 0 12px 32px -18px rgba(11, 43, 79, 0.18);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--primary); text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 32px; } }

/* ---------- Tipografia ---------- */
.display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.h3 { font-size: 1.3rem; font-weight: 700; }
.lead { font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.on-dark h2, .on-dark h3, .on-dark .h2 { color: var(--white); }
.on-dark .lead, .on-dark p { color: rgba(255, 255, 255, 0.78); }

.section-head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head .lead { margin-top: 10px; }
.section-head.center { text-align: center; }
.section-head.center .h2, .section-head.center .lead { margin-left: auto; margin-right: auto; }

/* placeholders: conteúdo a confirmar com a escola (listados no README) */
.todo {
  background: #FFF6D6; color: #6B5300; border: 1px dashed #E1C765;
  border-radius: 8px; padding: 2px 8px; font-size: 0.86em; font-weight: 500;
}
.on-dark .todo { background: rgba(255, 246, 214, 0.14); color: #FFE9A0; border-color: rgba(255, 233, 160, 0.5); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 1rem; border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px -10px rgba(10, 109, 179, 0.7); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); background: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--sky); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.link-arrow { font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.solid {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -20px rgba(11, 43, 79, 0.25);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.brand img { height: 44px; width: auto; }
.brand-text { display: none; line-height: 1.05; }
.brand-text small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.brand-text strong { display: block; font-size: 17px; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
@media (min-width: 400px) { .brand-text { display: block; } }

.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  position: relative; color: var(--text); font-weight: 500; font-size: 0.95rem;
  padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.ativo::after { transform: scaleX(1); }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1.5px solid var(--border); background: var(--white); color: var(--navy);
}
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; min-height: 46px; padding: 0 20px; }
  .menu-btn { display: none; }
  .header .container { height: 84px; }
  .brand img { height: 52px; }
}

/* menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--white);
  display: flex; flex-direction: column; padding: 16px var(--gutter) 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.mobile-menu.aberto { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--border); }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-size: 1.25rem; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid var(--border); min-height: 56px;
}
.mobile-menu nav a svg { width: 20px; height: 20px; color: var(--brand); }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 12px; padding-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(72px + 24px) 0 40px; overflow: clip; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 10px;
  border-radius: 999px; background: var(--sky); color: var(--primary-dark); font-weight: 600; font-size: 0.86rem;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; }
.hero h1 { margin-top: 16px; }
.hero h1 span { display: block; color: var(--brand); }
.hero .lead { margin-top: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-etapas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
@media (max-width: 639px) { .hero-etapas { display: none; } }
.hero-etapas span { display: inline-flex; align-items: center; gap: 8px; }
.hero-etapas span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.hero-figura { position: relative; }
.hero-figura .foto { aspect-ratio: 16 / 11; width: 100%; object-fit: cover; object-position: 50% 40%; border-radius: var(--arco-sm); }
.hero-nota {
  position: absolute; left: 12px; bottom: -18px; background: var(--white); border-radius: 18px;
  padding: 14px 18px; box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 12px; max-width: 300px;
}
.hero-nota strong { display: block; color: var(--navy); font-size: 0.95rem; line-height: 1.2; }
.hero-nota small { color: var(--muted); font-size: 0.8rem; }
.hero-nota .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--primary); display: grid; place-items: center; flex: none; }
.hero-nota .ico svg { width: 22px; height: 22px; }

/* anel: motivo gráfico derivado da elipse da logo */
.anel {
  position: absolute; border: 2px solid var(--brand); border-radius: 50%;
  pointer-events: none; opacity: .35; transform: rotate(-22deg);
}
.hero .anel { width: 120%; height: 62%; right: -30%; top: 16%; opacity: .22; }
.hero-fundo { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 500px at 88% 0%, rgba(216, 236, 248, 0.9), transparent 70%); }

@media (min-width: 900px) {
  .hero { padding: calc(84px + 32px) 0 56px; display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .hero-figura .foto { border-radius: var(--arco); aspect-ratio: 4 / 3.1; max-height: min(520px, 62vh); }
  .hero-nota { left: -28px; bottom: 40px; }
}

/* ---------- Seções ---------- */
.section { padding: var(--section) 0; position: relative; overflow-x: clip; }
.bg-white { background: var(--white); }
.bg-ice { background: var(--ice); }
.bg-navy { background: var(--navy); }
.bg-primary { background: var(--primary); }

/* 55 anos */
.historia-grid { display: grid; gap: 40px; align-items: center; }
.numero-55 { display: flex; align-items: flex-end; gap: 14px; line-height: .82; }
.numero-55 strong { font-size: clamp(5.5rem, 12vw, 8.5rem); font-weight: 800; letter-spacing: -0.07em; color: var(--navy); font-variant-numeric: tabular-nums; }
.numero-55 span { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; color: var(--brand); padding-bottom: .5em; }
.historia-texto .h2 { margin-top: 20px; }
.historia-texto .lead { margin-top: 12px; }
.historia-linha { display: flex; align-items: center; gap: 14px; margin-top: 20px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.historia-linha i { flex: 1; height: 1px; background: var(--border); max-width: 90px; }
.historia-foto { position: relative; }
.historia-foto img { border-radius: var(--arco-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.historia-foto .anel { width: 60%; height: 56%; left: -12%; bottom: -10%; }
@media (min-width: 900px) {
  .historia-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .historia-foto img { border-radius: var(--arco); }
}

/* segmentos */
.segmentos { display: grid; gap: 16px; }
.seg-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.seg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.seg-card figure { margin: 0; aspect-ratio: 16/10; overflow: hidden; background: var(--sky); }
.seg-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.seg-card:hover img { transform: scale(1.04); }
.seg-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.seg-conceito { font-weight: 700; color: var(--brand); font-size: 0.95rem; }
.seg-body h3 { margin-top: 6px; }
.seg-body p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; flex: 1; }
.seg-body .link-arrow { margin-top: 14px; }
@media (max-width: 639px) {
  .seg-card { flex-direction: row; align-items: stretch; }
  .seg-card figure { width: 34%; flex: none; aspect-ratio: auto; }
  .seg-body { padding: 14px 16px; }
  .seg-body h3 { font-size: 1.1rem; }
  .seg-body p { font-size: .9rem; margin-top: 6px; }
  .seg-body .link-arrow { margin-top: 6px; min-height: 36px; }
}
@media (min-width: 640px) { .segmentos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .segmentos { grid-template-columns: repeat(4, 1fr); } .seg-card figure { aspect-ratio: 4/3.4; } }

/* diferenciais */
.diferenciais { display: grid; gap: 16px; }
.feat {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 24px; transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.feat:hover { border-color: var(--brand); transform: translateY(-3px); }
.feat { padding: 0; overflow: hidden; }
.feat-foto { margin: 0; aspect-ratio: 4 / 3; background: var(--ice); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.feat-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feat:hover .feat-foto img { transform: scale(1.04); }
.feat-foto .ph { position: absolute; inset: 10px; border: 1.5px dashed rgba(8, 144, 208, 0.45); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--primary); font-size: .8rem; font-weight: 600; text-align: center; padding: 8px; }
.feat-foto .ph svg { width: 28px; height: 28px; opacity: .7; }
.feat-foto:has(img) .ph { display: none; }
.feat-body { padding: 18px 20px 20px; }
.feat .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--ice); color: var(--primary); display: grid; place-items: center; }
.feat .ico svg { width: 26px; height: 26px; }
.feat h3 { margin-top: 14px; font-size: 1.1rem; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 559px) {
  .feat-foto:not(:has(img)) { display: none; }
  .feat-body { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 18px; }
  .feat .ico { width: 44px; height: 44px; border-radius: 12px; grid-row: span 2; }
  .feat .ico svg { width: 22px; height: 22px; }
  .feat h3 { margin-top: 0; }
  .feat p { margin-top: 4px; font-size: .9rem; }
}
@media (min-width: 560px) { .diferenciais { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .diferenciais { grid-template-columns: repeat(5, 1fr); gap: 16px; } .feat-body { padding: 18px 18px 20px; } }

/* bilíngue + comunidade (split) */
.split { display: grid; gap: 28px; align-items: center; }
.split-foto { position: relative; }
.split-foto img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--arco-sm); }
.split-foto .anel { width: 56%; height: 50%; right: -10%; top: -8%; }
.split .lead { margin-top: 18px; }
.split-texto ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.split-texto li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.split-texto li svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.split-texto .btn { margin-top: 22px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split-foto img { border-radius: var(--arco); }
  .split.inverso .split-foto { order: 2; }
}
.on-dark.split-texto li { color: rgba(255,255,255,.88); }
.on-dark.split-texto li svg { color: var(--sky); }

/* vida na escola (grid editorial) */
.vida-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.vida-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sky); aspect-ratio: 1/1; }
.vida-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.vida-grid figure:hover img { transform: scale(1.04); }
.vida-grid figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.9); color: var(--navy); font-size: .8rem; font-weight: 600;
}
.vida-grid .grande { grid-column: span 2; aspect-ratio: 16/10; }
@media (min-width: 900px) {
  .vida-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
  .vida-grid figure { aspect-ratio: auto; min-height: 0; }
  .vida-grid .grande { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .vida-grid .alto { grid-row: span 2; }
}

/* projetos */
.projetos { display: grid; gap: 20px; }
.proj {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: var(--white);
  padding: 28px 24px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end;
}
.proj .anel { width: 110%; height: 90%; right: -40%; top: -30%; border-color: var(--brand); opacity: .45; }
.proj small { font-weight: 600; color: var(--sky); font-size: .9rem; }
.proj h3 { color: var(--white); font-size: 1.75rem; margin-top: 8px; letter-spacing: -0.03em; }
.proj p { color: rgba(255,255,255,.78); margin-top: 12px; max-width: 46ch; }
.proj .link-arrow { color: var(--white); margin-top: 16px; }
@media (min-width: 900px) { .projetos { grid-template-columns: 1fr 1fr; gap: 20px; } .proj { padding: 32px 32px; min-height: 280px; } }

/* estrutura */
.espacos { display: grid; gap: 20px; }
.espaco figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--sky); }
.espaco img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.espaco:hover img { transform: scale(1.03); }
.espaco h3 { margin-top: 16px; font-size: 1.1rem; }
.espaco p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
@media (min-width: 640px) { .espacos { grid-template-columns: repeat(3, 1fr); } .espaco figure { aspect-ratio: 4/3; } }

/* depoimentos */
.depoimentos { display: grid; gap: 20px; }
.depo { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 22px; display: flex; flex-direction: column; }
.depo .aspas { width: 40px; height: 40px; color: var(--sky); }
.depo blockquote { margin: 16px 0 0; font-size: 1.05rem; line-height: 1.55; color: var(--text); flex: 1; }
.depo footer { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.depo .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--primary); display: grid; place-items: center; font-weight: 700; }
.depo footer strong { display: block; color: var(--navy); font-size: .95rem; }
.depo footer span { color: var(--muted); font-size: .85rem; }
@media (min-width: 900px) { .depoimentos { grid-template-columns: repeat(3, 1fr); } }

/* matrículas */
.matriculas { position: relative; overflow: hidden; color: var(--white); text-align: center; }
.matriculas .anel { width: 70vw; height: 46vw; left: -20vw; bottom: -30vw; border-color: rgba(255,255,255,.55); opacity: .4; border-width: 3px; }
.matriculas .anel.dois { left: auto; right: -18vw; top: -22vw; bottom: auto; width: 50vw; height: 34vw; }
.matriculas .pill { background: rgba(255,255,255,.14); color: var(--white); }
.matriculas .pill i { background: var(--white); }
.matriculas .h2 { max-width: 22ch; margin: 18px auto 0; color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.matriculas .lead { color: rgba(255,255,255,.82); margin: 18px auto 0; }
.matriculas .hero-actions { justify-content: center; margin-top: 26px; }
.matriculas .container { position: relative; }

/* agendamento */
.agendar-grid { display: grid; gap: 36px; align-items: start; }
.agendar-grid > *, .split > *, .historia-grid > *, .contato-grid > *, .hero-grid > * { min-width: 0; }
.agendar-info ol { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.agendar-info li { display: flex; gap: 14px; }
.agendar-info li .n { width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--border); color: var(--primary); font-weight: 700; display: grid; place-items: center; flex: none; font-size: .9rem; }
.agendar-info li strong { display: block; color: var(--navy); }
.agendar-info li p { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.agendar-info .local { margin-top: 28px; display: flex; gap: 10px; color: var(--muted); font-size: .92rem; }
.agendar-info .local svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow-card); }
.form-passo { font-weight: 700; color: var(--primary); font-size: .92rem; display: flex; align-items: center; gap: 10px; }
.form-passo::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.form-passo + * { margin-top: 14px; }
.form-bloco + .form-bloco { margin-top: 28px; }

.dias { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.dias::-webkit-scrollbar { height: 6px; } .dias::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.dia {
  flex: none; scroll-snap-align: start; min-width: 78px; min-height: 64px; border-radius: 14px; border: 1.5px solid var(--border);
  background: var(--white); padding: 8px 12px; text-align: left; color: var(--navy); transition: all .2s var(--ease);
}
.dia small { display: block; font-size: .72rem; color: var(--muted); text-transform: capitalize; }
.dia strong { display: block; font-size: 1.05rem; font-weight: 700; }
.dia:hover { border-color: var(--brand); }
.dia.ativo { background: var(--primary); border-color: var(--primary); color: var(--white); }
.dia.ativo small { color: rgba(255,255,255,.75); }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 12px; }
.hora { min-height: 44px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--white); font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; transition: all .2s var(--ease); }
.hora:hover { border-color: var(--brand); }
.hora.ativo { background: var(--primary); border-color: var(--primary); color: var(--white); }
.horas-vazio, .form-aviso { color: var(--muted); font-size: .95rem; padding: 14px 16px; background: var(--ice); border-radius: 12px; margin-top: 12px; }
.form-aviso.erro { background: #FDECEB; color: #8A1F1A; }
.form-aviso.ok { background: #E6F6EE; color: #0F5C39; }

.campos { display: grid; gap: 14px; }
.campo label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--white);
  padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(8,144,208,.15); }
.campo input[aria-invalid="true"] { border-color: var(--danger); }
.campo select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235A6A82' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.form-card .btn { margin-top: 20px; }
.form-resumo { display: flex; align-items: center; gap: 12px; background: var(--ice); border-radius: 12px; padding: 12px 14px; font-size: .92rem; color: var(--navy); }
.form-resumo svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.form-sucesso { text-align: center; padding: 20px 6px; }
.form-sucesso .check-ok { width: 64px; height: 64px; border-radius: 50%; background: #E6F6EE; color: var(--success); display: grid; place-items: center; margin: 0 auto; }
.form-sucesso .check-ok svg { width: 32px; height: 32px; }
.form-sucesso h3 { margin-top: 18px; font-size: 1.4rem; }
.form-sucesso .quando { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-top: 10px; letter-spacing: -0.02em; }
.form-sucesso p { color: var(--muted); margin-top: 10px; }
@media (min-width: 640px) { .form-card { padding: 32px; } .campos.duas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .agendar-grid { grid-template-columns: 0.85fr 1.15fr; gap: 48px; } .agendar-info { position: sticky; top: 110px; } }

/* contato */
.contato-grid { display: grid; gap: 32px; }
.contato-lista { display: grid; gap: 14px; }
.contato-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); min-height: 44px; }
.contato-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ice); color: var(--primary); display: grid; place-items: center; flex: none; }
.contato-item .ico svg { width: 22px; height: 22px; }
.contato-item strong { display: block; color: var(--navy); font-size: .95rem; }
.contato-item span, .contato-item a { display: block; color: var(--muted); font-size: .95rem; margin-top: 2px; }
.contato-item a { color: var(--primary); font-weight: 600; }
.mapa { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--sky); min-height: 260px; }
.mapa iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }
@media (min-width: 640px) { .contato-lista { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contato-grid { grid-template-columns: 1fr 1fr; gap: 56px; } .contato-lista { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 28px 24px; grid-template-columns: 1fr 1fr; }
.footer-grid > :first-child { grid-column: 1 / -1; }
.footer img { height: 48px; width: auto; }
.footer p { margin-top: 16px; font-size: .95rem; max-width: 34ch; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer li a { color: rgba(255,255,255,.72); min-height: 36px; display: inline-flex; align-items: center; transition: color .2s; }
.footer li a:hover { color: var(--white); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: auto; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }

/* flutuantes */
.whats-flutuante {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(37,211,102,.6);
  transition: transform .25s var(--ease);
}
.whats-flutuante:hover { transform: translateY(-2px) scale(1.04); }
.whats-flutuante svg { width: 28px; height: 28px; }
.cta-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.cta-mobile.visivel { transform: none; }
.cta-mobile .btn { width: calc(100% - 68px); }
@media (min-width: 1024px) { .cta-mobile { display: none; } .whats-flutuante { right: 24px; bottom: 24px; } }
body.tem-cta-mobile { padding-bottom: 76px; }
@media (min-width: 1024px) { body.tem-cta-mobile { padding-bottom: 0; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
