/* ═══════════════════════════════════════════════
 * Colégio Tecla — Main Stylesheet
 * Fiel ao PDF de layout
 * ═══════════════════════════════════════════════ */

/* ───────────────────────────────────────────────
 * CSS Variables
 * ─────────────────────────────────────────────── */
:root {
  --color-primary: #0e68e3;
  --color-primary-dark: #0a50b5;
  --color-orange: #ff8506;
  --color-yellow: #f7b11b;
  --color-dark: #1a1a2e;
  --color-light-bg: #f0f6ff;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Raleway', sans-serif;
  --topbar-height: 40px;
  --navbar-height: 90px;
  --transition: 0.3s ease;
}

/* ───────────────────────────────────────────────
 * Reset / Base
 * ─────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus {
  color: var(--color-primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  content-visibility: auto;
}

/* Otimização de renderização de imagens */
img[loading="lazy"] {
  content-visibility: auto;
}

/* Seções abaixo da dobra — renderização sob demanda */
.tecla-video,
.tecla-cursos,
.tecla-cards,
.tecla-cta,
.about-timeline,
.about-images,
.about-dark,
.about-partners,
.tecla-parceiros,
.tecla-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.container {
  max-width: 1200px;
}

/* Hide Hello Elementor default header/footer */
.site-header,
.site-footer {
  display: none !important;
}

/* ═══════════════════════════════════════════════
 * TOPBAR
 * ═══════════════════════════════════════════════ */
.tecla-topbar {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 13px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition);
}

.topbar-item:hover,
.topbar-item:focus {
  color: var(--color-white);
  opacity: 0.8;
}

.topbar-item i {
  font-size: 15px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-social {
  color: var(--color-white);
  font-size: 16px;
  transition: opacity var(--transition);
}

.topbar-social:hover,
.topbar-social:focus {
  color: var(--color-white);
  opacity: 0.8;
}

.topbar-flags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

/* Language switch buttons — redondas */
.lang-switch {
  background: none;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition);
  line-height: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-switch.is-active {
  opacity: 1;
  border-color: var(--color-white);
}

.lang-switch:hover {
  opacity: 1;
}

.lang-switch img {
  border-radius: 50%;
  display: block;
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.lang-switch-label {
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

/* i18n — show/hide por idioma */
.i18n-en { display: none; }
.i18n-pt { display: inline; }

body.lang-en .i18n-en { display: inline; }
body.lang-en .i18n-pt { display: none; }

/* Para blocos (parágrafos, divs) */
body.lang-en .i18n-block-en { display: block; }
body.lang-en .i18n-block-pt { display: none; }
.i18n-block-en { display: none; }
.i18n-block-pt { display: block; }

/* ═══════════════════════════════════════════════
 * NAVBAR
 * ═══════════════════════════════════════════════ */
.tecla-navbar {
  background-color: var(--color-white);
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1000;
  transition: all var(--transition);
}

.tecla-navbar.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.navbar-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* Toggle (hamburger) */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  transition: all var(--transition);
}

.navbar-toggle.is-active .toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.is-active .toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.is-active .toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav collapse */
.navbar-collapse {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Nav menu */
.tecla-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.tecla-nav-menu > li {
  position: relative;
}

.tecla-nav-menu .nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
  white-space: nowrap;
}

.tecla-nav-menu .nav-link:hover,
.tecla-nav-menu .nav-link:focus {
  color: var(--color-primary);
}

.tecla-nav-menu .caret {
  border-top-color: currentColor;
}

/* Dropdown */
.tecla-nav-menu .dropdown-menu {
  background: var(--color-white);
  border: none;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 200px;
  margin-top: 0;
}

.tecla-nav-menu .dropdown-menu > li > a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  padding: 8px 20px;
  display: block;
  transition: all var(--transition);
}

.tecla-nav-menu .dropdown-menu > li > a:hover {
  background-color: var(--color-light-bg);
  color: var(--color-primary);
}

/* Navbar buttons */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-search-btn {
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 16px;
  padding: 6px;
  cursor: pointer;
  transition: color var(--transition);
}

.navbar-search-btn:hover {
  color: var(--color-primary);
}

.btn-navbar {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.btn-dark-nav {
  background-color: var(--color-dark);
  color: var(--color-white);
  border: none;
}

.btn-dark-nav:hover,
.btn-dark-nav:focus {
  background-color: #2a2a4e;
  color: var(--color-white);
}

/* ═══════════════════════════════════════════════
 * HERO (conforme PDF: fundo claro, botão, label)
 * ═══════════════════════════════════════════════ */
.tecla-hero {
  position: relative;
  background: #000;
  padding: 60px 0 40px;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
}

/* Vídeo de fundo via Elementor */
.tecla-home-hero-section .elementor-background-video-container {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
  height: 100% !important;
}

.tecla-home-hero-section video.elementor-background-video-hosted {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
}

.tecla-home-hero-section .elementor-background-video-fallback {
  display: none !important;
}

.tecla-hero .container {
  position: relative;
  z-index: 2;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-hero {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 14px 40px;
  border-radius: 30px;
  border: none;
  text-transform: none;
  transition: all var(--transition);
}

.btn-hero:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(14, 104, 227, 0.35);
}

.hero-video-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

/* ═══════════════════════════════════════════════
 * TEXTOS ADICIONAIS + BANNERS (seção azul)
 * ═══════════════════════════════════════════════ */
.tecla-textos-banners {
  background-color: var(--color-primary);
  padding: 50px 0 60px;
}

.textos-adicionais {
  margin-bottom: 30px;
}

.textos-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  margin: 0;
}

.banners-wrapper {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 30px;
  position: relative;
}

.banner-placeholder {
  background: var(--color-white);
  border: 2px solid #ddd;
  border-radius: 12px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-dark);
  font-weight: 700;
}

