/* =========================================================
   Dr. Eduardo Vidal — Oftalmologia
   Stylesheet — premium, masculine, clinical-refined
   ========================================================= *//* ---------- Tokens ---------- */
:root {
  /* Brand palette — purple/violet clinical tones from photos */
  --bg-dark:        #0F1F35;   /* deep navy */
  --bg-dark-2:      #08172A;   /* darkest navy */
  --bg-light:       #FFFFFF;   /* pure white */
  --bg-light-2:     #F1F6FB;   /* very light blue */
  --bg-pearl:       #FAFCFE;

  --accent:         #3F8FBF;   /* medical blue */
  --accent-2:       #2A6FA0;   /* deeper blue */
  --accent-soft:    #BDD9EC;   /* light blue */
  --accent-glow:    #9CC4DD;   /* glow blue */

  --ink:            #0F1B2E;
  --ink-2:          #46566D;
  --muted:          #7B889C;
  --line:           #D7DEE7;

  /* Type */
  --ff-display: 'Manrope', 'Times New Roman', serif;
  --ff-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --container: 1240px;
  --gutter: 24px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;

  --shadow-sm: 0 4px 18px rgba(15, 31, 53, .06);
  --shadow-md: 0 18px 50px rgba(15, 31, 53, .10);
  --shadow-lg: 0 28px 80px rgba(15, 31, 53, .16);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
a:hover { color: var(--accent-2); }
button { font: inherit; }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__sub { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.08;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  margin: 0 0 18px;
}
.display em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 400;
}

h2.display { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-family: var(--ff-display); font-weight: 600; color: var(--ink); margin: 0 0 10px; font-size: 1.4rem; letter-spacing: -0.005em; }

.eyebrow {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 14px;
  position: relative;
  padding-left: 38px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 28px; height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}
.section__head--center .eyebrow { padding-left: 0; display: inline-block; }
.section__head--center .eyebrow::before { display: none; }
.eyebrow--light { color: var(--accent-glow); }

