/* Reset e Base */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif, "poppins", "agrandir";
  line-height: 1.5;
  color: #0f1b2d;
  background: #ffffff;
  padding-top: 72px;
}

body.menu-open {
  overflow: hidden;
}

/* Variáveis CSS */
:root {
  --color-blue-900: #0f2b7a;
  --color-blue-800: #1f2f7c;
  --color-blue-700: #203a9d;
  --color-blue-600: #2545a7;
  --color-blue-500: #2e499e;
  --color-blue-100: #e6ecff;
  --color-yellow-500: #f2c217;
  --color-yellow-600: #e2b200;
  --color-text: #0f1b2d;
  --color-muted: #425466;
  --color-bg: #ffffff;
  --max-width: 1200px;
  --radius: 28px;
  --shadow: 0 10px 30px rgba(15, 43, 122, 0.12);
  --header-height: 72px;
}

/* Utilitários */
.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section-pad {
  padding: 4rem 0;
}

/* Tipografia */
.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.kicker.yellow {
  color: var(--color-yellow-500);
}

.display {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  margin: 0.2rem 0 0.6rem;
  font-weight: 800;
}

.brand-title {
  color: #1f3e95;
}

.subtitle {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.1rem, 2.2vw, 2rem);
}

.subtitle.yellow {
  color: var(--color-yellow-500);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0.2em 0 0.4em;
}

h2 {
  font-size: clamp(1.6rem, 1.2vw + 1rem, 2.2rem);
}

p {
  color: var(--color-muted);
  margin: 0.6rem 0;
}

