/* ==========================================================================
   AMAFE Medicina Diagnóstica — sistema visual (v2 · editorial + fotografia)
   Azul Profundo #2F4B5C · Verde Água #B5CCC7 · Grafite #17252D · After
   ========================================================================== */

@font-face {
  font-family: "After";
  src: url("../assets/fonts/After-Regular.otf") format("opentype");
  font-weight: 400; font-display: swap;
}

:root {
  --azul: #2f4b5c;
  --azul-900: #233b47;
  --verde: #b5ccc7;
  --verde-200: #d3e2de;
  --verde-050: #eef3f1;
  --grafite: #17252d;
  --grafite-800: #1d2f38;
  --paper: #f0f2f0;
  --paper-2: #e7ebe9;
  --white: #ffffff;
  --ink: #17252d;
  --ink-soft: #46585f;
  --ink-faint: #7a888d;
  --line: #d9e1df;
  --line-dark: #2c3d45;

  --r: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --pill: 999px;
  --gutter: clamp(20px, 5vw, 70px);
  --maxw: 1320px;

  --f-display: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --f-brand: "After", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-text: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-img: cubic-bezier(0.62, 0.05, 0.1, 0.99);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.js { scroll-behavior: auto; }
html:not(.lenis) { scroll-behavior: smooth; }

body {
  font-family: var(--f-text);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--azul); color: var(--verde-050); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.pad { padding-block: clamp(76px, 10vw, 150px); }
.pad-s { padding-block: clamp(50px, 7vw, 96px); }

.eyebrow {
  font-family: var(--f-text);
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint); display: inline-flex; align-items: center; gap: 11px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--azul); opacity: .6; }
.eyebrow.on-dark { color: var(--verde); }
.eyebrow.on-dark::before { background: var(--verde); opacity: .85; }

/* ---------- display type (Helvetica, legível) ---------- */
.display {
  font-family: var(--f-display); font-weight: 700;
  line-height: 1.0; letter-spacing: -0.03em; color: var(--grafite);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}
.display .azul, .display .accent { color: var(--azul); }
.display .soft { color: var(--ink-faint); }
.h2 {
  font-family: var(--f-display); font-weight: 700;
  line-height: 1.04; letter-spacing: -0.022em;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--grafite);
}
.h2 .soft { color: var(--ink-faint); }
.h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--grafite); }
.lead { font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 50ch; }
.section-dark .lead { color: #aec0bc; }
.section-dark .h2, .section-dark .h3 { color: var(--verde-050); }
.section-dark .h2 .soft { color: #7f9a95; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 25px; border-radius: var(--pill);
  font-size: 0.95rem; letter-spacing: .01em;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .5s var(--ease); }
.btn:hover .ic { transform: rotate(45deg); }
.btn-primary { background: var(--azul); color: var(--verde-050); }
.btn-primary .ic { background: rgba(255,255,255,.14); }
.btn-primary:hover { background: var(--azul-900); }
.btn-dark { background: var(--grafite); color: var(--verde-050); }
.btn-dark .ic { background: rgba(255,255,255,.12); }
.btn-mint { background: var(--verde); color: var(--grafite); }
.btn-mint .ic { background: rgba(23,37,45,.12); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost .ic { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--azul); }
/* ghost sobre fundo escuro ou imagem: contraste garantido */
.section-dark .btn-ghost, .band .btn-ghost, .final .btn-ghost {
  border-color: rgba(238,243,241,.45); color: var(--verde-050);
}
.section-dark .btn-ghost:hover, .band .btn-ghost:hover, .final .btn-ghost:hover { border-color: var(--verde); background: rgba(255,255,255,.08); }
.section-dark .btn-ghost .ic, .band .btn-ghost .ic, .final .btn-ghost .ic { border-color: rgba(238,243,241,.45); }
/* glass (hero sobre imagem) */
.btn-glass { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease), background .4s, border-color .4s, color .4s; }
.icon-btn:hover { background: var(--azul); border-color: var(--azul); color: var(--verde-050); transform: rotate(45deg); }

