/* =========================================================================
   Colégio Logosófico de Florianópolis
   Folha de estilo principal — HTML5 + CSS moderno, sem dependências externas.

   Breakpoints (idênticos aos do site original):
     • desktop  : > 1024px
     • tablet   : <= 1024px
     • mobile   : <= 767px   (é aqui que as colunas empilham)
     • pequeno  : <= 575px   (apenas o tamanho dos botões)
   ========================================================================= */

/* ------------------------------- Tokens -------------------------------- */
:root {
  --green:      #68B468;
  --navy:       #213667;
  --navy-2:     #1F3668;
  --teal:       #4ABBCC;
  --lime:       #A2C53A;
  --cream:      #F4EEE5;
  --orange:     #F2911C;
  --white:      #FFFFFF;
  --ink:        #33373D;
  --muted:      #7A7A7A;
  --field-line: #69727D;
  --hairline:   #E5E5E5;
  --accent-hover: #F7DE7A;

  --f-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --f-slab: "Zilla Slab", Georgia, "Times New Roman", serif;
  --f-aleo: "Aleo", Georgia, "Times New Roman", serif;
  --f-form: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --wrap:      1300px;
  --wrap-slim: 1140px;
  --gutter:    15px;
  --section-y: 120px;
}

/* ------------------------------- 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; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: 0; margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--navy); color: var(--white); padding: 12px 20px;
}
.skip-link:focus { left: 0; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.c-navy { color: var(--navy); }

/* ------------------------------ Layout --------------------------------- */
.section { padding-inline: var(--gutter); position: relative; }
.container { width: 100%; margin-inline: auto; }
.container--wide { max-width: var(--wrap); padding-block: var(--section-y); }

/* ------------------------------ Botões --------------------------------- */
.theme-btn {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 22px 40px;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--f-aleo);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  border: 0;
  border-radius: 0;
  transition: color .4s ease-in-out, background-color .4s ease-in-out;
}
.theme-btn::before,
.theme-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px; height: 20px;
  background-color: var(--green);
  border-radius: 50%;
  z-index: -1;
}
.theme-btn::before { left: -20px;  transform: translate(-50%, -50%); }
.theme-btn::after  { right: -20px; transform: translate(50%, -50%); }
.theme-btn:hover::before { animation: criss-cross-left .8s both alternate; }
.theme-btn:hover::after  { animation: criss-cross-right .8s both alternate; }
.theme-btn:hover { color: var(--white); }

.theme-btn--white { background-color: var(--white); color: var(--navy); }
.theme-btn--white:hover { color: var(--white); }

.btn-arrow {
  display: inline-block;
  width: 1em; height: 1em;
  margin-left: 10px;
  vertical-align: -0.05em;
  fill: currentColor;
}

@keyframes criss-cross-left {
  0%   { left: -20px; }
  50%  { left: 50%; width: 20px; height: 20px; }
  100% { left: 50%; width: 400px; height: 400px; }
}
@keyframes criss-cross-right {
  0%   { right: -20px; }
  50%  { right: 50%; width: 20px; height: 20px; }
  100% { right: 50%; width: 400px; height: 400px; }
}

/* ---------------------------- Ícones sociais --------------------------- */
.social { display: flex; flex-wrap: wrap; }
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10%;
  transition: transform .3s;
}
.social__link svg { width: 1em; height: 1em; fill: currentColor; }
.social__link:hover { transform: scale(.9); }

.social--sm {
  width: 132px;
  justify-content: flex-end;
  gap: 5px;
  margin-left: auto;
}
.social--sm .social__link {
  width: 30px; height: 30px;
  font-size: 15px; line-height: 15px;
  background-color: var(--green);
  color: var(--white);
}

.social--lg { gap: 5px; }
.social--lg .social__link {
  width: 50px; height: 50px;
  font-size: 25px; line-height: 25px;
  background-color: var(--white);
  color: var(--navy);
}

/* =============================== HEADER ================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 99.876%;      /* largura definida no site original */
  min-height: 130px;
  background-color: var(--green);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 20px;
  height: 100px;
  padding-inline: 10%;
  box-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}