.lead { font-size: clamp(1rem, 1.3vw, 1.18rem); color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn--accent {
  --btn-bg: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --btn-fg: #fff;
  --btn-bd: transparent;
  background-image: var(--btn-bg);
}
.btn--accent:hover { filter: brightness(1.05); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
}
.btn--ghost:hover { --btn-fg: #fff; background: var(--ink); }

.btn--lg { padding: 18px 36px; font-size: 1rem; }
.btn--sm { padding: 11px 20px; font-size: .8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--ff-display); color: var(--ink); }
.brand__logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
.brand__name {
  display: none; /* logo já contém o wordmark da clínica */
}
@media (max-width: 540px) {
  .brand__logo { height: 36px; max-width: 180px; }
}

.nav { display: flex; align-items: center; }
.nav__list {
  display: flex;
  gap: clamp(16px, 1.7vw, 28px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__list a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width .25s var(--ease);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after { width: 100%; }

.nav__toggle, .nav__toggle-checkbox { display: none; }

/* mobile */
@media (max-width: 920px) {
  .header__cta { display: none; }
}
@media (max-width: 760px) {
  .nav__list {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-pearl);
    padding: 22px var(--gutter) 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s var(--ease), opacity .25s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav__toggle-checkbox:checked ~ .nav__list {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 20px;
    cursor: pointer;
  }
  .nav__toggle span {
    display: block; height: 1.5px; width: 100%;
    background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s var(--ease);
    transform-origin: center;
  }
  .nav__toggle-checkbox:checked ~ .nav__toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav__toggle-checkbox:checked ~ .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav__toggle-checkbox:checked ~ .nav__toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #D6E1EC;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(63, 143, 191,.22) 0%, transparent 60%),
    radial-gradient(70% 70% at 0% 90%, rgba(63, 143, 191,.08) 0%, transparent 60%);
  z-index: -1;
}
.hero::before {
  content: "";
  position: absolute; right: -10%; top: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(63, 143, 191,.18) 0%, transparent 70%);
  z-index: -1; filter: blur(40px);
}

/* Mobile cover */
.hero__cover { display: none; }
.hero__cover-overlay { pointer-events: none; }

/* Desktop 2-column layout */
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(100px, 12vw, 140px);
}
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__portrait {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero__portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 31, 53,.35) 100%),
              radial-gradient(closest-side at 30% 20%, transparent 60%, rgba(15, 31, 53,.25));
  pointer-events: none;
}
.hero__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero__visual::before {
  content: "";
  position: absolute; inset: -10% -8% -10% -8%;
  background: radial-gradient(closest-side, rgba(63, 143, 191,.22), transparent 70%);
  z-index: 0;
  filter: blur(30px);
}
.hero__content .eyebrow { color: var(--accent-glow); }
.hero__content .eyebrow::before { background: var(--accent); }
.hero__content .display { color: #fff; }
.hero__content .display em { color: var(--accent-soft); font-style: italic; }
.hero__content .lead { color: rgba(255,255,255,.78); margin: 18px 0 36px; max-width: 56ch; }
.hero__name {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 6px 0 14px;
}
.hero__tagline {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  color: var(--accent-soft);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.hero__tagline span { color: rgba(255,255,255,.45); margin: 0 .35em; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero__trust {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: flex; gap: 36px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 28px;
}
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust span {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--accent-soft);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero__trust small {
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-top: 4px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4) 50%, transparent);
  overflow: hidden;
}
.hero__scroll span {
  display: block; width: 1px; height: 20px;
  background: var(--accent);
  animation: scroll-down 2.2s var(--ease) infinite;
}
@keyframes scroll-down {
  0%   { transform: translateY(-22px); }
  100% { transform: translateY(62px); }
}

@media (max-width: 920px) {
  .hero__cover {
    display: block;
    position: relative;
    width: 100%;
    height: clamp(300px, 52vh, 480px);
    overflow: hidden;
  }
  .hero__cover img {
    width: 100%; height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 22%;
  }
  .hero__cover-overlay {
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(15, 31, 53,0) 0%, rgba(15, 31, 53,0) 55%, rgba(15, 31, 53,.65) 88%, var(--bg-dark) 100%),
      linear-gradient(180deg, rgba(15, 31, 53,.35) 0%, rgba(15, 31, 53,0) 35%);
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(28px, 7vw, 44px);
    padding: clamp(56px, 11vw, 88px) var(--gutter) 80px;
    text-align: left;
  }
  /* texto + botão primeiro, foto depois */
  .hero__content { order: 1; }
  .hero__visual { order: 2; display: flex; }
  .hero__portrait { max-width: 340px; margin: 0 auto; }
  .hero__trust { gap: 18px; }
  .hero__trust li { flex-grow: 1; flex-shrink: 1; flex-basis: calc(50% - 12px); min-width: 0; }
  .hero__cta .btn { flex: 1 1 240px; justify-content: center; }
}
@media (max-width: 480px) {
  .hero__cover { height: 58vh; min-height: 320px; max-height: 520px; }
  .hero__cover img { object-position: center 20%; }
  .hero__trust span { font-size: 1.15rem; }
  .hero__trust small { font-size: .7rem; letter-spacing: .1em; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- About ---------- */
.about { background: var(--bg-light); position: relative; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.about__media { position: relative; }
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, var(--bg-light-2) 0%, #DBE8F2 100%);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about__photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(closest-side at 75% 25%, rgba(63, 143, 191,.12) 0%, transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(15, 31, 53,.18) 100%);
  pointer-events: none;
}

.about__badge {
  position: absolute;
  left: -28px; bottom: 36px;
  background: var(--ink);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; gap: 14px;
  align-items: center;
}
.about__badge-num {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--accent-soft);
  font-weight: 700;
  line-height: 1;
}
.about__badge-text {
  font-size: .82rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
}

.about__tagline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 8px 0 22px;
  max-width: 32ch;
}
.about__tagline em { color: var(--accent); font-style: italic; }

