/* =========================================================
   IC Toledo — estilos globais
   Tokens extraídos do Figma (IC-Toledo) com correções de
   contraste, ritmo tipográfico e responsividade.
   ========================================================= */

:root {
  /* Cores — marca */
  --green-950: #1c3921;
  --green-900: #063f2c;
  --green-800: #0a4b35;
  --green-700: #155c43;
  --sage: #95b192;          /* usar apenas sobre fundos escuros */
  --sage-ink: #5e7f5a;      /* versão acessível do sage sobre fundos claros (4.5:1) */
  --gold: #ffcc00;

  /* Cores — neutros */
  --ink-950: #1a1a1a;
  --ink-900: #1f1f1f;
  --ink-800: #2f2f2f;
  --ink-700: #4a4a4a;
  --ink-600: #606060;
  --ink-500: #717171;
  --ink-300: #c4c4c4;
  --line: #e2e2e2;
  --gray-100: #f5f5f5;
  --gray-200: #ececec;
  --white: #ffffff;

  /* Tipografia */
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Crimson Text", Georgia, "Times New Roman", serif;

  --fs-display: clamp(2rem, 1.25rem + 2.6vw, 3.125rem);   /* 32 → 50 */
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 3.125rem);        /* 28 → 50 */
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);          /* 24 → 36 */
  --fs-card-title: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); /* 22 → 28 */
  --fs-lead: clamp(1.125rem, 1rem + .45vw, 1.5rem);       /* 18 → 24 */
  --fs-body: clamp(1.0625rem, 1rem + .3vw, 1.3125rem);    /* 17 → 21 */
  --fs-small: .875rem;

  /* Entrelinhas: títulos 1.2; texto corrido 1.35 — a Crimson Text tem
     x-height baixa, então 1.5 fica visualmente aberto demais */
  --lh-heading: 1.2;
  --lh-body: 1.35;

  /* Espaçamento */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(3.5rem, 2rem + 5vw, 6.5rem);

  --container: 1280px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2rem);
  --radius: 6px;
  --radius-lg: 15px;
  --shadow-sm: 0 4px 4px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .12);
  --header-h: 104px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-700);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink-800); }
ul { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--green-800);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: calc(1560px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--gray { background: var(--gray-100); }
.section--tight { padding-block: calc(var(--section-y) * .65); }

.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
/* evita que carrosséis e textos longos alarguem as colunas do grid */
.split > *,
.course-detail > *,
.news-layout > *,
.teacher > *,
.cta-band__grid > *,
.contact > * { min-width: 0; }

@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); }
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Tipografia ---------- */
.display,
.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: var(--lh-heading);
  color: var(--ink-800);
  text-wrap: balance;
}
.display { font-size: var(--fs-display); }
.h2 { font-size: var(--fs-h2); }
.h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
  color: var(--ink-800);
}
.hl { color: var(--sage-ink); }
.on-dark .hl,
.hl--light { color: var(--sage); }

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--ink-700);
}
.prose { font-size: var(--fs-body); max-width: 68ch; }
.prose strong { color: var(--ink-800); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Ritmo vertical padrão: título → texto 24px, parágrafo → parágrafo 1em, texto → botão 32px */
.display,
.h2,
.h3 { margin-bottom: var(--space-5); }
.lead { margin-bottom: 1em; }
.lead:last-child { margin-bottom: 0; }
.prose + .btn,
.prose + .btn-group,
.lead + .btn,
.lead + .btn-group { margin-top: var(--space-6); }

.section-head {
  max-width: 62rem;
  margin: 0 auto var(--space-7);
  text-align: center;
}

/* ---------- Botões ---------- */
/* Inspirado em "Gradient Button Interaction": base escura, brilho em
   gradiente que respira no canto e acompanha o mouse no hover (main.js
   atualiza --x/--y). Cores da marca: verde-escuro + sálvia. */
.btn {
  --x: 94%;
  --y: 96%;
  --glow: 149, 177, 146;          /* sálvia (RGB) */
  --glow-size: 120%;
  --glow-opacity: .6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .75em 1.5em;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  line-height: var(--lh-heading);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 16px -10px rgba(6, 63, 44, .5);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease, color .35s ease;
}
/* brilho */
.btn::before {
  content: "";
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: -1;
  width: var(--glow-size);
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle,
    rgba(var(--glow), 1) 0%,
    rgba(var(--glow), .55) 28%,
    rgba(var(--glow), 0) 68%);
  opacity: var(--glow-opacity);
  filter: blur(6px);
  pointer-events: none;
  animation: btn-glow 4.5s ease-in-out infinite alternate;
  transition: width .5s ease, opacity .5s ease, left .2s ease-out, top .2s ease-out;
}
@keyframes btn-glow {
  0%   { scale: .8;  rotate: 0deg; }
  50%  { scale: 1.05; }
  100% { scale: .9;  rotate: 12deg; }
}
/* seta */
.btn::after {
  content: "→";
  display: inline-block;
  transition: transform .35s ease;
}
.btn:hover,
.btn:focus-visible {
  --glow-size: 190%;
  --glow-opacity: .75;
  border-color: rgba(149, 177, 146, .55);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 26px -12px rgba(6, 63, 44, .7);
}
.btn:hover::after,
.btn:focus-visible::after { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, #0a4b35 0%, #06301f 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.btn--outline {
  --glow-opacity: .28;
  color: var(--green-800);
  background: var(--white);
  border-color: rgba(10, 75, 53, .55);
  box-shadow: 0 6px 16px -12px rgba(6, 63, 44, .45);
}
.btn--outline:hover,
.btn--outline:focus-visible { --glow-opacity: .45; border-color: var(--green-800); }

