/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;

  --brand: #1e3a8a;
  --brand2: #1e40af;

  --card: #ffffff;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body{
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-top: 80px;
}

/* HEADER */
.topo{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 80px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(90deg, var(--brand), var(--brand2));
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.logo{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 700;
}

.logo img{
  height: 200px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
  display: block;
}

.logo span{ font-size: 1rem; }

.nav{ position: relative; }

.menu{
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

.menu a{
  color: white;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.95;
}
.menu a:hover{ opacity: 0.85; }

.btn-link{
  background: rgba(255,255,255,0.18);
  padding: 10px 14px;
  border-radius: 999px;
}

.menu-toggle{
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  position: relative;
  z-index: 10000;
}

/* HERO */
.hero{
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 26px 18px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.hero-content{
  color: white;
  border-radius: var(--radius);
  padding: 60px 26px;
  background-image:
    linear-gradient(135deg, rgba(30,58,138,0.9), rgba(30,64,175,0.85)),
    url("img/hero-ingles.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.badge{
  display: inline-block;
  background: rgba(255,255,255,0.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.hero h1{
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.subtitle{
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 18px;
}

.hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: none;
  text-decoration: none;
  cursor: pointer;

  font-weight: 700;
  padding: 14px 18px;
  border-radius: 12px;
  transition: 0.2s;
}
.btn:hover{ transform: translateY(-1px); }

.btn.primary{ background: #22c55e; color: white; }
.btn.ghost{ background: rgba(255,255,255,0.18); color: white; }

.stats{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat{
  background: rgba(255,255,255,0.12);
  padding: 12px 14px;
  border-radius: 14px;
}
.stat strong{ display: block; font-size: 1.1rem; }
.stat span{ font-size: 0.9rem; opacity: 0.95; }

.hero-card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-card h3{ margin-bottom: 10px; }
.hero-card p{ color: var(--muted); margin-bottom: 14px; }

.mini{ font-size: 0.9rem; color: var(--muted); }
.mt{ margin-top: 14px; }

/* SECTIONS */
.section{
  max-width: 1100px;
  margin: auto;
  padding: 56px 18px;
  scroll-margin-top: 100px;
}

.section.alt{ background: rgba(30, 64, 175, 0.06); }

.section-head{ margin-bottom: 18px; }
.section-head h2{ color: var(--brand); margin-bottom: 6px; }
.section-head p{ color: var(--muted); }

.grid-2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card h3{ margin-bottom: 10px; }
.card p{ color: var(--muted); }

.list{
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.list li{
  padding-left: 14px;
  position: relative;
}
.list li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand2);
}

.tag{
  margin-top: 12px;
  display: inline-block;
  background: rgba(30, 64, 175, 0.12);
  color: var(--brand);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* FOTO */
.teacher-photo{
  padding: 0;
  overflow: hidden;
  border-radius: 20px; 
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); 
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.teacher-photo img{
  width: 110%;
  height: 440px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-left: -5%;
  transition: transform 0.4s ease;
}

.teacher-photo:hover img{
  transform: scale(1.10);
}

.teacher-photo:hover{
  box-shadow: 0 30px 60px rgba(18, 5, 201, 0.12);
}


.callout{
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(3, 25, 99, 0.12);
  color: var(--brand);
  font-weight: 600;
}

.contact-box{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer{
  text-align: center;
  padding: 26px 18px;
  color: var(--muted);
}

/* WHATSAPP FIXO */
.whatsapp{
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #22c55e;
  color: white;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 8px;
}
.whatsapp:hover{ transform: scale(1.03); }

/* RESPONSIVO */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .teacher-photo img{ height: 300px; }
}

@media (max-width: 768px){
  body{ padding-top: 90px; }

  .topo{ height: 90px; }

  .logo img{
    height: 100px;
    width: auto;
  }

  .menu-toggle{ display: block; }

  .menu{
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 230px;
    background: linear-gradient(180deg, var(--brand), var(--brand2));
    flex-direction: column;
    padding: 16px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 99999;
  }

  .menu.show{ display: flex; }

  .grid-2{ grid-template-columns: 1fr; }
  .hero-content{ padding: 44px 18px; }
  .hero h1{ font-size: 1.8rem; }
}
