/* ===========================
   RESET BASICO
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Arial', sans-serif;
  color: #1f2937;
  background: #f7f8fb;
   height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}





body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  flex: 1; /* Faz o conteúdo crescer e empurra o footer para baixo */
}



/* ===========================
   CONTAINER
=========================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===========================
   CABEÇALHO
=========================== */
.header {
  background: #0b1220;
  color: #fff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__img {
  width: 52px;
  height: 52px;
}

.logo__text {
  line-height: 1.1;
}

.logo__text strong {
  font-size: 18px;
}

.logo__text small {
  font-size: 12px;
  color: #cbd5e1;
}

/* MENU */
.nav {
  display: flex;
  align-items: center;
  gap: 10px; /* MAIS ESPAÇO ENTRE ITENS */
}

.nav__link {
  padding: 10px 16px; /* AUMENTEI O PADDING */
  border-radius: 10px; /* MAIS ARREDONDADO */
  color: #e5e7eb;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}

.nav__link:hover {
  background: rgba(255,255,255,0.16); /* DESTAQUE MELHOR */
  transform: translateY(-2px);
  color: #fff;
}

.nav__link--btn {
  background: #f5f6f7;
  color: #0b1220;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px; 
}

.nav__link--btn:hover {
  background: #f0f3c2;
}


/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  background: white; /*transparent;*/
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 5px;
  transition: 0.3s;
}


.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}



/* ===========================
   MAIN (HOME)
=========================== */
.main {
  padding: 40px 0;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0b1220 0%, #0b1220 60%, #38bdf8 100%);
  color: #fff;
  padding: 60px 0;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  right: -150px;
  top: -150px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__title {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 18px;
  margin-bottom: 26px;
  max-width: 560px;
  color: rgba(255,255,255,0.88);
}

.hero__btn {
  padding: 14px 22px;
  background: #fff;
  color: #0b1220;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.hero__btn:hover {
  transform: translateY(-2px);
  background: #e5e7eb;
}

/* CARD */
.card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===========================
   SEÇÃO DE SERVIÇOS
=========================== */
.section {
  margin-top: 40px;
}

.section__title {
  font-size: 28px;
  margin-bottom: 18px;
  color: #0b1220;
}

.section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.service__title {
  font-size: 20px;
  margin-bottom: 10px;
}

.service__text {
  color: #6b7280;
  line-height: 1.6;
}

/* ===========================
   FORMULÁRIO (CONTATO)
=========================== */
.form-group {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56,189,248,0.2);
}

.btn-primary {
  background: #0b1220;
  color: #fff;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.btn-primary:hover {
  background: #111b2e;
}

/* ===========================
   RODAPÉ (MODERNO)
=========================== 
.footer {
  background: #0b1220;
  color: #e5e7eb;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand-title {
  font-size: 22px;
  font-weight: 800;
}

.footer__brand-subtitle {
  color: rgba(229,231,235,0.85);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.footer__link {
  color: rgba(229,231,235,0.9);
  padding: 8px 0;
  transition: color 0.3s, transform 0.3s;
}

.footer__link:hover {
  color: #38bdf8;
  transform: translateX(6px);
}

/* SOCIAL 
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.footer__social-link:hover {
  transform: translateY(-3px);
  background: rgba(56,189,248,0.18);
  border-color: rgba(56,189,248,0.6);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  margin-top: 28px;
}

.footer__copy {
  text-align: center;
  font-size: 14px;
  color: rgba(229,231,235,0.8);
}

*/


/* ===========================
   RODAPÉ (STICKY + MODERNO)
=========================== */

/* Footer */
.footer {
  background: #0b1220;
  color: #e5e7eb;
  padding: 60px 0 30px;
  margin-top: auto; /* Mantém o footer no final */
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand-title {
  font-size: 22px;
  font-weight: 800;
}

.footer__brand-subtitle {
  color: rgba(229,231,235,0.85);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.footer__link {
  color: rgba(229,231,235,0.9);
  padding: 8px 0;
  transition: color 0.3s, transform 0.3s;
}

.footer__link:hover {
  color: #38bdf8;
  transform: translateX(6px);
}

/* SOCIAL */
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.footer__social-link:hover {
  transform: translateY(-3px);
  background: rgba(56,189,248,0.18);
  border-color: rgba(56,189,248,0.6);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  margin-top: 28px;
}

.footer__copy {
  text-align: center;
  font-size: 14px;
  color: rgba(229,231,235,0.8);
}


/* ===========================
   PÁGINA DE AULAS PARTICULARES - FORMATAÇÃO CORRIGIDA
=========================== */
.page-aulas {
  background-color: #f5f5f5;
  padding: 60px 0;
  text-align: center;
}

/* Título principal */
.page-aulas h1 {
  font-size: 2.5rem;
  margin-bottom: 30px; /* mais espaço após o título */
  color: #0b1220;
}

/* Parágrafo introdutório */
.page-aulas p {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 50px auto; /* espaçamento inferior maior */
}

/* ===========================
   BENEFÍCIOS
=========================== */
.page-aulas .benefits {
  padding: 40px 0;
}

.page-aulas .benefits h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0b1220;
  text-align: center;
}

.page-aulas .benefits ul {
  list-style: none; /* remove marcadores */
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 2; /* aumenta espaçamento entre itens */
}

.page-aulas .benefits ul li {
  margin-bottom: 12px;
  text-align: left; /* mantém alinhamento à esquerda */
  padding-left: 0;
}

/* ===========================
   DISCIPLINAS
=========================== */
.page-aulas .subjects {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-aulas .subjects h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0b1220;
}

.page-aulas .subjects .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* mais espaço entre os cards */
  justify-content: center;
}