/* Owl v1 nav arrows */
.tecla-owl-carousel .owl-buttons {
  position: static;
}

.tecla-textos-banners .tecla-owl-carousel .owl-prev,
.tecla-textos-banners .tecla-owl-carousel .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  color: var(--color-white) !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 28px;
  transition: color var(--transition);
  z-index: 10;
}

.tecla-textos-banners .tecla-owl-carousel .owl-prev { left: -50px; }
.tecla-textos-banners .tecla-owl-carousel .owl-next { right: -50px; }

.tecla-textos-banners .tecla-owl-carousel .owl-prev:hover,
.tecla-textos-banners .tecla-owl-carousel .owl-next:hover {
  color: rgba(255,255,255,0.7) !important;
}

/* Owl pagination dots */
.tecla-owl-carousel .owl-pagination {
  text-align: center;
  margin-top: 20px;
}

.tecla-owl-carousel .owl-page span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
  transition: background var(--transition);
}

.tecla-owl-carousel .owl-page.active span {
  background: var(--color-white);
}

/* ═══════════════════════════════════════════════
 * VÍDEO INSTITUCIONAL (fundo azul)
 * ═══════════════════════════════════════════════ */
.tecla-video {
  background: var(--color-primary);
  padding: 60px 0 70px;
  text-align: center;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 30px;
}

