/* Clínicas de Valor · Aline Furtado · Método MAF® */

:root {
  --bg: #FDFBF8;
  --ink: #3B2B22;
  --ink-hover: #6B4F3F;
  --muted: #A08E7C;
  --gold: #BFA06A;
  --gold-deep: #9C7B45;
  --gold-light: #E3CAA4;
  --sand-1: #F2EAE0;
  --sand-2: #F6EFE7;
  --sand-3: #FBF6F0;
  --halo: #EFE4D7;
  --line: #E2D4C3;
  --line-2: #D9C7B4;
  --line-3: #EADFD2;
  --line-dark: #5A463A;
  --on-dark: #F6EFE7;
  --on-dark-2: #E8DCCE;

  --serif: 'DM Serif Display', serif;
  --sans: Inter, sans-serif;
  --section-y: clamp(72px, 9vw, 110px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.page { min-height: 100vh; overflow-x: hidden; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; margin: 0 auto; padding: var(--section-y) 24px; }

/* ---------- Componentes ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-hover);
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--gold { color: var(--gold-light); }

.rule { display: block; width: 42px; height: 1px; background: var(--gold); flex: none; }

.h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; }

.lead { font-size: 18px; font-weight: 300; line-height: 1.65; color: var(--ink-hover); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 38px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background .2s;
}
.btn:hover { background: var(--ink-hover); color: var(--bg); }

.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-hover);
}

.logo {
  display: block;
  background: var(--ink);
  -webkit-mask: url(assets/logo-af.png) center / contain no-repeat;
  mask: url(assets/logo-af.png) center / contain no-repeat;
}

/* ---------- 01 · Hero ---------- */
.hero { padding-top: 28px; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
}
.topbar .logo { width: 46px; height: 48px; }
.topbar__tag {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 40px;
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 26px; }
.hero__label { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.05; letter-spacing: -0.015em; }
.hero h1 .h1-accent { color: var(--gold-deep); }
.hero .lead { max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.micro { font-size: 13.5px; color: var(--muted); padding-left: 4px; }

.photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  transform: translateX(-50%);
  aspect-ratio: 1;
  border-radius: 50%;
}
.photo img { position: relative; display: block; width: 100%; height: auto; }

.hero__photo { min-height: 340px; }
.hero__photo::before {
  width: 92%;
  background: radial-gradient(circle, var(--halo) 0%, rgba(239, 228, 215, .6) 45%, rgba(239, 228, 215, 0) 70%);
}
.hero__photo img {
  max-width: 520px;
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 75%, transparent 98%);
}

/* ---------- 02 · Antes e depois ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 16px;
}
.compare__card {
  background: var(--sand-2);
  border-radius: 44px;
  padding: clamp(32px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.compare__card--dark { background: var(--ink); }
.compare__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.compare__list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 17px;
  color: var(--ink-hover);
}
.compare__list li:last-child { border-bottom: 1px solid var(--line); }
.compare__card--dark li { border-color: var(--line-dark); color: var(--on-dark); }

/* ---------- 03 · Dores ---------- */
.pains h2 { margin-bottom: 36px; text-align: center; }
.pains__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pains__list li {
  background: var(--sand-3);
  border: 1px solid var(--line-3);
  border-radius: 26px;
  padding: 20px 26px;
  display: flex;
  gap: 18px;
  align-items: baseline;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.pains__num { font-family: var(--serif); font-size: 18px; color: var(--gold); flex: none; }

/* ---------- Blocos full-width ---------- */
.block {
  border-radius: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 04 · Virada */
.turn {
  background: var(--sand-1);
  padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 72px);
  gap: 22px;
}
.turn h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.1; max-width: 860px; }
.turn .lead { max-width: 620px; }

/* ---------- 05 · Aulas ---------- */
.lessons { max-width: 1000px; margin: 0 auto; padding: var(--section-y) 24px; }
.lessons__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: 44px;
}
.lessons__list { list-style: none; margin: 0; padding: 0; }
.lessons__list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.lessons__list li:last-child { border-bottom: 1px solid var(--line); }
.lessons__num { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--gold); }
.lessons__body { display: flex; flex-direction: column; gap: 6px; }
.lessons__body h3 { font-size: 24px; line-height: 1.2; text-wrap: wrap; }
.lessons__body p { font-size: 16px; font-weight: 300; line-height: 1.55; color: var(--ink-hover); }
.lessons__cta { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- 06 · Não é ---------- */
.not {
  background: var(--ink);
  padding: clamp(56px, 7vw, 88px) clamp(24px, 5vw, 72px);
  gap: 20px;
}
.not h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; color: var(--on-dark); max-width: 860px; }
.not h2 em { color: var(--gold-light); }
.not p { font-size: 17px; font-weight: 300; line-height: 1.65; color: var(--on-dark-2); max-width: 600px; }

