/* =====================================================================
   Centro Médico Três Elementos — Folha de estilos do site
   ---------------------------------------------------------------------
   Site estático (HTML + CSS + um pouco de JS). Fácil de manter:
   - Para trocar cores da marca, edite as variáveis em ":root" abaixo.
   - Os textos ficam direto no HTML (index.html / exames.html).
   ===================================================================== */

/* ------------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
:target { scroll-margin-top: 90px; }

/* ---------------------------- Variáveis ----------------------------- */
:root {
  /* Cores da marca (edite aqui para rebrandizar) */
  --primary:        #22A7D6;   /* ciano principal (botões, destaques) */
  --primary-600:    #1B8CB8;   /* hover */
  --primary-700:    #176F94;
  --navy:           #14206E;   /* azul-marinho (títulos, seções escuras) */
  --navy-800:       #1B2A8E;
  --navy-900:       #0B1150;
  --sky-50:         #E8F6FB;   /* fundo azul bem claro */
  --sky-100:        #D2EEF7;   /* fundo azul claro */
  --sky-200:        #B0E2F1;
  --wa:             #22A7D6;   /* cor dos botões de WhatsApp */
  --wa-600:         #1B8CB8;

  /* Neutros */
  --white: #ffffff;
  --ink:   #14206E;            /* cor dos títulos */
  --text:  #3F4C59;            /* corpo de texto */
  --muted: #6E7C8A;            /* texto secundário */
  --line:  #E3E8EC;            /* bordas */
  --gray-50: #F7F9FA;
  --gray-100: #F1F4F6;

  /* Tipografia */
  --font-display: "Sofia Sans", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Mulish", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --pad: 24px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(16, 41, 77, .08);
  --shadow: 0 12px 30px rgba(16, 41, 77, .10);
  --shadow-lg: 0 24px 60px rgba(16, 41, 77, .16);
  --shadow-btn: 0 10px 22px rgba(34, 167, 214, .32);
}

/* ------------------------------- Base ------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; font-weight: 800; }
strong { color: var(--ink); font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--sky { background: var(--sky-100); }
.section--sky-soft { background: var(--sky-50); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.82); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

/* Cabeçalho de seção (eyebrow + título + texto) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .02em; color: var(--primary); text-transform: none;
}
.eyebrow::before { content: "✛"; color: var(--primary); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(28px, 4vw, 40px); margin: 14px 0 0; letter-spacing: -.02em; }
.lead { font-size: 18px; color: var(--muted); margin-top: 16px; }

/* ------------------------------ Botões ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--primary-600); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); }
.btn-outline { border: 2px solid var(--sky-200); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--ink); }
.btn-block { width: 100%; white-space: normal; }  /* botões largos podem quebrar linha (não estouram no mobile) */
.btn-sm { padding: 11px 18px; font-size: 15px; }

/* Logo oficial do WhatsApp — definida UMA vez, aplicada a todo botão .btn-wa */
.btn-wa::before,
.wa-ico {
  content: "";
  width: 1.25em; height: 1.25em; flex: 0 0 auto; display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.872.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%2001-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%2001-1.51-5.26c.002-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%20012.893%206.994c-.003%205.45-4.437%209.884-9.885%209.884M20.52%203.449C18.24%201.245%2015.24%200%2012.045%200%205.463%200%20.104%205.335.101%2011.892c0%202.096.549%204.142%201.588%205.945L0%2024l6.305-1.654a11.882%2011.882%200%20005.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%2000-3.48-8.418%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.872.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%2001-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%2001-1.51-5.26c.002-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%20012.893%206.994c-.003%205.45-4.437%209.884-9.885%209.884M20.52%203.449C18.24%201.245%2015.24%200%2012.045%200%205.463%200%20.104%205.335.101%2011.892c0%202.096.549%204.142%201.588%205.945L0%2024l6.305-1.654a11.882%2011.882%200%20005.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%2000-3.48-8.418%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-btn); }
.btn-wa:hover { background: var(--wa-600); }
.link-wa { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; }

/* ----------------------------- Cabeçalho ---------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 19px; flex-shrink: 0; }
.brand > span { white-space: nowrap; line-height: 1.15; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: var(--sky-100); display: grid; place-items: center; color: var(--primary); }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { font-weight: 600; font-size: 14.5px; color: var(--navy); transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--primary); }
.header-cta { display: inline-flex; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; color: var(--navy); align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ------------------------------- Hero ------------------------------- */
.hero { background: linear-gradient(180deg, var(--sky-100) 0%, var(--sky-50) 100%); padding: 68px 0 76px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.02em; margin: 16px 0 18px; }
.hero p.sub { font-size: 18px; color: var(--text); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.stats { display: flex; gap: 34px; margin-top: 36px; flex-wrap: wrap; }
.stat b { font-family: var(--font-display); font-size: 30px; color: var(--ink); display: block; line-height: 1; }
.stat span { font-size: 14px; color: var(--muted); }

/* Formulário de agendamento */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--gray-50); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field textarea { resize: vertical; min-height: 80px; }

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

/* Cartão de especialidade */
.spec-card { display: flex; flex-direction: column; }        /* card vira coluna... */
.spec-card .spec-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--sky-100); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.spec-card .spec-ico svg { width: 26px; height: 26px; }
.spec-card h3 { font-size: 20px; margin-bottom: 14px; }
.spec-list { margin-bottom: 22px; }
.spec-list li { position: relative; padding-left: 24px; font-size: 15px; color: var(--text); margin-bottom: 8px; }
.spec-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.spec-card .card-cta { margin-top: auto; }                    /* ...e o botão desce pro rodapé, alinhando todos */