.topbar__left { display: flex; align-items: center; gap: 20px; flex: 1 1 auto; min-width: 0; }
.topbar__pin { flex: none; padding-inline: 10px; color: var(--white); font-size: 28px; line-height: 0; }
.topbar__pin svg { width: .75em; height: 1em; fill: currentColor; }
.topbar__addr { color: var(--white); font-size: 15px; font-weight: 600; line-height: 15px; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 90px;
  padding-inline: 10%;
  background-color: var(--white);
  box-shadow: 0 0 30px rgba(0, 0, 0, .3);
}
.navbar__logo { flex: none; padding: 10px; }
.navbar__logo img { width: 121px; }

.mainnav { flex: 1 1 auto; padding: 10px; }
.mainnav__list { display: flex; flex-wrap: wrap; }
.mainnav__list a {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  transition: color .3s;
}
.mainnav__list a:hover { color: var(--navy); }

.navbar__cta { flex: none; padding: 10px; max-width: 221px; }
.navbar__cta .theme-btn { display: block; }

.navbar__toggle { display: none; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 5.5px;
  border: 0;
  border-radius: 3px;
  background: rgba(0, 0, 0, .05);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}
.nav-toggle svg { width: 1em; height: 1em; fill: currentColor; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open  { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ================================ HERO ================================= */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url("../img/hero.jpg") center center / cover no-repeat;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 860px;
  min-height: inherit;
  margin-inline: auto;
}
.hero__title {
  color: var(--navy);
  font-family: var(--f-slab);
  font-size: 55px;
  font-weight: 500;
  line-height: 48px;
  text-align: center;
}
.hero__sub {
  padding-inline: 50px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-self: center;
  width: 100%;
  padding: 10px;
}
.hero__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 300px;
  padding: 10px;
}

/* ------------------------------- Faixa --------------------------------- */
.strip { min-height: 5px; padding-inline: 10px; background-color: var(--teal); }
.strip::before {
  content: "";
  display: block;
  max-width: var(--wrap-slim);
  margin-inline: auto;
  padding-block: 10px;
}

/* ---------------------------- Comuns ----------------------------------- */
.section--cream { background-color: var(--cream); }

.eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: var(--f-aleo);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}
.eyebrow--green  { color: var(--green); }
.eyebrow--orange { color: var(--orange); }

.rich p { font-size: 16px; line-height: 29px; }
.rich p.s18 { line-height: 26px; }

/* ============================ FORMULÁRIO =============================== */
.form-section__grid { display: flex; flex-wrap: wrap; }
.form-section__left  { flex: 0 1 50%; padding-right: 70px; }
.form-section__right { flex: 0 1 50%; display: flex; flex-direction: column; justify-content: center; }

.form-section__title {
  margin-bottom: 30px;
  color: var(--teal);
  font-family: var(--f-aleo);
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
}
.form-section__lead { margin-bottom: 40px; }

.form-section__pitch { padding: 40px; }
.form-section__pitch p {
  color: var(--navy);
  font-size: 22px;
  font-weight: 400;
  line-height: 35px;
  text-align: center;
}
.form-section__pitch p + p { margin-top: 35px; }

.cform { display: flex; flex-wrap: wrap; margin-bottom: -10px; }
.cform__group { flex: 1 1 100%; margin-bottom: 10px; }
.cform__group--hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.cform__label {
  display: block;
  color: var(--muted);
  font-family: var(--f-form);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}
