/* =========================================================================
   BIA NOCETE — Curso de Bolos Caseiros
   Design System: Apple × MasterClass × Hotmart Premium × Editorial gastronômico
   ========================================================================= */

/* ----------------------------- TOKENS ----------------------------------- */
:root {
  /* Paleta */
  --bg: #FFF9F4;
  --white: #FFFFFF;
  --brown: #4A3127;
  --brown-deep: #3A251D;
  --terra: #C97959;
  --terra-dark: #B5532A;
  --green: #4C8C4A;
  --green-dark: #3F7A3D;
  --gray: #6F6F6F;
  --gold: #C9A227;
  --line: rgba(74, 49, 39, .12);

  /* Espaçamentos */
  --s-8: 8px;   --s-12: 12px; --s-16: 16px; --s-24: 24px;
  --s-32: 32px; --s-48: 48px; --s-64: 64px; --s-80: 80px; --s-120: 120px;

  /* Radius */
  --r-card: 24px;
  --r-video: 32px;
  --r-pill: 999px;

  /* Sombra */
  --shadow: 0 20px 60px rgba(0, 0, 0, .08);
  --shadow-sm: 0 8px 24px rgba(74, 49, 39, .08);

  /* Tipografia */
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-script: Arial, Helvetica, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif; /* só no logo do rodapé */

  /* Escala tipográfica (desktop — sobrescrita no bloco mobile ≤768px) */
  --fs-h1: clamp(30px, 2.5vw, 40px);            /* título principal do hero */
  --fs-h2: clamp(28px, 2.45vw, 38px);           /* títulos de seção */
  --fs-body: clamp(15px, 1.05vw, 17px);         /* textos / parágrafos */
  --fs-btn: 15px;                               /* botões */
  --fs-hero-eyebrow: clamp(11px, 1vw, 14px);    /* linha "Sua Cozinha, Seu Negócio" */
  --fs-hero-script: clamp(19px, 1.6vw, 24px);   /* linha "que vendem todos os dias" */

  /* Layout */
  --container: 1440px;
  --pad-x: 80px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------------------------- RESET ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--brown);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 2000;
  background: var(--brown); color: var(--white); padding: 12px 18px;
  border-radius: var(--r-pill); transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

.gtm-noscript { display: none; visibility: hidden; }

/* ----------------------------- LAYOUT ----------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section--full { min-height: 100dvh; display: flex; align-items: center; }
section { padding-block: var(--s-120); position: relative; }
.section--full { padding-block: var(--s-80); }

/* ----------------------------- TYPOGRAPHY ------------------------------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -.5px;
  color: var(--brown);
}
.section-title--sm { font-size: clamp(24px, 2.1vw, 32px); }
.section-title--light { color: var(--white); }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--terra); margin-bottom: var(--s-12);
}
.section-sub { color: var(--gray); font-size: var(--fs-body); margin-top: var(--s-12); max-width: 60ch; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--s-64); }
.section-head .section-sub { margin-inline: auto; }
.section-head--compact { margin-bottom: var(--s-24); }
.section-cta { text-align: center; margin-top: var(--s-48); }
.mobile-only-break { display: none; }

@supports (content-visibility: auto) {
  main > section:not(.hero),
  main > .lessons-block {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
  main > .section--full:not(.hero) {
    contain-intrinsic-size: auto 100svh;
  }
}

/* ----------------------------- BUTTONS ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: var(--fs-btn); line-height: 1;
  padding: 16px 28px; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 19px 34px; font-size: var(--fs-btn); }
.btn--block { width: 100%; }

.btn--green { background: var(--green); color: var(--white); box-shadow: 0 10px 26px rgba(76, 140, 74, .35); }
.btn--green:hover { background: var(--green-dark); box-shadow: 0 16px 34px rgba(76, 140, 74, .42); }

.btn--terra { background: var(--terra-dark); color: var(--white); box-shadow: 0 10px 26px rgba(181, 83, 42, .3); }
.btn--terra:hover { background: #9c4624; }

/* ----------------------------- CTA PRICE NOTE ---------------------------- */
.cta-price {
  display: block;
  font-size: .84rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.3;
}
.cta-price strong { color: var(--terra-dark); font-weight: 700; font-size: 1.3rem; }

/* ----------------------------- CHECKLIST --------------------------------- */
.checklist { display: grid; gap: 12px; }
.checklist li {
  display: flex; align-items: center; gap: 12px;
  color: var(--brown); font-size: 1rem; font-weight: 600;
}
.checklist__ic {
  display: grid; place-items: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 9px;
  background: linear-gradient(160deg, var(--terra) 0%, var(--terra-dark) 100%);
  color: var(--white);
  box-shadow: 0 5px 12px rgba(181, 83, 42, .28);
}
.checklist__ic [data-lucide],
.checklist__ic svg { width: 15px; height: 15px; stroke-width: 2.3; }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }

/* ============================ HERO ====================================== */
.hero { padding-top: var(--s-64); }
.hero__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-32);
  align-items: center; width: 100%;
}
.hero__copy { grid-column: span 6; }
.hero__media { grid-column: span 6; }
.hero__copy,
.hero__media { min-width: 0; }