.btn--light {
  --glow-opacity: .45;
  color: var(--green-900);
  background: var(--white);
  border-color: rgba(255, 255, 255, .6);
}
.btn--light:hover,
.btn--light:focus-visible { --glow-opacity: .7; border-color: var(--white); }

.btn--ghost-light { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, .7); }

@media (prefers-reduced-motion: reduce) {
  .btn::before { animation: none; }
  .btn:hover, .btn:focus-visible { transform: none; }
}

.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .08); border-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: clamp(170px, 14vw, 228px); height: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3.25rem);
}
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: .5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-600);
  text-decoration: none;
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover { color: var(--green-800); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--green-800); font-weight: 700; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 26px; height: 2px;
  margin: 6px auto;
  background: var(--ink-800);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 899px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    padding: var(--space-5) var(--gutter) var(--space-7);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    padding: 1.1rem 0;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: var(--space-6); }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 900px) { .nav__cta { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #fbfbfb;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 50%;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(460px, 38vw, 621px);
  padding-block: var(--space-8);
}
.hero__content { max-width: 54rem; }
.hero .display {
  margin-bottom: var(--space-5);
  font-size: clamp(2rem, 1.3rem + 2vw, 2.75rem);
  line-height: var(--lh-heading);
}
.hero .lead {
  max-width: 34rem;
  font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem);
  line-height: var(--lh-body);
}
.hero__note {
  padding-left: var(--space-4);
  border-left: 3px solid var(--sage-ink);
}

@media (max-width: 899px) {
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 55%, rgba(255, 255, 255, .55) 100%);
  }
  .hero__media img { object-position: 85% 50%; }
}

/* ---------- Page hero (internas) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  color: var(--white);
}
.page-hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(718px, 55%);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(1); }
.page-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--ink-800) 0%, rgba(47, 47, 47, .55) 45%, rgba(47, 47, 47, 0) 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(300px, 22vw, 359px);
  padding-block: var(--space-7);
}
/* H1 das páginas internas: menor que o da Home (28px → 38px) */
.page-hero .display {
  max-width: 32ch;
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.375rem);
  color: var(--white);
}
.page-hero .display .hl { color: var(--sage); }
.page-hero__lead {
  max-width: 46rem;
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, .92);
}
.page-hero__lead strong { color: var(--white); }

@media (max-width: 699px) {
  .page-hero__media { width: 100%; }
  .page-hero__media img { opacity: .28; }
  .page-hero__media::before { background: linear-gradient(90deg, rgba(47, 47, 47, .85), rgba(47, 47, 47, .55)); }
}

