/* ===========================================================
   Med Ágil — folha de estilos principal
   =========================================================== */

/* Montserrat 700 — servida pelo próprio site.
   Antes vinha do Google Fonts, que recebia o IP de cada visitante
   antes mesmo de haver consentimento. A licença da fonte (SIL Open
   Font License) permite hospedar.

   O unicode-range faz o navegador baixar só o que precisa: texto em
   português cabe no arquivo "latin" (18 KB); o "latin-ext" só é
   buscado se aparecer um caractere fora dele. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  /* Paleta institucional: #174E69 · #008CBC · #00E3FE */
  --brand-950: #103a4f;  /* derivado — rodapé e topo do hero */
  --brand-900: #174e69;  /* azul profundo da marca */
  --brand-800: #1a5f80;  /* derivado */
  --brand-700: #0077a0;  /* derivado — garante contraste em texto e botões */
  --brand-600: #008cbc;  /* azul principal da marca */
  --brand-500: #17a6d6;  /* derivado */
  --brand-100: #d3edf8;  /* derivado */
  --brand-50:  #eff9fd;  /* derivado */

  /* Ciano de destaque */
  --teal-600: #00768f;   /* versão legível sobre fundo claro */
  --teal-500: #00e3fe;   /* ciano puro, para fundos escuros */
  --teal-100: #d4f8ff;

  --amber-500: #f5a623;

  --ink:       #0f2f3f;
  --ink-soft:  #4a6b7c;
  --line:      #dbe7ee;
  --surface:   #ffffff;
  --surface-2: #f4fafd;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(23, 78, 105, .07), 0 2px 8px rgba(23, 78, 105, .06);
  --shadow:    0 6px 24px rgba(23, 78, 105, .11);
  --shadow-lg: 0 18px 48px rgba(23, 78, 105, .17);

  --maxw: 1160px;
  --header-h: 76px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-logo: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--brand-900); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--surface-2); }
.section--brand { background: linear-gradient(140deg, var(--brand-800), var(--brand-600)); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin: 0; }
.section--brand .section-head p { color: rgba(255,255,255,.85); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}
.section--brand .eyebrow { color: #7cecff; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: .98rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-900); box-shadow: var(--shadow); }

.btn--whats { background: #1faa54; color: #fff; box-shadow: var(--shadow-sm); }
.btn--whats:hover { background: #17913f; }

.btn--ghost { background: transparent; color: var(--brand-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-500); background: var(--brand-50); }

.btn--light { background: #fff; color: var(--brand-700); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

.btn--block { width: 100%; justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* O menu tem rótulos longos: o cabeçalho usa um container um pouco mais largo */
.header .container { max-width: 1240px; }
.header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* Marca: "Med" + símbolo + "Ágil", reproduzindo o lockup oficial */
.logo { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__word {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--brand-900);
  white-space: nowrap;
}
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo--light .logo__word { color: #fff; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink);
  transition: background-color .18s ease, color .18s ease;
}
.nav a:hover { color: var(--brand-700); background: var(--brand-50); text-decoration: none; }
.nav a.is-active {
  color: var(--brand-800);
  background: var(--brand-100);
  font-weight: 600;
}

.header__cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--brand-800);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--brand-950) 0%, var(--brand-900) 42%, var(--brand-600) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px; top: -140px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 227, 254, .34), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 92px;
}
.hero h1 { color: #fff; }
.hero__lead { font-size: 1.14rem; color: rgba(255,255,255,.88); max-width: 52ch; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #d9f2ff;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.22);
}
.hero__points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 11px; }
.hero__points li { display: flex; align-items: flex-start; gap: 11px; color: rgba(255,255,255,.9); font-size: .99rem; }
.hero__points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #7cecff; }

.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
/* O card do hero é o primeiro bloco da página: o título dele precisa ser h2
   para não pular de h1 direto para h3. O tamanho segue o de um h3. */
.hero-card h2,
.hero-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.hero-card__price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 14px 0 6px;
}
.hero-card__price b { font-size: 2.6rem; color: var(--brand-700); letter-spacing: -.03em; }
.hero-card__price span { color: var(--ink-soft); font-size: .95rem; }
.hero-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.hero-card li svg { width: 18px; height: 18px; color: var(--teal-600); flex: none; margin-top: 3px; }
.hero-card__note { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: 12px 0 0; }

