/* ═══════════════════════════════════════════════
 * Colégio Tecla — Responsive Styles
 * ═══════════════════════════════════════════════ */

/* ─── ≤ 1200px ─────────────────────────────── */
@media (max-width: 1200px) {
  .tecla-nav-menu .nav-link {
    font-size: 12px;
    padding: 8px 8px;
  }

  .btn-navbar {
    font-size: 10px;
    padding: 7px 12px;
  }

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

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

/* ─── ≤ 991px (Tablet / Mobile menu) ───────── */
@media (max-width: 991px) {
  /* Topbar */
  .topbar-left span {
    display: none;
  }

  /* Bandeiras sempre visíveis, esconder labels no mobile */
  .lang-switch-label {
    display: none;
  }

  .topbar-left {
    gap: 14px;
  }

  /* Show hamburger */
  .navbar-toggle {
    display: flex;
  }

  /* Collapse menu */
  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 999;
    gap: 0;
  }

  .navbar-collapse.is-open {
    display: flex;
  }

  /* Stack nav items */
  .tecla-nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .tecla-nav-menu > li {
    border-bottom: 1px solid #f0f0f0;
  }

  .tecla-nav-menu .nav-link {
    padding: 12px 0;
    font-size: 15px;
    justify-content: space-between;
  }

  /* Dropdown in mobile */
  .tecla-nav-menu .dropdown-menu {
    position: static !important;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 8px 16px;
    display: none;
    float: none;
  }

  .tecla-nav-menu .menu-item-has-children.open > .dropdown-menu {
    display: block;
  }

  /* Navbar actions */
  .navbar-actions {
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
  }

  .navbar-actions .btn-navbar {
    width: 100%;
    text-align: center;
  }

  .navbar-search-btn {
    display: none;
  }

  /* Hero */
  .tecla-hero {
    padding: 40px 0 30px;
  }

  /* Banners */
  .banners-wrapper {
    padding: 20px;
  }

  .banner-placeholder {
    height: 300px;
    font-size: 18px;
  }

  .tecla-textos-banners .tecla-owl-carousel .owl-prev,
  .tecla-textos-banners .tecla-owl-carousel .owl-next {
    display: none;
  }

  /* Tabs */
  .tabs-nav {
    gap: 4px;
  }

  .tab-item {
    font-size: 11px;
    padding: 6px 14px;
  }

  .tab-inner {
    flex-direction: column;
    gap: 24px;
  }

  .tab-image {
    flex: none;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Cards — tablet: stack vertical, keep varied heights */
  .cards-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .tecla-card--blue,
  .tecla-card--orange,
  .tecla-card--yellow {
    width: 280px;
    min-height: 200px;
  }

  /* CTA */
  .cta-inner {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .cta-image {
    flex: none;
  }

  .elementor-2216 .tecla-home-banner-carousel .elementor-swiper-button {
    display: none;
  }

  .elementor-2216 .tecla-home-tab-pane > .elementor-container,
  .elementor-2216 .tecla-home-cta-section > .elementor-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .elementor-2216 .tecla-home-tab-copy,
  .elementor-2216 .tecla-home-cta-copy {
    padding-left: 0;
    padding-right: 0;
  }

  .elementor-2216 .tecla-home-cards-grid > .elementor-container {
    flex-direction: column;
    align-items: center;
  }

  .elementor-2216 .tecla-home-cards-grid .elementor-column {
    width: 280px;
    max-width: 90%;
  }

  .elementor-2216 .tecla-card--blue > .elementor-widget-wrap,
  .elementor-2216 .tecla-card--orange > .elementor-widget-wrap,
  .elementor-2216 .tecla-card--yellow > .elementor-widget-wrap {
    width: 100%;
    min-height: 200px;
  }

  /* About */
  .about-intro-inner {
    flex-direction: column;
    gap: 30px;
  }

  .about-intro-image {
    flex: none;
    width: 100%;
  }

  .about-image-box {
    height: 280px;
  }

  .circles-grid {
    flex-direction: column;
    gap: 30px;
  }

  .circle-ball {
    width: 150px;
    height: 150px;
  }

  .circle-hex {
    font-size: 20px;
  }

  /* Parceiros */
  .tecla-parceiros {
    padding: 50px 0;
  }

  .tecla-badge,
  .parceiros-badge,
  .cursos-extras-badge {
    font-size: 14px;
    padding: 8px 24px;
  }

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

  /* Cursos Extras */
  .curso-bloco,
  .curso-bloco--invertido {
    flex-direction: column-reverse;
    gap: 0;
  }

  .curso-bloco-card {
    flex: none;
    width: 100%;
    padding: 36px 32px;
    border-radius: 24px;
  }

  .curso-bloco-imagem {
    flex: none;
    width: 100%;
    margin: 0 0 -20px;
  }

  .curso-bloco--invertido .curso-bloco-imagem {
    margin: 0 0 -20px;
  }

  .curso-bloco-imagem img {
    max-height: 300px;
  }

  .curso-bloco-titulo {
    font-size: 28px;
  }

  .curso-bloco-lista li {
    font-size: 17px;
  }

  .btn-cta-agendar {
    font-size: 14px;
    padding: 12px 32px;
  }

  /* Ciclo — Hero */
  .ciclo-hero-inner {
    flex-direction: column-reverse;
    gap: 32px;
    text-align: center;
  }

  .ciclo-hero-imagem {
    flex: none;
    width: 100%;
  }

  .ciclo-hero-circle img {
    width: 240px;
    height: 240px;
  }

  .ciclo-hero-titulo {
    font-size: 28px;
  }

  .ciclo-hero-descricao {
    text-align: center;
  }

  /* Ciclo — Cards */
  .ciclo-cards-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .ciclo-card--blue,
  .ciclo-card--orange,
  .ciclo-card--yellow {
    width: 280px;
    max-width: 90%;
    height: 200px;
  }

  /* Ciclo — Pilares */
  .ciclo-pilar-item {
    font-size: 20px;
  }

  /* Ciclo — Integral */
  .ciclo-integral-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .ciclo-integral-imagem img {
    max-height: 280px;
  }

  /* Ciclo — Horários */
  .ciclo-horarios-box {
    padding: 0;
  }

  .ciclo-horarios-inner {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .ciclo-horarios-imagem {
    padding: 24px 24px 0;
  }

  .ciclo-horarios-conteudo {
    padding: 24px;
  }

  .ciclo-horarios-cta {
    padding: 0 24px 30px;
  }

  .ciclo-horarios-imagem {
    flex: none;
    width: 100%;
  }

  .ciclo-horarios-imagem img {
    max-height: 280px;
  }

  .ciclo-horarios-titulo {
    font-size: 36px;
  }

  .ciclo-horarios-turno,
  .ciclo-horarios-disponivel {
    font-size: 18px;
  }

  .btn-cta-agendar {
    font-size: 14px;
    padding: 12px 32px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .footer-links .footer-menu {
    align-items: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-social img {
    width: 36px;
    height: 36px;
  }
}

/* ─── ≤ 768px ────────────────────────────────── */
@media (max-width: 768px) {
  .tecla-hero {
    padding: 30px 0 24px;
  }

  .btn-hero {
    font-size: 14px;
    padding: 12px 30px;
  }

  .textos-title {
    font-size: 22px;
  }

  .video-title {
    font-size: 22px;
  }

  .elementor-2216 .tecla-home-hero-button .elementor-button {
    font-size: 14px;
    padding: 12px 30px;
  }

  .elementor-2216 .tecla-home-banner-carousel {
    padding: 20px 20px 14px;
  }

  .elementor-2216 .tecla-home-banner-carousel img {
    height: 260px;
  }

  .elementor-2216 .tecla-home-tab-toggle .elementor-button {
    font-size: 11px;
    padding: 6px 14px;
  }

  .elementor-2216 .tecla-home-tab-image img {
    width: 180px;
    height: 180px;
  }

  .elementor-2216 .tecla-home-cta-image img {
    width: 200px;
    height: 250px;
  }

  .tecla-video,
  .tecla-cursos,
  .tecla-cards,
  .tecla-cta {
    padding: 50px 0;
  }

  .about-intro,
  .about-circles,
  .about-timeline,
  .about-images,
  .about-dark,
  .about-partners {
    padding: 50px 0;
  }

  .images-title,
  .about-dark-title {
    font-size: 30px;
  }

  .partners-title {
    font-size: 36px;
  }

  .cta-title {
    font-size: 20px;
  }

  .timeline-title {
    font-size: 26px;
  }

  /* Cards — phone: fill available width */
  .tecla-card--blue,
  .tecla-card--orange,
  .tecla-card--yellow {
    width: 100%;
    max-width: 320px;
    min-height: 180px;
  }

  .elementor-2216 .tecla-home-cards-grid .elementor-column {
    width: 100%;
    max-width: 320px;
  }

  .elementor-2216 .tecla-card--blue > .elementor-widget-wrap,
  .elementor-2216 .tecla-card--orange > .elementor-widget-wrap,
  .elementor-2216 .tecla-card--yellow > .elementor-widget-wrap {
    min-height: 180px;
  }

  .ciclo-card--blue,
  .ciclo-card--orange,
  .ciclo-card--yellow {
    width: 100%;
    max-width: 320px;
    height: 180px;
  }
}

/* ─── ≤ 480px ────────────────────────────────── */
@media (max-width: 480px) {
  .tecla-topbar {
    font-size: 11px;
  }

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

  .btn-hero {
    font-size: 13px;
    padding: 10px 24px;
  }

  .hero-video-label {
    font-size: 14px;
  }

  .textos-title {
    font-size: 18px;
  }

  .banner-placeholder {
    height: 200px;
    font-size: 16px;
  }

  .video-title {
    font-size: 20px;
  }

  .tab-item {
    font-size: 10px;
    padding: 5px 10px;
  }

  .tab-text p {
    font-size: 13px;
  }

  .tab-image-circle {
    width: 150px;
    height: 150px;
  }

  .card-placeholder {
    font-size: 22px;
  }

  .cta-image-box {
    width: 180px;
    height: 220px;
  }

  .about-label {
    font-size: 12px;
    padding: 6px 18px;
  }

  .about-intro-text p {
    font-size: 12px;
  }

  .about-image-box {
    height: 220px;
  }

  .circle-ball {
    width: 120px;
    height: 120px;
  }

  .circle-hex {
    font-size: 18px;
  }

  .images-title,
  .about-dark-title {
    font-size: 24px;
  }

  .partners-title {
    font-size: 28px;
  }

  .footer-menu li a {
    font-size: 18px;
  }

  .footer-social img {
    width: 30px;
    height: 30px;
  }

  .parceiros-logos img {
    max-height: 50px;
  }

  .parceiros-badge {
    font-size: 15px;
    padding: 8px 24px;
  }

  /* Cards — small phone: compact */
  .tecla-card--blue,
  .tecla-card--orange,
  .tecla-card--yellow {
    max-width: 280px;
    min-height: 170px;
  }

  .elementor-2216 .tecla-home-cards-grid .elementor-column {
    max-width: 280px;
  }

  .elementor-2216 .tecla-card--blue > .elementor-widget-wrap,
  .elementor-2216 .tecla-card--orange > .elementor-widget-wrap,
  .elementor-2216 .tecla-card--yellow > .elementor-widget-wrap {
    min-height: 170px;
  }

  .elementor-2216 .tecla-card .card-placeholder p {
    font-size: 14px;
  }

  .ciclo-card--blue,
  .ciclo-card--orange,
  .ciclo-card--yellow {
    max-width: 280px;
    height: 170px;
  }

  .ciclo-card-back p {
    font-size: 14px;
  }

  .ciclo-card-back-icon {
    width: 40px;
    height: 40px;
  }
}
