/* Tokens: ver DESIGN.md. Tudo escopado em .af para sobreviver ao tema do WordPress. */
.af {
  --wine-900: #4e0c1e;
  --wine-700: #7a1428;
  --rose-500: #b0566a;
  --rose-100: #e7d3d6;
  --rose-50: #f3e9ea;
  --rose-ink: #8f4155; /* rosé para texto pequeno: 5.6:1 no rose-50 */
  --linen: #faf6f4;
  --white: #fffdfc;
  --graphite: #3b3a3c;
  --wa: #1b7d44;
  --night: #350a16; /* fundo do hero */
  --max: 1280px;
  --wrap: max(var(--gutter), calc((100% - var(--max)) / 2));
  --serif: "Newsreader", Georgia, serif;
  --sans: "Ubuntu", system-ui, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --soft: 0 1px 2px rgba(78,12,30,.04), 0 12px 32px -8px rgba(78,12,30,.14), 0 32px 64px -24px rgba(78,12,30,.18);

  font-family: var(--sans);
  font-weight: 400;
  color: var(--graphite);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
}
.af *, .af *::before, .af *::after { box-sizing: border-box; }
.af img { display: block; max-width: 100%; }
.af :where(a:not(.af-btn)) { color: inherit; text-decoration: none; }
.af ul { list-style: none; margin: 0; padding: 0; }
/* sem palavra sozinha na última linha */
.af :where(p, li, h3, summary, dd) { text-wrap: pretty; }
body { margin: 0; background: var(--linen); }

/* ---------- peças ---------- */
.af-tag {
  margin: 0;
  color: var(--rose-ink);
  font: 500 14px/1.2 var(--sans);
}

/* botão-ilha: no hover o círculo atravessa o botão e a seta gira (efeito pedido) */
.af .af-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center;
  height: 56px; padding: 0 64px 0 26px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  white-space: nowrap; text-decoration: none;
  transition: padding .6s var(--ease), background-color .5s var(--ease), transform .3s var(--ease);
}
.af .af-btn:hover { padding: 0 26px 0 64px; }
.af-btn__icon {
  position: absolute; top: 6px; right: 6px;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: right .6s var(--ease), transform .6s var(--ease);
}
.af-btn:hover .af-btn__icon { right: calc(100% - 50px); transform: rotate(45deg); }
.af-btn__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.af-btn__icon .af-wa-ico { width: 20px; height: 20px; stroke: none; }
.af-btn:hover .af-wa-ico { transform: rotate(-45deg); }
.af-btn:active { transform: scale(.98); }
.af-btn:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 3px; }
.af .af-btn--wine { background: var(--wine-900); color: var(--white); }
.af .af-btn--wine:hover { background: var(--wine-700); }
.af-btn--wine .af-btn__icon { background: var(--rose-500); color: var(--white); }
.af .af-btn--light { background: var(--white); color: var(--night); }
.af .af-btn--light:hover { background: var(--rose-50); }
.af-btn--light .af-btn__icon { background: var(--rose-500); color: var(--white); }
.af .af-btn--wa { background: var(--wa); color: #fff; }
.af .af-btn--wa:hover { background: #18733f; }
.af-btn--wa .af-btn__icon { background: #fff; color: var(--wa); }
.af .af-btn--sm { height: 44px; padding: 0 50px 0 18px; font-size: 14px; }
.af .af-btn--sm:hover { padding: 0 18px 0 50px; }
.af-btn--sm .af-btn__icon { width: 34px; height: 34px; top: 5px; right: 5px; }
.af-btn--sm:hover .af-btn__icon { right: calc(100% - 39px); }

/* ---------- hero ---------- */
.af-hero { padding: 0; }
.af-hero__stage {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(920px, 100svh);
  border-radius: 0 0 40px 40px;
  background: var(--night);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 4vw, 64px);
  padding: 0 max(var(--gutter), calc((100% - 1320px) / 2)) 104px;
}

.af-nav {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  position: relative; z-index: 3;
}
.af-brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--white); font: 500 15px/1.1 var(--sans); }
.af-brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rose-ink); }
.af-brand small { display: block; font-weight: 400; font-size: 12px; color: var(--rose-ink); margin-top: 3px; }
.af-nav__links { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,253,252,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.af-nav__links a { padding: 10px 16px; border-radius: 999px; font-size: 14px; color: var(--white); transition: background-color .4s var(--ease); }
.af-nav__links a:hover { background: rgba(255,255,255,.1); }

.af-hero__copy .af-tag { color: var(--white); }
.af-hero__copy {
  align-self: center; position: relative; z-index: 2;
  padding: 24px 0 72px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.af-hero__title {
  margin: 28px 0 0;
  font: 400 clamp(40px, 5vw, 76px)/.98 var(--serif);
  letter-spacing: -.03em;
  color: var(--white);
}
.af-hero__title em { font-style: italic; color: var(--rose-500); }
.af-line { display: block; overflow: hidden; padding-bottom: .07em; }
.af-line > span { display: block; animation: af-rise 1.1s var(--ease) both; }
.af-line:nth-child(2) > span { animation-delay: .08s; }
.af-line:nth-child(3) > span { animation-delay: .16s; }
.af-line:nth-child(4) > span { animation-delay: .24s; }

.af-hero__lead {
  margin: 28px 0 36px; max-width: 46ch;
  font-size: 17px; line-height: 1.6; color: var(--white);
}


/* foto recortada solta no fundo, cortada pela borda de baixo do palco */
.af-hero__visual { position: relative; align-self: stretch; min-height: 600px; margin: 4px 0 0; }
.af-hero__frame { position: absolute; inset: 0; }
.af .af-hero__photo {
  position: absolute; top: 10px; left: -27.7%;
  width: 157%; height: auto; max-width: none;
  animation: af-photo 1.4s var(--ease) both;
}

.af-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 20px;
  background: rgba(67,18,31,.26);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--soft);
  color: var(--white);
  font-size: 14px; line-height: 1.35;
}
.af-chip__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 14px; background: rgba(243,233,234,.11); }
.af-chip__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--rose-50); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.af-chip--a { top: 59.5%; left: 67%; max-width: 250px; color: var(--rose-50); }
.af-chip--b { top: 71.8%; left: -25%; max-width: 236px; padding: 14px 18px; align-items: flex-start; }
.af-chip--b strong { font: 400 46px/.9 var(--serif); letter-spacing: -.03em; color: var(--white); }
.af-chip--b span { font-size: 13px; padding-top: 3px; }
.af-chip--c { top: 82%; left: 53.5%; max-width: 290px; }
.af-seats { display: flex; flex: none; }
.af-seats img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--rose-500); background: var(--rose-500); object-fit: cover; }
.af-seats img + img { margin-left: -8px; }


