/* =========================================================
   FUN(NY) ENGLISH by Teacher Liana — stylesheet
   Reorganizado em: 02/09/2026
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Open+Sans:wght@400;500;600;700&family=Fraunces:wght@600;700&display=swap');

:root {
  /* ---------- Cores ---------- */
  --gray: #404041;
  --graysoft: #b6b6b6b6;
  --graylight: #fcfcfc;
  --graydark: #494948;
  --graymedium: #767676;
  --yellowlogo: #ffc703;
  --yellow2: #ffd52b;
  --yellow3: #ffe580;
  --yellow4: #fff5ce;
  --black: #000;
  --white: #ffffff;
  --blue: #394bc5;
  --redbook: #be3519;
  --shadow: #161616;

  /* ---------- Fontes (mantidas como você carregou) ---------- */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-accent: 'Fraunces', serif;
/*
Font-weight
300: Leve (Light)
400: Normal (Regular)
600: Semi-negrito (SemiBold)
700: Negrito (Bold)
900: Ultranegrito (Black)
*/

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;

  /* ---------- Escala de espaçamento (padronização pedida no item 2 e 4) ----------
     Mesmo respiro em todas as seções: eyebrow -> título, título -> conteúdo,
     e padding vertical das seções. Cores/fontes de cada eyebrow/título continuam
     livres, só o espaçamento é padronizado. */
  --space-section: 80px;      /* padding vertical padrão de seção (desktop) */
  --space-section-sm: 48px;   /* padding vertical padrão de seção (mobile) */
  --gap-eyebrow: 20px;        /* espaço eyebrow -> título */
  --gap-title: 28px;          /* espaço título -> conteúdo abaixo dele */
  --gap-back-to-top: 40px;    /* respiro antes do link "Back to top" */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* Evita que o header fixo (sticky) tape o topo das seções ao clicar em
   âncoras (#about, #materials, #top, etc.) */
section,
header,
footer,
[id] {
  scroll-margin-top: 100px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}


/*--------------------------- BUTTONS ---------------------------*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  padding: 10px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-yellow {
  background: var(--yellowlogo);
  color: var(--gray);
  box-shadow: 3px 3px 3px var(--graysoft);
}
.btn-yellow:hover { box-shadow: 3px 3px 3px var(--yellow4); }
.btn-yellow:active { transform: translateY(2px); box-shadow: 3px 3px 3px var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}


/*--------------------------- LOGO ---------------------------*/

.logo {
  width: 100%;
  height: auto;
  align-items: left;
  justify-content: left;
  text-align: left;
  display: flex;
}

/*--------------------------- HEADER / NAV (sticky mantido) ---------------------------*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #eceae4;
}

.site-header .logo {
  max-height: 85px;
  width: auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  gap: 20px;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
  line-height: 1;
  text-align: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--yellowlogo);
}

.nav-cta {
  background: var(--yellowlogo);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray);
  padding: clamp(4px, 1vw, 10px) clamp(4px, 1vw, 30px);
  font-size: clamp(0.85rem, 12px, 1rem);
  border-radius: 999px;
}

.nav-item-cta { margin-left: 0; width: 100%; }

.nav-item-cta .nav-cta {
  display: block;
  width: 100%;
  text-align: center;
}

.nav-toggle { display: none; }

/*--------------------------- EYEBROW (item 2: espaçamento padronizado) ---------------------------
   Todo eyebrow do site usa o mesmo respiro até o título (var(--gap-eyebrow)).
   Cor/borda continuam podendo mudar por seção. */

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1.5px solid var(--yellowlogo);
  border-radius: 999px;
  margin-bottom: var(--gap-eyebrow);
}

/*--------------------------- PAGE HEADER (item 5) ---------------------------
   Bloco reutilizável para o topo de qualquer página: mesmo fundo
   (Fundo3.png, encostado à esquerda), mesma estrutura de eyebrow + título.
   - Na home é usado pela .hero.
   - Nas próximas páginas, use class="page-header" — ver lista de
     mudanças de HTML no final da resposta. */

.hero {
  justify-content: center;
  text-align: center;
  padding: var(--space-section) 32px;
  margin: 0 auto;
}

