/* ============================================
   Instituto Prime | Landing Revamp
   ============================================ */

:root {
  --c-dark:    #0E1F26;
  --c-dark-2:  #14282F;
  --c-dark-3:  #22333B;
  --c-tan:     #C5AC8E;
  --c-tan-2:   #B8997A;
  --c-cream:   #F9DCB9;
  --c-cream-2: #FFE8CD;
  --c-bg:      #FAF7F2;
  --c-surface: #FFFFFF;
  --c-text:    #1A2A30;
  --c-muted:   #5A6B72;
  --c-border:  #E6DFD3;

  --shadow-sm: 0 1px 2px rgba(14,31,38,.06);
  --shadow:    0 8px 24px -8px rgba(14,31,38,.18);
  --shadow-lg: 0 24px 60px -20px rgba(14,31,38,.35);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --t-fast: 180ms cubic-bezier(.22,.61,.36,1);
  --t-med:  320ms cubic-bezier(.22,.61,.36,1);
  --t-slow: 600ms cubic-bezier(.22,.61,.36,1);

  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4 { margin: 0; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 .85em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section   { padding-block: clamp(56px, 7vw, 88px); }
.section--sm { padding-block: clamp(40px, 5vw, 64px); }
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-tan-2);
  margin-bottom: 14px;
}
.journey .kicker, .why .kicker, .final .kicker, .doctor .kicker { color: var(--c-cream); }
.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.section-title strong { font-weight: 700; }
.section-lead { color: var(--c-muted); max-width: 60ch; margin: 0; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
  background: var(--c-cream); color: var(--c-dark);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  box-shadow: 0 6px 18px -6px rgba(197,172,142,.6);
}
.btn:hover { transform: translateY(-2px); background: var(--c-cream-2); box-shadow: 0 12px 28px -8px rgba(197,172,142,.7); }
.btn:active { transform: translateY(0); }
.btn .arrow {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-dark); color: var(--c-cream);
  transition: transform var(--t-fast);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn--outline {
  background: transparent;
  color: var(--c-cream);
  box-shadow: inset 0 0 0 1.5px rgba(249,220,185,.45);
}
.btn--outline:hover { background: rgba(249,220,185,.08); box-shadow: inset 0 0 0 1.5px var(--c-cream); }
.btn--outline .arrow { background: var(--c-cream); color: var(--c-dark); }
.btn--block { width: 100%; justify-content: center; }