/* ---------- entradas ---------- */
[data-in] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
[data-in].is-in { opacity: 1; transform: none; filter: none; }
@keyframes af-rise { from { transform: translateY(105%); } }
@keyframes af-photo { from { transform: translateY(40px); opacity: 0; } }
@keyframes af-fade { from { opacity: 0; scale: .92; } }
@keyframes af-spin { to { rotate: 360deg; } }
.af-chip { animation: af-float 7s ease-in-out infinite; }
.af-chip--b { animation-delay: -2.4s; }
.af-chip--c { animation-delay: -4.8s; }
@keyframes af-float { 50% { translate: 0 -8px; } }

/* ---------- base de seção ---------- */
.af-wrap { padding-left: var(--wrap); padding-right: var(--wrap); }
.af-h2 { margin: 18px 0 0; font: 400 clamp(34px, 4vw, 58px)/1.02 var(--serif); letter-spacing: -.025em; color: var(--wine-900); text-wrap: balance; }
.af-h2 em { font-style: italic; color: var(--rose-500); }
.af-text { margin: 0; font-size: 17px; line-height: 1.65; color: var(--graphite); max-width: 52ch; }
.af-small { margin: 12px 0 0; font-size: 13px; color: #5f5c60; }
.af-tag--dark { color: #e3a5b3; }
.af-nw { white-space: nowrap; }

/* ---------- 2. card de seleção ---------- */
.af-pick { padding: 0 var(--wrap); margin-top: clamp(32px, 4vw, 73px); position: relative; z-index: 4; }
.af-pick__card {
  display: grid; grid-template-columns: minmax(0, 476fr) minmax(0, 644fr); gap: clamp(28px, 4vw, 64px);
  padding: clamp(24px, 3.4vw, 47px);
  border-radius: 32px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(0,0,0,.17);
}
.af-pick__intro .af-text { margin-top: 18px; }
.af-pick__cta { margin-top: 28px; }
.af-pick__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.af-opt {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 12px 14px;
  border: 0; border-radius: 16px; cursor: pointer; text-align: left;
  background: var(--rose-50); color: var(--wine-900);
  font: 500 14.5px/1.25 var(--sans);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .3s var(--ease);
}
.af-opt::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px;
  background: var(--white) no-repeat center / 0; box-shadow: inset 0 0 0 1.5px #d9bcc2;
  transition: background-color .35s var(--ease), background-size .35s var(--ease), box-shadow .35s var(--ease);
}
.af-opt:hover { background: var(--rose-100); }
.af-opt:active { transform: scale(.98); }
.af-opt:focus-visible { outline: 2px solid var(--wine-700); outline-offset: 2px; }
.af-opt[aria-pressed="true"] { background: var(--wine-900); color: var(--white); }
.af-opt[aria-pressed="true"]::before {
  background-color: var(--white); background-size: 12px; box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%234e0c1e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.af-pick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 3. por que existe ---------- */
.af-why { display: grid; grid-template-columns: minmax(0, 700fr) minmax(0, 484fr); gap: clamp(32px, 6vw, 108px); align-items: center; padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(96px, 11vw, 160px); }
/* vídeo vertical 9:16 (Vimeo); a capa vira o player no clique */
.af-reel { position: relative; justify-self: end; width: min(100%, 410px); margin: 0; aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: var(--wine-900); }
.af-reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.af-reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.af-reel:hover img { transform: scale(1.04); }
.af-reel__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border: 0; border-radius: 50%; cursor: pointer; background: var(--white); display: grid; place-items: center; box-shadow: var(--soft); transition: transform .5s var(--ease); }
.af-reel__play svg { width: 26px; height: 26px; fill: var(--wine-900); margin-left: 4px; }
.af-reel__play:hover { transform: scale(1.08); }
.af-why__text { margin: 28px 0 36px; max-width: 56ch; }
.af-why__text p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; }
.af-why__punch { padding: 18px 22px; border-radius: 18px; background: var(--rose-50); color: var(--wine-900); font-weight: 500; }