.cform__field {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 5px 14px;
  background-color: var(--white);
  border: 1px solid var(--field-line);
  border-radius: 3px;
  color: var(--muted);
  font-family: var(--f-form);
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  transition: border-color .2s;
}
.cform__field:focus { border-color: var(--teal); }
.cform__field:user-invalid { border-color: #C0392B; }
.cform__button {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 0 24px;
  background-color: var(--navy-2);
  border: 0;
  border-radius: 3px;
  color: var(--white);
  font-family: var(--f-form);
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  text-align: center;
  cursor: pointer;
  transition: background-color .3s;
}
.cform__button:hover { background-color: var(--navy); }
.cform__message {
  flex: 1 1 100%;
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--navy);
}
.cform__message[data-state="error"] { color: #C0392B; }

/* =============================== SOBRE ================================= */
.about { overflow: hidden; }
.about__grid { display: flex; flex-wrap: wrap; }
.about__media {
  flex: 0 1 calc(50% - 10px);
  display: flex; flex-direction: column; align-items: center;
}
.about__media img { width: 600px; max-width: 100%; }
.about__body { flex: 0 1 calc(50% - 10px); margin-left: 20px; }

.about__title {
  margin-bottom: 30px;
  color: var(--teal);
  font-family: var(--f-aleo);
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
}
.about__text { margin-bottom: 30px; text-align: center; }
.about__text h4 {
  font-family: var(--f-aleo);
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}
.about__row { display: flex; flex-wrap: nowrap; margin-bottom: 30px; }
.about__logo { flex: 0 1 25.62%; display: flex; flex-direction: column; justify-content: center; }
.about__note { flex: 0 1 70.156%; padding-left: 10px; }
.about__note p { color: var(--navy); font-size: 16px; line-height: 29px; }
.about__divider { border-top: 1px solid var(--hairline); padding-block: 2px; }
.about__cta { display: flex; }
.about__spacer { margin-top: 40px; }

/* =============================== VÍDEO ================================= */
.video-section { display: flex; overflow: hidden; }
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================= PEDAGOGIA =============================== */
.pedagogy { background-color: var(--navy); }
.pedagogy__title {
  margin-bottom: 30px;
  color: var(--white);
  font-family: var(--f-slab);
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  text-align: center;
}
.pedagogy__row { display: flex; flex-wrap: wrap; }
.pedagogy__row--2 { margin-top: 25px; }

.pcard {
  flex: 1 1 0;
  margin-inline: 20px;
  padding: 40px 50px;
  background-color: var(--white);
  text-align: center;
}
.pcard__media { display: flex; justify-content: center; }
.pcard__media img { width: 55%; }
.pcard__title {
  margin: 30px 0 5px;
  color: var(--green);
  font-family: var(--f-slab);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
.pcard__text p { font-size: 16px; line-height: 26px; }

.pedagogy__lead {
  display: block;
  margin: 40px 0;
  color: var(--white);
  font-family: var(--f-aleo);
  font-size: 25px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
}

.pedagogy__row--action { width: 100%; margin-inline: 5px; padding-block: 25px; }
.acard {
  flex: 1 1 0;
  margin-inline: 20px;
  padding: 40px 50px;
  background-color: var(--lime);
  text-align: center;
}
.acard__media { display: flex; justify-content: center; }
.acard__media img { width: 100px; height: 100px; }
.acard__title {
  margin: 30px 0 5px;
  color: var(--white);
  font-family: var(--f-aleo);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
.acard__text p { font-size: 16px; line-height: 26px; }

.pedagogy__cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 50px 20px 0;
  padding-block: 10px;
}

/* ============================== ESTRUTURA ============================== */
.structure { overflow: hidden; }
.structure__head { width: 100%; margin-left: 20px; }
.structure__title {
  margin-bottom: 30px;
  color: var(--teal);
  font-family: var(--f-aleo);
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  text-align: center;
}
.structure__cta { display: flex; justify-content: center; }

.structure__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 30px;
  width: 100%;
  margin-left: 20px;
  padding: 50px 15px 0;
}
.scard { margin: 0; }
.scard img { width: 100%; max-width: 740px; margin-inline: auto; aspect-ratio: 1; object-fit: cover; }
.scard__title {
  margin-top: 14px;
  color: var(--green);
  font-family: var(--f-slab);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

/* ============================== MATRÍCULAS ============================= */
.enroll {
  overflow: hidden;
  background: url("../img/fundo-como-matricular.jpg") top left no-repeat;
}
.enroll__title {
  width: 100%;
  margin: 0 0 30px 20px;
  color: var(--navy);
  font-family: var(--f-slab);
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  text-align: center;
}
.enroll__grid { display: flex; flex-wrap: wrap; }
.ecard {
  flex: 1 1 0;
  margin-left: 20px;
  padding: 30px;
  background-color: var(--white);
  text-align: center;
}
.ecard__media { display: flex; justify-content: center; }
.ecard__media img { width: 100%; }
.ecard__title {
  padding-block: 14px;
  color: var(--green);
  font-family: var(--f-slab);
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
}
.ecard__text { color: var(--navy); font-size: 16px; font-weight: 500; line-height: 16px; }
.enroll__cta { display: flex; justify-content: center; margin-top: 30px; }

/* ============================= DEPOIMENTOS ============================= */
.testimonials__title {
  margin-bottom: 30px;
  color: var(--teal);
  font-family: var(--f-aleo);
  font-size: 50px;
  font-weight: 700;
  line-height: 60px;
  text-align: center;
}

.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track {
  display: flex;
  gap: 30px;
  will-change: transform;
  transition: transform 1.5s cubic-bezier(.25, .1, .25, 1);
}
.slider__slide { flex: 0 0 auto; }

.tcard {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 30px 0;
  padding: 55px 60px;
  text-align: center;
}
.tcard__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 371 216"><path d="M29.5383 22.3807C20.9831 23.0067 13.019 27.0757 7.48934 33.6486C1.95971 40.2216 -0.683385 48.7421 0.151277 57.2974L12.2539 180.236C13.8189 196.199 27.0343 208.51 43.1016 208.962L298.091 215.987C312.941 216.405 326.086 206.493 329.808 192.13L369.245 39.8738C371.819 29.9274 369.454 19.355 362.881 11.4605C356.308 3.56603 346.327 -0.676823 336.102 0.0882826L29.5383 22.3807Z" /></svg>') center center / cover no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 371 216"><path d="M29.5383 22.3807C20.9831 23.0067 13.019 27.0757 7.48934 33.6486C1.95971 40.2216 -0.683385 48.7421 0.151277 57.2974L12.2539 180.236C13.8189 196.199 27.0343 208.51 43.1016 208.962L298.091 215.987C312.941 216.405 326.086 206.493 329.808 192.13L369.245 39.8738C371.819 29.9274 369.454 19.355 362.881 11.4605C356.308 3.56603 346.327 -0.676823 336.102 0.0882826L29.5383 22.3807Z" /></svg>') center center / cover no-repeat;
  transition: background-color .5s ease;
}
.tcard::after {
  content: "";
  position: absolute;
  left: 60px; bottom: -10px;
  width: 0; height: 0;
  border-right: 16px solid transparent;
}
.tcard--green .tcard__bg { background-color: var(--green); }
.tcard--green::after { border-top: 20px solid var(--green); }
.tcard--navy .tcard__bg { background-color: var(--navy); }
.tcard--navy::after { border-top: 20px solid var(--navy); }

.tcard p { color: var(--white); font-size: 16px; line-height: 28px; }
.tcard__author {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  color: var(--white);
  font-family: var(--f-aleo);
  font-size: 16px;
  font-style: normal;
  line-height: 23.2px;
}
.tcard__author::before {
  content: "";
  position: absolute;
  top: 10px; left: -40px;
  width: 24px; height: 2px;
  background-color: var(--white);
}

.slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding-top: 48px;
  margin-bottom: 2px;
}
.slider__dot {
  position: relative;
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background-color: var(--navy);
  cursor: pointer;
  transition: .6s;
}
.slider__dot.is-active::before {
  content: "";
  position: absolute;
  top: -10px; left: -10px;
  width: 30px; height: 30px;
  border: 2px solid var(--navy);
  border-radius: 50%;
}