/* ---------- Mídia com proporção ---------- */
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards de diferenciais (home) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}
.feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) clamp(1.25rem, 1rem + 1vw, 1.875rem);
  border-radius: var(--radius);
  background: linear-gradient(219deg, #2a2a2a 51%, #0c0c0c 100%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* camada verde que aparece no hover (gradiente não anima diretamente) */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 120% at 100% 0%, rgba(10, 75, 53, .55) 0%, rgba(10, 75, 53, 0) 70%);
  opacity: 0;
  transition: opacity .35s ease;
}
/* linha de destaque no topo */
.feature::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.features .feature {
  transition: opacity .6s ease, transform .3s ease, box-shadow .3s ease;
}
.features .feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .22);
}
.feature:hover::before { opacity: 1; }
.feature:hover::after { transform: scaleX(1); }
.feature__head { display: flex; align-items: center; gap: var(--space-4); }
.feature__icon { width: 54px; height: 54px; flex-shrink: 0; transition: transform .3s ease; }
.feature:hover .feature__icon { transform: scale(1.08) rotate(-3deg); }
.feature__title {
  font-family: var(--font-serif);
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--white);
}
.feature__text { font-size: 1.1875rem; line-height: var(--lh-body); color: rgba(255, 255, 255, .9); }
.feature__text strong { color: var(--white); }

/* ---------- Seção "Escolha como deseja aprofundar" ---------- */
.choose {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #1b1b1b;
}
.choose__bg { position: absolute; inset: 0; }
.choose__bg img { width: 100%; height: 100%; object-fit: cover; }
.choose__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.choose .container { position: relative; }
.choose__panel {
  padding: clamp(2rem, 1rem + 4vw, 4rem) clamp(1rem, .5rem + 3vw, 3.5rem);
  background: rgba(104, 104, 104, .22);
  backdrop-filter: blur(2px);
}
.choose .h2 { color: var(--white); }
.choose .lead { color: rgba(255, 255, 255, .92); }

/* ---------- Card de curso ---------- */
.course-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .course-grid--2 { grid-template-columns: 1fr 1fr; }
}
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  background: radial-gradient(120% 140% at 92% 8%, #033323 0%, #0a4b35 100%);
}
.course-card--sage {
  /* gradiente escurecido para garantir contraste do texto branco (AA) */
  background: radial-gradient(120% 140% at 92% 8%, #3f5d3c 0%, #56764f 50%, #6a8a65 100%);
}
.course-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: .1rem .6rem;
  border: 1px solid rgba(255, 255, 255, .55);
  font-family: var(--font-serif);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: var(--lh-heading);
  text-transform: uppercase;
  color: var(--white);
  background: var(--green-800);
}
.tag--gold { background: var(--gold); color: var(--ink-800); border-color: var(--gold); }
.tag--gray { background: #5b5b5b; }
.tag--light { background: #e3e3e3; color: #3b3b3b; border-color: #e3e3e3; }
.course-card__title {
  position: relative;
  padding-bottom: var(--space-3);
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--white);
}
.course-card__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: min(220px, 60%);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 204, 0, 0));
}
.course-card__text { font-size: var(--fs-lead); line-height: var(--lh-body); color: rgba(255, 255, 255, .95); }
.course-card .btn { align-self: flex-start; margin-top: auto; }
.course-card--wide .course-card__text { max-width: 60rem; }

/* ---------- Carrossel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; }
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.carousel__dots { display: flex; gap: var(--space-2); }
.carousel__dots { gap: 0; }
.carousel__dot {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.carousel__dot::before {
  content: "";
  width: 12px; height: 12px;
  border: 2px solid var(--green-800);
  border-radius: 50%;
}
.carousel__dot[aria-current="true"]::before { background: var(--green-800); }
.carousel__arrows { display: flex; gap: var(--space-2); }
.carousel__arrow {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 2px solid var(--green-800);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-800);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.carousel__arrow:hover { background: var(--green-800); color: var(--white); }
.carousel__arrow svg { width: 18px; height: 18px; }

/* Card de professor no carrossel */
.teacher-slide {
  position: relative;
  aspect-ratio: 579 / 568;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-800);
}
.teacher-slide img { width: 100%; height: 100%; object-fit: cover; }
.teacher-slide__tag {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  padding: var(--space-3) var(--space-5);
  background: rgba(0, 0, 0, .55);
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  color: var(--white);
}
.teacher-slide__name { font-family: var(--font-serif); font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); font-weight: 700; line-height: var(--lh-heading); }
.teacher-slide__role { font-family: var(--font-display); font-size: .9375rem; }