.about__content p { margin: 0 0 18px; }
.credentials {
  list-style: none; padding: 0; margin: 28px 0 36px;
  display: grid; gap: 12px;
}
.credentials li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
}
.credentials li::before {
  content: "";
  position: absolute; left: 0; top: .6em;
  width: 16px; height: 1px;
  background: var(--accent);
}

@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 480px; margin: 0 auto; width: 100%; }
  .about__photo { aspect-ratio: 4 / 4.5; }
  .about__badge { left: 12px; bottom: 12px; padding: 14px 16px; }
  .about__badge-num { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .about__badge { left: 8px; bottom: 8px; padding: 12px 14px; gap: 10px; }
  .about__badge-num { font-size: 1.5rem; }
  .about__badge-text { font-size: .72rem; letter-spacing: .1em; }
}

/* ---------- Differentials ---------- */
.diff { background: var(--bg-pearl); }

/* Hero tagline emphasis */
.hero__tagline strong {
  color: #fff;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .01em;
}

/* ---------- Location ---------- */
.location { background: var(--bg-light); }
/* botão longo (com telefone) precisa quebrar no mobile — senão estoura a largura */
.location__info .btn--lg { white-space: normal; max-width: 100%; text-align: center; }
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}
.location__block { margin-bottom: 28px; }
.location__block h3 {
  font-family: var(--ff-body);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.location__block p { margin: 0; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--ink); font-weight: 500; }
.hours li span:last-child { color: var(--muted); }

.location__map {
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, var(--bg-light-2) 0%, #D5E3EE 100%);
  min-height: 480px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--accent-soft);
}
.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
  filter: saturate(.92) contrast(.96);
}

.link-accent {
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: .02em;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.link-accent:hover { color: var(--accent-2); border-color: var(--accent-2); }

@media (max-width: 880px) {
  .location__grid { grid-template-columns: 1fr; gap: 40px; }
  .location__map, .location__map iframe { min-height: 340px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark-2);
  color: rgba(255,255,255,.65);
  padding: 72px 0 26px;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand-name { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; color: #fff; }
.footer__brand p { color: rgba(255,255,255,.55); margin: 0; }
.footer__col h4 {
  color: var(--accent-soft);
  font-family: var(--ff-body);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin: 0 0 16px;
  font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap;
  padding-top: 24px;
  font-size: .8rem; color: rgba(255,255,255,.45);
  gap: 12px;
}
.footer__bottom a { color: rgba(255,255,255,.65); }
.footer__bottom a:hover { color: var(--accent); }

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ---------- Floating WhatsApp ---------- */
.whats-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 60px; height: 60px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(18, 140, 126, .35);
  z-index: 80;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whats-float:hover { transform: translateY(-3px) scale(1.04); color: #fff; box-shadow: 0 20px 40px rgba(18,140,126,.45); }
.whats-float::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  100% { box-shadow: 0 0 0 22px rgba(37, 211, 102, 0); }
}

/* ---------- Mobile safety ---------- */
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .display { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  h2.display { font-size: clamp(1.55rem, 6.4vw, 2rem); }
  .eyebrow { font-size: .68rem; padding-left: 30px; }
  .eyebrow::before { width: 22px; }
  .btn { padding: 13px 22px; font-size: .86rem; }
  .btn--lg { padding: 16px 26px; font-size: .95rem; }
  .hero__inner { padding-top: 60px; padding-bottom: 70px; }
  .hero .display { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero__trust { padding-top: 22px; margin-top: 36px; }
  .hours li { font-size: .92rem; }
  .whats-float {
    width: 54px; height: 54px;
    right: 16px; bottom: 16px;
  }
  .whats-float svg { width: 24px; height: 24px; }
}

@media (max-width: 380px) {
  .hero__trust { gap: 12px; }
  .hero__trust li { min-width: 72px; }
  .hours li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

iframe { max-width: 100%; }
.hero { overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-pearl); }
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s var(--ease);
}
.faq__item[open] {
  border-color: var(--accent-soft);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .2s var(--ease);
}
.faq__item summary:hover {
  background: var(--bg-light);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--ff-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after {
  content: "−";
}
.faq__item p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--ink-2);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .faq__item summary { padding: 14px 18px; font-size: 1rem; }
  .faq__item p { padding: 0 18px 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NEW LAYOUT — Symptom-first landing page
   ============================================================ *//* ---------- SYMPTOM TRACKS ---------- */
.tracks { background: var(--bg-light); }
.tracks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 18px);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.track::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.track:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
  color: var(--ink);
}
.track:hover::before { transform: scaleX(1); }
.track__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-light-2), #DBE8F2);
  color: var(--accent);
}
.track__icon svg { width: 32px; height: 32px; }
.track__tag {
  position: absolute;
  top: 22px; right: 22px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFEBEC;
  color: #B03A3A;
}
.track__quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-2);
  margin: 4px 0 2px;
  line-height: 1.35;
}
.track__condition {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.track__desc {
  font-size: .95rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}
.track__cta {
  margin-top: auto;
  padding-top: 14px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--accent-2);
}
.track--urgent .track__icon {
  background: linear-gradient(135deg, #FFE2E4, #FFD1D4);
  color: #B03A3A;
}
.tracks__none {
  text-align: center;
  margin-top: 40px;
  color: var(--ink-2);
  font-size: .95rem;
}
.tracks__none a {
  color: var(--accent-2);
  font-weight: 600;
}

/* ---------- AUTHORITY BAR ---------- */
.authority {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  padding: 36px 0;
}
.authority__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}
.authority__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.authority__num {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-glow);
  line-height: 1;
  letter-spacing: -0.01em;
}
.authority__label {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}
@media (max-width: 760px) {
  .authority__inner { gap: 22px; justify-content: flex-start; }
  .authority__item { flex: 1 1 45%; }
}