.video-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.video-placeholder {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder i {
  font-size: 60px;
  color: var(--color-white);
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════
 * ABAS DE CURSOS (fundo branco, tabs outline)
 * ═══════════════════════════════════════════════ */
.tecla-cursos {
  padding: 60px 0 70px;
  background: var(--color-white);
}

.tabs-nav {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-item {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: var(--color-text);
  border: 2px solid #ccc;
  user-select: none;
}

.tab-item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tab-item.active {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.tab-text {
  flex: 1;
}

.tab-text p {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.8;
  text-align: justify;
}

.btn-saiba-mais {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 10px 28px;
  border-radius: 6px;
  border: none;
  transition: all var(--transition);
}

.btn-saiba-mais:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.tab-image {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagem circular com moldura azul (conforme PDF) */
.tab-image-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 6px solid var(--color-primary);
  overflow: hidden;
  position: relative;
}

.image-placeholder--round {
  width: 100%;
  height: 100%;
  min-height: auto;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
  font-family: var(--font-heading);
  font-size: 14px;
  color: #999;
}

/* ═══════════════════════════════════════════════
 * CARDS (conforme PDF: 3 cards escalonados)
 * Card 1 = azul (menor, com label "Os alunos que formamos")
 * Card 2 = laranja (mais alto)
 * Card 3 = amarelo
 * ═══════════════════════════════════════════════ */
.tecla-cards {
  padding: 60px 0 80px;
  background: var(--color-white);
}

.cards-grid {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
}

.tecla-card {
  border-radius: 16px;
  text-align: center;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 24px;
}

.tecla-card--blue {
  background: var(--color-primary);
  width: 220px;
  min-height: 260px;
}

.tecla-card--orange {
  background: var(--color-orange);
  width: 240px;
  min-height: 300px;
}

.tecla-card--yellow {
  background: var(--color-yellow);
  width: 240px;
  min-height: 280px;
}

.card-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  opacity: 0.9;
}

.card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-placeholder {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

/* ═══════════════════════════════════════════════
 * CTA (conforme PDF: imagem esquerda, texto direita)
 * ═══════════════════════════════════════════════ */
.tecla-cta {
  padding: 60px 0 80px;
  background: var(--color-white);
}

.cta-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.cta-image {
  flex: 0 0 220px;
}

.cta-image-box {
  background: var(--color-primary);
  border-radius: 12px;
  width: 220px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.cta-text {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.btn-agende {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  background: none;
  border: none;
  padding: 0;
  transition: color var(--transition);
}

.btn-agende i {
  font-size: 20px;
}

.btn-agende:hover {
  color: var(--color-primary-dark);
}

/* ═══════════════════════════════════════════════
 * NOSSOS PARCEIROS
 * ═══════════════════════════════════════════════ */
.tecla-parceiros {
  background-color: var(--color-primary);
  padding: 80px 0;
  text-align: center;
}

.parceiros-badge-wrap {
  margin-bottom: 48px;
}

/* Badge padrão — pílula laranja (parceiros, cursos extras, etc.) */
.tecla-badge,
.parceiros-badge,
.cursos-extras-badge {
  display: inline-block;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.parceiros-logos {
  display: flex;
  justify-content: center;
  align-items: center;
}

.parceiros-logos img {
  max-width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ═══════════════════════════════════════════════
 * FOOTER
 * ═══════════════════════════════════════════════ */
.tecla-footer {
  background-color: #000000;
  color: var(--color-white);
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

/* Menu esquerdo */
.footer-links .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu li a {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  transition: opacity var(--transition);
}

.footer-menu li a:hover {
  color: var(--color-white);
  opacity: 0.7;
}

/* Coluna direita — ícones no bottom */
.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  align-self: stretch;
}

/* Redes sociais — imagens */
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: auto;
}

/* Copyright */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-social a {
  display: block;
  transition: transform var(--transition), opacity var(--transition);
}

.footer-social a:hover {
  transform: scale(1.12);
  opacity: 0.85;
}

.footer-social img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ═══════════════════════════════════════════════
 * ABOUT — Intro (conforme PDF pg2)
 * Label azul pill, texto longo esquerda, imagem azul direita
 * ═══════════════════════════════════════════════ */
.about-intro {
  padding: 60px 0 80px;
  background: var(--color-white);
}

.about-intro-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.about-intro-text {
  flex: 1;
}

.about-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 24px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.about-intro-text p {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
}

.about-intro-image {
  flex: 0 0 340px;
}

.about-image-box {
  background: var(--color-primary);
  border-radius: 12px;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}

/* ═══════════════════════════════════════════════
 * ABOUT — Circles (conforme PDF: 3 bolas grandes com hex)
 * Fundo azul claro
 * ═══════════════════════════════════════════════ */
.about-circles {
  padding: 80px 0;
  background: var(--color-light-bg);
}

.circles-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.circle-item {
  text-align: center;
}

.circle-ball {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-ball--blue   { background: var(--color-primary); }
.circle-ball--orange { background: var(--color-orange); }
.circle-ball--yellow { background: var(--color-yellow); }

.circle-hex {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-white);
}

/* ═══════════════════════════════════════════════
 * ABOUT — Timeline title (laranja/ouro conforme PDF)
 * ═══════════════════════════════════════════════ */
.about-timeline {
  padding: 60px 0;
  background: var(--color-white);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  margin: 0;
}

/* ═══════════════════════════════════════════════
 * ABOUT — Imagens (fundo azul claro, placeholder)
 * ═══════════════════════════════════════════════ */
.about-images {
  padding: 80px 0 100px;
  background: var(--color-light-bg);
}

.images-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--color-dark);
  text-align: center;
  margin: 0;
}

/* ═══════════════════════════════════════════════
 * ABOUT — Dark Section (fundo azul primary)
 * ═══════════════════════════════════════════════ */
.about-dark {
  padding: 100px 0 120px;
  background: var(--color-primary);
}

.about-dark-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--color-white);
  text-align: center;
  margin: 0;
}

/* ═══════════════════════════════════════════════
 * ABOUT — Parcerias (fundo preto conforme PDF)
 * ═══════════════════════════════════════════════ */
.about-partners {
  padding: 80px 0 100px;
  background: #000000;
}

.partners-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-dark);
  text-align: center;
  margin: 0;
}

/* ═══════════════════════════════════════════════
 * Sticky spacer
 * ═══════════════════════════════════════════════ */
.tecla-navbar.is-sticky ~ .tecla-main {
  padding-top: var(--navbar-height);
}

/* ═══════════════════════════════════════════════
 * Generic placeholder (reusável)
 * ═══════════════════════════════════════════════ */
.image-placeholder {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  border-radius: 8px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  color: #999;
  font-weight: 500;
  border: 2px dashed #ccc;
}

/* ═══════════════════════════════════════════════
 * Elementor Compatibility
 * ═══════════════════════════════════════════════ */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
  font-family: var(--font-heading);
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  font-family: var(--font-body);
}