/* ---------- 07 · Bônus ---------- */
.bonus { padding-top: var(--section-y); }
.bonus h2 { margin-bottom: 36px; text-align: center; }
.bonus__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
}
.bonus__card {
  background: var(--sand-2);
  border-radius: 36px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bonus__card .eyebrow { font-size: 11.5px; }
.bonus__card h3 { font-size: 28px; line-height: 1.15; text-wrap: wrap; }
.bonus__card p { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--ink-hover); }

/* ---------- 08 · Oferta ---------- */
.offer { padding-top: var(--section-y); padding-bottom: var(--section-y); scroll-margin-top: 24px; }
.offer__card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--sand-1);
  border-radius: 44px;
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.offer__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.offer__list { list-style: none; margin: 0; padding: 0; }
.offer__list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
  font-size: 16px;
  color: var(--ink);
}
.offer__list li:last-child { border-bottom: 1px solid var(--line-2); }
.bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transform: translateY(-3px);
}
.offer .btn { display: flex; min-height: 60px; padding: 0 28px; text-align: center; }
.offer__micro { font-size: 13.5px; color: var(--ink-hover); text-align: center; }

.guarantee {
  max-width: 620px;
  margin: 16px auto 0;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 28px clamp(24px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.guarantee__seal {
  flex: none;
  width: 84px;
  height: 84px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.guarantee__seal strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; color: var(--gold-deep); }
.guarantee__seal span { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.guarantee__text { display: flex; flex-direction: column; gap: 8px; }
.guarantee__text .eyebrow { font-size: 11.5px; }
.guarantee__text h3 { font-size: 24px; line-height: 1.2; text-wrap: wrap; }
.guarantee__text p { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--ink-hover); }

@media (max-width: 479px) {
  .guarantee { flex-direction: column; text-align: center; }
}

/* ---------- 09 · Aline ---------- */
.about {
  background: var(--sand-2);
  border-radius: 56px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px) 0;
  overflow: hidden;
}
.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap-reverse;
  gap: clamp(24px, 5vw, 64px);
  align-items: flex-end;
}
.about__photo { flex: 1 1 300px; }
.about__photo::before {
  width: 100%;
  background: radial-gradient(circle, var(--sand-3) 0%, rgba(251, 246, 240, .6) 45%, rgba(251, 246, 240, 0) 70%);
}
.about__photo img {
  max-width: 380px;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.about__text {
  flex: 1.3 1 400px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.about__text p { font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--ink-hover); }
.stats { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 6px; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--ink); }
.stats span { font-size: 13.5px; color: var(--ink-hover); }

/* ---------- 10 · Fechamento ---------- */
.closing { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.closing h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; }
.closing .lead { max-width: 560px; text-wrap: wrap; }
.closing .btn { margin-top: 8px; }

/* ---------- 11 · FAQ ---------- */
.faq { padding-top: 0; }
.faq h2 { margin-bottom: 32px; text-align: center; font-size: clamp(28px, 3vw, 40px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  min-height: 56px;
}
.faq__q-text { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--ink); }
.faq__sign { font-family: var(--sans); font-size: 24px; font-weight: 300; color: var(--gold); flex: none; width: 24px; text-align: center; }
.faq__a { padding: 0 48px 24px 4px; font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--ink-hover); }
.faq__a[hidden] { display: none; }

/* ---------- Rodapé ---------- */
.footer { margin-bottom: 20px; }
.footer__inner {
  background: var(--ink);
  border-radius: 44px;
  padding: 36px clamp(24px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .logo { width: 38px; height: 40px; background: var(--on-dark); }
.footer__copy { font-size: 12.5px; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { font-size: 13px; color: var(--on-dark-2); }
.footer__links a:hover { color: var(--gold-light); }

/* ---------- Barra fixa mobile ---------- */
.mobile-bar { display: none; }

@media (max-width: 759px) {
  .page { padding-bottom: 84px; }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(253, 251, 248, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-3);
  }
  .mobile-bar .btn {
    flex: 1;
    display: flex;
    min-height: 50px;
    padding: 0 20px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}