.hero__title { font-family: var(--font-display); font-weight: 500; color: var(--brown); margin-bottom: var(--s-24); }
.hero__title { display: grid; gap: 2px; }
.hero__title-strong { font-size: clamp(38px, 3.4vw, 54px); font-weight: 800; line-height: 1.05; letter-spacing: -.5px; }
.hero__title > :first-child { font-size: clamp(13px, 1.2vw, 16px); font-weight: 600; }
.hero__title-script { font-family: var(--font-script); color: var(--terra-dark); font-size: clamp(24px, 2vw, 32px); line-height: 1.1; margin-top: 4px; }

.hero__lead { color: var(--gray); font-size: clamp(17px, 1.25vw, 20px); line-height: 1.4; max-width: 48ch; margin-bottom: var(--s-24); }
.hero__lead-line { display: inline; }
.hero__lead-hl { color: var(--terra-dark); font-weight: 700; }
.hero__list { margin-bottom: var(--s-32); grid-template-columns: 1fr 1fr; }
.hero__cta-group .cta-price { margin-bottom: 6px; font-size: 1rem; }
.hero__cta-group .cta-price strong { font-size: 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-16); }
.hero__payments {
  grid-column: 1 / span 6;
  width: 148px;
  margin-top: -16px;
  margin-left: 8px;
}

/* Hero media */
.hero__media { display: grid; gap: var(--s-24); justify-items: center; }

.video-wrapper {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-video); overflow: hidden; box-shadow: var(--shadow);
}
.video-wrapper iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: .76rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gray);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ============================ APRESENTAÇÃO DO CURSO (vídeo) ===========
   Seção EXCLUSIVA do desktop (≥769px). No mobile fica oculta e o vídeo
   continua no hero — o comportamento mobile NÃO é alterado.
   ===================================================================== */
.course-intro { display: none; }

@media (min-width: 769px) {
  /* Hero desktop: HERODESKTOP.webp como fundo full-bleed, texto à esquerda.
     Scrim claro à esquerda garante leitura; a Bia aparece à direita. */
  .hero {
    background-image:
      linear-gradient(90deg,
        rgba(255, 249, 244, 1) 0%,
        rgba(255, 249, 244, 1) 30%,
        rgba(255, 249, 244, 0.9) 40%,
        rgba(255, 249, 244, 0) 55%),
      url("assets/HERODESKTOP.webp");
    background-size: cover, contain;
    background-position: center, right center;
    background-repeat: no-repeat, no-repeat;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 600px);
    justify-content: start;
    justify-items: start;
    text-align: left;
  }
  .hero__copy {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .hero__title { text-align: left; }
  .hero__lead { max-width: 46ch; margin-inline: 0; }
  .hero__list {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: 12px 44px;
  }
  .hero__cta-group { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__actions { justify-content: flex-start; }
  .hero__media { display: none; }                 /* vídeo movido p/ .course-intro */
  .hero__payments { grid-column: auto; margin: 8px 0 0; }

  /* A nova seção — cabe inteira em uma tela (100vh) no desktop */
  .course-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-block: clamp(28px, 5vh, 60px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #fff9f4 0%, #f2e3d4 100%);
    border-top: 1px solid rgba(74, 49, 39, .08);
    border-bottom: 1px solid rgba(74, 49, 39, .08);
  }
  .course-intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1040px, 94%);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(201, 121, 89, .20), transparent 60%);
    pointer-events: none;
  }
  .course-intro__inner { display: grid; gap: clamp(16px, 3vh, 32px); }
  .course-intro__head { text-align: center; max-width: 780px; margin-inline: auto; }
  .course-intro__head .section-sub { margin-inline: auto; }

  .course-intro__media {
    position: relative;
    width: 100%;
    max-width: min(680px, 94vh);   /* menor + limitado pela altura da tela */
    margin-inline: auto;
  }
  .course-intro__media .video-wrapper {
    border: 6px solid var(--white);
    border-radius: var(--r-video);
    box-shadow: 0 44px 90px -30px rgba(74, 49, 39, .55);
  }
  .course-intro__badge {
    position: absolute;
    z-index: 3;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, #db8b63, var(--terra-dark));
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 12px 24px rgba(181, 83, 42, .32);
    white-space: nowrap;
    animation: badgeFloat 3.2s var(--ease) infinite;
  }
  .course-intro__badge [data-lucide],
  .course-intro__badge svg { width: 14px; height: 14px; fill: currentColor; }
}

/* ============================ GALERIA =================================== */
.gallery {
  background: #f0e2d5;
  border-top: 1px solid rgba(74, 49, 39, .08);
  box-shadow: inset 0 18px 42px rgba(74, 49, 39, .04);
}
.gallery__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s-16); }
.cake {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); background: #eadfd5;
}
.cake img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cake:hover img { transform: scale(1.06); }
.cake__label {
  position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px;
  font-size: .82rem; font-weight: 600; color: var(--white);
  background: linear-gradient(transparent, rgba(58, 37, 29, .85));
  opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cake:hover .cake__label, .cake:focus-within .cake__label { opacity: 1; transform: translateY(0); }

/* ============================ BENEFÍCIOS ================================ */
/* ============================ AULA GRATUITA ============================= */
.free-lesson {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #f4e7da 0%, #fff9f4 62%);
  color: var(--brown);
  padding-block: var(--s-80);
  border-top: 1px solid rgba(74, 49, 39, .08);
  border-bottom: 1px solid rgba(74, 49, 39, .08);
}
/* brilho decorativo quente atrás do player */
.free-lesson::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -12%;
  right: -8%;
  width: min(620px, 72%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 121, 89, .22), transparent 62%);
  pointer-events: none;
}
.free-lesson__inner {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: var(--s-48);
  align-items: center;
}