/* ═══════════════════════════════════════════════
 * Elementor Homepage
 * Widget-based homepage mapped to the supplied PDF.
 * ═══════════════════════════════════════════════ */
.elementor-2216 .elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

.elementor-2216 .tecla-home-hero-section > .elementor-container,
.elementor-2216 .tecla-home-banners-section > .elementor-container,
.elementor-2216 .tecla-home-video-section > .elementor-container,
.elementor-2216 .tecla-home-courses-section > .elementor-container,
.elementor-2216 .tecla-home-cards-section > .elementor-container,
.elementor-2216 .tecla-home-cta-section > .elementor-container {
  max-width: 1080px;
}

.elementor-2216 .tecla-home-hero-section {
  background: var(--color-light-bg);
  padding: 54px 0 38px;
  text-align: left;
  position: relative;
}

/* Overlay escuro sobre o vídeo de fundo do hero */
.elementor-2216 .tecla-home-hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 50, 120, 0.55);
  z-index: 1;
}

/* Container do hero acima do overlay */
.elementor-2216 .tecla-home-hero-section > .elementor-container {
  position: relative;
  z-index: 2;
}

.elementor-2216 .tecla-home-hero-section .elementor-widget-wrap {
  align-content: center;
  align-items: center;
}

.elementor-2216 .tecla-home-hero-button {
  margin-bottom: 16px;
}

.elementor-2216 .tecla-home-hero-button .elementor-button {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 999px;
  border: none;
  box-shadow: none;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 40px;
}

.elementor-2216 .tecla-home-hero-button .elementor-button:hover,
.elementor-2216 .tecla-home-hero-button .elementor-button:focus {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.elementor-2216 .tecla-home-hero-label p {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.elementor-2216 .tecla-home-banners-section {
  background-color: var(--color-primary);
  padding: 0;
  display: none;
}

.elementor-2216 .tecla-home-section-title {
  text-align: center;
}

.elementor-2216 .tecla-home-section-title .elementor-heading-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
}

.elementor-2216 .tecla-home-banner-carousel {
  margin-top: 28px;
  padding: 28px 28px 18px;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 18px;
  position: relative;
}

.elementor-2216 .tecla-home-banner-carousel .elementor-image-carousel-wrapper {
  position: relative;
}

.elementor-2216 .tecla-home-banner-carousel .swiper-slide-inner,
.elementor-2216 .tecla-home-banner-carousel figure {
  display: block;
  margin: 0;
}

.elementor-2216 .tecla-home-banner-carousel img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  background: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}

.elementor-2216 .tecla-home-banner-carousel .elementor-swiper-button {
  color: var(--color-white);
  font-size: 26px;
  top: 50%;
  transform: translateY(-50%);
}

.elementor-2216 .tecla-home-banner-carousel .elementor-swiper-button-prev {
  left: -44px;
}

.elementor-2216 .tecla-home-banner-carousel .elementor-swiper-button-next {
  right: -44px;
}

.elementor-2216 .tecla-home-banner-carousel .swiper-pagination {
  position: static;
  margin-top: 18px;
}

.elementor-2216 .tecla-home-banner-carousel .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.elementor-2216 .tecla-home-banner-carousel .swiper-pagination-bullet-active {
  background: var(--color-white);
}

.elementor-2216 .tecla-home-video-section {
  background: var(--color-primary);
  padding: 48px 0 70px;
  text-align: center;
}

.elementor-2216 .tecla-home-video-section .elementor-heading-title {
  color: var(--color-white);
}

.elementor-2216 .tecla-home-video-placeholder .elementor-widget-container {
  display: flex;
  justify-content: center;
}