/* ---------- 4. o que você treina ---------- */
.af-train { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 104px); padding-bottom: clamp(96px, 11vw, 160px); }
.af-train__sticky { position: sticky; top: 24px; }
.af-train__photo { position: relative; margin: 0; height: calc(100svh - 48px); max-height: 820px; border-radius: 32px; overflow: hidden; }
.af-train__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.af-train__list .af-h2 { margin-bottom: 36px; }
.af-items { list-style: none; margin: 0; padding: 0; }
.af-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 22px; border-radius: 22px; transition: background-color .6s var(--ease); }
.af-item + .af-item { margin-top: 4px; }
.af-item__n { font: 400 22px/1.3 var(--serif); color: var(--rose-ink); transition: color .6s var(--ease); }
.af-item h3 { margin: 0 0 6px; font: 500 20px/1.3 var(--sans); color: var(--wine-900); }
.af-item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--graphite); }
.af-item.is-active { background: var(--rose-50); }
.af-item.is-active .af-item__n { color: var(--wine-900); }
.af-item--you { background: var(--wine-900); }
.af-item--you h3, .af-item--you p, .af-item--you .af-item__n { color: var(--white); }
.af-item--you.is-active { background: var(--wine-700); }
.af-item--you.is-active .af-item__n { color: var(--white); }