.page-header {
  background-image: url(assets/images/Fundo3.png);
  background-size: cover;
  background-repeat: no-repeat;
  /* FIX (item 1): antes só tinha valor horizontal ("left"), então no
     celular a imagem ficava centralizada verticalmente e cortava o
     topo. "left top" mantém encostado à esquerda (como você quer,
     por causa do degradê) E no topo da seção. */
  background-position: left top;
  justify-content: center;
  text-align: center;
  padding: var(--space-section) 32px;
  margin: 0 auto;
}

.page-header-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  color: var(--gray);
}

/*--------------------------- HERO ---------------------------*/

.hero .eyebrow {
  align-items: center;
  text-align: center;
  justify-content: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1;
  color: var(--gray);
  text-align: center;
}

.hero h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
  color: var(--gray);
  font-style: italic;
  text-align: center;
  margin-bottom: var(--gap-title);
}

.hero h1 .highlight {
  color: var(--yellowlogo);
  font-weight: 300;
  font-style: italic;
  text-align: center;
}

.hero p {
  margin-top: 22px;
  font-size: 16px;
  color: var(--gray);
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero p + p { margin-top: 14px; }

.hero .tagline {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 400;
}

/*--------------------------- BOOK ---------------------------*/

.book-promo {
  background: var(--graydark);
  color: var(--white);
  padding: var(--space-section) 32px;
  align-items: center;
  text-align: center;
}

.book-promo .eyebrow { border-color: var(--white); color: var(--white); }

.book-inner {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--white);
  color: var(--gray);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  box-shadow: 5px 5px 5px var(--shadow);
}

.book-inner h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: var(--gap-title);
  line-height: 1.2;
}

.book-inner p { color: var(--gray); margin-bottom: 12px; }
.book-inner p strong { color: var(--gray); }

.book-cta { margin-top: 22px; display: flex; align-items: center; gap: 18px; }
.book-cta .cta-label { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.book-cta .cta-label em { color: var(--redbook); }

.book-art {
  background: var(--graylight);
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graylight);
  font-size: 12px;
  text-align: right;
  padding: 20px;
}

/*--------------------------- SECTION HEAD ---------------------------*/

.section {
  padding: var(--space-section) 32px;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--gap-title);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
}

/*--------------------------- PRODUCTS ---------------------------*/

.product-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 3px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg, 28px);
  overflow: hidden;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.333);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.364);
}

.product-thumb {
  aspect-ratio: 16 / 10;
  background: var(--graylight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 13px;
  position: relative;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--redbook);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  padding: 8px 10px;
  border-radius: 8px;
  line-height: 1.1;
  text-align: center;
  transform: rotate(4deg);
}

.badge.free {
  background: var(--redbook);
  border: 0px solid var(--redbook);
  color: var(--white);
  transform: rotate(-8deg);
}

.product-body { padding: 20px; }

.product-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellowlogo);
  margin-bottom: 6px;
  display: block;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 10px;
}

.product-body p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-level { text-transform: uppercase; font-size: 11px; color: var(--gray); }
.product-level strong { display: block; color: var(--gray); font-size: 12px; }