.elementor-2216 .tecla-home-video-placeholder .elementor-widget-container > div {
  width: 100%;
  max-width: 800px;
  border-radius: 20px;
  overflow: hidden;
}

/* Overlay de boas-vindas sobre o vídeo */
.elementor-2216 .tecla-home-video-placeholder {
  margin-top: 10px;
}

/* "Conheça o Tecla" dentro do bloco dos banners */
.tecla-hero-overlay {
  text-align: center;
  padding: 24px 20px 28px;
  width: 100%;
}

.tecla-hero-overlay-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.tecla-hero-overlay-sub {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 24px;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.tecla-hero-overlay-btn {
  display: inline-block;
  background-color: #ff8506;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 999px;
  text-decoration: none;
  pointer-events: auto;
  transition: background-color 0.3s;
}

.tecla-hero-overlay-btn:hover {
  background-color: #0e68e3;
  color: #fff;
}

.elementor-2216 .tecla-home-video-placeholder img {
  width: min(100%, 320px);
  border-radius: 16px;
}

.elementor-2216 .tecla-home-courses-section {
  background: var(--color-white);
  padding: 58px 0 74px;
}

.elementor-2216 .tecla-home-tab-nav {
  margin-bottom: 38px;
}

.elementor-2216 .tecla-home-tab-nav > .elementor-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  gap: 8px;
}

.elementor-2216 .tecla-home-tab-nav .elementor-column {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}

.elementor-2216 .tecla-home-tab-nav .elementor-widget-wrap {
  padding: 0;
}