/* ---------- Barra de destaques ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
  text-align: center;
}
.stats__item b { display: block; font-size: 1.9rem; color: var(--brand-700); letter-spacing: -.03em; }
.stats__item span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

.card__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--brand-600);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 25px; height: 25px; }
.card__icon--teal { background: var(--teal-100); color: var(--teal-600); }

.tag-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-size: .84rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}

/* ---------- Passo a passo ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #06313f;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 6px; }
.step p { color: rgba(255,255,255,.82); font-size: .93rem; margin: 0; }

/* ---------- Lista de especialidades ---------- */
.spec-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.spec-list li {
  display: flex; align-items: center; gap: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-weight: 500;
  font-size: .96rem;
}
.spec-list svg { width: 19px; height: 19px; color: var(--teal-600); flex: none; }

/* ---------- Depoimentos ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1rem; color: var(--ink); font-style: italic; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.quote__who b { display: block; font-size: .95rem; color: var(--brand-900); }
.quote__who span { font-size: .84rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--brand-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem; font-weight: 400; color: var(--brand-500); flex: none; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-soft); margin: 0 0 16px; font-size: .96rem; }

/* ---------- Faixa de CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-900), var(--brand-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; max-width: 56ch; }

/* ---------- Texto legal (política de privacidade) ---------- */
.texto-legal { max-width: 760px; margin-inline: auto; }
.texto-legal__meta {
  font-size: .88rem;
  color: var(--ink-soft);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.texto-legal h2 {
  font-size: 1.4rem;
  margin-top: 46px;
  padding-top: 6px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.texto-legal h2:first-of-type { margin-top: 0; }
.texto-legal h3 { font-size: 1.05rem; margin-top: 28px; }
.texto-legal p,
.texto-legal li { color: var(--ink-soft); }
.texto-legal ul { padding-left: 22px; margin: 0 0 1rem; display: grid; gap: 8px; }
.texto-legal b { color: var(--ink); }

.tabela-legal {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: .93rem;
}
.tabela-legal th,
.tabela-legal td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
}
.tabela-legal th { background: var(--brand-50); color: var(--brand-900); font-weight: 600; }
.tabela-legal td { color: var(--ink-soft); }

/* ---------- Página de obrigado ---------- */
.obrigado { max-width: 620px; margin-inline: auto; text-align: center; }
.obrigado__selo {
  width: 72px; height: 72px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-600);
  display: grid; place-items: center;
}
.obrigado__selo svg { width: 34px; height: 34px; }
.obrigado__texto { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 30px; }
.obrigado__ajuda { font-size: .9rem; color: var(--ink-soft); margin-top: 16px; }
.obrigado__caixa {
  margin-top: 38px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  text-align: left;
}
.obrigado__caixa p { font-size: .95rem; }
.obrigado__voltar { margin-top: 28px; font-size: .95rem; }

/* ---------- Formulários ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; color: var(--brand-900); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }

/* Consentimento LGPD — precisa ser desmarcado por padrão e fácil de ler */
.campo-consentimento {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 4px 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: .86rem;
  line-height: 1.55;
  color: var(--ink-soft);
  cursor: pointer;
}
.campo-consentimento input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--brand-600);
  cursor: pointer;
}
.campo-consentimento b { color: var(--ink); font-weight: 600; }
.campo-consentimento a { font-weight: 600; }
.campo-consentimento:has(input:focus-visible) {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  background: var(--teal-100);
  border: 1px solid #a9e6dd;
  color: #0a5b52;
}
.form-status.is-visible { display: block; }