/* ========================== ONDE ESTAMOS / CONTATO ===================== */
.contact__grid { display: flex; flex-wrap: wrap; }
.contact__left {
  flex: 0 1 50%;
  display: flex; flex-direction: column; justify-content: center;
  padding-right: 70px;
}
.contact__right { flex: 0 1 50%; display: flex; flex-direction: column; }

.contact__pitch {
  margin-bottom: 30px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 400;
  line-height: 35px;
}
.contact__cta { display: flex; justify-content: center; }

.contact__box { padding: 40px; background-color: var(--lime); }

.ibox {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-block: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.ibox__icon {
  flex: none;
  display: grid;
  place-items: center;
  padding: 15px;
  border: 1px solid var(--navy-2);
  border-radius: 50px;
  color: var(--navy-2);
  font-size: 24px;
  transition: color .3s, border-color .3s;
}
.ibox__icon svg { width: 1em; height: 1em; fill: currentColor; }
.ibox:hover .ibox__icon { color: var(--accent-hover); border-color: var(--accent-hover); }
.ibox__content { min-width: 0; }
.ibox__label {
  color: var(--navy-2);
  font-family: var(--f-aleo);
  font-size: 16px;
  font-weight: 400;
  line-height: 29px;
  transition: color .3s;
}
.ibox:hover .ibox__label { color: var(--accent-hover); }
.ibox__value {
  color: var(--navy-2);
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
  overflow-wrap: anywhere;
}

.contact__map { overflow: hidden; }
.contact__map iframe { width: 100%; height: 350px; border: 0; }

/* =============================== RODAPÉ ================================ */
.site-footer { background: var(--navy) url("../img/footer.jpg") center center / cover no-repeat; }
.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--wrap-slim);
}
.site-footer__col {
  flex: 1 1 0;
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}
.site-footer__brand { align-items: flex-start; }
.site-footer__logo { width: 69%; }
.site-footer .rich { margin-bottom: 30px; padding-right: 30px; }
.site-footer .rich p { color: var(--navy); }
.site-footer__title {
  color: var(--navy);
  font-family: var(--f-slab);
  font-size: 23px;
  font-weight: 700;
  line-height: 60px;
}
.site-footer__menu a {
  display: flex;
  padding-block: 5px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  transition: color .3s;
}
.site-footer__menu a:hover { color: var(--lime); }
.site-footer__cta { align-self: center; }
.site-footer__divider { display: none; }