.free-lesson .eyebrow { margin-bottom: var(--s-8); }
.free-lesson__copy .section-title {
  margin-top: 0;
  line-height: 1.12;
  text-wrap: balance;
}
.free-lesson__copy p:not(.eyebrow) {
  color: var(--gray);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin-top: var(--s-16);
  max-width: 52ch;
}
.free-lesson__hl { color: var(--terra-dark); font-weight: 700; }

/* pontos como linhas com chip de ícone */
.free-lesson__points {
  display: grid;
  gap: 12px;
  margin-top: var(--s-24);
}
.free-lesson__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(201, 121, 89, .16);
  color: var(--brown);
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.35;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
    border-color .28s var(--ease), background .28s var(--ease);
}
.free-lesson__points li:hover {
  transform: translateX(4px);
  background: var(--white);
  border-color: rgba(201, 121, 89, .34);
  box-shadow: 0 12px 28px rgba(74, 49, 39, .09);
}
.free-lesson__point-ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(160deg, var(--terra) 0%, var(--terra-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(181, 83, 42, .26);
}
.free-lesson__point-ic [data-lucide],
.free-lesson__point-ic svg { width: 21px; height: 21px; }

/* coluna da mídia */
.free-lesson__media {
  display: grid;
  gap: var(--s-32);
  justify-items: center;
}

/* card do player de vídeo */
.player-card {
  position: relative;
  width: 100%;
  margin: 0;
}
.player-card .video-wrapper {
  width: 100%;
  border: 6px solid var(--white);
  border-radius: 24px;
  box-shadow: 0 32px 64px -24px rgba(74, 49, 39, .5);
}
.player-card__badge {
  position: absolute;
  z-index: 3;
  top: -10px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #db8b63, var(--terra-dark));
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 7px 16px rgba(181, 83, 42, .3);
  animation: badgeFloat 3.2s var(--ease) infinite;
}
.player-card__badge [data-lucide],
.player-card__badge svg { width: 12px; height: 12px; fill: currentColor; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.player-card__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--gray);
  font-size: .86rem;
  font-weight: 500;
}
.player-card__meta span { display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
.player-card__meta [data-lucide],
.player-card__meta svg { width: 16px; height: 16px; color: var(--terra-dark); }

/* CTA + nota de confiança */
.free-lesson__action {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
}
.free-lesson__cta { min-width: min(100%, 360px); }
.free-lesson__cta [data-lucide],
.free-lesson__cta svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.free-lesson__cta:hover [data-lucide],
.free-lesson__cta:hover svg { transform: translateX(4px); }
.free-lesson__cta-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--gray);
  font-size: .85rem;
}
.free-lesson__cta-note [data-lucide],
.free-lesson__cta-note svg { width: 16px; height: 16px; color: var(--green); }

/* ============================ TESTIMONIALS ============================== */
.testimonials { background: #fdf3ea; padding-block: var(--s-80); }
.testimonials-head { padding-inline: var(--pad-x); }
.testimonials__note { color: var(--gray); font-size: 1rem; line-height: 1.4; margin: var(--s-16) auto 0; }
.social-carousel { display: none; }

/* Marquee infinito */
.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: var(--s-24) 0;
}

.marquee {
  display: flex;
  gap: var(--s-24);
  list-style: none;
  animation: marquee 60s linear infinite;
  will-change: transform;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.quote {
  background: var(--white);
  border-radius: var(--r-card);
  padding: var(--s-24);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: all .25s var(--ease);
}
.quote:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.quote--compact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  width: 200px;
  height: 200px;
  overflow: hidden;
  font-size: 0.85rem;
}

.quote blockquote {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--brown);
  margin: 0;
}

.quote__name {
  font-size: .82rem;
  color: var(--terra-dark);
  font-weight: 600;
}

.social-carousel__viewport {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.social-carousel__viewport::-webkit-scrollbar { display: none; }
.social-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-width: 0;
}
.social-carousel__slide img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.social-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.social-carousel__btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.social-carousel__btn [data-lucide] {
  width: 20px;
  height: 20px;
}
.social-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.social-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(74, 49, 39, .28);
}
.social-carousel__dot[aria-current="true"] {
  width: 22px;
  border-radius: var(--r-pill);
  background: var(--terra-dark);
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: .9rem;
}

/* ============================ ABOUT ==================================== */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-80); align-items: center; }
.about__photo { position: relative; border-radius: var(--r-card); }
.about__photo > img:first-child {
  width: 100%; aspect-ratio: 1 / 1; max-height: 78dvh; object-fit: cover; object-position: top center;
  border-radius: var(--r-card); background: linear-gradient(160deg, #f3e7da, #e9d8c7); box-shadow: var(--shadow);
}
.about__cert {
  position: absolute; right: -18px; bottom: -22px; width: 56%; max-width: 280px;
  border-radius: 12px; box-shadow: var(--shadow); border: 5px solid var(--white);
  transform: rotate(3deg); transition: transform .4s var(--ease);
}
.about__cert:hover { transform: rotate(0); }
.about__copy p { color: var(--gray); font-size: var(--fs-body); margin: var(--s-16) 0 var(--s-32); max-width: 52ch; }
.about__quote {
  color: #C97959;
  font-size: 1.1rem;
  margin: 24px 0;
  border-left: 3px solid #C97959;
  padding-left: 16px;
  line-height: 1.6;
}

.stats { display: flex; gap: var(--s-48); margin-bottom: var(--s-32); flex-wrap: wrap; }
.stats li { display: grid; }
.stats__num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--terra-dark); }
.stats__label { font-size: .9rem; color: var(--gray); }