/* ---------- Blocos de contato ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 15px; align-items: flex-start; }
.info-list .info-ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--brand-100); color: var(--brand-600);
  display: grid; place-items: center;
}
.info-list .info-ic svg { width: 21px; height: 21px; }
.info-list b { display: block; color: var(--brand-900); font-size: .97rem; }
.info-list span, .info-list a { color: var(--ink-soft); font-size: .95rem; }

.map-frame {
  border: 0;
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  filter: saturate(.92);
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Mapa antes do consentimento */
.map-espera {
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px dashed var(--line);
  filter: none;
}
.map-espera__caixa { text-align: center; padding: 24px; max-width: 380px; }
.map-espera__caixa p { margin-bottom: 6px; font-size: .95rem; }
.map-espera__caixa .btn { margin-top: 14px; }

/* ---------- Rodapé ---------- */
.footer {
  background: var(--brand-950);
  color: rgba(255,255,255,.72);
  padding: 62px 0 26px;
  font-size: .94rem;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .logo__word { color: #fff; }
.footer__about { margin: 18px 0 0; max-width: 34ch; }
/* Responsáveis técnicos — exigência do CFM e do CFO na publicidade */
.footer__rt {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 8px 30px;
  font-size: .86rem;
  color: rgba(255,255,255,.72);
}
.footer__rt b { color: #fff; font-weight: 600; }

.footer__bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .86rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.whats-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1faa54;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(31,170,84,.42);
  transition: transform .18s ease;
}
.whats-float:hover { transform: scale(1.07); text-decoration: none; }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Banner de consentimento (LGPD) ---------- */
.consento {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: 940px;
  margin-inline: auto;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .24s ease, transform .24s ease;
}
.consento.is-visible { opacity: 1; transform: none; }
.consento__texto b { display: block; color: var(--brand-900); margin-bottom: 4px; }
.consento__texto p { margin: 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.consento__acoes { display: flex; gap: 10px; flex: none; }
/* Recusar tem o mesmo peso de Aceitar: exigência da ANPD */
.consento__acoes .btn { padding: 11px 26px; }

@media (max-width: 700px) {
  .consento { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .consento__acoes .btn { flex: 1; justify-content: center; }
}

/* Link com aparência de link, mas que é botão de verdade */
.link-botao {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.link-botao:hover { color: #fff; }

/* ---------- Utilitários ---------- */
/* Foco visível para navegação por teclado.
   Os campos de formulário já têm indicador próprio em .field input:focus. */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 6px;
}
/* Em fundo escuro o azul da marca desaparece — troca pelo ciano */
.hero :where(a, button):focus-visible,
.page-head :where(a, button):focus-visible,
.section--brand :where(a, button):focus-visible,
.cta-band :where(a, button):focus-visible,
.footer :where(a, button):focus-visible,
.whats-float:focus-visible {
  outline-color: var(--teal-500);
}

/* Visível só para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.muted { color: var(--ink-soft); }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.hide-desktop { display: none; }

.page-head {
  background: linear-gradient(140deg, var(--brand-950), var(--brand-700));
  color: #fff;
  padding: 62px 0 66px;
}
.page-head h1 { color: #fff; margin-bottom: 12px; }
.page-head p { color: rgba(255,255,255,.86); max-width: 62ch; margin: 0; font-size: 1.06rem; }
.crumbs { font-size: .86rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.crumbs a { color: rgba(255,255,255,.86); }

/* Aviso legal no topo da página (ex.: ressalva sobre a ANS no B2B) */
.page-head__aviso {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .88rem;
  color: #fff;
}
.page-head__aviso b { font-weight: 700; }

/* ---------- Responsivo ---------- */

/* Menu vira hambúrguer cedo (1200px): os rótulos longos não cabem em telas menores */
@media (max-width: 1200px) {
  .nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 20px 20px;
    gap: 2px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle { display: grid; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 70px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .spec-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .section { padding: 58px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; }
  .header__cta .btn span { display: none; }
  .header__cta .btn { padding: 12px 14px; }
  .logo__word { font-size: 1.25rem; }
  .logo__mark { width: 28px; height: 28px; }
  .hide-desktop { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