.page-aulas .subjects .card {
  background-color: #fff;
  padding: 25px; /* mais padding interno */
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  flex: 1 1 250px;
  max-width: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-aulas .subjects .card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #0b1220;
}

.page-aulas .subjects .card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}



/* Define o layout dos cards */
.card {
  display: flex; /* Utiliza o Flexbox */
  align-items: center; /* Alinha os itens (imagem e título) verticalmente */
  margin-bottom: 20px; /* Espaçamento entre os cards */
}

.card-content {
  display: flex;
  flex-direction: column; /* Permite que o conteúdo dentro do card seja alinhado em coluna */
}

.card-header {
  display: flex;
  align-items: center; /* Alinha verticalmente a imagem e o título */
}

.card-img-container {
  margin-right: 15px; /* Espaçamento entre a imagem e o título */
}

.card-img-container svg {
  display: block; /* Remove qualquer espaço extra que possa aparecer ao redor da imagem */
}

/* Estilo para os títulos */
.card h3 {
  font-size: 20px;
  margin: 0;
}

/* Adiciona um pequeno espaçamento entre o título e o texto dentro do card */
.card p {
  margin-top: 10px;
  font-size: 16px;
}

/* Se o container de imagens for maior ou menor, ele deve se ajustar proporcionalmente */
.card-img-container svg {
  width: 50px;
  height: 50px;
}





/* ===========================
   BOTÃO DE CONTATO
=========================== */
.page-aulas .contact {
  padding: 60px 0;
  text-align: center;
}

.page-aulas .contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0b1220;
}

.page-aulas .contact p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-aulas .contact .btn-primary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  background: #0b1220;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.page-aulas .contact .btn-primary:hover {
  background: #111b2e;
  transform: translateY(-2px);
}


/* ===========================
   HERO - TOPo Azul Ajustado
=========================== */
.page-aulas-hero {
  background: linear-gradient(135deg, #0b1220 0%, #0b1220 60%, #38bdf8 100%);
  color: #fff;
  padding: 80px 0; /* Aumenta o espaço interno */
  position: relative;
}

.page-aulas-hero .hero__inner {
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
  height: 100%; /* Preenche a altura da seção */
}

.page-aulas-hero .hero__content {
  text-align: center; /* Centraliza o texto */
  max-width: 800px; /* Limita a largura do conteúdo */
}

.page-aulas-hero h1 {
  font-size: 3rem; /* Aumenta o tamanho da fonte */
  margin-bottom: 20px;
  font-weight: bold;
   color: #fff; /* deixa o título branco */
}

.page-aulas-hero p {
  font-size: 1.2rem; /* Aumenta o tamanho da fonte do parágrafo */
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-aulas-hero .hero__btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 1.2rem;
  font-weight: 700;
  background: #fff;
  color: #0b1220;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.3s, transform 0.3s;
}

.page-aulas-hero .hero__btn:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}



/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .section__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  /*
  .nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
    */

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0B1220;
    flex-direction: column;
    padding-top: 100px;
    gap: 16px;
    transition: right 0.3s ease;
  }

  .nav.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav__link {
    width: 90%;
    text-align: center;
  }

  /* ===========================
   RESPONSIVO PÁGINA DE AULAS
  =========================== */

  .page-aulas .subjects .cards {
    flex-direction: column;
    align-items: center;
  }

  .page-aulas .subjects .card {
    max-width: 90%;
  }

  .page-aulas .benefits ul {
    text-align: center;
  }

  .card {
    flex-direction: column; /* Em telas menores, empilha imagem e título */
    align-items: flex-start; /* Garante que o conteúdo seja alinhado ao início do card */
  }

  .card-header {
    flex-direction: column; /* Coloca a imagem em cima do título */
    align-items: center;
  }

  .card-img-container {
    margin-right: 0; /* Remove o espaçamento lateral entre imagem e título */
    margin-bottom: 10px; /* Adiciona espaçamento abaixo da imagem */
  }
}