/* ============================ GUARANTEE ================================ */
.guarantee { padding-block: var(--s-80); }
.guarantee__inner {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s-48);
  background: var(--white); border-radius: var(--r-card); padding: var(--s-48);
  box-shadow: var(--shadow); max-width: 980px; margin-inline: auto;
  overflow: hidden;
}
.seal { flex-shrink: 0; display: grid; place-items: center; }
.seal img { width: 130px; height: 130px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(201, 162, 39, .35)); animation: sealFloat 4s ease-in-out infinite; }
@keyframes sealFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.guarantee__inner p { color: var(--gray); margin-top: 8px; }
.guarantee__cta-price { margin-top: var(--s-16); margin-bottom: 6px; }
.guarantee__cta { margin-top: var(--s-12); }
.guarantee-carousel {
  grid-column: 1 / -1;
  width: 100%;
  overflow: hidden;
  margin-top: var(--s-24);
  padding-block: 4px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.guarantee-carousel__track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: guaranteeMarquee 26s linear infinite;
  will-change: transform;
}
.guarantee-carousel__track img {
  width: clamp(280px, 42vw, 430px);
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #fff9f4;
  border: 1px solid rgba(201, 121, 89, .18);
  padding: 1px;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
@keyframes guaranteeMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}

/* ============================ OFFER =================================== */
.offer { background: radial-gradient(120% 120% at 50% 0%, #54382b, var(--brown-deep)); color: var(--white); }
.offer__card {
  max-width: 900px; margin-inline: auto; text-align: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-card); padding: clamp(28px, 5vw, 56px);
  backdrop-filter: blur(6px);
}
.offer__flag { display: inline-block; background: var(--terra); color: var(--white); padding: 8px 20px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: var(--s-24); }
.offer__price { margin: var(--s-32) 0; }
.offer__from s { color: rgba(255, 255, 255, .55); font-size: 1.1rem; }
.offer__by { display: block; margin-top: var(--s-16); color: rgba(255, 255, 255, .8); }
.offer__value { font-family: var(--font-display); margin: 4px 0; }
.offer__value strong { font-size: clamp(3rem, 2rem + 5vw, 4.6rem); font-weight: 800; color: #ffd9a8; letter-spacing: -1px; }
.offer__cash { display: block; color: rgba(255, 255, 255, .85); }
.offer__cash em { color: #9fe39c; font-style: normal; font-weight: 600; }
.offer__cash sup { color: #ffd9a8; }
.offer__note { display: block; margin-top: 8px; font-size: .76rem; color: rgba(255, 255, 255, .55); }

.offer__card .btn { margin-top: var(--s-16); max-width: 480px; margin-inline: auto; }
.offer__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-24); margin-top: var(--s-32); }
.offer__trust li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.offer__trust svg { color: #9fe39c; }
.offer__pay { margin-top: var(--s-24); font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* ============================ FAQ ==================================== */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); max-width: 1100px; margin-inline: auto; }
.accordion {
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow-sm);
  overflow: hidden; transition: box-shadow .3s var(--ease);
}
.accordion[open] { box-shadow: var(--shadow); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 24px; font-weight: 600; font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; background: var(--terra-dark); border-radius: 2px; transition: transform .3s var(--ease); }
.accordion__icon::before { inset: 8px 0; height: 2px; }
.accordion__icon::after { inset: 0 8px; width: 2px; }
.accordion[open] .accordion__icon::after { transform: scaleY(0); }
.accordion__body { padding: 0 24px 24px; color: var(--gray); }
.accordion__body p { max-width: 60ch; }

/* ============================ FOOTER ================================== */
.site-footer { background: var(--brown-deep); color: rgba(255, 255, 255, .8); padding-block: var(--s-64) var(--s-32); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-48); }
.brand__name--light { font-family: var(--font-serif); color: var(--bg); font-size: 2rem; }
.footer__brand p { margin-top: 12px; font-size: .92rem; max-width: 30ch; color: rgba(255, 255, 255, .6); }
.footer__col h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--white); margin-bottom: var(--s-16); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: .92rem; color: rgba(255, 255, 255, .7); transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--terra); }
.footer__bottom { margin-top: var(--s-48); padding-top: var(--s-24); border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .5); }

/* ============================ STICKY CTA (mobile) ===================== */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 900;
  display: none; align-items: center; justify-content: space-between; gap: var(--s-16);
  background: rgba(58, 37, 29, .96); backdrop-filter: blur(10px);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: transform .45s var(--ease), opacity .35s var(--ease);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .25);
}
.sticky-cta[data-visible] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-cta__price { display: flex; flex-direction: column; color: var(--white); line-height: 1.2; }
.sticky-cta__price strong { font-size: 1.15rem; }
.sticky-cta__price small { font-size: .72rem; color: rgba(255, 255, 255, .65); }
.sticky-cta .btn { padding: 14px 20px; font-size: var(--fs-btn); }