/* ---------- PROCESSO DA CONSULTA ---------- */
.process {
  background: linear-gradient(180deg, var(--bg-pearl) 0%, var(--bg-light) 100%);
  position: relative;
}
.process__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  margin-top: 52px;
}
.process__media {
  position: relative;
}
.process__media picture {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(155deg, var(--bg-light-2) 0%, #DBE8F2 100%);
}
.process__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.process__media::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, transparent 60%, rgba(15, 31, 53, .18) 100%);
  pointer-events: none;
}
.process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.process-step {
  position: relative;
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.process-step:last-child { border-bottom: none; }
.process-step__num {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-light-2), #DBE8F2);
  letter-spacing: -0.01em;
}
.process-step__body { padding-top: 4px; }
.process-step h3 {
  font-size: 1.18rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.process-step p {
  font-size: .94rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 880px) {
  .process__grid { grid-template-columns: 1fr; gap: 36px; }
  .process__media { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ---------- INSTAGRAM PROOF ---------- */
.ig-proof {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.ig-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 80% 10%, rgba(63, 143, 191, .25) 0%, transparent 60%),
    radial-gradient(40% 50% at 10% 90%, rgba(63, 143, 191, .15) 0%, transparent 60%);
  pointer-events: none;
}
.ig-proof__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.ig-proof__text .eyebrow { color: var(--accent-glow); }
.ig-proof__text .eyebrow::before { background: var(--accent-glow); }
.ig-proof__text .display { color: #fff; }
.ig-proof__num {
  background: linear-gradient(120deg, var(--accent-glow), #fff 50%, var(--accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.ig-proof__text p { color: rgba(255,255,255,.75); margin: 18px 0 28px; max-width: 52ch; }
.ig-proof__text .btn--accent {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border: none;
  color: #fff;
}
.ig-proof__text .btn--accent:hover { filter: brightness(1.08); }
.ig-proof__stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ig-stat {
  padding: 24px 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg, 18px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ig-stat__num {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ig-stat__label {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .1em;
}
@media (max-width: 880px) {
  .ig-proof__inner { grid-template-columns: 1fr; gap: 40px; }
  .ig-proof__stats { flex-direction: row; }
  .ig-stat { flex: 1 1 0; padding: 18px; }
  .ig-stat__num { font-size: 1.6rem; }
}

/* ---------- HERO H1 (ajuste para o título mais longo) ---------- */
.hero__name {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

/* ---------- AVALIAÇÕES (GOOGLE) ---------- */
.reviews { background: var(--bg-pearl); }
.reviews__summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.reviews__score {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.reviews__stars { color: #F5A623; font-size: 1.3rem; letter-spacing: 2px; }
.reviews__count { color: var(--muted); font-size: .92rem; }

/* Carousel */
.reviews__carousel {
  position: relative;
  margin-top: 48px;
}
.reviews__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-md); }

.review-card {
  flex: 0 0 clamp(280px, 32%, 380px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 18px);
  box-shadow: var(--shadow-sm);
}
.review-card__stars { color: #F5A623; font-size: 1.05rem; letter-spacing: 2px; }
.review-card__text {
  margin: 0;
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card__author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--accent-2);
}
.review-card__author > div { display: flex; flex-direction: column; }
.review-card__name { font-weight: 600; color: var(--ink); font-size: .92rem; }
.review-card__when { color: var(--muted); font-size: .8rem; }

.reviews__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.reviews__arrow:hover { color: var(--accent-2); transform: translateY(-50%) scale(1.06); }
.reviews__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reviews__arrow:disabled { opacity: 0; pointer-events: none; }
.reviews__arrow--prev { left: -14px; }
.reviews__arrow--next { right: -14px; }

.reviews__cta { text-align: center; margin-top: 32px; }

@media (max-width: 1024px) {
  .reviews__arrow--prev { left: 4px; }
  .reviews__arrow--next { right: 4px; }
}
@media (max-width: 600px) {
  .review-card { flex-basis: 84%; }
  .reviews__arrow { display: none; }
  .reviews__track { padding-bottom: 14px; }
}

/* ---------- INSTAGRAM (REELS) ---------- */
.ig-reels { background: var(--bg-light); }
.ig-reels__grid {
  display: grid;
  grid-template-columns: repeat(2, 340px);
  justify-content: center;
  gap: 22px;
  margin-top: 48px;
}
.ig-reels__grid .instagram-media {
  width: 100% !important;
  max-width: 340px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}
.ig-reels__cta { text-align: center; margin-top: 36px; }
@media (max-width: 768px) {
  .ig-reels__grid { grid-template-columns: 1fr; }
}

/* ---------- CARROSSEL GENÉRICO (tratamentos / diferenciais) ---------- */
.carousel { position: relative; margin-top: 48px; }
.carousel__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-md); }
.carousel__track > .track {
  flex: 0 0 clamp(260px, 31%, 340px);
  scroll-snap-align: start;
  min-width: 0;
  margin: 0;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.carousel__arrow:hover { color: var(--accent-2); transform: translateY(-50%) scale(1.06); }
.carousel__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.carousel__arrow:disabled { opacity: 0; pointer-events: none; }
.carousel__arrow--prev { left: -14px; }
.carousel__arrow--next { right: -14px; }

/* card de tratamento: botão no rodapé */
.track__btn { margin-top: auto; align-self: flex-start; }

/* "Por que escolher" — grade no desktop, carrossel só no mobile */
@media (min-width: 769px) {
  .carousel--mobile .carousel__track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    padding: 8px 0 0;
  }
  .carousel--mobile .carousel__track > .track { flex: none; }
  .carousel--mobile .carousel__arrow { display: none; }
}
@media (max-width: 1024px) {
  .carousel__arrow--prev { left: 4px; }
  .carousel__arrow--next { right: 4px; }
}
@media (max-width: 768px) {
  .carousel__arrow { display: none; }
  .carousel__track > .track { flex-basis: 84%; }
}
