/* Silésia de Castro · Saúde e Bem-Estar
   Paleta, fontes e texturas oficiais do manual de identidade visual. */

@font-face { font-family: "Noto Serif Display"; src: url("../assets/fonts/NotoSerifDisplay-Variable.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif Display"; src: url("../assets/fonts/NotoSerifDisplay-Italic-Variable.woff") format("woff"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-MediumItalic.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-ExtraBoldItalic.woff") format("woff"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Tangoure"; src: url("../assets/fonts/Tangoure.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Paleta oficial (manual, p. 17 e 19) */
  --verde-serra: #6B7051;
  --oliva-suave: #ADAD80;
  --areia-rose: #C1A698;
  --creme-rose: #E7D2C8;
  --nevoa: #E1DCDA;
  --algodao: #EFECEA;
  --branco: #FFFFFF;

  --ink: var(--verde-serra);
  --line: rgba(107, 112, 81, .18);
  --line-light: rgba(255, 255, 255, .28);

  /* Gradientes do manual (p. "gradientes"), só com cores da paleta */
  --grad-rose: linear-gradient(160deg, var(--algodao) 0%, var(--creme-rose) 55%, var(--areia-rose) 100%);
  --grad-verde: linear-gradient(160deg, var(--oliva-suave) 0%, var(--verde-serra) 70%);

  --serif: "Noto Serif Display", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
  --accent: "Tangoure", var(--sans);

  --container: min(100% - 3rem, 77.5rem);
  --header-h: 5rem;
  --radius: 8px;
  --radius-btn: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--branco);
  font-synthesis: none;
  letter-spacing: 0;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 800; }
em { font-style: italic; font-weight: 500; }

.container { width: var(--container); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--branco); color: var(--verde-serra); padding: .75rem 1rem; border-radius: var(--radius-btn); font-weight: 800; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0;
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; opacity: .6; }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; text-wrap: balance; }
.h1 { font-weight: 800; font-style: italic; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.5rem); line-height: 1.02; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); }
.h3 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem); line-height: 1.2; }
.lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); max-width: 36rem; }
.quote { font-family: var(--serif); font-style: italic; font-weight: 600; line-height: 1.35; }
.signature { font-family: var(--accent); font-size: 1.35rem; line-height: 1.2; }
.muted { opacity: .82; }
.stack > * + * { margin-top: 1.25rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.25rem; padding: .85rem 1.5rem;
  border-radius: var(--radius-btn); border: 1.5px solid transparent;
  font-family: var(--sans); font-weight: 800; font-size: .95rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-primary { background: var(--verde-serra); color: var(--branco); }
.btn-primary:hover { background: var(--branco); color: var(--verde-serra); border-color: var(--verde-serra); }
.btn-light { background: var(--branco); color: var(--verde-serra); }
.btn-light:hover { background: var(--creme-rose); }
.btn-outline { border-color: var(--verde-serra); color: var(--verde-serra); background: transparent; }
.btn-outline:hover { background: var(--verde-serra); color: var(--branco); }
.btn-outline-light { border-color: var(--branco); color: var(--branco); background: transparent; }
.btn-outline-light:hover { background: var(--branco); color: var(--verde-serra); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem;
  font-weight: 800; font-size: .95rem; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left calc(100% - .55rem) / 2rem 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.microcopy { font-size: .85rem; opacity: .85; }

/* ---------- Seções ---------- */
.section { padding-block: clamp(4rem, 3rem + 4vw, 7.5rem); }
.section--verde { background: var(--verde-serra); color: var(--branco); }
.section--algodao { background: var(--algodao); }
.section--rose { background: var(--grad-rose); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head .lead { margin-top: 1.25rem; }
.split { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
}
.photo { border-radius: var(--radius); overflow: hidden; background: var(--nevoa); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--branco);
  transition: background-color .3s var(--ease), color .3s var(--ease), height .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand img { height: clamp(2.75rem, 2.2rem + 1.4vw, 3.6rem); width: auto; }
.brand .logo-on-light { display: none; }
.site-header.is-solid { background: var(--branco); color: var(--verde-serra); height: 4.5rem; box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .brand .logo-on-dark { display: none; }
.site-header.is-solid .brand .logo-on-light { display: block; }
.site-header.is-solid .brand img { height: clamp(2.5rem, 2rem + 1.2vw, 3.1rem); }
.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-desktop a:not(.btn) { font-size: .92rem; text-decoration: none; padding-block: .5rem; position: relative; }
.nav-desktop a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-desktop a:not(.btn):hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
.nav-desktop .btn { min-height: 2.75rem; padding: .6rem 1.15rem; }
.site-header:not(.is-solid) .nav-desktop .btn { background: var(--branco); color: var(--verde-serra); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; cursor: pointer; border-radius: var(--radius-btn); }
.menu-toggle .icon { width: 1.6rem; height: 1.6rem; }
@media (min-width: 72rem) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

/* Menu mobile: camada própria, fora do cabeçalho, sempre branca e opaca */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--branco); color: var(--verde-serra);
  display: flex; flex-direction: column; padding: 1rem 1rem 2rem;
  visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility 0s linear .25s;
  overflow-y: auto;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .25s var(--ease); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 3rem; margin-bottom: 2rem; }
.mobile-menu__top img { height: 2.75rem; width: auto; }
.mobile-menu nav a:not(.btn) { display: flex; align-items: center; min-height: 3.5rem; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.mobile-menu nav a[aria-current="page"] { font-style: italic; }
.mobile-menu .btn { width: 100%; margin-top: 2rem; }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; font-size: .9rem; }

/* ---------- Hero (home) ----------
   Retrato recortado sobre o Verde Serra com textura oficial; a foto
   termina rente à base do hero, sem moldura nem mudança brusca de cor. */
.hero {
  position: relative; isolation: isolate; color: var(--branco); overflow: hidden;
  background:
    radial-gradient(ellipse 45% 60% at 74% 62%, rgba(231, 210, 200, .30), rgba(231, 210, 200, 0) 70%),
    url("../assets/brand/texture-verde-serra.webp") center / cover no-repeat,
    var(--verde-serra);
  padding-top: calc(var(--header-h) + 2.5rem);
}
.hero__grid { display: grid; gap: 2rem; align-items: end; }
.hero__content { max-width: 38rem; padding-bottom: 4.5rem; align-self: center; }
.hero .h1 { margin-bottom: 1.75rem; }
.hero__mission { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.8rem); max-width: 34rem; margin-bottom: 1.25rem; }
.hero__support { max-width: 31rem; margin-bottom: 2.25rem; opacity: .92; }
.hero .microcopy { margin-top: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.hero__figure { margin: 0; display: flex; justify-content: center; align-items: flex-end; align-self: end; }
.hero__figure img { width: 100%; height: auto; max-height: min(80svh, 46rem); object-fit: contain; object-position: bottom center; filter: drop-shadow(0 20px 40px rgba(60, 64, 44, .25)); }
@media (min-width: 56rem) {
  .hero { min-height: max(40rem, 100svh); display: flex; }
  .hero > .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .hero__content { padding-block: 2rem 6rem; }
}
@media (max-width: 55.99rem) {
  .hero__content { padding-bottom: 0; }
  .hero__figure img { width: min(100%, 26rem); }
  .hero { background:
    radial-gradient(ellipse 70% 40% at 50% 85%, rgba(231, 210, 200, .30), rgba(231, 210, 200, 0) 70%),
    url("../assets/brand/texture-verde-serra-mobile.webp") center / cover no-repeat,
    var(--verde-serra); }
}

/* Entrada do hero: o texto fica visível sem JS */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { transition-delay: .08s; }
.js .hero .reveal:nth-child(3) { transition-delay: .16s; }
.js .hero .reveal:nth-child(4) { transition-delay: .22s; }
.js .hero .reveal:nth-child(5) { transition-delay: .28s; }

/* ---------- Faixa de confiança ---------- */
.trust { background: var(--verde-serra); color: var(--branco); border-top: 1px solid var(--line-light); position: relative; }
.trust ul { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust li { padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: .15rem; font-size: .85rem; line-height: 1.35; }
.trust li strong { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; line-height: 1.1; }
.trust li + li { border-left: 1px solid var(--line-light); }
.trust li:nth-child(3) { border-left: 0; }
@media (max-width: 47.99rem) { .trust li:nth-child(n+3) { border-top: 1px solid var(--line-light); } }
@media (min-width: 48rem) {
  .trust ul { grid-template-columns: repeat(4, 1fr); }
  .trust li { padding: 2rem 1.5rem; }
  .trust li:nth-child(3) { border-left: 1px solid var(--line-light); }
  .trust li:first-child { padding-left: 0; }
}

/* ---------- Posicionamento ---------- */
.intro__figure { display: grid; gap: 1.25rem; }
.intro__figure .photo { aspect-ratio: 5 / 4; }
.intro__figure figcaption { display: grid; gap: .5rem; padding-left: 1.25rem; border-left: 2px solid var(--areia-rose); }
.intro__figure .quote { font-size: 1.2rem; }

/* ---------- Cuidados ---------- */
.services { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 56rem) { .services { grid-template-columns: 1fr 1fr; } }
.service { background: var(--verde-serra); padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; }
.service__num { font-family: var(--serif); font-weight: 700; font-size: .95rem; color: var(--creme-rose); }
.service p { opacity: .9; max-width: 32rem; }
.service__meta { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.service__meta div { display: grid; }
.service__meta span { font-size: .75rem; font-weight: 800; text-transform: uppercase; opacity: .78; }
.service__meta strong { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.service .link-arrow { align-self: flex-start; }
.services-more { margin-top: 2.5rem; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56rem) { .services-more { grid-template-columns: 1fr auto; } }
.services-more p { max-width: 40rem; }

/* ---------- Método ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2rem; line-height: 1; color: var(--areia-rose); }
.step h3 { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin-bottom: .4rem; }

/* ---------- Sobre ---------- */
.about .photo { aspect-ratio: 4 / 5; max-height: 44rem; }
.about .quote { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); padding-left: 1.25rem; border-left: 2px solid var(--areia-rose); }

/* ---------- Depoimentos ---------- */
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.rating { display: flex; align-items: center; gap: 1rem; background: var(--branco); border-radius: var(--radius); padding: .9rem 1.25rem; }
.rating strong { font-family: var(--serif); font-size: 2.25rem; line-height: 1; }
.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 1rem; height: 1rem; fill: var(--verde-serra); stroke: none; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: min(85%, 22rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: var(--branco); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.review blockquote { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.1rem; line-height: 1.45; }
.review footer { margin-top: auto; font-size: .88rem; }
.review footer strong { display: block; }
.track-controls { display: flex; gap: .5rem; }
.track-controls button { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-btn); border: 1.5px solid var(--verde-serra); background: var(--branco); color: var(--verde-serra); cursor: pointer; }
.track-controls button:hover { background: var(--verde-serra); color: var(--branco); }
.reviews__foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }

/* ---------- Formulários (WhatsApp) ---------- */
.form-panel { background: var(--branco); color: var(--verde-serra); border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); }
.form-grid { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-size: .82rem; font-weight: 800; }
.field input, .field select {
  width: 100%; min-height: 3.1rem; padding: .7rem .9rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-btn); background: var(--branco);
  font-size: 1rem; color: var(--verde-serra);
}
.field input::placeholder { color: var(--verde-serra); opacity: .55; }
.field input:focus, .field select:focus { outline: none; border-color: var(--verde-serra); box-shadow: 0 0 0 3px rgba(107,112,81,.18); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-btn); font-size: .9rem; cursor: pointer; transition: all .2s var(--ease); }
.chip input:checked + span { background: var(--verde-serra); color: var(--branco); border-color: var(--verde-serra); }
.chip input:focus-visible + span { outline: 2px solid var(--verde-serra); outline-offset: 2px; }
.form-panel .btn { width: 100%; }
.form-note { font-size: .8rem; margin-top: .75rem; opacity: .85; }
.field-error { font-size: .8rem; font-weight: 800; display: none; }
.field.has-error .field-error { display: block; }
.field.has-error input { border-color: var(--verde-serra); border-width: 2px; }