/* ============================ WHATSAPP FLUTUANTE ===================== */
.wpp-float {
  position: fixed; right: 20px; bottom: 10px; z-index: 950;
  width: 54px; height: 54px; border-radius: 0; overflow: visible;
  box-shadow: none;
  transition: transform .25s var(--ease);
  animation: wppPulse 2s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
.wpp-float:hover { transform: scale(1.1); }
.wpp-float img {
  display: block;
  width: 100%;
  height: 100%;
}
.wpp-float img { object-fit: contain; }

@keyframes wppPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ============================ REVEAL ANIMATION ======================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* ---- ≤1024px ---- */
@media (max-width: 1024px) {
  :root { --pad-x: 48px; --s-120: 88px; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .free-lesson__inner { grid-template-columns: 1fr; }
  .free-lesson__copy {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }
  .free-lesson__copy p:not(.eyebrow) { margin-inline: auto; }
  .free-lesson__points {
    max-width: 560px;
    margin-inline: auto;
    text-align: left;
  }
  .about__grid { gap: var(--s-48); }
}

/* ---- ≤768px : MOBILE ---- */
@media (max-width: 768px) {
  :root {
    --pad-x: 20px; --s-120: 72px; --s-80: 56px;
    --fs-h1: clamp(23px, 5.2vw, 26px);
    --fs-h2: clamp(21px, 5.4vw, 25px);
    --fs-body: 15px;
    --fs-hero-eyebrow: 9.5px;
    --fs-hero-script: clamp(15px, 4.4vw, 18px);
  }

  /* Reordena as seções só no mobile: provas sociais logo após os bolos */
  #conteudo { display: flex; flex-direction: column; }
  #inicio { order: 1; }
  #apresentacao { order: 1; } /* mesmo order do hero → cai logo depois dele */
  #bolos { order: 2; }
  #depoimentos { order: 3; }
  #aula-gratis { order: 4; }
  .lessons-block { order: 5; }
  #bonus-especial { order: 6; }
  #sobre { order: 7; }
  .guarantee { order: 8; }
  #oferta { order: 9; }
  #faq { order: 10; }

  /* Apresentação do curso: no mobile o vídeo subiu p/ o hero → seção ocultada aqui */
  .course-intro {
    display: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #fff9f4 0%, #f2e3d4 100%);
    border-top: 1px solid rgba(74, 49, 39, .08);
    border-bottom: 1px solid rgba(74, 49, 39, .08);
  }
  .course-intro__inner { display: grid; gap: var(--s-24); }
  .course-intro__head { text-align: center; }
  .course-intro__media {
    position: relative;
    width: 100%;
    max-width: min(430px, calc(100vw - 40px));
    margin-inline: auto;
  }
  .course-intro__media .video-wrapper {
    border: 5px solid var(--white);
    border-radius: 20px;
    box-shadow: 0 24px 48px -20px rgba(74, 49, 39, .5);
  }
  .course-intro__badge {
    position: absolute;
    z-index: 3;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, #db8b63, var(--terra-dark));
    color: var(--white);
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(181, 83, 42, .3);
    white-space: nowrap;
  }
  .course-intro__badge [data-lucide],
  .course-intro__badge svg { width: 13px; height: 13px; fill: currentColor; }

  section { padding-block: var(--s-64); overflow-x: hidden; }
  .section-head { margin-bottom: var(--s-48); }

  /* Hero reorder: título → vídeo → lead → lista → CTA */
  .hero {
    min-height: 100svh;
    padding: clamp(44px, 9svh, 76px) 0 calc(72px + env(safe-area-inset-bottom));
    align-items: flex-start;
  }
  .hero__grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(14px, 2.5svh, 22px);
    width: 100%;
    max-width: min(390px, 100%);
    margin-inline: auto;
    padding-inline: 10px;
    min-width: 0;
  }
  .hero__copy { display: contents; }
  .hero__title {
    order: 1;
    gap: 6px;
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .hero__title > span {
    max-width: 100%;
    min-width: 0;
  }
  .hero__title > :first-child { font-size: clamp(13px, 3.4vw, 16px); }
  .hero__title-strong {
    font-size: clamp(35px, 9.6vw, 50px);
    line-height: 1;
  }
  .hero__title-script {
    display: block;
    justify-self: center;
    max-width: 100%;
    font-size: clamp(22px, 6vw, 30px);
    margin-top: 0;
    text-wrap: balance;
    white-space: normal;
  }
  .mobile-only-break { display: block; }
  .hero__media {
    order: 2; /* fica logo acima do subtítulo (lead = order 3) */
    display: grid;
    width: 100%;
    max-width: 430px;
    align-self: center;
    opacity: 1;
    transform: none;
    margin-top: 4px;
    margin-inline: 0;
  }
  .hero__media .video-wrapper {
    border: 4px solid var(--white);
    border-radius: 26px;
    box-shadow:
      0 0 0 2px rgba(181, 83, 42, .32),
      0 18px 42px -24px rgba(74, 49, 39, .55);
  }
  .hero__lead {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 6px auto 0;
    text-align: center;
    font-size: clamp(13.8px, 3.7vw, 15px);
    line-height: 1.36;
    overflow-wrap: break-word;
    padding: 0;
    text-wrap: balance;
  }
  .hero__lead-line {
    display: inline;
    text-align: center;
    white-space: normal;
  }
  .hero__list {
    order: 4;
    width: 100%;
    max-width: 330px;
    margin-inline: auto;
    margin-bottom: 0;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 13px 14px;
  }
  .hero__list li {
    gap: 8px;
    font-size: .9rem;
    line-height: 1.25;
    width: max-content;
  }
  .hero__list .checklist__ic {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }
  .hero__list .checklist__ic [data-lucide],
  .hero__list .checklist__ic svg { width: 13px; height: 13px; }
  .hero__cta-group { order: 5; width: 100%; margin-top: 36px; text-align: center; }
  .hero__cta-group .cta-price { margin-bottom: 4px; font-size: 1.02rem; }
  .hero__cta-group .cta-price strong { font-size: 1.5rem; }
  .hero__actions { justify-content: center; width: 100%; }
  .hero__actions .btn { flex: 1; max-width: 100%; }
  .hero__actions .btn {
    min-height: 54px;
    padding: 15px 22px;
    font-size: var(--fs-btn);
  }
  .hero__payments { order: 6; width: 212px; margin: 0 auto; }
  .scroll-hint { display: none; }

  /* Galeria 2 colunas */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-12); }

  .free-lesson {
    min-height: 100svh;
    padding-block: clamp(16px, 3svh, 32px);
    display: flex;
    align-items: center;
  }
  /* Mobile: vídeo logo após o título → título · vídeo · pontos · CTA */
  .free-lesson__inner {
    gap: clamp(8px, 1.7svh, 14px);
  }
  .free-lesson__copy,
  .free-lesson__media { display: contents; }
  .free-lesson .eyebrow { order: 1; margin-bottom: 0; }
  .free-lesson__copy .section-title { order: 2; }
  .free-lesson .player-card { order: 3; }
  .free-lesson__copy p:not(.eyebrow) { order: 4; }
  .free-lesson__points { order: 5; }
  .free-lesson__action { order: 6; }
  .free-lesson__copy .section-title {
    font-size: var(--fs-h2);
    line-height: 1.1;
  }
  .free-lesson__copy p:not(.eyebrow) {
    max-width: 32ch;
    margin-top: 0;
    margin-inline: auto;
    font-size: var(--fs-body);
    line-height: 1.4;
  }
  .free-lesson__points {
    gap: 8px;
    margin-top: 0;
  }
  .free-lesson__points li {
    gap: 11px;
    padding: 8px 12px;
    font-size: .86rem;
    line-height: 1.25;
  }
  .free-lesson__point-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .free-lesson__point-ic [data-lucide],
  .free-lesson__point-ic svg { width: 18px; height: 18px; }
  .player-card__meta {
    margin-top: 10px;
    font-size: clamp(.7rem, 3vw, .82rem);
    gap: 6px 10px;
  }
  .player-card__meta [data-lucide],
  .player-card__meta svg { width: 14px; height: 14px; }
  .free-lesson__action { gap: 6px; }
  .free-lesson__action .cta-price { margin-bottom: 0; font-size: .8rem; }
  .free-lesson__cta {
    width: min(100%, 340px);
    min-height: 50px;
    padding: 14px 22px;
    font-size: var(--fs-btn);
  }

  .testimonials { padding-block: var(--s-64); }
  .testimonials-head { padding-inline: var(--pad-x); }
  .testimonials .section-head { margin-bottom: 24px; }
  .testimonials__note { display: none; }
  .marquee-container { display: none; }
  .social-carousel {
    display: block;
    max-width: 350px;
    margin-inline: auto;
  }
  .social-carousel__slide img {
    max-height: min(56svh, 430px);
  }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { margin-bottom: var(--s-24); }
  .about__cert { right: 0; bottom: -28px; width: 48%; }
  .stats { gap: var(--s-24); justify-content: space-between; }

  /* CTA centralizado + espaçamento ajustado no mobile */
  .about__copy .cta-price {
    margin: var(--s-24) 0 var(--s-12);
    text-align: center;
  }
  .about__copy .btn--terra {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
  }

  .guarantee__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--s-24);
    padding: var(--s-32);
  }
  .guarantee-carousel {
    margin-top: 0;
  }
  .guarantee-carousel__track img {
    width: min(330px, 82vw);
    height: auto;
  }

  .offer__flag {
    display: block;
    width: 100%;
    background: transparent;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
  }

  .faq__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-32); }
  .footer__brand { grid-column: 1 / -1; }

  /* Sticky CTA visible on mobile */
  .sticky-cta { display: flex; }

  .wpp-float { bottom: calc(16px + env(safe-area-inset-bottom)); right: 16px; }
  .wpp-float[data-sticky-visible] { bottom: calc(72px + env(safe-area-inset-bottom)); }

}