/* Tab buttons — reset ALL layers to transparent */
.elementor-2216 .tecla-home-tab-toggle,
.elementor-2216 .tecla-home-tab-toggle .elementor-widget-container,
.elementor-2216 .tecla-home-tab-toggle .elementor-button-wrapper,
.elementor-2216 .tecla-home-tab-toggle .elementor-button,
.elementor-2216 .tecla-home-tab-toggle .elementor-button-content-wrapper,
.elementor-2216 .tecla-home-tab-toggle .elementor-button-text {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Tab button — styling only on the outer widget */
.elementor-2216 .tecla-home-tab-toggle {
  border-radius: 999px;
  cursor: pointer;
  padding: 8px 22px;
  transition: all 0.3s ease;
}

.elementor-2216 .tecla-home-tab-toggle .elementor-button {
  color: var(--color-text) !important;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  padding: 0;
}

.elementor-2216 .tecla-home-tab-toggle:hover .elementor-button {
  color: #ff8506 !important;
}

/* Tab button — active state on the outer widget */
.elementor-2216 .tecla-home-tab-toggle.is-active,
.elementor-2216 .tecla-home-tab-toggle.active {
  background: #ff8506 !important;
  background-color: #ff8506 !important;
}

.elementor-2216 .tecla-home-tab-toggle.is-active .elementor-button,
.elementor-2216 .tecla-home-tab-toggle.active .elementor-button {
  color: #fff !important;
}

.elementor-2216 .tecla-home-tab-pane {
  display: none;
}

.elementor-2216 .tecla-home-tab-pane.is-active {
  display: block;
}

.elementor-2216 .tecla-home-tab-pane > .elementor-container {
  align-items: flex-start;
}

.elementor-2216 .tecla-home-tab-copy {
  padding-right: 26px;
}

.elementor-2216 .tecla-home-tab-copy p {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0 0 24px;
  text-align: justify;
}

.elementor-2216 .tecla-home-saiba-mais .elementor-button {
  background-color: var(--color-primary);
  border: none;
  border-radius: 6px;
  box-shadow: none;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  padding: 10px 28px;
}

.elementor-2216 .tecla-home-saiba-mais .elementor-button:hover,
.elementor-2216 .tecla-home-saiba-mais .elementor-button:focus {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.elementor-2216 .tecla-home-tab-image .elementor-widget-container {
  display: flex;
  justify-content: center;
}

.elementor-2216 .tecla-home-tab-image img {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: none;
  border-radius: 12px;
}

/* Tab image — spinner while loading */
@keyframes tecla-tab-spin {
  to { transform: rotate(360deg); }
}

.elementor-2216 .tecla-home-tab-image.is-loading .elementor-widget-container {
  position: relative;
  min-height: 200px;
}

.elementor-2216 .tecla-home-tab-image.is-loading .elementor-widget-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid #e0e0e0;
  border-top-color: #ff8506;
  border-radius: 50%;
  animation: tecla-tab-spin 0.7s linear infinite;
  z-index: 1;
}

.elementor-2216 .tecla-home-tab-image.is-loading img {
  opacity: 0 !important;
}

.elementor-2216 .tecla-home-cards-section {
  background: var(--color-white);
  padding: 8px 0 82px;
}

.elementor-2216 .tecla-home-cards-grid > .elementor-container {
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
}

/* Flip Card — container */
.elementor-2216 .tecla-home-cards-grid .elementor-column {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

/* Reset generic .tecla-card styles on Elementor columns */
.elementor-2216 .tecla-card {
  background: transparent !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: block;
  perspective: 800px;
}

/* Flip Card — the card body that rotates */
.elementor-2216 .tecla-card > .elementor-widget-wrap {
  position: relative;
  border-radius: 16px;
  color: var(--color-white);
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

/* Card background colors on the wrapper (the part that flips) */
.elementor-2216 .tecla-card--blue > .elementor-widget-wrap   { background: var(--color-primary); }
.elementor-2216 .tecla-card--orange > .elementor-widget-wrap { background: var(--color-orange); }
.elementor-2216 .tecla-card--yellow > .elementor-widget-wrap { background: var(--color-yellow); }

/* Faixa de 2px da cor no topo do card (igual aos ciclos) */
.elementor-2216 .tecla-card .card-label {
  overflow: hidden;
}

.elementor-2216 .tecla-card .card-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3;
}

.elementor-2216 .tecla-card--blue .card-label::before   { background: var(--color-primary); }
.elementor-2216 .tecla-card--orange .card-label::before { background: var(--color-orange); }
.elementor-2216 .tecla-card--yellow .card-label::before { background: var(--color-yellow); }

/* Hover: flip the entire card */
.elementor-2216 .tecla-card:hover > .elementor-widget-wrap {
  transform: rotateY(180deg);
}

/* Both faces fill the card */
.elementor-2216 .tecla-card > .elementor-widget-wrap > .elementor-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  border-radius: 16px;
  box-sizing: border-box;
}

/* Front face — card-label (visible by default) */
.elementor-2216 .tecla-card .card-label {
  z-index: 2;
}

/* Back face — card-placeholder (pre-rotated, revealed on flip) */
.elementor-2216 .tecla-card .card-placeholder {
  transform: rotateY(180deg);
  z-index: 1;
}

/* Card sizes */
.elementor-2216 .tecla-card--blue > .elementor-widget-wrap {
  min-height: 260px;
  width: 220px;
}

.elementor-2216 .tecla-card--orange > .elementor-widget-wrap {
  min-height: 300px;
  width: 240px;
}

.elementor-2216 .tecla-card--yellow > .elementor-widget-wrap {
  min-height: 280px;
  width: 240px;
}

/* Typography — front */
.elementor-2216 .tecla-card .card-label p {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

/* Typography — back */
.elementor-2216 .tecla-card .card-placeholder p {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.elementor-2216 .tecla-home-cta-section {
  background: var(--color-white);
  padding: 0 0 80px;
}

.elementor-2216 .tecla-home-cta-section > .elementor-container {
  align-items: flex-start;
}

.elementor-2216 .tecla-home-cta-media .elementor-widget-container {
  display: flex;
  justify-content: center;
}

.elementor-2216 .tecla-home-cta-image img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--color-primary);
}

.elementor-2216 .tecla-home-cta-copy {
  padding-left: 26px;
}

.elementor-2216 .tecla-home-cta-title .elementor-heading-title {
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
}

.elementor-2216 .tecla-home-cta-text p {
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
  text-align: justify;
}

.elementor-2216 .tecla-home-agende-button .elementor-button {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  padding: 0;
}

.elementor-2216 .tecla-home-agende-button .elementor-button:hover,
.elementor-2216 .tecla-home-agende-button .elementor-button:focus {
  color: var(--color-orange);
}

/* ═══════════════════════════════════════════════
 * CURSOS EXTRAS
 * ═══════════════════════════════════════════════ */
.cursos-extras {
  background: var(--color-white);
  padding: 60px 0 80px;
  margin-top: 20px;
}

/* Badge */
.cursos-extras-badge-wrap {
  text-align: center;
  margin-bottom: 60px;
}

/* .cursos-extras-badge — unificado com .tecla-badge acima */

/* Bloco genérico */
.curso-bloco {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 80px;
  position: relative;
}

/* Card */
.curso-bloco-card {
  flex: 0 0 60%;
  border-radius: 32px;
  padding: 48px 56px;
  position: relative;
  z-index: 1;
}

.curso-bloco-card--azul   { background-color: #1A6FE8; }
.curso-bloco-card--laranja { background-color: #FF8C00; }
.curso-bloco-card--dourado { background-color: #F5A623; }

.curso-bloco-titulo {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 24px;
}

.curso-bloco-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.curso-bloco-lista li {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
}

.curso-bloco-lista li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-size: 24px;
  line-height: 1.8;
}

.curso-bloco-extra {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 18px;
  margin: 12px 0 0;
  padding-left: 24px;
  opacity: 0.9;
}

/* Imagem mascote */
.curso-bloco-imagem {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-left: -40px;
}

.curso-bloco-imagem img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

/* Bloco invertido (imagem à esquerda, card à direita) */
.curso-bloco--invertido {
  flex-direction: row;
}

.curso-bloco--invertido .curso-bloco-imagem {
  margin-left: 0;
  margin-right: -40px;
}

/* CTA */
.curso-bloco-cta {
  text-align: center;
  margin-top: 20px;
}

/* Botão CTA padrão — "Agende uma visita" (pílula laranja, mesmo tamanho do badge) */
.btn-cta-agendar {
  display: inline-block;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-cta-agendar:hover,
.btn-cta-agendar:focus {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

/* Google Maps — 100% largura, responsivo */
.elementor-widget-google_maps iframe {
  width: 100% !important;
  height: 400px;
  display: block;
}

@media (max-width: 768px) {
  .elementor-widget-google_maps iframe {
    height: 300px;
  }
}

/* ═══════════════════════════════════════════════
 * CICLOS — Páginas internas (Anos Finais, etc.)
 * ═══════════════════════════════════════════════ */

/* --- Centralização da hero em todas as páginas de ciclos --- */
.elementor-element-c4f59b8 > .elementor-container,
.elementor-element-66b8319 > .elementor-container,
.elementor-element-9ac4f78 > .elementor-container,
.elementor-element-dac43b8 > .elementor-container,
.elementor-element-54c1caa > .elementor-container {
  max-width: 1080px;
}

/* Coluna da imagem nas páginas de ciclos — largura reduzida para centralizar o bloco */
.elementor-element-85d254c,
.elementor-element-825c636,
.elementor-element-7246e66,
.elementor-element-7ee9aec {
  width: 280px !important;
  flex: 0 0 280px !important;
}

/* Coluna do texto — ocupa o espaço restante */
.elementor-element-61bcd05,
.elementor-element-ceee737,
.elementor-element-b2972eb,
.elementor-element-738dcbe {
  width: auto !important;
  flex: 1 1 0% !important;
}

/* Imagem circular — tamanho fixo 244x244 */
.circle-frame-blue {
  width: 100% !important;
  max-width: none !important;
}

.circle-frame-blue img {
  width: 244px;
  height: 244px;
  max-width: 244px;
  max-height: 244px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* --- Ícone de calendário nos botões "Agende uma visita" --- */
.elementor-2871 .elementor-widget-button .elementor-button-content-wrapper::before,
.elementor-2854 .elementor-widget-button .elementor-button-content-wrapper::before,
.elementor-2852 .elementor-widget-button .elementor-button-content-wrapper::before,
.elementor-2856 .elementor-widget-button .elementor-button-content-wrapper::before,
.elementor-2857 .elementor-widget-button .elementor-button-content-wrapper::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
}

.elementor-2871 .elementor-widget-button .elementor-button,
.elementor-2854 .elementor-widget-button .elementor-button,
.elementor-2852 .elementor-widget-button .elementor-button,
.elementor-2856 .elementor-widget-button .elementor-button,
.elementor-2857 .elementor-widget-button .elementor-button {
  font-weight: 700;
  font-size: 18px;
}

/* --- Hero --- */
.ciclo-hero {
  background: var(--color-white);
  padding: 80px 0;
  margin-top: 20px;
}

.ciclo-hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.ciclo-hero-text {
  flex: 1 1 55%;
}

.ciclo-hero-titulo {
  color: #1A6FD4;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}

.ciclo-hero-idade {
  font-weight: 700;
  font-size: 36px;
}

.ciclo-hero-subtitulo {
  color: #1A6FD4;
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  margin: 0 0 24px;
}

.ciclo-hero-descricao {
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.75;
  text-align: left;
  margin: 0;
}

/* Imagem com moldura circular */
.ciclo-hero-imagem {
  flex: 0 0 40%;
  display: flex;
  justify-content: flex-end;
}

.ciclo-hero-circle {
  position: relative;
  display: inline-block;
}

.ciclo-hero-circle img {
  display: block;
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #1A6FD4;
  outline: 6px solid #1A6FD4;
  outline-offset: 8px;
}

/* --- Flip Cards --- */
/* Flip Cards — estilo idêntico à home */
.ciclo-cards {
  background: var(--color-white);
  padding: 8px 0 82px;
}

.ciclo-cards-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

/* Tamanhos variáveis como a home */
.ciclo-card {
  perspective: 800px;
  cursor: pointer;
}

.ciclo-card--blue  { width: 220px; height: 260px; }
.ciclo-card--orange { width: 240px; height: 300px; }
.ciclo-card--yellow { width: 240px; height: 280px; }

.ciclo-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  border-radius: 16px;
}

.ciclo-card:hover .ciclo-card-inner {
  transform: rotateY(180deg);
}

/* Faces */
.ciclo-card-front,
.ciclo-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  box-sizing: border-box;
}

/* Frente — imagem de fundo 100% do card */
.ciclo-card-front {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 0;
  overflow: hidden;
}

.ciclo-card-front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: inherit;
  background-image: none;
  z-index: 1;
  border-radius: 16px 16px 0 0;
}

.ciclo-card--blue .ciclo-card-front   { background-color: var(--color-primary); }
.ciclo-card--orange .ciclo-card-front { background-color: var(--color-orange);  }
.ciclo-card--yellow .ciclo-card-front { background-color: var(--color-yellow);  }

.ciclo-card-icon {
  display: none;
}

.ciclo-card-front-text {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Verso — mesmas cores */
.ciclo-card--blue .ciclo-card-back   { background: var(--color-primary); }
.ciclo-card--orange .ciclo-card-back { background: var(--color-orange);  }
.ciclo-card--yellow .ciclo-card-back { background: var(--color-yellow);  }

.ciclo-card-back {
  transform: rotateY(180deg);
  flex-direction: column;
  gap: 10px;
}

.ciclo-card-back-icon {
  width: 49px;
  height: 49px;
  object-fit: contain;
  flex-shrink: 0;
}

.ciclo-card-back p {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

/* --- Pilares --- */
.ciclo-pilares {
  background: var(--color-white);
  padding: 60px 0 80px;
}

.ciclo-pilares-lista {
  max-width: 100%;
  margin: 0;
}

.ciclo-pilar-item {
  color: #1A6FD4;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 14px;
}

.ciclo-pilar-item:last-child {
  margin-bottom: 0;
}

/* --- Horários + CTA --- */
.ciclo-horarios {
  background: var(--color-white);
  padding: 0;
}

.ciclo-horarios-box {
  background-color: #E8F0FB;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.ciclo-horarios-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.ciclo-horarios-imagem {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 30px 0 0 30px;
}

.ciclo-horarios-imagem img {
  max-width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

.ciclo-horarios-conteudo {
  flex: 1 1 55%;
  padding: 48px 48px 48px 0;
}

.ciclo-horarios-titulo {
  color: #1A6FD4;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px;
}

.ciclo-horarios-turno {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.8;
  margin: 0;
}

.ciclo-horarios-disponivel {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 22px;
  margin: 16px 0 0;
}

/* CTA */
.ciclo-horarios-cta {
  text-align: left;
  padding: 0 48px 40px;
}


/* --- Intermediário e Integral --- */
.ciclo-integral {
  background: var(--color-white);
  padding: 80px 0;
  margin-top: 20px;
  min-height: 500px;
}

.ciclo-integral-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.ciclo-integral-text {
  flex: 1 1 55%;
}

.ciclo-integral-label {
  color: #1A6FD4;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}

.ciclo-integral-label--mt {
  margin-top: 25px;
}

.ciclo-integral-horario {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

.ciclo-integral-imagem {
  flex: 0 0 42%;
  display: flex;
  justify-content: center;
}

.ciclo-integral-imagem img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

/* Animação flutuante no despertador */
.ciclo-integral-float {
  animation: ciclo-float 3s ease-in-out infinite;
}

@keyframes ciclo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.ciclo-integral-cta {
  text-align: center;
  margin-top: 48px;
}