/* ---------- Cosméticos ---------- */
.products__gallery { position: relative; padding: clamp(1rem, .5rem + 2vw, 2rem); border-radius: var(--radius); background: url("../assets/brand/texture-rose.webp") center / cover no-repeat, var(--creme-rose); display: grid; }
.products__gallery .photo { aspect-ratio: 5 / 4; }
.ebook-teaser { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: .95rem; }

/* ---------- Localização ---------- */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.hours th { padding-right: 1rem; font-weight: 800; font-size: .9rem; }
.hours td { text-align: right; }
.address { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.05rem; }
.address .icon { margin-top: .25rem; }

/* ---------- Chamada final ---------- */
.final { position: relative; text-align: left; background: var(--verde-serra) url("../assets/brand/texture-verde-serra.webp") center / cover no-repeat; color: var(--branco); }
@media (max-width: 50rem) { .final { background-image: url("../assets/brand/texture-verde-serra-mobile.webp"); } }
.final .h2 { max-width: 40rem; }
.final p { max-width: 34rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--verde-serra); color: var(--branco); padding-block: 4rem 2rem; font-size: .92rem; border-top: 1px solid var(--line-light); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 5rem; width: auto; margin-bottom: 1.25rem; }
.footer-brand .quote { font-size: 1.15rem; }
.site-footer h2 { font-size: .78rem; font-weight: 800; text-transform: uppercase; margin-bottom: 1rem; opacity: .85; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.footer-bottom a { text-decoration: none; font-weight: 800; }

.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--verde-serra); color: var(--branco); display: none; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(107,112,81,.35); }
.wa-float .icon { width: 1.6rem; height: 1.6rem; }
@media (min-width: 36rem) { .wa-float { display: inline-flex; } }