.site-footer__bottom { padding-inline: 10px; }
.site-footer__bottom p {
  max-width: var(--wrap-slim);
  margin-inline: auto;
  padding-block: 20px;
  color: var(--navy);
  font-size: 16px;
  line-height: 29px;
  text-align: center;
}

/* ============================== ANIMAÇÕES ============================== */
.anim-pending { visibility: hidden; }
.anim-run { visibility: visible; animation-duration: 1.25s; animation-fill-mode: both; }
.anim-run[data-anim="fadeInLeft"]  { animation-name: fadeInLeft; }
.anim-run[data-anim="fadeInRight"] { animation-name: fadeInRight; }
.anim-run[data-anim="fadeInUp"]    { animation-name: fadeInUp; }
.anim-run[data-anim="fadeInDown"]  { animation-name: fadeInDown; }
.anim-run[data-anim="zoomIn"]      { animation-name: zoomIn; }

@keyframes fadeInLeft  { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); }  to { opacity: 1; transform: none; } }
@keyframes fadeInUp    { from { opacity: 0; transform: translate3d(0, 100%, 0); }  to { opacity: 1; transform: none; } }
@keyframes fadeInDown  { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes zoomIn {
  from { opacity: 0; transform: scale3d(.3, .3, .3); }
  50%  { opacity: 1; }
  to   { opacity: 1; transform: none; }
}

/* =========================================================================
   TABLET  (<= 1024px)
   ========================================================================= */
@media (max-width: 1024px) {
  :root { --section-y: 60px; }

  /* Cabeçalho — o original fixa a largura em 774px nesta faixa.
     Para ocupar 100% da tela em tablets, troque por: width: 100%;        */
  .site-header { width: min(100%, 774.047px); }
  .topbar { height: 70px; padding-inline: 30px; }
  .social--sm { width: auto; justify-content: center; }

  .navbar { padding-inline: 30px; }
  .navbar__logo img { width: 174px; }
  .navbar__cta { max-width: 295px; }
  .navbar__cta .theme-btn { font-size: 15px; }

  .navbar { position: relative; }
  .navbar__logo { flex: 0 0 194px; }
  .navbar__toggle { display: flex; justify-content: center; order: 2; flex: 0 0 204.438px; padding: 10px; }
  .navbar__cta { order: 3; flex: 0 0 295.562px; }
  .navbar__cta .theme-btn { display: inline-block; }
  .mainnav { order: 4; padding: 0; display: none; }
  .mainnav.is-open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 998;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
  }
  .mainnav__list { flex-direction: column; background: var(--white); }

  .hero { min-height: 65vh; }
  .hero__title { font-size: 40px; line-height: 1em; }
  .hero__sub { padding-inline: 100px; font-size: 15px; line-height: 24px; }
  .hero__action .theme-btn { font-size: 15px; }

  .eyebrow { font-size: 15px; }

  .form-section__left  { padding: 60px 30px 0 0; }
  .form-section__title { font-size: 20px; line-height: 25px; margin-bottom: 20px; }
  .form-section__lead  { margin-bottom: 20px; }
  .form-section__lead p { line-height: 20px; }
  .form-section__pitch { padding: 40px; }
  .form-section__pitch p { font-size: 20px; line-height: 25px; }
  .form-section__pitch p + p { margin-top: 25px; }

  .about { padding-inline: 15px; }
  .about__media { flex-basis: 50%; margin-bottom: 30px; }
  .about__body { flex-basis: 50%; margin-left: 0; }
  .about__title { font-size: 20px; line-height: 25px; margin-bottom: 20px; }
  .about__text { margin-bottom: 20px; }
  .about__text h4 { font-size: 20px; line-height: 25px; }
  .about__cta { justify-content: center; }
  .about__logo { flex-basis: 27%; justify-content: flex-start; }
  .about__logo img { width: 100%; }
  .about__note { flex-basis: 75%; }
  .about__divider { display: none; }
  .about__spacer { display: none; }

  .video-section { padding: 60px 15px; }

  .pedagogy__title { font-size: 32px; line-height: 42px; margin-bottom: 20px; }
  .pcard, .acard { margin: 10px; padding: 30px; }
  .pedagogy__row--action { margin: 0; padding: 0; }
  .pedagogy__row--action .acard { margin: 0 10px; }
  .acard__text p { padding-inline: 10px; }
  .pedagogy__cta { flex-direction: column; align-items: center; min-height: 0; }

  .structure__head, .structure__grid { margin-left: 0; }
  .structure__title { font-size: 30px; line-height: 30px; margin-bottom: 20px; }
  .structure__grid { grid-template-columns: 1fr; gap: 20px; padding: 60px 0 0; }
  .scard img { max-width: 740px; }

  .enroll__title { margin-left: 0; font-size: 32px; line-height: 42px; margin-bottom: 20px; }
  .ecard { margin-left: 0; }

  .testimonials__title { font-size: 30px; line-height: 30px; margin-bottom: 20px; }

  .contact__left { padding: 60px 30px 0 0; }
  .contact__pitch { font-size: 20px; line-height: 25px; margin-bottom: 20px; }
  .contact__box { padding: 0 0 0 10px; }
  .ibox__label { font-size: 14px; }
  .ibox__value { font-size: 15px; }
  .contact__map iframe { height: 300px; }

  .site-footer__grid { padding-block: 80px; }
  .site-footer__logo { width: 92%; }
  .site-footer .rich { margin-bottom: 20px; }
  .site-footer__title { font-size: 17px; line-height: 42px; }
  .site-footer__menu a { padding-block: 2px; font-size: 14px; }
  .site-footer__cta .theme-btn { font-size: 15px; }
  .social--lg .social__link { width: 30px; height: 30px; font-size: 15px; line-height: 15px; }
  .site-footer__bottom { padding-bottom: 20px; }
}