/* ---------- Depoimentos ---------- */
.testimonials {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1099px) {
  .testimonials {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86%, 360px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-4);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .testimonials > * { scroll-snap-align: start; }
}
.stat-card,
.testimonial {
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.stat-card { padding: var(--space-6) var(--space-5); gap: var(--space-4); }
.stat-card__number {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 2.4rem + 2vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-950);
}
.stat-card__text { font-family: var(--font-display); font-size: .875rem; line-height: var(--lh-body); color: var(--ink-700); }
.stat-card__logo { margin-top: auto; width: 82px; }

.testimonial__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border-bottom: 6px solid var(--gray-100);
}
.testimonial__avatar { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.testimonial__name { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; line-height: var(--lh-heading); color: var(--ink-800); }
.testimonial__role { font-family: var(--font-display); font-size: .75rem; font-weight: 500; color: var(--ink-500); }
.testimonial__body { padding: var(--space-5); }
.testimonial__stars { width: 56px; height: 12px; margin-bottom: var(--space-4); }
.testimonial__quote { margin: 0; font-size: clamp(1.125rem, 1rem + .3vw, 1.3125rem); line-height: var(--lh-body); color: var(--ink-700); }

/* ---------- CTA final (home) ---------- */
.cta-band {
  position: relative;
  background: var(--ink-900);
  color: #e8e8e8;
}
.cta-band__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1000px) {
  .cta-band__grid { grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 6vw, 6rem); }
}
.cta-band .h2 { color: var(--white); }
.cta-band__lead { font-size: var(--fs-lead); line-height: var(--lh-body); }
.cta-band__lead strong { color: var(--white); }
.cta-band__divider { height: 1px; margin-block: var(--space-6); background: rgba(255, 255, 255, .25); }
.mini-features { display: grid; gap: var(--space-5); }
@media (min-width: 600px) { .mini-features { grid-template-columns: 1fr 1fr; } }
.mini-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin: calc(var(--space-4) * -1);
  padding: var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.mini-feature:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(149, 177, 146, .35);
  transform: translateY(-2px);
}
.mini-feature__icon { width: 40px; height: 40px; flex-shrink: 0; transition: transform .3s ease; }
.mini-feature:hover .mini-feature__icon { transform: scale(1.1); }
.mini-feature__title { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: var(--space-1); transition: color .25s ease; }
.mini-feature:hover .mini-feature__title { color: var(--sage); }
.mini-feature__arrow {
  display: inline-block;
  margin-left: .25em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.mini-feature:hover .mini-feature__arrow,
.mini-feature:focus-visible .mini-feature__arrow { opacity: 1; transform: none; }
.mini-feature__text { font-family: var(--font-display); font-size: .875rem; line-height: var(--lh-body); color: #a9a9a9; }
@media (hover: none) { .mini-feature__arrow { opacity: 1; transform: none; } }

.cta-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink-800);
  box-shadow: var(--shadow-md);
}
.cta-card__logo { width: clamp(110px, 10vw, 150px); margin-bottom: var(--space-4); }
.cta-card__title {
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem);
  font-weight: 900;
  line-height: var(--lh-heading);
  text-transform: uppercase;
  color: var(--green-950);
}
.cta-card__title .hl { color: var(--sage-ink); display: block; }
.cta-card__box { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--gray-200); }
.cta-card__box p { font-size: 1.3125rem; font-weight: 700; line-height: var(--lh-heading); color: var(--ink-950); margin-bottom: var(--space-4); }

/* ---------- Professores (lista) ---------- */
.teacher {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 900px) {
  .teacher { grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: clamp(3rem, 6vw, 6rem); }
  .teacher--reverse { grid-template-columns: minmax(280px, 430px) minmax(0, 1fr); }
  .teacher--reverse .teacher__media { order: -1; }
}
.teacher__media { aspect-ratio: 430 / 422; border-radius: var(--radius); overflow: hidden; background: var(--ink-800); }
.teacher__media img { width: 100%; height: 100%; object-fit: cover; }
.teacher__name { font-family: var(--font-display); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); font-weight: 700; line-height: var(--lh-heading); color: var(--ink-800); }
.teacher__role { margin-top: var(--space-2); font-family: var(--font-display); font-size: 1rem; color: var(--ink-500); }
.teacher__social { display: flex; gap: var(--space-3); margin-block: var(--space-5); }
.teacher__social a { display: block; width: 44px; height: 44px; border-radius: 8px; transition: transform .2s ease, opacity .2s ease; }
.teacher__social a:hover { transform: translateY(-2px); opacity: .85; }
.teacher__social img { width: 100%; height: 100%; }
.teacher__bio { font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); line-height: var(--lh-body); max-width: 50rem; }