/* ---------- image treatment (cohesive, editorial) ---------- */
.img { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease-img); will-change: transform; }
.img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,37,45,.05), rgba(47,75,92,.14)); mix-blend-mode: multiply; pointer-events: none; }
.img.grad::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(23,37,45,0) 35%, rgba(23,37,45,.82) 100%); pointer-events: none; }
.img.hoverzoom:hover img { transform: scale(1.06); }

/* clip reveal for images */
.clip { clip-path: inset(0 0 0 0); }
.js .clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-img); }
.js .clip img { transform: scale(1.18); }
.clip.in { clip-path: inset(0 0 0 0); }
.clip.in img { transform: scale(1); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; padding: 18px var(--gutter); display: flex; justify-content: center; }
.nav-inner {
  width: 100%; max-width: var(--maxw); display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.55); box-shadow: 0 12px 40px -26px rgba(23,37,45,.5);
  border-radius: var(--pill); padding: 10px 10px 10px 22px; transition: box-shadow .5s var(--ease), background .5s var(--ease);
}
.nav.scrolled .nav-inner { box-shadow: 0 18px 50px -26px rgba(23,37,45,.6); background: rgba(255,255,255,0.88); }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand .sym { width: 34px; height: auto; }
.brand .word { font-family: var(--f-brand); font-weight: 400; font-size: 1.34rem; letter-spacing: .05em; color: var(--grafite); line-height: 1; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 9px 16px; border-radius: var(--pill); font-size: .92rem; color: var(--ink-soft); transition: background .35s var(--ease), color .35s; }
.nav-links a:hover { background: var(--verde-050); color: var(--grafite); }
.nav-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-burger { display: none; }

/* ---------- HERO (full-bleed, cinematográfico) ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 clamp(26px,4vw,48px); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img {
  width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; left: 0;
  filter: brightness(.6) saturate(1.05) contrast(1.02);
  animation: kenburns 18s ease-in-out infinite alternate; will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 85% 70% at 50% 50%, rgba(14,24,30,.45) 0%, rgba(14,24,30,.22) 60%, rgba(14,24,30,.12) 100%),
    linear-gradient(0deg, rgba(14,24,30,.5), rgba(14,24,30,.28) 50%, rgba(14,24,30,.4));
}
.hero-title, .hero-sub { text-shadow: 0 2px 30px rgba(0,0,0,.55); }
.hero-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; margin-top: auto; }
.hero-title { color: #fff; font-size: clamp(2.9rem, 6.2vw, 5.1rem); line-height: 0.98; letter-spacing: -0.035em; margin: 18px 0 0; max-width: 15ch; text-shadow: 0 3px 34px rgba(0,0,0,.6); }
.hero-title .accent { color: #fff; }
.hero-sub { color: #fff; font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin-top: 26px; max-width: 54ch; text-shadow: 0 1px 18px rgba(0,0,0,.6); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(30px,5vw,56px); }
.hero-stats { display: flex; gap: clamp(20px,3vw,44px); flex-wrap: wrap; }
.hero-stats span { color: rgba(255,255,255,.82); font-size: .9rem; display: inline-flex; align-items: baseline; gap: 8px; }
.hero-stats b { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; }
.hero-scroll { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.75); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-scroll svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* faixa de chips sob o hero */
.hero-chips-band { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; padding-block: clamp(20px,3vw,30px); }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 17px; border-radius: var(--pill); background: var(--paper); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.chip .d { width: 6px; height: 6px; border-radius: 50%; background: var(--azul); }

/* nav começa transparente sobre o hero, vira claro ao rolar */
.nav:not(.scrolled) .nav-inner { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); box-shadow: none; }
.nav:not(.scrolled) .brand .word, .nav:not(.scrolled) .nav-links a { color: #fff; }
.nav:not(.scrolled) .brand .sym { filter: brightness(0) invert(1); }
.nav:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.15); color: #fff; }
.nav:not(.scrolled) .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.nav:not(.scrolled) .nav-burger { border-color: rgba(255,255,255,.4); color: #fff; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--paper-2); padding-block: 22px; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 1.9vw, 1.7rem); letter-spacing: -0.01em; color: var(--grafite); padding-inline: clamp(22px,3vw,48px); display: inline-flex; align-items: center; gap: clamp(22px,3vw,48px); white-space: nowrap; }
.marquee-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--verde); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- section head ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 58px); }
.sec-head .intro { max-width: 62ch; }
.sec-head .h2 { margin-top: 14px; }

