/* ==========================================================================
   Centro Médico Integrado - CMI · Folha de estilos
   Paleta derivada da logo oficial (verde CMI, gradiente teal→verde, lima).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  /* Marca */
  --green: #00996D;        /* verde "CMI" da logo (uso decorativo / grande) */
  --green-600: #007A57;    /* verde para textos, links e botões (contraste AA) */
  --green-700: #06634A;
  --teal: #1FBF8F;         /* início do gradiente da cruz */
  --leaf: #6DC25B;         /* fim do gradiente da cruz */
  --lime: #8DC63F;         /* quadrado lima da logo */
  --deep: #0B3A2E;         /* verde profundo para seções escuras */

  /* Neutros com viés verde */
  --paper: #FBFCFA;
  --surface: #FFFFFF;
  --tint: #EEF5F0;
  --tint-2: #E2EEE6;
  --line: #D6E3DA;
  --ink: #17251F;
  --ink-2: #3E4F47;
  --muted: #62736B;

  /* Tipografia */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2vw, 2.875rem);
  --fs-3xl: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);

  /* Espaço, forma */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(11, 58, 46, .05), 0 8px 24px -12px rgba(11, 58, 46, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: var(--fs-2xl); font-weight: 600; }
h3 { font-size: var(--fs-lg); font-weight: 600; }
h4 { font-size: var(--fs-sm); font-weight: 600; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--lime); color: var(--deep); }

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

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 3. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.25rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .005em;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1rem; }
.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green-600); color: var(--green-600); }
.btn--dark { background: var(--deep); color: #fff; }
.btn--dark:hover { background: var(--green-700); color: #fff; }
.btn:active { transform: translateY(1px); }

.link-arrow { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .25s var(--ease); }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- 4. Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(251, 252, 250, .92);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled { border-color: var(--line); }
.header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.header__logo { flex: none; display: block; }
.header__logo img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .25rem; }
.nav a:not(.btn) {
  display: block; padding: .5rem .7rem; border-radius: 8px;
  color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--green-600); background: var(--tint); }