@media (max-width: 899px) {
  .teacher__media { max-width: 430px; }
}

/* ---------- Quem somos ---------- */
.photo-pair { display: grid; grid-template-columns: 1.95fr 1fr; gap: var(--space-4); align-items: center; }
.photo-pair .media-frame:first-child { aspect-ratio: 340 / 594; }
.photo-pair .media-frame:last-child { aspect-ratio: 175 / 445; }
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.photo-duo .media-frame { aspect-ratio: 255 / 354; }
.photo-stack { position: relative; padding: 0 18% 18% 0; }
.photo-stack .media-frame:first-child { aspect-ratio: 345 / 352; }
.photo-stack .media-frame:last-child {
  position: absolute;
  right: 0; bottom: 0;
  width: 56%;
  aspect-ratio: 345 / 352;
  box-shadow: var(--shadow-md);
}

/* Foto menor "saindo de trás" da maior ao entrar na tela */
.photo-pair .media-frame:first-child,
.photo-stack .media-frame:first-child { position: relative; z-index: 2; }
.photo-pair .media-frame:last-child { position: relative; z-index: 1; }

.photo-pair.reveal .media-frame:last-child {
  opacity: 0;
  transform: translateX(-105%) scale(.92);
  transition: transform 1.1s cubic-bezier(.22, .9, .26, 1) .35s, opacity .5s ease .35s;
}
.photo-pair.reveal.is-visible .media-frame:last-child { opacity: 1; transform: none; }