.btn--wa { background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(37,211,102,.55); }
.btn--wa:hover { background: #1ebe57; box-shadow: 0 14px 30px -8px rgba(37,211,102,.65); }
.btn--wa .wa-ico { width: 20px; height: 20px; }

/* ---------- Site header logo ---------- */
.site-header .logo img { width: auto; height: 54px; image-rendering: auto; }
.footer img { width: auto; height: 40px; image-rendering: auto; opacity: .9; }
@media (max-width: 560px) {
  .site-header .logo img { height: 42px; }
}

/* ---------- WhatsApp card (hero) ---------- */
.wa-card {
  background: linear-gradient(180deg, #fff, #F7F1E6);
  color: var(--c-text);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
  position: relative;
}
.wa-card-head {
  display: flex; gap: 12px; align-items: center;
  padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}
.wa-dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: #25D366 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M20.52 3.48A11.94 11.94 0 0 0 12 0C5.37 0 0 5.37 0 12a11.9 11.9 0 0 0 1.6 6L0 24l6.18-1.62A11.95 11.95 0 0 0 12 24c6.63 0 12-5.37 12-12 0-3.2-1.25-6.21-3.48-8.52Z'/></svg>") center/60% no-repeat;
  position: relative; flex: 0 0 auto;
}
.wa-dot::after {
  content: ""; position: absolute; right: -2px; bottom: -2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #25D366; border: 2px solid #fff;
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50%     { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
}
.wa-name { font-weight: 600; font-size: 15px; color: var(--c-text); }
.wa-status { font-size: 12.5px; color: #25a651; display: flex; align-items: center; gap: 6px; }
.wa-status::before { content: "•"; color: #25D366; font-size: 20px; line-height: 0; }

.wa-chat {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, #ECE5DA, #E4DDCF);
  border-radius: 14px;
  margin-bottom: 18px;
  max-height: 200px;
  overflow: hidden;
  position: relative;
}
.wa-bubble {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13.5px; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.wa-bubble--in { background: #fff; color: #222; align-self: flex-start; border-top-left-radius: 4px; }
.wa-bubble--in strong { color: var(--c-dark); }
.wa-bubble--out { background: #D9FDD3; color: #1a1a1a; align-self: flex-end; border-top-right-radius: 4px; }

.wa-cta h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.wa-cta .small { color: var(--c-muted); font-size: 13.5px; margin-bottom: 18px; }
.wa-trust {
  display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center;
  margin-top: 14px;
}
.wa-trust li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--c-muted);
  white-space: nowrap;
}
.wa-trust svg { width: 12px; height: 12px; color: #25D366; flex: 0 0 auto; }
@media (max-width: 420px) {
  .wa-trust { flex-direction: column; align-items: center; gap: 8px; }
}

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding-block: 20px;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo img { height: 46px; width: auto; }
.site-header .meta { display: flex; align-items: center; gap: 22px; }
.site-header .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-weight: 500; font-size: 13.5px;
}
.site-header .pill svg { width: 14px; height: 14px; fill: var(--c-cream); }
.site-header .pill--tel {
  padding: 9px 12px;
}
.site-header .pill--tel svg {
  width: 16px; height: 16px; fill: none; stroke: var(--c-cream);
}

.site-nav {
  display: flex; align-items: center; gap: 26px;
  flex: 1; justify-content: center;
}
.site-nav a {
  color: rgba(255,255,255,.78); font-weight: 500; font-size: 13.5px;
  letter-spacing: .01em; transition: color var(--t-fast);
  white-space: nowrap;
}
.site-nav a:hover { color: var(--c-tan); }

@media (max-width: 1100px) {
  .site-nav { gap: 18px; font-size: 13px; }
}
@media (max-width: 960px) {
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .site-header .pill { padding: 8px 12px; font-size: 12.5px; }
  .site-header .pill--tel { display: none; }
  .site-header .logo img { height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--c-dark);
  color: #fff;
  padding-block: 130px 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero { background: #0E1F26; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Doctor portrait centralized behind the hero text. Both edges fade
     into the dark background so there's no visible image seam. */
  background:
    /* LEFT fade: solid dark fading to transparent (hides image left edge) */
    linear-gradient(90deg, #0E1F26 0%, rgba(14,31,38,.85) 6%, rgba(14,31,38,.4) 14%, transparent 22%),
    /* RIGHT fade: WA card area is solid dark */
    linear-gradient(90deg, transparent 0%, transparent 32%, rgba(14,31,38,.55) 50%, rgba(14,31,38,.92) 70%, #0E1F26 100%),
    /* Overall vertical darken so text reads cleanly */
    linear-gradient(180deg, rgba(14,31,38,.65) 0%, rgba(14,31,38,.72) 50%, rgba(14,31,38,.85) 100%),
    /* Doctor portrait */
    url("../img/doctor-hero.webp") 26% center / auto 118% no-repeat,
    /* Brand dark base */
    linear-gradient(180deg, #0E1F26 0%, #14282F 100%);
}
@media (max-width: 1100px) {
  .hero::before {
    background:
      linear-gradient(90deg, #0E1F26 0%, rgba(14,31,38,.7) 6%, transparent 18%),
      linear-gradient(90deg, transparent 0%, rgba(14,31,38,.55) 40%, rgba(14,31,38,.92) 65%, #0E1F26 100%),
      linear-gradient(180deg, rgba(14,31,38,.65), rgba(14,31,38,.82)),
      url("../img/doctor-hero.webp") 22% center / auto 112% no-repeat,
      linear-gradient(180deg, #0E1F26, #14282F);
  }
}
@media (max-width: 760px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(14,31,38,.45) 0%, rgba(14,31,38,.85) 60%, rgba(14,31,38,.97) 100%),
      url("../img/bg-hero-mobile.webp") 50% top / cover no-repeat,
      #0E1F26;
  }
}
.hero .grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 960px) { .hero .grid { grid-template-columns: 1fr; } }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 300; letter-spacing: -.025em;
  margin: 14px 0 18px;
}

/* Live status pill */
.hero-pulse {
  display: flex; align-items: center; gap: 8px;
  width: fit-content;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.4);
  color: #5be391;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 16px;
}
.hero-pulse .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25D366;
  animation: pulse-dot 1.6s infinite ease-out;
  position: relative;
}
.hero-pulse .dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.6);
  animation: pulse-ring 1.6s infinite ease-out;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(.85); }
}
@keyframes pulse-ring {
  0%   { transform: scale(.7); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero h1 strong { font-weight: 700; }
.hero .lead { color: rgba(255,255,255,.78); font-size: 17px; max-width: 52ch; margin-bottom: 28px; }
.hero .badges {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px; margin: 0 0 32px;
}
.hero .badge {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 14px 14px;
}
.hero .badge h4 { font-size: 13.5px; color: var(--c-cream); margin-bottom: 4px; }
.hero .badge p { font-size: 12.5px; color: rgba(255,255,255,.6); margin: 0; }
@media (max-width: 540px) { .hero .badges { grid-template-columns: 1fr; } }

/* ---------- Form Card ---------- */
.form-card {
  background: linear-gradient(180deg, #fff, #FAF6EE);
  color: var(--c-text);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.5);
}
.form-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.form-card .small { color: var(--c-muted); font-size: 14px; margin-bottom: 20px; }
.field { margin-bottom: 12px; }
.field label {
  display: block; font-size: 11.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 6px;
}
.field input {
  width: 100%; padding: 13px 16px;
  border-radius: 10px; border: 1px solid var(--c-border);
  background: #fff; font: inherit; color: var(--c-text);
  transition: border var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus {
  outline: 0; border-color: var(--c-tan);
  box-shadow: 0 0 0 4px rgba(197,172,142,.18);
}
.form-card .terms { font-size: 12px; color: var(--c-muted); margin: 12px 0 0; text-align: center; }

/* ---------- Section wrappers ---------- */
.curve-top {
  border-top-left-radius: 36px; border-top-right-radius: 36px;
  margin-top: -36px; position: relative; z-index: 2;
  background: var(--c-bg);
}

/* ---------- Diferenciais ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2,1fr); gap: 12px; } }
.feat {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-tan); }
.feat .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-cream-2); color: var(--c-dark-3);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feat .ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { font-size: 14.5px; color: var(--c-muted); margin: 0; }

/* ---------- Resultados (carousel) ---------- */
.results { background: var(--c-bg); }
.carousel { position: relative; margin-top: 36px; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); padding-block: 4px; }
.carousel-track {
  display: flex; gap: 16px;
  transition: transform var(--t-slow);
  will-change: transform;
  touch-action: pan-y;
}
.slide {
  flex: 0 0 calc((100% - 48px) / 4);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #14282F;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}
.slide:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .slide { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 520px) { .slide { flex-basis: 100%; } }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.car-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--c-dark-3); color: var(--c-dark-3);
  display: grid; place-items: center;
  transition: all var(--t-fast);
}
.car-btn:hover { background: var(--c-dark-3); color: #fff; transform: translateY(-2px); }
.car-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; background: transparent; color: var(--c-dark-3); }
.car-dots { display: flex; gap: 8px; }
.car-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(34,51,59,.25); transition: all var(--t-fast);
  padding: 0; border: 0;
}
.car-dot.active { width: 24px; border-radius: 999px; background: var(--c-dark-3); }
.car-counter {
  font: 600 14px/1 var(--font-base);
  color: var(--c-dark-3);
  letter-spacing: .04em;
  min-width: 56px; text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ---------- Doctor section ---------- */
.doctor { background: var(--c-dark); color: #fff; overflow: hidden; }
.doctor .grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 900px) { .doctor .grid { grid-template-columns: 1fr; } }
.doctor-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(197,172,142,.25), transparent 60%),
    linear-gradient(160deg, #14282F 0%, #0E1F26 100%);
  border: 1px solid rgba(197,172,142,.18);
  box-shadow: var(--shadow-lg);
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo .placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center; padding: 32px;
  color: rgba(249,220,185,.75);
}
.doctor-photo .placeholder svg { width: 96px; height: 96px; opacity: .35; margin-bottom: 12px; }
.doctor-photo .placeholder .ph-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(249,220,185,.6); }

.doctor h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); font-weight: 400; margin-bottom: 6px; }
.doctor h2 strong { font-weight: 700; }
.doctor .crm { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-tan); margin-bottom: 20px; }
.doctor .bio p { color: rgba(255,255,255,.78); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.doctor .bio p:last-child { margin-bottom: 0; }
.doctor .bio strong { color: var(--c-cream); font-weight: 600; }
.doctor .stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 28px 0 8px;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1);
}
.doctor .stat .n { font-size: 30px; font-weight: 700; color: var(--c-cream); letter-spacing: -.02em; }
.doctor .stat .l { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
@media (max-width: 540px) { .doctor .stats { grid-template-columns: 1fr 1fr; } .doctor .stat:last-child { grid-column: span 2; } }

/* ---------- Jornada (timeline) ---------- */
.journey { background: var(--c-dark-2); color: #fff; }
.journey .section-title { color: #fff; }
.journey .section-lead { color: rgba(255,255,255,.7); }

.timeline { position: relative; margin-top: 56px; }
.timeline::before {
  content: ""; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(197,172,142,.6) 8%, rgba(197,172,142,.6) 92%, transparent);
  transform: translateX(-50%);
}
.t-row {
  display: grid; grid-template-columns: 1fr 24px 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}
.t-row:last-child { margin-bottom: 0; }
.t-card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  padding: 22px 24px;
  border-radius: var(--radius);
  transition: transform var(--t-med), background var(--t-med), border-color var(--t-med);
  max-width: 100%;
}
.t-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.06); border-color: var(--c-tan); }
.t-card .step { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-tan); margin-bottom: 6px; }
.t-card h3 { font-size: 17px; margin-bottom: 8px; color: #fff; }
.t-card p { color: rgba(255,255,255,.68); font-size: 14.5px; margin: 0; }
.t-num {
  font-size: 44px; font-weight: 200; color: rgba(197,172,142,.35);
  line-height: 1; padding-top: 4px;
}

.t-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-tan);
  border: 3px solid var(--c-dark-2);
  box-shadow: 0 0 0 6px rgba(197,172,142,.15);
  margin: 0 auto;
}