/* ---------- Página de cursos ---------- */
.page-hero { background: radial-gradient(ellipse 40% 60% at 75% 65%, rgba(231, 210, 200, .28), rgba(231, 210, 200, 0) 70%), var(--verde-serra); color: var(--branco); padding-top: calc(var(--header-h) + 2.5rem); overflow: hidden; }
.page-hero .split > .stack { padding-bottom: 4rem; }
.page-hero .hero__figure img { width: min(100%, 22rem); max-height: min(78svh, 40rem); }
.page-hero .split { align-items: end; }
@media (min-width: 56rem) { .page-hero { min-height: max(40rem, 92svh); display: flex; align-items: flex-end; } .page-hero > .container { width: var(--container); } .page-hero .split > .stack { align-self: center; padding-block: 2rem 6rem; } .page-hero .hero__figure img { width: min(100%, 26rem); } }

.courses { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .courses { grid-template-columns: repeat(3, 1fr); } }
.course { border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.course--featured { background: var(--branco); color: var(--verde-serra); border-color: var(--branco); }
.course__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.badge { display: inline-flex; align-items: center; min-height: 1.75rem; padding: .2rem .65rem; border-radius: var(--radius-btn); font-size: .72rem; font-weight: 800; text-transform: uppercase; border: 1px solid currentColor; }
.course p { opacity: .9; }
.course .note { font-size: .85rem; opacity: .85; padding-top: 1rem; border-top: 1px solid var(--line-light); margin-top: auto; }
.course--featured .note { border-top-color: var(--line); }

.ebook { display: grid; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--branco); }
@media (min-width: 56rem) { .ebook { grid-template-columns: .8fr 1.2fr; } }
.ebook__visual { background: var(--grad-rose); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); display: flex; align-items: center; justify-content: center; }
.ebook__visual img { width: min(100%, 22rem); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.ebook__body { padding: clamp(1.5rem, 1.2rem + 2vw, 3.5rem); display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; }
.specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .5rem 2.5rem; padding-block: 1.25rem; border-block: 1px solid var(--line); }
.specs div { display: grid; }
.specs span { font-size: .72rem; font-weight: 800; text-transform: uppercase; opacity: .8; }
.hero-note { margin-top: 1.5rem; font-size: .9rem; }
.hero-note a { font-weight: 800; }
.specs strong { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }

@media (max-width: 50rem) {
  :root { --container: calc(100% - 2rem); --header-h: 4.25rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .actions .link-arrow { align-self: flex-start; }
  .reviews__head .track-controls { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