/* ---------- 5. como funciona ---------- */
.af-how { padding: 0 12px; }
.af-how__inner {
  border-radius: 40px; color: var(--white);
  padding-top: clamp(80px, 9vw, 136px); padding-bottom: clamp(80px, 9vw, 136px);
  background-color: var(--wine-900);
}
.af-how .af-h2 { color: var(--white); }
.af-how .af-h2 em { color: #e3a5b3; }
.af-how .af-text { color: rgba(255,255,255,.8); }
.af-how__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 56px; }
/* bento: cartões claros sobre o vinho, alturas diferentes */
.af-bento { display: grid; grid-template-columns: 1fr 1.15fr 1fr 1fr; grid-template-rows: minmax(399px, auto) minmax(282px, auto); gap: 12px; }
.af-b { position: relative; overflow: hidden; margin: 0; padding: 26px; border-radius: 24px; background: var(--linen); color: var(--wine-900); }
.af-b h3 { margin: 0; font: 400 34px/1.05 var(--serif); letter-spacing: -.02em; }
.af-b p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--graphite); }
.af-b__k { display: flex; align-items: center; gap: 8px; margin: 0 0 auto !important; font: 500 13px/1 var(--sans) !important; color: var(--wine-700) !important; }
.af-b__k span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rose-50); font-size: 12px; }
.af-b--theory { display: flex; flex-direction: column; gap: 12px; }
.af-b--theory h3 { margin-top: 8px; }
.af-b--topics { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: var(--white); }
.af-tr { display: flex; gap: 8px; }
.af-tr:nth-child(even) { padding-left: 51px; }
.af-t { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 17px; color: var(--graphite); }
.af-t--plus { background: var(--wine-900); color: var(--white); }
.af-t--on { background: var(--rose-100); color: var(--wine-900); }
.af-b--practice { grid-column: 2; grid-row: 1 / 3; padding: 0; display: flex; align-items: flex-end; color: var(--white); background: #2a0710; }
.af-b--practice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 30%; transition: transform 1.4s var(--ease); }
.af-b--practice::before { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(30,5,12,.55) 35%, rgba(30,5,12,.94)); z-index: 1; }
.af-b--practice:hover img { transform: scale(1.04); }
.af-b--practice > div { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.af-b--practice .af-b__k { margin-bottom: 8px !important; color: var(--white) !important; }
.af-b--practice .af-b__k span { background: rgba(255,255,255,.18); }
.af-b--practice p { color: rgba(255,255,255,.88); }
.af-b--practice h3 { font-size: 44px; }
.af-b--stat { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); }
.af-b__big { font: 400 150px/.8 var(--serif) !important; letter-spacing: -.05em; color: var(--wine-900) !important; }
.af-b--stat h3 { font-size: 26px; }
.af-b--photo { grid-column: 4; grid-row: 1; padding: 0; background: #2a2a2c; }
.af-b--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.af-b--class { grid-column: 3 / 5; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; align-items: stretch; background: var(--rose-50); }
.af-b--class > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.af-b--class .af-b__k { margin-bottom: auto !important; }
.af-b--class h3 { font-size: 44px; color: #3e0a18; }
.af-b--class h3 em { font-style: italic; font-weight: 500; color: var(--rose-500); }
.af-orbit { position: relative; align-self: center; width: 217px; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(78,12,30,.06); }
.af-orbit::before { content: ""; position: absolute; inset: 9.5%; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(78,12,30,.06); }
.af-orbit img { position: absolute; width: 26.5px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--white); object-fit: cover; background: var(--rose-500); }
.af-orbit .af-orbit__me { left: 50%; top: 50%; width: 47%; translate: -50% -50%; border: 0; box-shadow: 0 0 0 6px var(--rose-50); }
.af-orbit img:nth-of-type(2) { left: 82.3%; top: 57.1%; }
.af-orbit img:nth-of-type(3) { left: 50.3%; top: 6.1%; }
.af-orbit img:nth-of-type(4) { left: 29.2%; top: 93.9%; }
.af-orbit img:nth-of-type(5) { left: -6.1%; top: 34%; }
.af-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.af-fit__col { position: relative; overflow: hidden; padding: 34px; border-radius: 28px; }
.af-fit__col--yes { background: var(--rose-500); }
.af-fit__col--no { background: rgba(0,0,0,.2); }
.af-fit__col h3 { margin: 0 0 18px; font: 400 30px/1.1 var(--serif); }
.af-fit__col ul { display: grid; gap: 12px; }
.af-fit__col li { position: relative; padding-left: 36px; font-size: 16px; line-height: 1.5; }
.af-fit__col li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.95) no-repeat center / 12px; }
.af-fit__col--yes li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%237a1428' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.af-fit__col--no li::before { background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3.5 3.5 5 5m0-5-5 5' fill='none' stroke='%23e7d3d6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 12px; }
.af-fit__col--no li { color: rgba(255,255,255,.8); }