.t-row.left  { grid-template-areas: "card dot num"; }
.t-row.right { grid-template-areas: "num dot card"; }
.t-row.left  .t-card { grid-area: card; text-align: right; }
.t-row.left  .t-num  { grid-area: num; text-align: left; }
.t-row.right .t-card { grid-area: card; text-align: left; }
.t-row.right .t-num  { grid-area: num; text-align: right; }
.t-row .t-dot { grid-area: dot; }

@media (max-width: 800px) {
  .timeline::before { left: 12px; }
  .t-row, .t-row.left, .t-row.right {
    grid-template-columns: 24px 1fr;
    grid-template-areas: "dot card";
    gap: 0 14px;
    margin-bottom: 18px;
  }
  .t-row.left .t-card, .t-row.right .t-card { text-align: left; position: relative; padding-right: 56px; }
  .t-num { display: none; }
  .t-row.left .t-card::after, .t-row.right .t-card::after {
    content: attr(data-num);
    position: absolute; top: 14px; right: 18px;
    font-size: 28px; font-weight: 200; color: rgba(197,172,142,.4); line-height: 1;
  }
  .t-dot { margin-top: 22px; transform: translateX(-1px); }
}

/* ---------- Por que escolher ---------- */
.why { background: var(--c-dark); color: #fff; }
.why .section-title { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); gap: 12px; } }
.why-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: all var(--t-med);
}
.why-card:hover { background: rgba(197,172,142,.06); border-color: var(--c-tan); transform: translateY(-4px); }
.why-card .check {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--c-tan); color: var(--c-tan);
  display: grid; place-items: center; margin-bottom: 16px;
}
.why-card .check svg { width: 16px; height: 16px; }
.why-card h3 { font-size: 17px; margin-bottom: 6px; color: #fff; }
.why-card p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }

/* ---------- Banner CTA ---------- */
.cta-banner-wrap { padding-block: 40px; background: var(--c-bg); }
.cta-banner {
  background:
    linear-gradient(120deg, rgba(14,31,38,.88), rgba(14,31,38,.72)),
    url("../img/bg-cta.webp") center/cover;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 4vw, 56px);
  display: grid; gap: 24px;
  grid-template-columns: 1.4fr auto;
  align-items: center;
}
@media (max-width: 760px) { .cta-banner { grid-template-columns: 1fr; text-align: center; } }
.cta-banner h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; max-width: 26ch; margin: 0; }
.cta-banner h2 strong { color: var(--c-cream); font-weight: 700; }

/* ---------- Depoimentos ---------- */
.testimonials { background: var(--c-bg); }
.t-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 1000px) { .t-grid { grid-template-columns: repeat(2,1fr); gap: 12px; } }
@media (max-width: 480px)  { .t-grid { grid-template-columns: 1fr; } }
.tcard {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-tan); }
.tcard .stars { display: flex; gap: 2px; color: var(--c-tan); }
.tcard .stars svg { width: 14px; height: 14px; fill: currentColor; }
.tcard p { color: var(--c-muted); font-size: 14.5px; line-height: 1.65; margin: 0; flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-dark-3); color: var(--c-cream);
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.tcard .name { font-weight: 600; font-size: 14.5px; }