/* ---------- editorial split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.wide-img { grid-template-columns: 1.1fr 0.9fr; }
.about-fig { height: clamp(380px, 48vw, 600px); }
.about-fig .img { height: 100%; }
.about-copy p { margin-top: 18px; color: var(--ink-soft); }
.about-copy .lead { margin-top: 18px; }
.words-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.words-row .w { padding: 8px 15px; border: 1px solid var(--line); border-radius: var(--pill); font-size: .8rem; color: var(--azul); letter-spacing: .05em; }
.stat-inline { display: flex; gap: clamp(24px,4vw,56px); margin-top: 34px; flex-wrap: wrap; align-items: flex-start; }
.stat-inline > div { min-width: 90px; }
.stat-inline .n { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem,3.4vw,2.7rem); color: var(--grafite); line-height: 1; letter-spacing: -0.02em; }
.stat-inline .l { font-size: .84rem; color: var(--ink-faint); margin-top: 8px; max-width: 16ch; }

/* ---------- exames (image cards) ---------- */
.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.exam-card { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: clamp(300px, 34vw, 400px); display: flex; }
.exam-card .img { position: absolute; inset: 0; border-radius: 0; }
.exam-card .img img { transition: transform 1.2s var(--ease-img); }
.exam-card:hover .img img { transform: scale(1.07); }
.exam-card .ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(23,37,45,.15) 0%, rgba(23,37,45,.85) 100%); }
.exam-card .c { position: relative; z-index: 2; margin-top: auto; padding: 26px; color: var(--verde-050); width: 100%; }
.exam-card .num { font-family: var(--f-display); font-weight: 700; font-size: .95rem; color: var(--verde); letter-spacing: .02em; }
.exam-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.06; letter-spacing: -0.02em; margin-top: 8px; color: var(--white); }
.exam-card p { font-size: .9rem; color: #cddbd8; margin-top: 10px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s; }
.exam-card:hover p { max-height: 120px; opacity: 1; }
.exam-card .ar { position: absolute; top: 22px; right: 22px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: var(--verde-050); transition: transform .5s var(--ease), background .4s, border-color .4s; }
.exam-card:hover .ar { background: var(--verde); border-color: var(--verde); color: var(--grafite); transform: rotate(45deg); }
.exam-wide { grid-column: span 3; min-height: auto; }
.exam-consulta { background: var(--grafite); border-radius: var(--r-md); padding: clamp(28px,3vw,42px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--verde-050); }
.exam-consulta h3 { color: var(--white); }
.exam-consulta p { color: #a9bdb8; margin-top: 8px; max-width: 54ch; }

/* ---------- diferenciais (feature + image) ---------- */
.feat-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feat { border-radius: var(--r-md); padding: 32px 30px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feat:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -38px rgba(23,37,45,.5); }
.feat .fi { width: 52px; height: 52px; border-radius: 15px; background: var(--verde-050); display: grid; place-items: center; }
.feat .fi svg { width: 26px; }
.feat p { font-size: .94rem; color: var(--ink-soft); }

/* ---------- acolhimento highlight (big image + overlay quote) ---------- */
.highlight { position: relative; border-radius: var(--r); overflow: hidden; min-height: clamp(420px, 52vw, 620px); display: flex; align-items: flex-end; }
.highlight .img { position: absolute; inset: 0; border-radius: 0; }
.highlight .img::after { background: linear-gradient(100deg, rgba(23,37,45,.92) 0%, rgba(23,37,45,.72) 42%, rgba(23,37,45,.3) 72%, rgba(23,37,45,.1) 100%); mix-blend-mode: normal; }
.highlight .c { position: relative; z-index: 2; padding: clamp(30px,5vw,70px); max-width: 40ch; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.highlight .c .q { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem,2.4vw,2rem); line-height: 1.14; letter-spacing: -0.02em; }
.highlight .c p { color: rgba(255,255,255,.85); margin-top: 18px; }

/* ---------- processo ---------- */
.section-dark { background: var(--grafite); color: var(--verde-050); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-dark); }
.step { padding: 36px 26px 32px; border-right: 1px solid var(--line-dark); }
.step:last-child { border-right: none; }
.step .n { font-family: var(--f-display); font-weight: 700; font-size: 2.4rem; color: var(--verde); line-height: 1; letter-spacing: -0.02em; }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; margin-top: 26px; color: var(--verde-050); }
.step p { font-size: .9rem; color: #9fb4af; margin-top: 12px; }

/* ---------- band (results) ---------- */
.band { position: relative; border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; padding: clamp(36px,5vw,72px); color: var(--verde-050); }
.band .img { position: absolute; inset: 0; border-radius: 0; z-index: 0; }
.band .img::after { background: linear-gradient(100deg, rgba(23,37,45,.92) 0%, rgba(23,37,45,.72) 55%, rgba(23,37,45,.45) 100%); mix-blend-mode: normal; }
.band .l, .band .r { position: relative; z-index: 1; }
.band .h2 { color: var(--verde-050); }
.band p { color: #bccecb; margin-top: 16px; max-width: 42ch; }
.band .r { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ---------- convenios ---------- */
.conv { background: var(--verde-050); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(30px,4vw,56px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }

/* ---------- contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 28px; display: flex; flex-direction: column; gap: 6px; transition: transform .5s var(--ease), border-color .4s; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--verde); }
.contact-card .lab { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.contact-card .val { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--grafite); }
.contact-card .val.sm { font-size: 1.12rem; }
.contact-card a.val:hover { color: var(--azul); }
.contact-card .meta { color: var(--ink-faint); font-size: .9rem; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px,4vw,64px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem,1.6vw,1.32rem); letter-spacing: -0.015em; color: var(--grafite); line-height: 1.16; }
.faq-plus { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease), background .4s, color .4s; }
.faq-item.open .faq-plus { background: var(--azul); border-color: var(--azul); color: var(--verde-050); transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.faq-a .inner { padding: 0 4px 26px; color: var(--ink-soft); font-size: .98rem; max-width: 58ch; }

/* ---------- final cta ---------- */
.final { position: relative; border-radius: var(--r); overflow: hidden; padding: clamp(60px,9vw,140px) clamp(24px,5vw,80px); text-align: center; color: var(--verde-050); }
.final .img { position: absolute; inset: 0; border-radius: 0; z-index: 0; }
.final .img::after { background: linear-gradient(180deg, rgba(23,37,45,.86), rgba(23,37,45,.92)); mix-blend-mode: normal; }
.final .c { position: relative; z-index: 1; text-shadow: 0 2px 26px rgba(0,0,0,.4); }
.final .display { max-width: 20ch; margin-inline: auto; color: #fff; }
.final .lead { margin: 22px auto 0; text-align: center; color: #bccecb; }
.final .f-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--grafite); color: var(--verde-050); padding-block: clamp(56px,7vw,92px) 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer .brand .word { color: var(--verde-050); }
.footer-about { color: #9fb4af; margin-top: 20px; font-size: .95rem; max-width: 34ch; }
.footer-col h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #7f9a95; margin-bottom: 16px; }
.footer-col a { display: block; color: #bccecb; padding: 6px 0; font-size: .96rem; transition: color .3s; }
.footer-col a:hover { color: var(--verde); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .4s, border-color .4s, color .4s; }
.socials a:hover { background: var(--verde); border-color: var(--verde); color: var(--grafite); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px,6vw,70px); padding-top: 24px; border-top: 1px solid var(--line-dark); color: #7f9a95; font-size: .72rem; text-transform: uppercase; letter-spacing: 0; }
.footer-credit a { color: #a9c3be; text-decoration: none; border-bottom: 1px solid rgba(169,195,190,.35); transition: color .35s, border-color .35s; }
.footer-credit a:hover { color: #fff; border-color: #fff; }

/* ---------- reveal ---------- */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(30px); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; } .reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; } .reveal.d4 { transition-delay: .36s; }
.line-mask { display: block; overflow: hidden; padding-bottom: .04em; }
.line-mask > span { display: block; transition: transform 1.05s var(--ease); }
.js .line-mask > span { transform: translateY(103%); }
.line-mask.in > span { transform: none; }
.line-mask.m1 > span { transition-delay: .05s; } .line-mask.m2 > span { transition-delay: .15s; } .line-mask.m3 > span { transition-delay: .25s; }

/* parallax wrapper */
[data-parallax] { will-change: transform; }

/* custom cursor */
.cursor { position: fixed; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--azul); pointer-events: none; z-index: 999; transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s, opacity .3s; mix-blend-mode: normal; }
.cursor.ring { width: 9px; height: 9px; }
.cursor.hot { width: 46px; height: 46px; background: rgba(47,75,92,.14); border: 1px solid var(--azul); }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }
@media (hover: none) { .cursor { display: none; } body.has-cursor { cursor: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .line-mask > span, .js .clip { transform: none; clip-path: none; }
  html:not(.lenis) { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .split, .split.wide-img, .band, .conv, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { height: clamp(360px, 70vw, 520px); }
  .about-fig { height: clamp(320px, 62vw, 480px); }
  .exam-grid { grid-template-columns: repeat(2, 1fr); }
  .exam-wide { grid-column: span 2; }
  .feat-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line-dark); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer .brand { grid-column: 1 / -1; }
  .exam-card p { max-height: 120px; opacity: 1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav { padding: 12px var(--gutter); }
  .nav-inner { padding: 7px 7px 7px 16px; gap: 10px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta { gap: 7px; }
  .brand .word { font-size: 1.18rem; }
  .exam-grid, .steps, .contact-grid { grid-template-columns: 1fr; }
  .exam-wide { grid-column: span 1; }
  .step { border-right: none; border-bottom: 1px solid var(--line-dark); }
  .footer-top { grid-template-columns: 1fr; }
  .marquee-track { animation-duration: 24s; }
  .cursor { display: none; } body.has-cursor { cursor: auto; }
  /* botões do hero empilhados e com contraste no mobile */
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-inline: auto; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 15px 22px; }
  .btn-glass { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); color: #fff; }
  .hero-sub { font-size: 1rem; }
  /* faixa de chips só no desktop */
  .hero-chips-band { display: none; }
  /* crédito do rodapé centralizado no mobile */
  .footer-bottom { justify-content: center; text-align: center; }
}

/* evita quebra do menu em larguras médias */
@media (max-width: 920px) and (min-width: 721px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav-cta .btn-ghost { display: none; }
}

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgba(23,37,45,.98); backdrop-filter: blur(6px); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: var(--gutter); transform: translateY(-100%); transition: transform .6s var(--ease); }
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--f-display); font-size: 2rem; color: var(--verde-050); padding: 10px 0; }
.mobile-menu .close { position: absolute; top: 26px; right: var(--gutter); color: var(--verde-050); font-size: 1.7rem; }

/* ===================== LAYOUT (conteúdo à esquerda, hero central) ===================== */
.eyebrow { display: none; }

/* hero continua em tela cheia, centralizado */
.hero { justify-content: center; align-items: center; text-align: center; padding-bottom: 0; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 0; }
.hero-title { text-align: center; margin-inline: auto; }
.hero-sub { text-align: center; text-wrap: balance; margin-inline: auto; }
.hero-cta { justify-content: center; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); }

/* divisórias entre as seções */
.pad, .pad-s { border-top: 1px solid var(--line); }
.section-dark.pad, .section-dark.pad-s { border-top: 1px solid var(--line-dark); }

/* a clínica: à esquerda, com divisória entre os parágrafos */
.about-copy p { max-width: 56ch; text-wrap: pretty; }
.about-copy p + p { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ===================== BOTÕES MINIMALISTAS ===================== */
.btn { padding: 12px 22px; gap: 9px; font-weight: 500; font-size: .92rem; border-radius: var(--pill); }
.btn .ic { width: 15px; height: 15px; border-radius: 0; background: transparent; border: 0; transition: transform .45s var(--ease); }
.btn .ic svg { width: 14px; height: 14px; }
.btn:hover { transform: translateY(-1px); }
.btn:hover .ic { transform: translate(3px, -3px); }
/* títulos equilibrados; parágrafos sem linha órfã */
.display, .h2, .h3, .hero-title { text-wrap: balance; }
.lead, .feat p, .step p, .band p, .conv p, .final .lead, .exam-consulta p, .highlight .c p { text-wrap: pretty; }