/* ---- ≤430px ---- */
@media (max-width: 430px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .stats { gap: var(--s-16); }
  .stats__num { font-size: 1.5rem; }
  .offer__flag { font-size: .7rem; letter-spacing: .5px; }
  .offer__trust { flex-direction: column; align-items: center; gap: 12px; }
  .quote--compact { width: min(82vw, 280px); height: auto; min-height: 180px; }
  .marquee { gap: 16px; }
}

/* ---- ≥1920px ---- */
@media (max-width: 768px) and (max-height: 740px) {
  .hero { padding-top: clamp(32px, 6svh, 48px); }
  .hero__grid {
    gap: clamp(10px, 1.7svh, 13px);
    max-width: min(360px, 100%);
    padding-inline: 10px;
  }
  .hero__title > :first-child { font-size: clamp(12px, 3.2vw, 15px); }
  .hero__title-strong {
    justify-self: center;
    max-width: 11ch;
    font-size: clamp(31px, 7.8vw, 37px);
  }
  .hero__title-script { font-size: clamp(20px, 5.4vw, 25px); }
  .hero__media { max-width: 320px; }
  .hero__lead {
    max-width: 100%;
    font-size: clamp(13px, 3.3vw, 14px);
    line-height: 1.35;
  }
  .hero__list { max-width: 300px; gap: 9px 10px; }
  .hero__list li { font-size: .8rem; gap: 7px; }
  .hero__list .checklist__ic { width: 20px; height: 20px; border-radius: 7px; }
  .hero__list .checklist__ic [data-lucide],
  .hero__list .checklist__ic svg { width: 11px; height: 11px; stroke-width: 2.4; }
  .hero__cta-group { margin-top: 24px; }
  .hero__cta-group .cta-price { font-size: .8rem; margin-bottom: 3px; }
  .hero__cta-group .cta-price strong { font-size: 1.25rem; }
  .hero__actions .btn { min-height: 48px; padding-block: 13px; }
  .hero__payments { width: 176px; }

  /* Aula gratuita — encaixar em 100svh em telas baixas */
  .free-lesson { padding-block: clamp(10px, 1.7svh, 18px); }
  .free-lesson__inner { gap: clamp(6px, 1.1svh, 10px); }
  .free-lesson__copy .section-title { font-size: var(--fs-h2); }
  .free-lesson__copy p:not(.eyebrow) { font-size: var(--fs-body); line-height: 1.35; max-width: 30ch; }
  .player-card .video-wrapper { border-width: 4px; }
  .player-card__meta { margin-top: 8px; gap: 5px 9px; font-size: clamp(.68rem, 2.9vw, .76rem); }
  .free-lesson__points { gap: 6px; }
  .free-lesson__points li { padding: 7px 11px; font-size: .82rem; gap: 10px; }
  .free-lesson__point-ic { width: 30px; height: 30px; border-radius: 9px; }
  .free-lesson__point-ic [data-lucide],
  .free-lesson__point-ic svg { width: 16px; height: 16px; }
  .free-lesson__action { gap: 4px; }
  .free-lesson__action .cta-price { font-size: .74rem; }
  .free-lesson__cta { min-height: 46px; padding: 12px 20px; }
  .free-lesson__cta-note { font-size: .8rem; }
}