.product-price { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.product-price.free { color: var(--redbook); }

.section-cta { text-align: center; margin-top: 44px; }

/*--------------------------- CAUTION STRIP ---------------------------*/
/* FIX: faltava "(" depois de repeating-linear-gradient e as variáveis
   --darkgray / --navy não existem em :root — por isso essa faixa
   provavelmente nunca apareceu. Troquei pelas variáveis reais. */

.caution-strip {
  background: repeating-linear-gradient(
    -45deg,
    var(--yellowlogo),
    var(--yellowlogo) 24px,
    var(--graydark) 24px,
    var(--graydark) 48px
  );
  padding: 4px 0;
}

.caution-strip .strip-inner {
  background: var(--graydark);
  margin: 0 12px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.caution-strip span {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 22px;
  text-transform: uppercase;
}

/*--------------------------- TESTIMONIALS ---------------------------*/

.testimonials { background: var(--graysoft); padding: var(--space-section) 32px; }

.testimonials .eyebrow {
  border-color: var(--white);
  color: var(--gray);
}

.testimonial-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: repeating-linear-gradient(
      -45deg, var(--gray) 0 18px, var(--yellowlogo) 18px 36px
    ) top / 100% 10px no-repeat,
    var(--white);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.263);
  border-radius: var(--radius-sm);
  padding: 28px 20px 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

/*--------------------------- ABOUT ---------------------------*/
/* FIX (item 4): "min-height: 100vh" forçava a seção a ocupar a tela
   inteira mesmo com pouco conteúdo, criando um vazio grande antes do
   "Back to top". Troquei por padding padrão, igual às outras seções. */

.about {
  width: 100%;
  padding: var(--space-section) 32px;
  text-align: center;
  background-color: #ffc756;
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: var(--gray);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
}

.about-grid {
  background-color: #ffaa00;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.263);
  border-radius: var(--radius-sm);
  padding: 28px 20px 20px;

  max-width: 900px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

/*background: repeating-linear-gradient(
      -45deg, var(--gray) 0 18px, var(--yellowlogo) 18px 36px
    ) top / 100% 10px no-repeat,
    var(--white);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.263);
  border-radius: var(--radius-sm);
  padding: 28px 20px 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
*/




@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.about-left {
  display: flex;
  flex-direction: column;
}

.about-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about .eyebrow {
  border-color: var(--white);
  color: var(--gray);
}

.about-inner h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  margin: 0 auto var(--gap-title);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 300px;
}

.about-photo {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 25px auto 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-facts {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 3px;
  font-weight: 600;
  color: var(--gray);
  font-size: 14px;
  margin: 10px 20px 24px;
}

.about-facts .row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-facts .op {
  font-family: var(--font-body);
  font-weight: 800;
}

.about-summary {
  margin-top: 48px;
  font-size: 14px;
  color: var(--gray);
}

.about-caption {
  text-align: center;
  margin-top: 25px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
}

.mood-badge {
  margin: 40px auto 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray);
  padding: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.about-card {
  background: var(--white);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.263);
  border-radius: var(--radius-sm);
  padding: 20px 20px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================
   MEU CARROSSEL
   ========================================= */

.meu-carrossel {
  width: 100%;
  max-width: 300px;
  height: 450px;
  border-radius: 16px;
  margin-top: 20px;
  padding: 8px 20px;
  border: 3px solid var(--white);
  margin-bottom: var(--gap-eyebrow);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*--------------------------- CONTACT ---------------------------*/

.contact {
  background-color: var(--gray);
  padding: var(--space-section) 32px;
}

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.contact-card .eyebrow { display: flex; width: fit-content; margin: 0 auto var(--gap-eyebrow); }

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  text-align: center;
  margin-bottom: var(--gap-title);
}

.contact-card h2 em { color: var(--yellowlogo); font-style: italic; font-weight: 400; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e3e1da;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellowlogo);
}

.contact-card .btn { width: 100%; margin-top: 8px; }

.contact-note {
  font-size: 11px;
  color: var(--graymedium);
  text-align: center;
  margin-top: 14px;
}

/*--------------------------- FOOTER / BACK TO TOP ---------------------------*/

.site-footer {
  background-color: var(--gray);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 22px 32px 30px;
  font-size: 12px;
}

/* Item 3: respiro (margin-top) depois do último elemento da seção.
   FIX: antes a margem lateral era "auto" nos dois lados — isso faz um
   item flex se autocentralizar e "brigava" com o justify-content do
   elemento pai, deixando o alinhamento inconsistente. Agora quem
   decide direita/esquerda é a classe modificadora abaixo. */
.back-to-top {
  display: flex;
  width: 100%;
  margin-top: var(--gap-back-to-top);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.back-to-top--right { justify-content: flex-end; }
.back-to-top--center { justify-content: center; }

/* ================= RESPONSIVO ================= */

@media (max-width: 768px) {
  :root {
    --space-section: var(--space-section-sm);
  }

  .book-inner {
    grid-template-columns: 1fr;
  }

  .site-header .logo img {
    max-height: 35px;
    width: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    gap: 15px;
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-item-cta .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
  }

  .about-inner h2 { font-size: 2.2rem; max-width: 100%; }
  .about-grid { gap: 30px; }
  .about-left, .about-right {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .about-facts { text-align: left; margin-left: auto; margin-right: auto; }

  .swiper, .meu-carrossel { width: 100%; max-width: 300px; }

  .product-grid,
  .testimonial-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .caution-strip .strip-inner { gap: 20px; }
}



.audio-container {
  max-width: 400px;
  margin: 20px auto; /* Centraliza o player na página */
  text-align: left;
}

.audio-container audio {
  width: 100%; /* Faz o player ocupar o tamanho da caixinha de forma responsiva */
}