/* =========================================================================
   MOBILE  (<= 767px) — aqui as colunas empilham
   ========================================================================= */
@media (max-width: 767px) {
  .site-header { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .topbar { display: none; }
  .navbar { flex: 1 1 100%; min-height: 130px; padding-inline: 30px; }
  .navbar__logo { flex: 0 0 159px; }
  .navbar__logo img { width: 139px; }
  .navbar__toggle { flex: 0 0 104px; padding: 0; }
  .navbar__cta { display: none; }

  .hero { min-height: 59vh; }
  .hero__inner { gap: 25px; }
  .hero__title { font-size: 23px; line-height: 1em; padding-inline: 5px; }
  .hero__sub { padding-inline: 5px; font-size: 13px; line-height: 20px; }
  .hero__action { flex-basis: 100%; }

  .form-section__grid,
  .about__grid,
  .contact__grid { flex-direction: column; }
  .form-section__left, .form-section__right,
  .about__media, .about__body,
  .contact__left, .contact__right { width: 100%; flex-basis: auto; }

  .form-section__left  { padding: 0; }
  .cform { max-width: 320px; }
  .form-section__title { font-size: 25px; line-height: 25px; padding-right: 30px; }
  .form-section__lead  { padding-right: 30px; }
  .form-section__pitch { margin-top: 40px; padding: 0; }
  .form-section__pitch p { text-align: left; }

  .about { padding-inline: 10px; }
  .about__grid { padding-block: 0; }
  .about__title { font-size: 25px; line-height: 25px; }
  .about__text { text-align: left; }
  .about__media img { width: 100%; }
  .about__row { flex-direction: column; margin-bottom: 0; }
  .about__logo { flex: none; width: 100%; align-items: center; }
  .about__logo img { width: 40%; }
  .about__note { flex: none; width: 100%; padding-left: 0; }
  .about__cta { margin-top: 45px; }

  .video-section { padding: 60px 15px; }

  .pedagogy__title { font-size: 25px; line-height: 30px; }
  .pedagogy__row { flex-direction: column; }
  .pcard { margin: 0 0 20px; padding: 40px 50px; }
  .pedagogy__row--action { margin: 0; }
  .pedagogy__row--action .acard { margin: 0 10px 20px; padding: 10px 0; }
  .acard__text p { padding-inline: 0; }
  .pedagogy__lead { margin: 10px 0 30px; font-size: 20px; }
  .pedagogy__cta { margin: 0; padding: 0; }

  .structure__title { font-size: 25px; line-height: 25px; }
  .structure__grid { padding: 60px 15px 0; }

  .enroll__title { font-size: 25px; line-height: 25px; }
  .enroll__grid { flex-direction: column; }
  .ecard__media img { width: 300px; margin-inline: auto; }

  .testimonials__title { font-size: 25px; line-height: 25px; }
  .tcard { padding: 45px 40px; }

  .contact__left { padding: 0; }
  .contact__pitch { padding-right: 30px; }
  .contact__box { margin-top: 40px; padding: 0; }
  .ibox { flex-direction: column; align-items: flex-start; gap: 15px; }
  .ibox__content { width: 100%; }

  .site-footer__grid { padding-block: 30px; flex-direction: column; }
  .site-footer__col { width: 100%; }
  .site-footer__brand { align-items: center; text-align: center; }
  .site-footer__logo { width: 68%; }
  .site-footer .rich { margin-bottom: 0; padding-right: 0; text-align: center; }
  .social--lg { justify-content: center; }
  .social--lg .social__link { width: 34px; height: 34px; font-size: 17px; line-height: 17px; }
  .site-footer__col:nth-child(2),
  .site-footer__col:nth-child(3) { flex-direction: row; align-items: center; }
  .site-footer__divider {
    display: block;
    width: 100%;
    border-top: 2px solid var(--white);
    margin-block: 15px;
  }
  .site-footer__bottom p { margin-bottom: 0; }
}

@media (max-width: 767px) {
  .theme-btn { padding: 20px 32px; }
}
@media (max-width: 575px) {
  .theme-btn { padding: 18px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .anim-pending { visibility: visible; }
  .anim-run { animation: none !important; }
  .slider__track { transition: none; }
  .theme-btn:hover::before,
  .theme-btn:hover::after { animation: none; }
}