@media (min-width: 1920px) {
  :root { --pad-x: 120px; }
}

/* ============================ LUCIDE ICONS ========================= */
[data-lucide], svg.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================ REDUCED MOTION ========================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================ 32 AULAS (intro) ====================== */
.lessons-intro {
  background: var(--bg);
  padding: var(--s-48) 0 var(--s-12);
}
.lessons-intro__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown);
  font-size: clamp(1.6rem, 1.2rem + 2.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 var(--s-8);
}
.lessons-intro__sub {
  color: var(--terra);
  font-weight: 500;
  font-size: clamp(1rem, .95rem + .4vw, 1.15rem);
  line-height: 1.4;
  margin: 0;
}

/* ============================ CARD: 16 vídeo aulas ================== */
.lessons-card-section {
  background: var(--bg);
  padding: 0 0 var(--s-48);
}
.lessons-card {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid rgba(201, 121, 89, .32);
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-sm);
}
.lessons-card__badge {
  display: inline-block;
  margin-bottom: 10px;
  background: linear-gradient(160deg, var(--terra) 0%, var(--terra-dark) 100%);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.lessons-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lessons-card__list li {
  padding: 1px 2px;
  font-size: clamp(.78rem, .68rem + .55vw, .92rem);
  color: var(--brown);
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lessons-card__list li:nth-child(even) {
  background: rgba(201, 121, 89, .05);
}

/* Carrossel das vídeo aulas (1–16 / 17–32) */
.lessons-carousel__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.lessons-carousel__viewport::-webkit-scrollbar { display: none; }
.lessons-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
  padding: 0 2px;
}
.lessons-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.lessons-carousel__btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.lessons-carousel__btn [data-lucide] { width: 20px; height: 20px; }
.lessons-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.lessons-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(74, 49, 39, .28);
}
.lessons-carousel__dot[aria-current="true"] {
  width: 22px;
  border-radius: var(--r-pill);
  background: var(--terra-dark);
}

/* Desktop/tablet (≥769px): tem espaço de sobra → sem carrossel.
   Os dois cards aparecem lado a lado e os controles (setas/dots) somem. */
@media (min-width: 769px) {
  .lessons-intro { text-align: center; }
  .lessons-carousel__viewport {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 920px;
    margin-inline: auto;
    overflow: visible;
    scroll-snap-type: none;
  }
  .lessons-carousel__slide {
    flex: none;
    scroll-snap-align: none;
    padding: 0;
  }
  .lessons-carousel__controls { display: none; }
}