/* --------------------------- Sobre / tabs --------------------------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: 22px 0 18px; }
.tab-btn { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--muted); padding-bottom: 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.tab-btn[aria-selected="true"] { color: var(--primary-600); border-color: var(--primary); }
.tab-panel { color: var(--text); }
.tab-panel[hidden] { display: none; }

/* ------------------------- Features / horário ----------------------- */
.features { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.feature-list li { position: relative; padding-left: 34px; margin-bottom: 16px; color: var(--text); }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-100); color: var(--primary); font-size: 13px; font-weight: 800; display: grid; place-items: center;
}
.hours-card { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.hours-card h3 { color: #fff; font-size: 22px; margin-bottom: 18px; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.22); font-size: 15px; }
.hours-row span:last-child { font-weight: 700; }
.hours-card .btn { margin-top: 22px; background: #fff; color: var(--primary-700); }

/* ---------------------------- Faixa CTA ----------------------------- */
.band { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h3 { color: #fff; font-size: clamp(22px, 3vw, 28px); }
.band p { color: rgba(255,255,255,.75); margin-top: 4px; }

/* --------------------------- Exames rápidos ------------------------- */
.exam-card { display: flex; flex-direction: column; min-height: 210px; padding: 30px 28px; }
.exam-card h4 { font-size: 21px; line-height: 1.2; }
.exam-card .link-wa { margin-top: auto; }   /* "Ver preparo" desce para o rodapé do card */

/* ------------------------- Galeria (carrossel) ---------------------- */
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gcard { flex: 0 0 clamp(280px, 33%, 380px); scroll-snap-align: start; }
.gcard-img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gcard:hover .gcard-img img { transform: scale(1.05); }
.gcard-expand { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--primary); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.gcard-expand svg { width: 19px; height: 19px; }
.gcard b { display: block; margin-top: 16px; color: var(--primary); text-transform: uppercase; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.gcard-label { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 2px; }
.gallery-nav { display: flex; gap: 12px; margin-top: 26px; }
.gnav { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.gnav:hover { border-color: var(--primary); color: var(--primary); }
.gnav svg { width: 22px; height: 22px; }

/* Lightbox (ampliar foto) */
.lightbox { position: fixed; inset: 0; background: rgba(11,17,80,.9); display: none; align-items: center; justify-content: center; z-index: 100; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1040px); max-height: 80vh; border-radius: 16px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 20px; right: 26px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; font-size: 30px; line-height: 1; }
.lightbox-cap { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; color: #fff; padding: 0 20px; }
.lightbox-cap b { display: block; color: var(--sky-200); text-transform: uppercase; font-size: 13px; letter-spacing: .04em; font-family: var(--font-display); }
.lightbox-cap span { font-family: var(--font-display); font-weight: 700; font-size: 19px; }

/* ------------------------------ Passos ------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--navy-800); color: rgba(255,255,255,.8); border-radius: var(--radius-lg); padding: 28px; }
.step .num { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: #fff; }
.step .step-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; margin: 14px 0; }
.step .step-ico svg { width: 22px; height: 22px; }
.step h4 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.step a { color: var(--sky-200); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }

/* ----------------------------- Artigos ------------------------------ */
.article-card { overflow: hidden; padding: 0; }
.article-card img { width: 100%; height: 190px; object-fit: cover; }
.article-body { padding: 22px 24px 26px; }
.tag { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .03em; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; }
.article-card h4 { font-size: 18px; margin-bottom: 8px; }
.article-card p { font-size: 14px; color: var(--muted); }
.article-card .more { margin-top: 14px; color: var(--primary); font-weight: 700; font-size: 14px; }

/* ---------------------------- Localização --------------------------- */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.location .map-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.location .map-card h3 { font-size: 20px; margin-bottom: 6px; }
.location address { font-style: normal; color: var(--muted); font-size: 15px; margin-bottom: 20px; }

/* ------------------------------- FAQ -------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.faq-q svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--primary); transition: transform .3s; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--text); }
.faq-a > div { padding: 0 4px 22px; }

/* ------------------------------ Rodapé ------------------------------ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,.6); }
/* Logo oficial num selo branco (para ficar legível sobre o rodapé escuro) */
.footer-logo { display: inline-block; background: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.footer-logo img { height: 42px; width: auto; display: block; }
.footer-about { margin-top: 16px; font-size: 15px; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-links a { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.55); }

/* --------------------------- Página exames -------------------------- */
.page-hero { background: linear-gradient(180deg, var(--sky-100), var(--sky-50)); padding: 56px 0 64px; }
.page-hero .back { color: var(--primary); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); margin: 16px 0 14px; letter-spacing: -.02em; }
.page-hero p { max-width: 620px; font-size: 18px; color: var(--text); }

/* --------------------------- Responsivo ----------------------------- */
/* Nada pode ultrapassar a largura da tela (evita barra de rolagem lateral) */
html, body { overflow-x: clip; }
/* Colunas de grid/flex podem encolher abaixo do conteúdo (evita estouro no mobile) */
.hero .container > *, .about > *, .features > *, .location > *, .grid > *, .band > * { min-width: 0; }
.exam-card h4, .spec-card h3, .article-card h4, .gcard-label { overflow-wrap: anywhere; }

/* O menu tem muitos itens: vira "hambúrguer" já em telas médias, para não estourar */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; box-shadow: var(--shadow);
  }
  .header-cta { display: none; }
}
@media (max-width: 980px) {
  .hero .container, .about, .features, .location { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .about-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .btn { white-space: normal; }   /* no celular, qualquer botão longo pode quebrar linha */
  .grid-3, .grid-4, .steps, .grid-2 { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
}