/* ---------- 6. quem vai te acompanhar ---------- */
.af-who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 104px); align-items: center; padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(96px, 11vw, 160px); }
.af-who__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: #2a2a2c; }
.af-who__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); transform-origin: 50% 35%; }
.af-who__name { margin: 18px 0 0; font: 400 clamp(52px, 6.4vw, 104px)/.92 var(--serif); letter-spacing: -.035em; color: var(--wine-900); }
.af-who__name em { font-style: italic; color: var(--rose-500); }
.af-stats { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; margin: 36px 0; }
.af-stats div { padding: 18px 20px; border-radius: 20px; background: var(--rose-50); }
.af-stats dt { font: 400 34px/1 var(--serif); letter-spacing: -.02em; color: var(--wine-900); }
.af-stats div:last-child dt { font: 500 17px/1.2 var(--sans); padding-top: 8px; }
.af-stats dd { margin: 8px 0 0; font-size: 13px; color: #5f5c60; }
.af-who__text p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; max-width: 58ch; }
.af-who__quote { padding-left: 22px; border-left: 3px solid var(--rose-500); font: italic 400 22px/1.45 var(--serif) !important; color: var(--wine-900); }

/* ---------- 7. chamada do meio ---------- */
.af-mid { padding: 0 12px; }
.af-mid__stage { padding: clamp(64px, 7vw, 104px) clamp(16px, 3vw, 48px) 0; border-radius: 40px; background: var(--rose-50); overflow: hidden; }
.af-mid__copy { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.af-mid__copy .af-text { margin: 20px 0 32px; }
/* leque de cards no fim da seção, cortado pela borda de baixo */
.af-fan { position: relative; display: flex; justify-content: center; margin: 64px auto -56px; max-width: 1080px; }
.af-pc {
  --r: 0deg; --y: 0px;
  flex: none; width: clamp(200px, 22vw, 268px); margin: 0 -14px; padding: 8px 8px 8px; border-radius: 26px;
  background: var(--white); box-shadow: var(--soft); transform: translateY(var(--y)) rotate(var(--r));
  transition: transform .8s var(--ease);
}
.af-pc:nth-child(1) { --r: -7deg; --y: 34px; }
.af-pc:nth-child(2) { --r: -2.5deg; --y: 6px; z-index: 1; }
.af-pc:nth-child(3) { --r: 2.5deg; --y: 0px; z-index: 1; }
.af-pc:nth-child(4) { --r: 7deg; --y: 30px; }
.af-pc:hover { transform: translateY(calc(var(--y) - 18px)) rotate(calc(var(--r) * .4)); z-index: 2; }
.af-pc__tag { display: inline-block; margin: 10px 0 0 10px; padding: 6px 11px; border-radius: 8px; background: var(--wine-900); color: var(--white); font: 500 12px/1 var(--sans); }
.af-pc__t { margin: 12px 10px 14px; font: 400 24px/1.1 var(--serif); letter-spacing: -.015em; color: var(--wine-900); }
.af-pc__img { position: relative; aspect-ratio: 4 / 4.4; border-radius: 19px; overflow: hidden; background: #2a2a2c; }
.af-pc__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.af-pc__loc { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px; color: var(--white); font: 500 14px/1 var(--sans); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.af-pc__loc svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.af-fan__pill { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--soft); color: var(--wine-900); font: 500 14px/1 var(--sans); white-space: nowrap; }
.af-fan__pill--a { left: 20%; top: 46%; rotate: -6deg; }
.af-fan__pill--b { right: 22%; top: 30%; rotate: 5deg; }


/* ---------- 8. FAQ ---------- */
.af-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 104px); padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(72px, 8vw, 120px); }
.af-faq__head { position: sticky; top: 32px; align-self: start; }
.af-q { border-radius: 20px; background: var(--white); margin-bottom: 10px; transition: background-color .4s var(--ease); }
.af-q[open] { background: var(--rose-50); }
.af-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 22px 26px; font: 500 17px/1.4 var(--sans); color: var(--wine-900); }
.af-q summary::-webkit-details-marker { display: none; }
.af-q summary:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; border-radius: 20px; }
.af-q__plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--wine-900); transition: background-color .4s var(--ease), transform .5s var(--ease); }
.af-q__plus::before, .af-q__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: var(--white); translate: -50% -50%; border-radius: 2px; }
.af-q__plus::after { rotate: 90deg; transition: rotate .5s var(--ease); }
.af-q[open] .af-q__plus { background: var(--rose-500); }
.af-q[open] .af-q__plus::after { rotate: 0deg; }
.af-q p { margin: 0; padding: 0 70px 24px 26px; font-size: 16px; line-height: 1.7; color: var(--graphite); }