.photo-stack.reveal .media-frame:last-child { opacity: 0; z-index: 1; }
.photo-stack.reveal.is-visible .media-frame:last-child {
  animation: photo-slide-out 1.3s cubic-bezier(.22, .9, .26, 1) .35s both;
}
/* começa escondida atrás da foto maior, desliza para fora e termina por cima */
@keyframes photo-slide-out {
  0%   { opacity: 0; transform: translate(-55%, -55%) scale(.85); z-index: 1; }
  15%  { opacity: 1; }
  70%  { transform: translate(6%, 6%) scale(1.02); z-index: 1; }
  71%  { z-index: 3; }
  100% { opacity: 1; transform: none; z-index: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-pair.reveal .media-frame:last-child,
  .photo-stack.reveal .media-frame:last-child { opacity: 1; transform: none; animation: none; z-index: 3; }
}
.bio-list { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.bio-list li { position: relative; padding-left: 1.4em; }
.bio-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: .5em; height: .5em;
  border-radius: 50%;
  background: var(--sage-ink);
}
.subtitle { margin-top: calc(var(--space-3) * -1); margin-bottom: var(--space-5); font-size: var(--fs-lead); color: var(--ink-700); font-style: italic; }

/* ---------- Curso (interna) ---------- */
.course-detail { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1000px) { .course-detail { grid-template-columns: minmax(0, 1fr) 432px; gap: clamp(3rem, 6vw, 8rem); } }
.course-detail .h3 + * { margin-bottom: var(--space-7); }
.info-card {
  position: sticky;
  top: calc(var(--header-h) + var(--space-5));
  padding: var(--space-4);
  border-radius: var(--radius);
  background: radial-gradient(120% 140% at 92% 8%, #033323 0%, #0a4b35 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.info-card__img { aspect-ratio: 400 / 203; border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-3); }
.info-card__img img { width: 100%; height: 100%; object-fit: cover; }
.info-card dl { margin: 0; padding-inline: var(--space-2); }
.info-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 2px solid rgba(255, 255, 255, .22);
  font-size: 1.375rem;
}
.info-card dt { font-weight: 700; }
.info-card dd { margin: 0; }
.info-card .btn { margin-top: var(--space-5); }

.course-teachers { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .course-teachers { grid-template-columns: 1fr 1fr; } }
.course-teacher { display: grid; grid-template-columns: minmax(140px, 280px) 1fr; gap: var(--space-5); align-items: start; }
.course-teacher__photo { aspect-ratio: 280 / 548; border-radius: var(--radius); overflow: hidden; background: var(--ink-800); }
.course-teacher__photo img { width: 100%; height: 100%; object-fit: cover; }
.course-teacher__name { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.75rem); font-weight: 700; line-height: var(--lh-heading); color: var(--ink-800); margin-bottom: var(--space-3); }
.course-teacher p { font-size: 1.1875rem; line-height: var(--lh-body); }
@media (max-width: 559px) {
  .course-teacher { grid-template-columns: 1fr; }
  .course-teacher__photo { aspect-ratio: 1 / 1; max-width: 320px; }
}

/* ---------- Notícias ---------- */
.news-layout { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 1100px) { .news-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: var(--space-6); } }
.news-grid { display: grid; gap: var(--space-6); }
@media (min-width: 720px) { .news-grid { grid-template-columns: 1fr 1fr; } }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  transition: box-shadow .25s ease, transform .25s ease;
}
.news-card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .14); transform: translateY(-2px); }
.news-card__img { aspect-ratio: 621 / 241; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.5rem, 1rem + 1.5vw, 2.4rem) clamp(1.25rem, 1rem + 1vw, 2.4rem) var(--space-5); }
.news-card__cat { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.75rem); font-weight: 700; color: var(--green-800); text-decoration: none; }
.news-card__cat:hover { text-decoration: underline; }
.news-card__title { margin-block: var(--space-3) var(--space-4); font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + .9vw, 2rem); font-weight: 900; line-height: var(--lh-heading); color: var(--ink-800); }
.news-card__title a { text-decoration: none; }
.news-card__title a:hover { color: var(--green-800); }
.news-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.25rem;
  line-height: var(--lh-body);
  color: var(--ink-700);
}
.news-card__more {
  display: inline-flex;
  align-self: flex-end;
  align-items: stretch;
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.news-card__more span { display: grid; place-items: center; min-height: 48px; padding-inline: 1.4rem; background: var(--green-800); }
.news-card__more i { display: grid; place-items: center; width: 48px; background: var(--green-900); }
.news-card__more i::before {
  content: "";
  width: 0; height: 0;
  border-left: 11px solid var(--white);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.news-card__more:hover span { background: var(--green-700); }

.sidebar { display: grid; gap: var(--space-5); }
@media (min-width: 720px) and (max-width: 1099px) { .sidebar { grid-template-columns: 1fr 1fr; } }
.widget { padding: var(--space-5); background: var(--white); box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
.widget__title { margin-bottom: var(--space-3); font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; color: var(--green-800); }
.widget__cats a {
  display: block;
  padding-block: .7rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  color: var(--ink-700);
  text-decoration: none;
}
.widget__cats li:last-child a { border-bottom: 0; }
.widget__cats a:hover,
.widget__cats a[aria-current="true"] { color: var(--green-800); font-weight: 700; }
.widget__posts { display: grid; gap: var(--space-4); }
.mini-post { display: grid; grid-template-columns: 79px 1fr; gap: var(--space-3); align-items: center; text-decoration: none; }
.mini-post img { width: 79px; height: 80px; object-fit: cover; }
.mini-post span { font-family: var(--font-display); font-size: .8125rem; font-weight: 600; line-height: var(--lh-body); color: var(--ink-700); }
.mini-post:hover span { color: var(--green-800); }

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.results-bar__title { font-family: var(--font-serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.6875rem); font-weight: 400; color: var(--ink-700); }
.results-bar__title strong { color: var(--ink-800); }
.results-bar[hidden] { display: none; }

/* Artigo */
.article { max-width: 52rem; margin-inline: auto; }
.article__cat { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--green-800); text-decoration: none; }
.article__title { margin-block: var(--space-3) var(--space-6); font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 900; line-height: var(--lh-heading); color: var(--ink-800); }
.article__img { aspect-ratio: 621 / 241; margin-bottom: var(--space-6); overflow: hidden; border-radius: var(--radius); }
.article__img img { width: 100%; height: 100%; object-fit: cover; }
.article__body { font-size: var(--fs-lead); line-height: var(--lh-body); }
.back-link { display: inline-flex; gap: .5em; margin-top: var(--space-7); font-family: var(--font-display); font-weight: 700; color: var(--green-800); }

/* ---------- Contato ---------- */
.contact { display: grid; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact__form-col { padding-block: var(--section-y); }
.contact__form-inner {
  width: 100%;
  max-width: calc(var(--container) / 2 + var(--gutter));
  margin-left: auto;
  padding-inline: var(--gutter) clamp(1rem, 5vw, 5rem);
}
.contact .h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
.contact__info-col { position: relative; display: flex; align-items: center; padding-block: var(--section-y); background: var(--gray-100); overflow: hidden; }
.contact__info-col > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: grayscale(1); }
.contact__info { position: relative; padding-inline: var(--gutter) clamp(1rem, 5vw, 5rem); }
@media (min-width: 1000px) { .contact__info { padding-left: clamp(2rem, 4vw, 3.5rem); } }

.form { display: grid; gap: var(--space-5); margin-top: var(--space-7); }
.field { display: grid; gap: var(--space-1); }
.field label { font-size: 1.25rem; color: var(--ink-700); }
.field input,
.field textarea {
  width: 100%;
  padding: .55rem 0 .6rem;
  border: 0;
  border-bottom: 2px solid #d4d4d4;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink-800);
  transition: border-color .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--green-800); }
.field input:focus-visible,
.field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--green-800); }
.field[data-invalid] input,
.field[data-invalid] textarea { border-color: #b3261e; }
.field__error { font-family: var(--font-display); font-size: .8125rem; color: #b3261e; }
.field__error:empty { display: none; }
.form__note { font-family: var(--font-display); font-size: .8125rem; line-height: var(--lh-body); color: var(--ink-500); }
.form__note a { color: var(--green-800); }
.form__status { padding: var(--space-4); border-left: 4px solid var(--green-800); background: #eef4ee; font-family: var(--font-display); font-size: .9375rem; color: var(--green-900); }
.form__status[hidden] { display: none; }
.form .btn { justify-self: start; min-width: 240px; }

.contact-list { display: grid; gap: var(--space-6); }
.contact-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-item img { width: 48px; height: 48px; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 1.625rem; line-height: var(--lh-heading); color: var(--ink-700); }
.contact-item a,
.contact-item span { font-size: 1.375rem; color: var(--ink-700); text-decoration: none; }
.contact-item a:hover { color: var(--green-800); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  background: var(--white);
  font-family: var(--font-display);
  color: var(--ink-600);
}
.site-footer__bg { position: absolute; inset: 0; }
.site-footer__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .1; }
.site-footer .container { position: relative; }
.footer-grid { display: grid; gap: var(--space-6); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.1fr; } }
.footer-brand__logo { display: inline-block; margin-bottom: var(--space-5); transition: opacity .2s ease; }
.footer-brand__logo:hover { opacity: .8; }
/* logo exportado com fundo branco: multiply integra ao fundo do rodapé */
.footer-brand img { width: clamp(180px, 15vw, 220px); height: auto; mix-blend-mode: multiply; }
.footer-brand__title { margin-bottom: var(--space-2); font-size: 1.25rem; font-weight: 800; line-height: var(--lh-heading); color: var(--ink-800); }
.footer-brand p { font-size: .875rem; line-height: var(--lh-body); max-width: 24rem; }
.footer-col__title { margin-bottom: var(--space-3); font-size: 1.25rem; font-weight: 800; color: var(--ink-800); }
.footer-col li + li { margin-top: .35rem; }
.footer-col a { font-size: .9375rem; text-decoration: none; line-height: var(--lh-body); }
.footer-col a:hover { color: var(--green-800); text-decoration: underline; }
.footer-col p { margin-bottom: .35rem; font-size: .9375rem; }
.footer-col p strong { color: var(--ink-800); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-3); }
.footer-social a { display: block; width: 44px; height: 44px; transition: transform .2s ease, opacity .2s ease; }
.footer-social a:hover { transform: translateY(-2px); opacity: .8; }
.footer-social img { width: 100%; height: 100%; object-fit: contain; }
.footer-bottom {
  margin-top: var(--space-7);
  padding-block: var(--space-5);
  border-top: 1px solid #cfcfcf;
  text-align: center;
  font-size: .875rem;
}