.nav__cta-mobile { display: none; }
.header__cta { flex: none; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .header__cta { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header__logo img { height: 40px; }
  .menu-toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--surface); cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .3s var(--ease), background-color .2s;
  }
  .menu-toggle__bars { position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; }
  .menu-toggle__bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.is-open { display: block; animation: drop .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { padding: .9rem .25rem; font-size: 1.0625rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn):hover { background: transparent; }
  .nav__cta-mobile { display: flex; width: 100%; margin-top: 1rem; min-height: 52px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 5. Elementos de seção ---------- */
.eyebrow, .kicker {
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .26em; color: var(--muted);
}
.kicker { display: inline-flex; align-items: center; gap: .75rem; color: var(--green-600); margin-bottom: 1rem; }
/* Marca de seção: dois "pixels" da logo */
.kicker__mark { position: relative; width: 10px; height: 10px; background: var(--green); border-radius: 2px; }
.kicker__mark::after { content: ""; position: absolute; width: 6px; height: 6px; left: 13px; top: -5px; background: var(--lime); border-radius: 1px; }
.kicker--light { color: #BFE6CF; }

.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section--deep { background: var(--deep); color: #DDEFE4; }
.section--deep h2, .section--deep h3 { color: #fff; }

.section__head { display: grid; gap: .25rem; align-content: start; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 44rem; }
.section__head--split { max-width: none; grid-template-columns: 1fr; gap: 1.25rem; align-items: end; }
@media (min-width: 900px) { .section__head--split { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.section__intro { color: var(--ink-2); max-width: 38rem; margin-top: .75rem; }
.section__head--split .section__intro { margin-top: 0; }
.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink); }

/* ---------- 6. Placeholders de imagem ---------- */
.ph {
  position: relative; display: grid; place-content: center; gap: .4rem; text-align: center;
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 122, 87, .16) 1px, transparent 1.4px) 0 0 / 18px 18px,
    linear-gradient(160deg, var(--tint-2), var(--tint));
  border: 1.5px dashed rgba(0, 122, 87, .35);
  border-radius: var(--r-lg);
  color: var(--green-700); padding: 1.5rem; overflow: hidden;
  max-width: 100%;
}
.ph__label { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; }
.ph__hint { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 7. Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3rem, 2rem + 3vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero__title { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.hero__slogan { font-size: var(--fs-3xl); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; color: var(--ink); }
.hero__name { font-family: var(--font-body); font-size: var(--fs-lg); font-weight: 600; letter-spacing: 0; color: var(--green-600); line-height: 1.35; }
.hero__lead { margin-top: 1.25rem; font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__media { position: relative; padding: 0 22px 22px 0; }
.hero__photo { position: relative; margin: 0; aspect-ratio: 4 / 4.9; max-width: 100%; border-radius: 36px; overflow: hidden; background: var(--tint); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero__photo figcaption {
  position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px);
  padding: .5rem .85rem; border-radius: 999px;
  background: rgba(251, 252, 250, .92); color: var(--ink);
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em;
}
@media (max-width: 959px) { .hero__photo { aspect-ratio: 4 / 4.2; } }
.pix { position: absolute; border-radius: 6px; pointer-events: none; }
.pix--a { width: 64px; height: 64px; right: 0; bottom: 0; background: linear-gradient(90deg, var(--teal), var(--leaf)); border-radius: 14px; }
.pix--b { width: 26px; height: 26px; right: 86px; bottom: -4px; background: var(--lime); border-radius: 4px; }

.facts {
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.facts__item { padding: 1.25rem 1.5rem 0 0; }
.facts__item + .facts__item { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .35rem 0 0; font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts__item { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 460px) {
  .facts { grid-template-columns: 1fr; }
  .facts__item + .facts__item { padding-left: 0; border-left: 0; }
}

/* ---------- 8. Sobre ---------- */
.sobre { display: grid; gap: 2rem; }
.sobre .section__head { margin-bottom: 0; }
@media (min-width: 960px) {
  .sobre { grid-template-columns: 5fr 7fr; column-gap: 5rem; }
  .sobre .section__head { margin-bottom: 0; }
  .valores { grid-column: 1 / -1; }
}
.sobre__body { display: grid; gap: 1.1rem; max-width: 40rem; color: var(--ink-2); }
.sobre__body .lead { color: var(--ink); }
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.valores li { padding: 1.75rem 2rem 0 0; }
.valores li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
.valores h3 { font-size: var(--fs-base); margin-bottom: .5rem; }
.valores p { color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 760px) {
  .valores { grid-template-columns: 1fr; }
  .valores li, .valores li + li { padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- 9. Atendimentos ---------- */
.servicos { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
.grupo {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: grid; align-content: start; gap: 1.5rem;
}
.grupo--wide { grid-column: 1 / -1; }
.grupo__head { display: grid; gap: .35rem; }
.grupo__head h3 { font-size: var(--fs-xl); }
.grupo__head p { color: var(--muted); font-size: var(--fs-sm); }
.grupo__note { font-size: var(--fs-sm); color: var(--ink-2); padding-top: .25rem; }
.lista li {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .6rem;
  padding: .8rem 0; border-top: 1px solid var(--line);
  font-weight: 500;
}
.lista li:last-child { border-bottom: 1px solid var(--line); }
.lista li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--green); transform: translateY(-2px); }
.lista--compact li { padding: .55rem 0; font-weight: 400; font-size: var(--fs-sm); color: var(--ink-2); }
.lista--compact li::before { width: 5px; height: 5px; background: var(--leaf); }
.lista__sub { color: var(--muted); font-weight: 400; font-size: var(--fs-sm); }
.tag {
  font-family: var(--font-display); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); background: var(--tint); border-radius: 999px; padding: .15rem .55rem;
}
.exames { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.exames h4 { color: var(--green-600); text-transform: uppercase; letter-spacing: .14em; font-size: var(--fs-xs); margin: 0 0 .5rem; }
.exames h4:not(:first-child) { margin-top: 1.75rem; }
@media (max-width: 820px) {
  .servicos { grid-template-columns: 1fr; }
  .exames { grid-template-columns: 1fr; gap: 1.75rem; }
}
.cta-strip {
  margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.cta-strip p { font-weight: 500; }

/* ---------- 10. Baby CMI ---------- */
.baby { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.baby__text { max-width: 44rem; }
.foto { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--tint); max-width: 100%; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.foto:hover img { transform: scale(1.03); }
.foto figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  padding: .4rem .75rem; border-radius: 999px; background: rgba(251, 252, 250, .92); color: var(--ink);
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600;
}
.foto--baby { aspect-ratio: 5 / 4; }
.baby__text { display: grid; gap: 1.1rem; justify-items: start; }
.baby__text h2 { margin-bottom: .25rem; }
.baby__text > p { color: var(--ink-2); max-width: 36rem; }
.baby__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.baby__list li { padding: .45rem .9rem; border-radius: 999px; background: var(--tint); color: var(--green-700); font-weight: 600; font-size: var(--fs-sm); }
.baby__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .75rem; }

/* ---------- 11. Profissionais ---------- */
.equipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pessoa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.pessoa__foto { width: 100%; aspect-ratio: 720 / 840; object-fit: cover; background: var(--tint); transition: transform .4s var(--ease); }
.pessoa:hover .pessoa__foto { transform: scale(1.02); }
.equipe__nota { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--muted); }
.pessoa__info { padding: 1rem 1.25rem 1.25rem; position: relative; background: var(--surface); display: grid; gap: .2rem; align-content: start; }
.pessoa__info h3 { font-size: 1.0625rem; }
.pessoa__area { color: var(--green-600); font-weight: 600; font-size: var(--fs-sm); overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 560px) { .pessoa__info { padding: .85rem .9rem 1rem; } .pessoa__area { font-size: var(--fs-xs); } }
.pessoa__reg { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .02em; margin-top: .25rem; }
.pessoa--placeholder { background: transparent; border-style: dashed; }
.pessoa--placeholder h3, .pessoa--placeholder .pessoa__area { color: var(--muted); }
@media (max-width: 860px) { .equipe { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 12. Estrutura (galeria editorial) ---------- */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.g-recepcao { grid-column: 1 / 4; grid-row: span 2; }
.g-kids { grid-row: span 2; }
.g-corredor img { object-position: 50% 60%; }
@media (max-width: 900px) {
  .galeria { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .g-recepcao { grid-column: 1 / -1; grid-row: span 2; }
  .g-kids { grid-row: span 2; }
}

/* ---------- 13. Como agendar ---------- */
.passos { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: passo; border-top: 1px solid rgba(255, 255, 255, .16); }
.passos li { counter-increment: passo; padding: 1.75rem 1.75rem 0 0; display: grid; gap: .6rem; align-content: start; }
.passos li + li { padding-left: 1.75rem; border-left: 1px solid rgba(255, 255, 255, .16); }
.passos li::before {
  content: counter(passo, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .1em; color: var(--lime);
}
.passos h3 { font-size: var(--fs-lg); }
.passos p { color: #BFD8CA; font-size: var(--fs-sm); }
@media (max-width: 900px) {
  .passos { grid-template-columns: 1fr 1fr; }
  .passos li:nth-child(3) { padding-left: 0; border-left: 0; }
  .passos li { padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255, 255, 255, .16); }
}
@media (max-width: 520px) {
  .passos { grid-template-columns: 1fr; }
  .passos li + li { padding-left: 0; border-left: 0; }
}

/* ---------- 14. Planos ---------- */
.planos .section__head { margin-bottom: 2.5rem; }
.planos__lista { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.planos__lista li {
  display: grid; place-items: center; min-height: 128px; padding: 1.5rem 1.75rem;
  background: var(--surface);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .25s var(--ease);
}
.planos__lista img { width: auto; height: auto; max-width: min(100%, 176px); max-height: 64px; object-fit: contain; }
.planos__lista li:hover { background: var(--tint); }
@media (max-width: 900px) { .planos__lista { grid-template-columns: repeat(2, 1fr); } .planos__lista li { min-height: 104px; padding: 1.25rem; } .planos__lista img { max-height: 52px; } }

/* ---------- 15. Informações ---------- */
.info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.info__item { background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--line); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.info__when { font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.info__item p:last-child { color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 1000px) { .info { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .info { grid-template-columns: 1fr; } }

.vip {
  margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.5rem 1.75rem; border-radius: var(--r-md);
  background: var(--deep); color: #DDEFE4;
}
.vip h3 { color: #fff; margin-bottom: .35rem; }
.vip a { color: #C9EFA3; }
.vip__note { font-size: var(--fs-xs); color: #9FC3B1; max-width: 22rem; }

/* ---------- 16. Contato ---------- */
.contato { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contato { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }
.contato__main h2 { margin-bottom: .25rem; }
.contato__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 2rem 2.5rem; }
.canais { display: grid; margin: 0; border-top: 1px solid var(--line); }
.canais > div { display: grid; grid-template-columns: 13rem 1fr; gap: .25rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.canais dt { color: var(--muted); font-size: var(--fs-sm); }
.canais dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.canais dd a { color: var(--ink); text-decoration: none; }
.canais dd a:hover { color: var(--green-600); text-decoration: underline; }
.canais .muted { font-weight: 400; font-size: var(--fs-sm); }
@media (max-width: 560px) { .canais > div { grid-template-columns: 1fr; } }

.mapa { display: grid; gap: 1.25rem; justify-items: start; }
.mapa__addr { line-height: 1.7; color: var(--ink-2); }
.mapa__addr strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.mapa__frame { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--tint); }
.mapa__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.mapa__link {
  width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); border: 1.5px dashed rgba(0, 122, 87, .35);
  display: grid; place-content: center; text-align: center; gap: .5rem; text-decoration: none; color: var(--green-700);
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 122, 87, .16) 1px, transparent 1.4px) 0 0 / 18px 18px,
    linear-gradient(160deg, var(--tint-2), var(--tint));
}
.mapa__link strong { font-family: var(--font-display); }

/* ---------- 17. Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 4rem 2rem; color: var(--ink-2); font-size: var(--fs-sm); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 2.5rem; }
.footer__grid > div { display: grid; gap: .9rem; align-content: start; }
.footer__brand img { width: 150px; }
.footer__slogan { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: var(--fs-lg); }
.footer__h { font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--green-600); }
.footer__links { display: grid; gap: .45rem; }
.footer__links a { text-decoration: none; }
.footer__legal { margin-top: 3rem; padding-top: 1.5rem; background: linear-gradient(var(--line), var(--line)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- 18. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; gap: .5rem;
  padding: .85rem 1.15rem; border-radius: 999px;
  background: var(--green-600); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  box-shadow: 0 10px 28px -10px rgba(11, 58, 46, .55);
}
.wa-float:hover { color: #fff; background: var(--green-700); }
@media (max-width: 900px) { .wa-float { display: inline-flex; } .footer { padding-bottom: 6rem; } }

/* ---------- 19. Revelação ao scroll (estado de repouso visível) ---------- */
.js .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-pending { opacity: 0; transform: translateY(14px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal.is-pending { opacity: 1; transform: none; }
}