/* Desktop largo (≥1024px): Vídeo aulas (título + 2 cards) de um lado e
   Apostila (título + 2 cards) do outro, na mesma linha.
   Espaçamento equilibrado, cards refinados e lista escaneável. */
@media (min-width: 1024px) {
  /* Bloco centralizado; os dois grupos com uma separação clara entre eles.
     O padding interno grande (--pad-x 80px) é zerado aqui — era o que criava
     o vão enorme no meio. O respiro passa a ser controlado pelo bloco. */
  .lessons-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 3vw, 48px);
    align-items: start;
    max-width: var(--container);
    margin-inline: auto;
    padding: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 44px);
  }
  .lessons-block .container { max-width: none; width: 100%; padding-inline: 0; }
  .lessons-block .lessons-intro,
  .lessons-block .lessons-card-section { padding: 0; }

  /* Cabeçalho de cada grupo */
  .lessons-block .lessons-intro { margin-bottom: var(--s-24); }
  .lessons-block .lessons-intro__title {
    font-size: clamp(1.35rem, 1rem + 1.1vw, 1.95rem);
    margin-bottom: 6px;
  }
  .lessons-block .lessons-intro__sub { font-size: .95rem; }

  /* Os 2 cards do grupo, próximos entre si (mesmo tópico) */
  .lessons-block .lessons-carousel__viewport {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: none;
    margin: 0;
    overflow: visible;
  }
  .lessons-block .lessons-carousel__slide { padding: 0; }

  /* Card refinado: borda fina, cantos suaves, sombra discreta */
  .lessons-block .lessons-card {
    max-width: none;
    padding: 16px 12px 12px;
    border: 1px solid rgba(201, 121, 89, .26);
    border-radius: 16px;
    box-shadow: 0 10px 26px -14px rgba(74, 49, 39, .28);
  }
  .lessons-block .lessons-card__badge {
    font-size: .6rem;
    letter-spacing: .16em;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  /* Lista respirável e fácil de escanear */
  .lessons-block .lessons-card__list li {
    font-size: clamp(.62rem, .3rem + .55vw, .72rem);
    line-height: 1.35;
    padding: 6px 4px;
    border-bottom: none;
    border-radius: 6px;
  }
  .lessons-block .lessons-card__list li:nth-child(even) {
    background: rgba(201, 121, 89, .05);
  }
}

/* ============================ CERTIFICADO ============================ */
.certificate { background: var(--bg); padding-block: var(--s-80); }
.certificate__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

/* Imagem do certificado + selo */
.certificate__media { margin: 0; display: flex; justify-content: center; }
.certificate__frame { position: relative; display: inline-block; width: 100%; max-width: 480px; }
.certificate__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 60px -26px rgba(74, 49, 39, .4);
  background: var(--white);
}
.certificate__seal {
  position: absolute;
  right: 6%;
  bottom: -24px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--terra) 0%, var(--terra-dark) 100%);
  color: var(--white);
  border: 4px solid var(--bg);
  box-shadow: 0 14px 28px rgba(181, 83, 42, .4);
}
.certificate__seal [data-lucide] { width: 30px; height: 30px; }

/* Conteúdo */
.certificate__badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(201, 121, 89, .14);
  color: var(--terra-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: var(--s-16);
}
.certificate__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--terra-dark);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
  line-height: 1.05;
  margin-bottom: var(--s-16);
  text-wrap: balance;
}
.certificate__lead {
  font-weight: 700;
  color: var(--brown);
  font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem);
  line-height: 1.35;
  margin-bottom: var(--s-12);
}
.certificate__desc {
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: var(--s-24);
  max-width: 52ch;
}
.certificate__features { list-style: none; display: grid; gap: 14px; margin: 0 0 var(--s-24); padding: 0; }
.certificate__features li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--brown); }
.certificate__feat-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(201, 121, 89, .12);
  color: var(--terra-dark);
  flex-shrink: 0;
}
.certificate__feat-ic [data-lucide] { width: 18px; height: 18px; }

.certificate__price { text-align: center; margin-bottom: var(--s-16); }
.certificate__price-label { display: block; color: var(--gray); font-size: .95rem; }
.certificate__price-value {
  display: block;
  color: var(--terra-dark);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem);
  line-height: 1.1;
}
.certificate__price-installment { display: block; color: var(--gray); font-size: .9rem; margin-top: 2px; }

.certificate__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #8a4a26;
  color: var(--white);
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.certificate__cta:hover { background: #743d1f; }

/* Mobile: empilha, centraliza e aperta os espaçamentos pra caber tudo */
@media (max-width: 768px) {
  .certificate { padding-block: var(--s-32); }
  .certificate__inner { grid-template-columns: 1fr; gap: var(--s-16); text-align: center; }
  .certificate__frame { max-width: 250px; }
  .certificate__seal { width: 52px; height: 52px; bottom: -18px; }
  .certificate__seal [data-lucide] { width: 24px; height: 24px; }
  .certificate__badge { margin-inline: auto; margin-bottom: 8px; }
  .certificate__title { font-size: clamp(1.6rem, 6vw, 2rem); margin-bottom: 8px; }
  .certificate__lead { margin-bottom: 8px; }
  .certificate__desc { margin-inline: auto; margin-bottom: 12px; }
  .certificate__features { width: fit-content; margin-inline: auto; text-align: left; gap: 8px; margin-bottom: 14px; }
  .certificate__price { margin-bottom: 10px; }
}