a {
  color: var(--color-blue-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 1rem 1.3rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  font-family: inherit;
}

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

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-solid {
  background: var(--color-yellow-500);
  color: #111;
  border-color: var(--color-yellow-500);
}

.btn-outline {
  background: #fff;
  color: var(--color-blue-900);
  border-color: var(--color-blue-900);
}

.btn-yellow {
  background: var(--color-yellow-500);
  color: #111;
  border-color: var(--color-yellow-500);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* Header index*/ 
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #edf0f6;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
}

.brand img {
  height: 40px;
  width: auto;
}

/* Header inicio*/ 
.dashboard-header {
   
  background: #0b245f;
  height: 72px;
padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 
  z-index: 50;
;
}
.container.header-bar { max-width:1000px; margin:auto; padding:0 15px; display:flex; align-items:center; justify-content:space-between; }



.primary-nav {
  flex: 1;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  width: 100%;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  color: var(--color-text);
}

.primary-nav a:hover {
  background: #f6f7fb;
  text-decoration: none;
}

.primary-nav .nav-cta .btn {
  box-shadow: none;
}

.primary-nav li.push {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Hero Section */
.brand-title{

font-family: Agrandir;
}

.hero {
  background: #fff;
  padding-top: 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-card {
  background: #1e3e97;
  color: #fff;
  border-radius: 40px;
  padding: 2rem 2rem 2.2rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  color: #FFD700;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: 0;
}

.hero-card p {
  color: #eaf0ff;
  font-size: 1.05rem;
}

/* Serviços */
.servicos {
  background: #203a9d;
  color: #fff;
  padding-top: 3rem;
}

.servicos-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
}

.servicos-copy h2 {
  color: #FFD700;
  font-size: clamp(1.8rem, 1.5vw + 1rem, 2.4rem);
  margin-bottom: 0.5rem;
}

.servicos-copy p {
  color: #eaf0ff;
  font-size: 1.15rem;
}

.logo-circle {
  width: min(360px, 70vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin-left: auto;
}

.logo-circle img {
  width: 150%;
  height: auto;
}

/* Faixa de Serviços */
.servicos-rail {
  margin-top: 2rem;
  background: #FFD700;
}

.rail-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4rem; /* Aqui é a distância da faixa de serviço para dispositivo menores k*/
  padding: 2.9rem 0 1.2rem;
  position: relative;
}

.servico {
  display: grid;
  justify-items: center;
  text-align: center;
  font-weight: 600;
  color: #0a1b4e;
}

.bubble {
  width: 80px;
  height: 80px;
  background: #FFD700;
  
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-top: -70px;
 /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), inset 0 0 0 10px #f2c217; */
}
.servico .bubble i {
    /* Define uma cor escura para o ícone, garantindo visibilidade */
    color: #214fcf; /* Seu azul escuro principal */
    
    /* Garante que o font-size do ícone seja aplicado corretamente */
    font-size: 2rem;
    margin: 0;
}
.servico span {
  margin-top: 1.5rem;
  font-family: poppins;
}
/* Correção Mobile para a seção de Serviços (servicos-rail) */
@media (max-width: 768px) {
    
    /* 1. O container da rolagem (a faixa cinza/branca) */
    .servicos-rail {
        width: 100%;
        overflow-x: auto; /* Permite rolar para os lados */
        padding: 20px 0; /* Espaçamento vertical para "respirar" */
        
        /* Opcional: Esconde a barra de rolagem nativa para um visual mais limpo */
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }
    .servicos-rail::-webkit-scrollbar { 
        display: none; 
    }

    /* 2. O container interno que segura os cards */
    .rail-inner {
        display: flex;
        gap: 24px; /* ✨ CHAVE: Adiciona o espaçamento entre os itens (separação) */
        padding: 0 24px; /* Garante que o primeiro e o último item não grudem nas bordas da tela */
        width: max-content; /* Impede que o container se restrinja à largura da tela */
    }

    /* 3. Cada item individual (o card de Material, Cronograma, etc.) */
    .servico {
        flex: 0 0 auto; /* ESSENCIAL: Impede que o navegador esprema ou encolha o item */
        width: 110px;   /* Largura fixa para manter o item padronizado */
        
        /* Alinhamento de conteúdo */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* 4. Estilo de texto e ícone (Ajuste se precisar) */
    .servico span {
        font-size: 0.9rem;
        font-weight: 500;
        margin-top: 5px;
    }
}

/* Olympic Words */ 
.words-hero {
  background: #1a49be; /* 1c3e95 */
  color: #fff;
}

.sec-stripes .stripe-top,
.sec-stripes .stripe-bottom {
  height: 22px;
  background: #FFD700;
}

.words-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem 0;
}

.words-hero-fig {
  display: flex;
  justify-content: center;
  margin: 0;
}

.words-hero-fig img {
  width: min(300px, 100%);
  height: auto;
}

.words-hero-copy h2 {
  color: #f2c217;
  font-weight: 900;
  font-size: clamp(1.8rem, 1.4vw + 1rem, 2.6rem);
  margin: 0.4rem 0 0.2rem;
}

.subtitle-words {
  font-weight: 800;
  color: #ffffff;
  opacity: 0.95;
}

.words-hero-copy p {
  color: #eaf0ff;
  font-size: 1.12rem;
}

/* IA SophIA */
.ia-hero {
  background: linear-gradient(to bottom, #ca8a04, #eab308);
  color: #fff;
  padding: 2.8rem 0;
}

.ia-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.ia-hero-copy h2 {
  color: #f6d11f;
  font-weight: 900;
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
  margin: 0.2rem 0 0.6rem;
}

.ia-subtitle {
  font-weight: 800;
  font-size: 1.35rem;
  color: #ffffff;
}

.ia-hero-copy p {
  color: #fdfcfb;
  font-size: 1.15rem;
}

.ia-hero-fig {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.ia-hero-fig img {
  width: 100%;
  height: auto;
  max-width: 400px;
}

/* Avaliações */
.avaliacoes {
  background: #fff;
}

.aval-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: center;
}

.aval-title {
  color: #1c3e95;
  font-size: clamp(2rem, 2.8vw + 1rem, 3.4rem);
  line-height: 1.05;
  margin: 0;
  font-weight: 900;
  font-family: agrandir;
}

.aval-controls {
  display: flex;
  gap: 1.2rem;
  margin-top: 3.5rem;
}

.aval-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 0;
  background: #0f4a93;
  color: #fff;
  font-size: 2.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.aval-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 0;
  width: 300%;
  transition: transform 0.6s ease;
}

.testimonial-card {
  flex: 0 0 33.333%;
  background: rgb(51, 90, 180);
  color: #fff;
  border-radius: 80px;
  padding: 3rem 3.2rem 3.4rem;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.testimonial-card .avatar {
  position: absolute;
  top: 20px;
  left: 42px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #7282b2;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.t-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-left: 130px;
  padding-top: -48px;
  margin-bottom: 0.6rem;
}

.t-name {
  font-size: clamp(1.6rem, 1.1vw + 1rem, 2.2rem);
  margin: 0;
  color: #ffffff;
  font-weight: 900;
}

.stars {
  color: #f5cd19;
  font-size: 1.8rem;
  letter-spacing: 0.25rem;
  margin-top: 0.2rem;
}

.t-quote {
  font-size: 1.6rem;
  color: #f6f8ff;
  line-height: 1.6;
  box-sizing: border-box;
  width: 100%;
  padding-left: 60px;
  padding-right: 3rem;
  margin-right: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.t-meta {
  font-size: 1.7rem;
  margin-top: 1.2rem;
  box-sizing: border-box;
  width: 100%;
  padding-left: 130px;
  padding-right: 3rem;
  margin-right: 0;
  color: #f6f8ff;
}

.t-meta strong {
  font-weight: 900;
}

.entresection{
  height: 100px;
}
/* Junte-se a nós */
.schools-cta {
  background: #193d93;
  color: #fff;
  position: relative;
  padding: 0;
}

.stripes {
  height: 30px;
  background: repeating-linear-gradient(to bottom, #FFD700 0 10px, transparent 0 17px, #FFD700 0 20px);
}

.stripes-top {
  border-bottom: 16  px solid #193d93;
}

.stripes-bottom {
  border-top: 6px solid #193d93;
}

.schools-cta-grid {
  display: grid;
  grid-template-columns: 0.3fr 1.1fr;
  gap: 0.3rem;
  align-items: center;
  padding: 3rem 0 3.2rem;
}

.schools-cta-figure {
  margin: 0;
  display: flex;
  justify-content: center;
  
}

.schools-cta-figure img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.schools-cta-copy h2 {
  color: #f2c217;
  font-weight: 900;
  font-size: clamp(1.8rem, 1.4vw + 1rem, 2.6rem);
  margin: 0 0 0.6rem;
}

.schools-cta-copy p {
  color: #eaf0ff;
  font-size: 1.2rem;
}

.btn-pill {
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  display: inline-block;
  margin-top: 1.2rem;
}

/* Footer */
.site-footer {
  background: #1e3e97;
  color: #e8eeff;
  padding: 0;
}

.contact-band {
  background: #1e3e97;
  padding: 2rem 0 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 1.25rem;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(239, 243, 255, 0.1);
  color: #eff3ff;
  border: 2px solid rgba(239, 243, 255, 0.4);
  transition: transform 0.15s ease;
}

.icon:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-card {
  font-style: normal;
}

.contact-card h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.4rem;
  color: #ffffff;
}

.contact-card .highlight {
  color: #f2c217;
  font-weight: 800;
  font-size: 1.1rem;
}

.band-divider {
  border: 0;
  border-top: 1px solid rgba(216, 221, 239, 0.3);
  margin: 1rem 0 0;
}

/* 1. Diminuir a altura da seção inteira (a faixa) */
.footer-logo-strip {
    /* O padding é o espaço em branco acima e abaixo. Reduza para deixar a faixa mais fina. */
    padding: 10px 0; 
    background-color: #ffffff;
    /* Garante que o conteúdo (a imagem) fique centralizado verticalmente */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. Controlar o tamanho da IMAGEM dentro da faixa */
/* O seletor é mais específico para garantir que ele sobrescreva o HTML. */
.footer-logo-strip .logo-strip-inner img {
    /* Defina a altura desejada aqui. Tente um valor entre 60px e 90px. */
    height: 150px; 
    
    /* Mantém a proporção correta da imagem, impedindo que ela estique. */
    width: auto; 
    
    /* Opcional, mas garante que o CSS ignore os atributos width/height do HTML */
    max-width: none; 
}

/* O container interno é apenas para centralizar */
.logo-strip-inner {
    width: 100%;
    text-align: center; /* Centraliza a imagem se ela for menor que o container */
}


.copyright-section {
  background: #1e3e97;
  color: #ffffff;
  padding: 1rem 0 2rem;
}

.copyright-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.719);
  margin: 0 0 1rem;
}

.copyright-note {
  text-align: center;
  font-size: 1.2rem;
  color:#ffffff
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 32px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh; /* Limita a altura máxima a 90% da altura da tela (viewport height) */
    overflow-y: auto; /* Adiciona barra de rolagem vertical automaticamente se o conteúdo for maior */
    padding: 20px ;
}
@media (max-width: 480px) {
  .modal {
      max-height: 90vh;
    max-width: 92vw;
    padding: 2rem 1.5rem;
    border-radius: 24px;
     overflow-y: auto;
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: 0;
  font-size: 2rem;
  color: #425466;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f6f7fb;
  color: #0f2b7a;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 1rem;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1f3e95;
  margin: 0 0 0.5rem;
}

.modal-subtitle {
  font-size: 1rem;
  color: #425466;
  margin: 0;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f2b7a;
}

.form-input {
  padding: 0.6rem 1rem;
  border: 2px solid #e6ecff;
  border-radius: 12px;
  font-size: 1rem;
  color: #0f1b2d;
  background: #f8fafc;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #2e499e;
  background: #fff;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-primary {
  width: 100%;
  padding: 1rem;
  background: #2e499e;
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary:hover {
  background: #203a9d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 73, 158, 0.3);
}

.form-links {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.form-links a {
  color: #2e499e;
  text-decoration: none;
}

.form-links a:hover {
  text-decoration: underline;
}

.account-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.account-type-btn {
  padding: 2rem 1.5rem;
  background: #2e499e;
  color: #fff;
  border: 0;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(46, 73, 158, 0.2);
  font-family: inherit;
}

.account-type-btn:hover {
  background: #203a9d;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(46, 73, 158, 0.3);
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 8px);
}

/* Responsividade para tablets e mobile */
@media (max-width: 900px) {
  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    transform: translateY(-120%);
    transition: 0.25s transform ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }
  .rail-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .bubble {
    margin-top: -10px;
    width: 60px;
    height: 60px;
    display: grid;
  place-items: center;
    font-size: 1.5rem;
  }

  .servico span {
    font-size: 0.8rem;
  }
  .primary-nav.open {
    transform: translateY(0);
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .primary-nav li.push {
    margin-left: 0;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .servicos-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .logo-circle {
    margin-inline: auto;
  }

  .rail-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .words-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ia-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ia-hero-fig {
    order: -1;
  }

  .aval-grid {
    grid-template-columns: 1fr;
  }

  .aval-controls {
    justify-content: center;
    margin-top: 2rem;
  }

  .schools-cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    grid-column: 1 / -1;
  }

  .logo-strip-inner {
    flex-direction: column;
  }

  .account-type-grid {
    grid-template-columns: 1fr;
  }
}

/* Ajustes para telas pequenas (smartphones) */
@media (max-width: 620px) {
  .rail-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .bubble {
    margin-top: -70px;
    width: 100px;
    height: 100px;
    display: grid;
  place-items: center;
    margin-top: -50px;
    font-size: 1.5rem;
  }

  .servico span {
    font-size: 0.9rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Otimizações para telas muito pequenas */
@media (max-width: 560px) {
  :root {
    --header-height: 60px;
  }

  .section-pad {
    padding: 2.5rem 0;
  }

  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .hero {
    padding-top: 1.5rem;
  }

  .header-bar {
    padding: 0.5rem 0;
  }

  .brand img {
    height: 32px;
  }

  .btn {
    padding: 0.8rem 1.1rem;
    font-size: 0.95rem;
  }

  .btn-row {
    gap: 0.8rem;
  }

  .display {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
    line-height: 1;
  }

  .subtitle.yellow {
    font-size: 1rem;
  }

  .hero-card {
    border-radius: 28px;
    padding: 1.5rem 1.3rem 1.6rem;
  }

  .hero-card h2 {
    font-size: 1.3rem;
  }

  .hero-card p {
    font-size: 1rem;
  }

  .servicos {
    padding-top: 2rem;
  }

  .servicos-copy h2 {
    font-size: 1.6rem;
  }

  .servicos-copy p {
    font-size: 1rem;
  }

  .rail-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    padding: 2.5rem 0 1rem;
  }

  .bubble {
    width: 90px;
    height: 90px;
    margin-top: -45px;
    font-size: 1.6rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12), inset 0 0 0 8px #FFD700;
  }

  .servico span {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .words-hero-grid,
  .ia-hero-grid,
  .schools-cta-grid {
    padding: 2rem 0;
  }

  .words-hero-copy h2,
  .schools-cta-copy h2 {
    font-size: 1.5rem;
  }

  .words-hero-copy p,
  .schools-cta-copy p {
    font-size: 1rem;
  }

  .ia-hero-copy h2 {
    font-size: 1.6rem;
  }

  .ia-subtitle {
    font-size: 1.1rem;
  }

  .ia-hero-copy p {
    font-size: 1rem;
  }

  .aval-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .aval-btn {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
  }

  .aval-controls {
    margin-top: 1.5rem;
    gap: 1rem;
  }

  .testimonial-card {
    border-radius: 32px;
    padding: 1.5rem 1.2rem 1.6rem;
    min-height: auto;
  }

  .testimonial-card .avatar {
    left: 20px;
    top: 12px;
    width: 80px;
    height: 80px;
    border-width: 4px;
  }

  .t-header {
    padding-left: 110px;
    padding-top: 10px;
    margin-bottom: 0.4rem;
  }

  .t-name {
    font-size: 1.2rem;
  }

  .stars {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
  }

  .t-quote {
    font-size: 1.1rem;
    line-height: 1.5;
      width: 100%;
    padding-left: 60px;
    padding-right: 3rem;
     margin-right: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  }

  .t-meta {
    font-size: 1.05rem;
    padding-left: 110px;
    padding-right: 1rem;

  }

  .modal {
    padding: 2.5rem 1.8rem;
    border-radius: 28px;
    max-width: 90%;

  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-subtitle {
    font-size: 0.95rem;
  }

  .modal-logo {
    width: 100px;
  }

  .account-type-btn {
    padding: 1.4rem 1.1rem;
    font-size: 1.1rem;
  }

  .contact-card h3 {
    font-size: 1.2rem;
  }

  .contact-card .highlight {
    font-size: 1rem;
  }

  .logo-text strong {
    font-size: 1.5rem;
  }

  .btn-pill {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }
}
.footer-logo-strip .logo-strip-inner img {
    /* Defina a altura desejada aqui. Tente um valor entre 60px e 90px. */
    height: 100px; 
    
    /* Mantém a proporção correta da imagem, impedindo que ela estique. */
    width: auto; 
    
    /* Opcional, mas garante que o CSS ignore os atributos width/height do HTML */
    max-width: none; 
}

/* O container interno é apenas para centralizar */
.logo-strip-inner {
    width: 100%;
    text-align: center; /* Centraliza a imagem se ela for menor que o container */
}

/* Ajustes finais para telas extra pequenas */
@media (max-width: 400px) {
  .display {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .bubble {
    width: 80px;
    height: 80px;
    margin-top: -40px;
    font-size: 1.4rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1), inset 0 0 0 6px #FFD700;
  }

  .servico span {
    font-size: 0.8rem;
  }

  .aval-btn {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }

  .testimonial-card .avatar {
    width: 70px;
    height: 70px;
    left: 16px;
    top: 10px;
  }

  .t-header {
    padding-left: 95px;
  }

  .t-name {
    font-size: 1.1rem;
  }

  .stars {
    font-size: 1rem;
  }

   .t-quote {
    font-size: 1.1rem;
    line-height: 1.5;
      width: 100%;
    padding-left: 60px;
    padding-right: 3rem;
     margin-right: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  }



  .t-meta {
    font-size: 0.95rem;
    padding-left: 95px;
  }

  .modal {
    padding: 2rem 1.5rem;
  }

  .form-input {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .btn-primary {
    padding: 0.9rem;
    font-size: 1rem;
  }
}

.footer-logo-strip .logo-strip-inner img {
    /* Defina a altura desejada aqui. Tente um valor entre 60px e 90px. */
    height: 80px; 
    
    /* Mantém a proporção correta da imagem, impedindo que ela estique. */
    width: auto; 
    
    /* Opcional, mas garante que o CSS ignore os atributos width/height do HTML */
    max-width: none; 
}

/* O container interno é apenas para centralizar */
.logo-strip-inner {
    width: 100%;
    text-align: center; /* Centraliza a imagem se ela for menor que o container */
}

/* MODAL DE BOAS-VINDAS */
.welcome-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 99999;
}
.welcome-overlay.open { display: flex; }

.welcome-box {
    background: white;
    border-radius: 32px;
    width: 100%;
    max-width: 500px;
    position: relative;
    padding-top: 70px;
    animation: modalZoom 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.welcome-owl {
    position: absolute;
    width: 180px;
    right: -20px;
    top: -80px;
    pointer-events: none;
    animation: bounce 3s infinite ease-in-out;
    

}

.welcome-content { padding: 34px; text-align: center; }
.welcome-logo {
    display: block;
    /* O valor -30px no topo puxa a logo para cima */
    margin: -100px auto 60px auto; 
    width: 120px;
    height: auto;
}
.welcome-title { font-size: 20px; font-weight: bold; color: #f5b900; }
.welcome-content  p{ color: #0a2a6c; margin-bottom: 16px; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; }
.welcome-highlight { color: #f5b900; font-weight: bold; }
.welcome-start-btn {
    width: 100%; padding: 16px 0; background: #0a2a6c;
    border: none; color: #FFD700; font-size: 18px; font-weight: bold;
    border-radius: 15px; cursor: pointer; margin-top: 16px;
}
@keyframes modalZoom {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

@media (max-width: 480px){

    .welcome-box{
        width: 100%;
        max-width: 350px;
        padding: 20px;
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .welcome-owl{
        width: 85px;
         right: 10px;
    top: 10px;
    
    }

    .welcome-logo{
       display: block;
        width: 120px;
          margin: -10px auto 60px auto; 
    }

    .welcome-title{
        font-size: 1.3rem;
    }

    .welcome-content p{
        font-size: .95rem;
        line-height: 1.35;
    }

    .welcome-start-btn{
        font-size: 1rem;
        padding: 10px 14px;
    }
}

/* 🔥 Telas muito pequenas */
@media (max-width: 360px){

    .welcome-box{
        max-width: 300px;
        padding: 16px;
    }

    .welcome-title{
        font-size: 1.15rem;
    }

    .welcome-content p{
        font-size: .9rem;
    }

    .welcome-start-btn{
        font-size:.95rem;
        padding: 9px;
        border-radius:10px;
    }
}
/* ==========================
     AJUSTE RESPONSIVO PARA MODAIS
   ========================== */

/* Tamanho padrão desktop  */
.modal {
  max-height: 90vh;
    width: 450px;
    max-width: 90vw;
    padding: 25px;
    border-radius: 14px;
    box-sizing: border-box;
}

/* Ajustes para telas pequenas */
@media (max-width: 600px) {
    .modal {
        width: 95vw !important;       /* nunca ultrapassa tela */
        max-height: 90vh;             /* impede "estourar" a tela */
        padding: 18px;
        border-radius: 12px;
    }
    .modal-header img {
        width: 65px;
        height: 65px;
    }
    .modal-form .form-group {
        margin-bottom: 10px;
    }
    .form-input {
        font-size: 15px;
        padding: 10px;
    }
    .btn-primary {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    .account-type-grid {
        grid-template-columns: 1fr !important; /* botões em coluna no mobile */
        gap: 10px;
    }
    .account-type-btn {
        width: 100%;
        padding: 14px;
        font-size: 18px;
    }
}

/* Para celulares MUITO pequenos */
@media (max-width: 390px) {
    .modal {
        padding: 12px;
        border-radius: 8px;
    }
    .modal-header img {
        width: 55px;
        height: 55px;
    }
}


/* Botão padrão olimpíadas */
.olimp-btn{
    display:block;
    width: fit-content;
    margin-top:auto;
    padding:8px 14px;
    font-size:0.9rem;
    font-weight:800;
    background:#f2c217; /* amarelo tema */
    color:#000000;
    border-radius:999px;
    transition:.25s ease;
    border:2px solid transparent;
}

.olimp-btn:hover{
  text-decoration: none !important;
    background:#faca1d;
    color:rgb(0, 0, 0);
    border-color:#ffffff;
    transform:translateY(-1px);
    box-shadow:0 6px 15px rgba(0,0,0,.12);
}


/* Oculta todas as abas */
.tab-content {
    display: none;
}

/* Apenas a aba ativa aparece */
.tab-content.active {
    display: block;
}


.footer-logo-strip .logo-strip-inner img {
    /* Defina a altura desejada aqui. Tente um valor entre 60px e 90px. */
    height: 120px; 
    
    /* Mantém a proporção correta da imagem, impedindo que ela estique. */
    width: auto; 
    
    /* Opcional, mas garante que o CSS ignore os atributos width/height do HTML */
    max-width: none; 
}

/* O container interno é apenas para centralizar */
.logo-strip-inner {
    width: 100%;
    text-align: center; /* Centraliza a imagem se ela for menor que o container */
}


/* ========================================= */
/* ESTILOS DOS MODAIS DE PAGAMENTO           */
/* ========================================= */

/* Ajustes Gerais de Modal */
.modal-lg {
    max-width: 700px; /* Modal mais largo para os planos e cartão */
}

.modal-logo-img {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto 10px;
}

.modal-title-yellow {
    color: #f2c217; /* Amarelo da marca */
    font-weight: 800;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-blue-dark {
    background-color: #1f3e95; /* Azul escuro do botão */
    color: #fff;
    border-radius: 30px; /* Bem arredondado */
    padding: 14px 40px;
    font-size: 1.1rem;
    border: none;
    width: 100%;
    max-width: 300px;
}
.btn-blue-dark:hover {
    background-color: #152b6b;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.mt-4 { margin-top: 1.5rem; }

/* --- Modal 1: Planos --- */
.plans-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-card {
    display: block;
    background: #e6e6e6; /* Cinza claro do fundo */
    border-radius: 30px;
    padding: 2rem;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.2s;
    text-align: center;
}

/* Esconde o radio button nativo */
.plan-card input[type="radio"] {
    display: none;
}

/* Estilo quando selecionado */
.plan-card:has(input:checked) {
    border-color: #1f3e95;
    background: #e0e6f5;
    box-shadow: 0 4px 15px rgba(31, 62, 149, 0.2);
}

.plan-title {
    color: #1f3e95;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight-green {
    color: #2e7d32; /* Verde leve para desconto */
}

.plan-desc {
    font-weight: 600;
    color: #555;
    margin-bottom: 1rem;
}

.plan-details {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.4;
    text-align: justify;
    text-align-last: center; /* Centraliza a última linha */
}

/* --- Modal 2: Métodos de Pagamento --- */
.payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.payment-btn {
    background-color: #1f3e95;
    color: white;
    font-weight: 800;
    border: none;
    padding: 18px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
    text-align: center;
    width: 100%;
    color: #f2c217; /* Texto amarelo */
}

.payment-btn:hover {
    transform: translateY(-2px);
    background-color: #152b6b;
}

.payment-security-text {
    font-size: 0.8rem;
    text-align: center;
    color: #1f3e95;
    margin-top: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
}

/* --- Modal 3: Detalhes do Cartão --- */
.card-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.card-input {
    background: #e6e6e6;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 12px 20px;
    font-size: 1rem;
    width: 100%;
    outline: none;
    color: #555;
}

.card-input::placeholder {
    color: #999;
    font-weight: 600;
}

.card-input:focus {
    border-color: #1f3e95;
    background: #fff;
}

.input-with-icon {
    position: relative;
}



/* Checkboxes personalizados para parcelas */
.installments-options {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1f3e95;
    cursor: pointer;
    font-size: 1rem;
}

.checkbox-container input{
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #0050a0;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  background: #0050a0;
}
.checkbox-container input:checked + .checkmark{
  background: #003f7e;
}


.checkbox-container input:checked + .checkmark::after {
  content: "✔";
  color: white;
  font-size: 14px;
  position: absolute;
  top: -2px;
  left: 3px;
}
/* Responsividade */
@media (max-width: 600px) {
    .modal-lg {
        padding: 1.5rem;
    }
    
    .input-row {
        grid-template-columns: 1fr; /* Um input por linha no mobile */
        gap: 0.8rem;
    }
    
    .installments-options {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 10px;
    }

    .plan-card {
        padding: 1.2rem;
    }
}