/* ---------- Utilidades de animação ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Envio real do formulário (enviar.php) */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status[data-error] { border-left-color: #a33a2b; background: #fbeeec; color: #6b2117; }
.form__status a { color: inherit; font-weight: 600; }
.form button[disabled] { opacity: .7; cursor: progress; }

/* Botão flutuante do WhatsApp */
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 28px rgba(0, 0, 0, .28); }
.whatsapp-float:focus-visible { outline: 3px solid var(--green-800); outline-offset: 4px; }
.whatsapp-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: whatsapp-pulse 2.4s ease-out 1.5s 3; }
@keyframes whatsapp-pulse { to { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (max-width: 640px) { .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } .whatsapp-float svg { width: 29px; height: 29px; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float, .whatsapp-float::after { transition: none; animation: none; } }


/* ---------- Ajustes de UI/UX (13/11) ---------- */
/* Itens sem destino ficam escondidos até existir a página ou o perfil */
[hidden] { display: none !important; }
@media (min-width: 1100px) { .footer-grid:has(> [hidden]) { grid-template-columns: 1.5fr 1fr 1.2fr; } }

/* Fale Conosco como botão no menu do computador */
@media (min-width: 900px) {
  .nav__link--cta { padding: .6rem 1.15rem; border-radius: 10px; color: var(--white); background: linear-gradient(135deg, #0a4b35 0%, #06301f 100%); box-shadow: 0 6px 16px -10px rgba(6, 63, 44, .6); transition: transform .2s ease, box-shadow .2s ease; }
  .nav__link--cta::after { display: none; }
  .nav__link--cta:hover, .nav__link--cta[aria-current="page"] { color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(6, 63, 44, .7); }
}

/* Áreas de toque de pelo menos 40px no celular, sem mudar o visual */
.carousel__dot { width: 40px; height: 40px; }
@media (max-width: 899px) {
  .footer-col li + li { margin-top: 0; }
  .footer-col a { display: inline-block; padding-block: .55rem; }
  .footer-col p a { padding-block: .35rem; }
}

/* Botão do WhatsApp não cobre o rodapé no celular */
@media (max-width: 640px) { .footer-bottom { padding-bottom: 88px; } }

/* Texto mínimo legível nos depoimentos */
.testimonial__role { font-size: .8125rem; }

/* ---------- Padronização tipográfica (13/11) ----------
   Montserrat (--font-display): títulos, nomes, números de destaque, rótulos,
   etiquetas, botões e campos. Crimson Text (--font-serif): todo texto corrido. */
:root {
  --fs-text: var(--fs-body);                                  /* texto corrido: 17 → 21 */
  --fs-text-card: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);   /* texto em cards: 17 → 19 */
  --fs-label: .75rem;                                         /* rótulos em caixa-alta: 12 */
  --fs-meta: .875rem;                                         /* cargos e notas curtas: 14 */
  --lh-text: 1.45;
}

/* Títulos e nomes que estavam em Crimson */
.feature__title, .course-card__title, .teacher-slide__name, .widget__title,
.testimonial__name, .stat-card__number, .results-bar__title, .contact-item strong {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.005em;
}
.course-card__title { font-size: var(--fs-card-title); }
.teacher-slide__name { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); }
.widget__title { font-size: 1.25rem; }
.testimonial__name { font-size: 1.0625rem; }
.stat-card__number { font-weight: 900; }
.results-bar__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); font-weight: 600; }
.results-bar__title strong { font-weight: 900; }
.contact-item strong { font-size: 1.25rem; }
.teacher__name { font-weight: 800; }