/* card de contato abaixo do título do FAQ */
.af-cc { max-width: 380px; margin-top: 36px; padding: 8px; border-radius: 28px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.af-cc__list { list-style: none; margin: 0; padding: 0; }
.af-cc__list li + li { box-shadow: inset 0 1px var(--rose-50); }
.af-cc__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; color: var(--wine-900); transition: background-color .4s var(--ease); }
.af-cc__list a:hover { background: var(--rose-50); }
.af-cc__list a > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; font: 400 19px/1.15 var(--serif); }
.af-cc small { font: 400 12px/1 var(--sans); color: #5f5c60; }
.af-cc__ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--rose-50); }
.af-cc__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--wine-700); stroke-width: 1.5; }
.af-cc__ico--wa { background: var(--wa); }
.af-cc__ico .af-wa-ico { stroke: none; color: var(--white); }
.af-cc__go { width: 14px; height: 14px; fill: none; stroke: var(--rose-500); stroke-width: 1.5; transition: transform .5s var(--ease); }
.af-cc__list a:hover .af-cc__go { transform: rotate(45deg); }

/* rodapé claro, colunas e nome gigante cortado */
.af-foot { position: relative; overflow: hidden; padding: clamp(48px, 5vw, 72px) var(--wrap) 0; background: var(--white); box-shadow: inset 0 1px var(--rose-100); }
.af-foot__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.af-foot__logo { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--wine-900); }
.af-foot__logo svg { width: 34px; height: 29px; color: var(--rose-500); }
.af-foot__logo span { display: flex; flex-direction: column; font: 400 26px/1 var(--serif); letter-spacing: -.02em; }
.af-foot__logo small { margin-top: 4px; font: 400 12px/1 var(--sans); letter-spacing: .04em; color: #5f5c60; }
.af-foot__brand > p:not(.af-foot__logo) { margin: 20px 0 28px; max-width: 34ch; font-size: 15px; line-height: 1.6; }
.af-foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--wine-900); }
.af-foot__col p { margin: 0 0 8px; font-size: 13px; color: #5f5c60; }
.af-foot__col a { transition: color .3s var(--ease), translate .4s var(--ease); }
.af-foot__col a:hover { color: var(--rose-500); translate: 4px 0; }
.af-foot__live { display: flex; align-items: center; gap: 8px; }
.af-foot__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.af-foot__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding: 20px 0 24px; box-shadow: inset 0 1px var(--rose-100); font-size: 13px; color: #5f5c60; }
.af-foot__bar a:hover { color: var(--wine-900); }
.af-foot__mark { margin: 0; text-align: center; font: 400 clamp(88px, 16vw, 240px)/.74 var(--serif); letter-spacing: -.055em; color: var(--rose-50); white-space: nowrap; translate: 0 .14em; pointer-events: none; user-select: none; }
@keyframes af-blink { 50% { opacity: .35; } }

.af-float { position: fixed !important; right: 20px; bottom: 20px; z-index: 40; box-shadow: 0 12px 32px -8px rgba(31,138,76,.5); opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .5s var(--ease), translate .5s var(--ease), padding .6s var(--ease), background-color .5s var(--ease) !important; }
.af-float.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
@keyframes af-pulse { 0% { scale: .9; opacity: 1; } 100% { scale: 1.5; opacity: 0; } }

/* ---------- tablet / mobile ---------- */
@media (max-width: 1080px) {
  .af-nav__links { display: none; }
  .af-pick__card { grid-template-columns: 1fr; }
  .af-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .af-b { grid-column: auto !important; grid-row: auto !important; min-height: 260px; }
  .af-b--practice { grid-row: span 2 !important; }
  .af-b--class { grid-column: 1 / -1 !important; }
  .af-foot__top { grid-template-columns: 1fr 1fr 1fr; }
  .af-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .af-hero__stage { grid-template-columns: 1fr; grid-template-rows: auto; border-radius: 0 0 28px 28px; min-height: 0; padding-bottom: 16px; }
  .af-nav { padding: 14px 0; }
  .af-hero__copy { padding: 16px 0 8px; }
  .af-hero__title { margin-top: 20px; }
  .af-hero__lead { margin: 20px 0 28px; font-size: 16px; }
  .af-hero__copy .af-btn { width: 100%; justify-content: space-between; }
  .af-hero__stage { padding-bottom: 24px; }
  .af-hero__visual { min-height: 0; margin: 20px 0 0; }
  .af-hero__frame { position: relative; inset: auto; aspect-ratio: 1 / .96; overflow: hidden; }
  .af-hero__frame::after { content: ""; position: absolute; inset: 62% 0 0; background: linear-gradient(transparent, var(--night)); }
  /* o rosto fica a 36,5% da largura do recorte: left = 50% - 36,5% x 125% */
  .af .af-hero__photo { top: 0; left: 4.4%; width: 125%; }
  .af .af-proofs { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; margin-top: -64px; }
  .af-chip { position: static; max-width: none !important; animation: none; }
  .af-chip { font-size: 12.5px; padding: 8px 14px 8px 8px; border-radius: 16px; }
  .af-chip__ico { width: 32px; height: 32px; border-radius: 11px; }
  .af-chip--b { padding: 10px 14px; align-items: center; }
  .af-chip--b strong { font-size: 34px; }
  .af-chip--b span { font-size: 11.5px; }
  .af-seats img { width: 20px; height: 20px; }
}
@media (max-width: 900px) {
  .af-pick { padding: 0 8px; }
  .af-br { display: none; }
  .af-pick__card { border-radius: 26px; }
  .af-pick__grid { grid-template-columns: 1fr 1fr; }
  .af-opt { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; padding: 10px; }
  .af-opt svg { width: 30px; height: 30px; padding: 6px; flex: none; }
  .af-pick__foot { flex-direction: column; align-items: stretch; }
  .af-pick__cta .af-btn, .af-mid .af-btn { width: 100%; }
  .af-why, .af-train, .af-who, .af-faq { grid-template-columns: 1fr; }
  .af-reel { justify-self: center; }
  .af-train__sticky { position: static; }
  .af-train__photo { height: auto; aspect-ratio: 4 / 5; }
  .af-item { grid-template-columns: 40px 1fr; padding: 20px 16px; }
  .af-how, .af-mid, .af-foot { padding-left: 8px; padding-right: 8px; }
  .af-how__inner, .af-mid__stage { border-radius: 28px; }
  .af-how__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .af-bento, .af-fit { grid-template-columns: 1fr; }
  .af-b { min-height: 0; padding: 22px; }
  .af-b--practice { grid-row: auto !important; min-height: 440px; }
  .af-b--stat { min-height: 240px; }
  .af-b--photo { padding: 0; aspect-ratio: 4 / 5; }
  .af-b--topics { padding: 28px 16px; align-items: center; }
  .af-tr { width: 240px; }
  .af-b--class { grid-template-columns: 1fr; }
  .af-orbit { width: 200px; justify-self: center; }
  .af-b__big { font-size: 120px !important; }
  .af-fit__col { padding: 24px; }
    .af-stats { grid-template-columns: 1fr 1fr; }
  .af-stats div:last-child { grid-column: 1 / -1; }
  .af-faq__head { position: static; }
  .af-q p { padding-right: 22px; }
  .af-fan { margin: 40px -8px 36px; }
  .af-pc { width: 25%; margin: 0 -3px; padding: 5px; border-radius: 16px; }
  .af-pc:nth-child(1) { --r: -6deg; --y: 18px; }
  .af-pc:nth-child(4) { --r: 6deg; --y: 16px; }
  .af-pc__t { font-size: 12px; margin: 6px 4px 7px; min-height: 2.3em; }
  .af-pc__tag { margin: 4px 0 0 4px; padding: 4px 7px; font-size: 10px; }
  .af-pc__img { border-radius: 12px; aspect-ratio: 3 / 4; }
  .af-pc__loc { display: none; }
  .af-fan__pill { font-size: 11px; padding: 7px 10px; }
  .af-fan__pill--a { left: 6%; top: auto; bottom: -3%; }
  .af-fan__pill--b { right: 6%; top: -6%; }
  .af-cc { max-width: none; }
  .af-foot__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .af-foot__top > :last-child { grid-column: 1 / -1; }
  .af-foot__bar { margin-top: 48px; }
  .af-float { left: 16px; right: 16px; bottom: 12px; justify-content: center; }
}
@media (max-width: 420px) {
  .af-brand > span:last-child { display: none; }
  .af .af-btn--sm { font-size: 13px; padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .af *, .af *::before, .af *::after { animation: none !important; transition: none !important; }
  [data-in] { opacity: 1; transform: none; filter: none; }
}