.tcard--cta {
  background: linear-gradient(180deg, var(--c-dark) 0%, var(--c-dark-2, #15293a) 100%);
  color: var(--c-cream);
  text-decoration: none;
  justify-content: center; align-items: flex-start;
  border-color: var(--c-dark);
}
.tcard--cta:hover { border-color: var(--c-tan); }
.tcard--cta p { color: rgba(255,255,255,.78); }
.tcard--cta .cta-rating {
  font-size: 56px; font-weight: 700; line-height: 1; color: var(--c-tan); letter-spacing: -0.02em;
}
.tcard--cta .cta-link {
  font-weight: 600; font-size: 14px; color: var(--c-tan); margin-top: 4px;
}

/* ---------- FAQ ---------- */
.faq { background: var(--c-cream); }
.faq-list { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq-item {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item[open] { border-color: var(--c-tan); box-shadow: 0 6px 20px rgba(34,51,59,.06); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  font-weight: 600; font-size: 16px; color: var(--c-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto;
  width: 14px; height: 14px;
  border-right: 2px solid var(--c-dark-3);
  border-bottom: 2px solid var(--c-dark-3);
  transform: rotate(45deg); transition: transform var(--t-fast);
  margin-bottom: 4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq-answer { padding: 0 22px 20px; color: var(--c-muted); line-height: 1.7; font-size: 15px; }
.faq-answer p { margin: 0; }
@media (max-width: 600px) {
  .faq-item summary { font-size: 15px; padding: 16px 18px; }
  .faq-answer { padding: 0 18px 18px; font-size: 14.5px; }
}

/* ---------- Localização ---------- */
.location { background: var(--c-surface); }
.loc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; margin-top: 32px; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-info ul { display: grid; gap: 18px; margin-top: 22px; }
.loc-info li { display: flex; gap: 14px; align-items: flex-start; }
.loc-info .ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--c-cream-2); color: var(--c-dark-3);
  display: grid; place-items: center; flex: 0 0 auto;
}
.loc-info .ico svg { width: 16px; height: 16px; }
.loc-info .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 2px; }
.loc-info .val { color: var(--c-text); font-weight: 500; }
.loc-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); min-height: 340px; background: #eee; }
.loc-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Final CTA ---------- */
.final { background: var(--c-dark); color: #fff; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 360px at 50% 0%, rgba(197,172,142,.18), transparent 70%);
}
.final h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 300; margin-bottom: 14px; max-width: 22ch; margin-inline: auto; }
.final h2 strong { font-weight: 700; color: var(--c-cream); }
.final .lead { color: rgba(255,255,255,.7); margin-bottom: 30px; max-width: 56ch; margin-inline: auto; }
.final .vagas {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: var(--radius-pill);
  background: rgba(255,205,165,.1); border: 1px solid rgba(255,205,165,.3);
  color: var(--c-cream); font-size: 13px; font-weight: 600;
  margin-bottom: 22px;
}

/* ---------- Anchored sections ---------- */
section[id] { scroll-margin-top: 16px; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-dark); color: #fff;
  padding: 12px 18px; border-radius: 0 0 8px 0;
  font-weight: 600; font-size: 14px;
  z-index: 100;
}
.skip-link:focus { left: 0; outline: 2px solid var(--c-tan); outline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { background: #0A171C; color: rgba(255,255,255,.6); padding: 56px 0 24px; font-size: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand img { height: 44px; opacity: .9; }
.footer-tag { color: rgba(255,255,255,.55); margin-top: 12px; max-width: 320px; line-height: 1.6; font-size: 13.5px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center; color: rgba(255,255,255,.7);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--c-tan); color: var(--c-dark); border-color: var(--c-tan); }

.footer-col h4 {
  color: #fff; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: rgba(255,255,255,.65); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--c-tan); }
.footer-col p { line-height: 1.7; color: rgba(255,255,255,.6); margin: 0; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  text-align: center;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand img { height: 36px; }
}

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.55);
  transition: transform var(--t-fast);
  border: 2px solid rgba(255,255,255,.15);
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab svg { width: 26px; height: 26px; }
@media (max-width: 540px) {
  .fab { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .fab svg { width: 24px; height: 24px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================
   Mobile polish (<=640px)
   ============================================ */
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .section { padding-block: 48px; }
  .kicker { font-size: 11px; letter-spacing: .18em; margin-bottom: 10px; }
  .section-title { font-size: 26px; line-height: 1.25; margin-bottom: 10px; }
  .section-lead { font-size: 14.5px; }

  /* Hero */
  .hero { padding-block: 100px 80px; }
  .curve-top { margin-top: -20px; border-top-left-radius: 24px; border-top-right-radius: 24px; }
  .hero h1 { font-size: 32px; line-height: 1.15; margin: 10px 0 14px; }
  .hero .lead { font-size: 15px; margin-bottom: 20px; }
  .hero .badges { gap: 8px; margin-bottom: 22px; }
  .hero .badge { padding: 12px 14px; }
  .hero .badge h4 { font-size: 13px; }
  .hero .badge p { font-size: 12px; }

  /* Buttons */
  .btn { padding: 14px 22px; font-size: 14px; width: 100%; justify-content: center; }
  .hero .btn:not(.btn--block), .cta-banner .btn, .final .btn { width: auto; min-width: min(260px, 88vw); }
  .btn--block { width: 100% !important; justify-content: center; }

  /* WA Card */
  .wa-card { padding: 18px; }
  .wa-card-head { padding-bottom: 12px; margin-bottom: 14px; }
  .wa-dot { width: 38px; height: 38px; }
  .wa-name { font-size: 14.5px; }
  .wa-status { font-size: 12px; }
  .wa-chat { padding: 10px; gap: 6px; max-height: none; margin-bottom: 14px; }
  .wa-bubble { font-size: 13px; padding: 8px 11px; max-width: 92%; }
  .wa-cta h3 { font-size: 17px; }
  .wa-cta .small { font-size: 13px; margin-bottom: 14px; }

  /* Diferenciais */
  .feats { margin-top: 28px; gap: 10px; }
  .feat { padding: 18px 16px; }
  .feat .ico { width: 38px; height: 38px; margin-bottom: 12px; }
  .feat .ico svg { width: 18px; height: 18px; }
  .feat h3 { font-size: 15px; margin-bottom: 4px; }
  .feat p { font-size: 13px; line-height: 1.5; }

  /* Doctor */
  .doctor .grid { gap: 28px; }
  .doctor-photo { aspect-ratio: 3/4; max-height: 480px; margin-inline: auto; width: 100%; }
  .doctor h2 { font-size: 26px; margin-top: 2px; }
  .doctor .crm { font-size: 11.5px; margin-bottom: 14px; }
  .doctor .bio p { font-size: 14.5px; line-height: 1.65; margin-bottom: 12px; }
  .doctor .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 0; margin: 20px 0 0; }
  .doctor .stat .n { font-size: 22px; }
  .doctor .stat .l { font-size: 10.5px; letter-spacing: .08em; }

  /* Results */
  .results .center { padding-inline: 4px; }
  .carousel { margin-top: 22px; }
  .carousel-controls { margin-top: 18px; gap: 10px; }
  .car-btn { width: 42px; height: 42px; }

  /* Why */
  .why-grid { margin-top: 24px; gap: 10px; }
  .why-card { padding: 18px 16px; }
  .why-card .check { width: 32px; height: 32px; margin-bottom: 12px; }
  .why-card h3 { font-size: 15px; }
  .why-card p { font-size: 13px; }

  /* CTA banner */
  .cta-banner-wrap { padding-block: 24px; }
  .cta-banner { padding: 28px 22px; gap: 18px; text-align: center; }
  .cta-banner h2 { font-size: 20px; max-width: none; }

  /* Testimonials */
  .t-grid { margin-top: 24px; gap: 10px; }
  .tcard { padding: 18px 16px; gap: 12px; }
  .tcard p { font-size: 13.5px; }

  /* Location */
  .loc-grid { gap: 24px; margin-top: 22px; }
  .loc-info ul { gap: 14px; margin-top: 16px; }
  .loc-info .val { font-size: 14px; }
  .loc-map, .loc-map iframe { min-height: 260px; }

  /* Final */
  .final h2 { font-size: 26px; }
  .final .lead { font-size: 14.5px; margin-bottom: 24px; }

  /* Timeline mobile tweaks */
  .timeline { margin-top: 32px; }
  .t-card { padding: 18px 16px; padding-right: 52px !important; }
  .t-card h3 { font-size: 15.5px; }
  .t-card p { font-size: 13.5px; }
  .t-card .step { font-size: 10.5px; margin-bottom: 4px; }
}

/* ---------- Obrigado page ---------- */
.thanks {
  min-height: 60vh;
  background: var(--c-dark) url("../img/bg-hero-home.webp") center/cover;
  background-blend-mode: multiply;
  color: #fff;
  display: grid; place-items: center; text-align: center;
  padding: 130px 24px 70px;
  position: relative; isolation: isolate;
}
.thanks::before { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(14,31,38,.7), rgba(14,31,38,.92)); }
.thanks .check-big {
  width: 78px; height: 78px; border-radius: 50%;
  border: 2px solid var(--c-cream); color: var(--c-cream);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.thanks h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 300; margin-bottom: 14px; }
.thanks h1 strong { font-weight: 700; color: var(--c-cream); }
.thanks p { color: rgba(255,255,255,.78); max-width: 50ch; margin-inline: auto; }