/* Rótulos e etiquetas */
.tag { font-family: var(--font-display); font-size: var(--fs-label); letter-spacing: .08em; }
.news-card__cat, .article__cat { font-family: var(--font-display); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.field label { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink-800); }

/* Cargos e notas curtas, em Montserrat no mesmo tamanho */
.teacher-slide__role, .teacher__role { font-family: var(--font-display); font-size: var(--fs-meta); font-weight: 500; }

/* Textos corridos que estavam em Montserrat voltam para Crimson */
.mini-feature__text, .stat-card__text { font-family: var(--font-serif); font-size: var(--fs-text-card); line-height: var(--lh-text); }
.form__note { font-family: var(--font-serif); font-size: 1rem; line-height: var(--lh-text); }

/* Tamanhos de texto corrido igualados */
.prose, .teacher__bio, .article__body, .contact-item span, .contact-item a { font-size: var(--fs-text); line-height: var(--lh-text); }
.feature__text, .course-card__text, .news-card__excerpt, .testimonial__quote { font-size: var(--fs-text-card); line-height: var(--lh-text); }

/* Controles do carrossel cabem em celulares estreitos (360px ou menos) */
@media (max-width: 420px) {
  .carousel__dot { width: 32px; height: 32px; }
  .carousel__controls { gap: var(--space-2); flex-wrap: wrap; }
}
