:root {
  --abyss: #071C27;
  --deep: #0B2E40;
  --deep2: #124658;
  --teal: #17A8A0;
  --teal-light: #6FE7DD;
  --coral: #FF6B4A;
  --sand: #F5F1E6;
  --ink: #0B2E40;
  --muted: #3d5763;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--sand);
  color: var(--ink);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; line-height: 1.1; }
.mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.03em; }
a { color: inherit; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 48px;
  background: var(--abyss);
}
.logo-img { height: 130px; width: auto; display: block; }
.navlinks { display: flex; gap: 32px; list-style: none; }
.navlinks a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.navlinks a:hover, .navlinks a.active { color: var(--teal-light); }
.nav-cta { background: var(--coral); color: white; padding: 10px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* PAGE HEADER (banner) */
.page-header {
  padding: 190px 48px 70px;
  background:
    radial-gradient(ellipse at top, rgba(111,231,221,0.12), transparent 60%),
    linear-gradient(180deg, var(--abyss) 0%, var(--deep) 100%);
}
.breadcrumb { color: var(--teal-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.page-header h1 { color: white; font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 700px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-top: 18px; max-width: 560px; line-height: 1.6; }

/* IMAGE PLACEHOLDER */
.img-placeholder {
  background: repeating-linear-gradient(135deg, rgba(23,168,160,0.15), rgba(23,168,160,0.15) 10px, rgba(11,46,64,0.1) 10px, rgba(11,46,64,0.1) 20px);
  border: 1.5px dashed rgba(23,168,160,0.5);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 0.78rem; text-align: center; padding: 16px;
  font-family: 'IBM Plex Mono', monospace;
}

.eyebrow { color: var(--teal); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 14px; }

.btn-primary {
  background: var(--coral); color: white; padding: 14px 28px; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 0.92rem; display: inline-block; border: none; cursor: pointer;
}
.btn-ghost-dark {
  border: 1.5px solid rgba(11,46,64,0.25); color: var(--deep); padding: 13px 27px; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 0.92rem; display: inline-block;
}
.btn-ghost-light {
  border: 1px solid rgba(255,255,255,0.3); color: white; padding: 13px 27px; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 0.92rem; display: inline-block;
}

/* FOOTER */
footer { background: var(--abyss); color: rgba(255,255,255,0.55); padding: 60px 48px 30px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: white; font-family: 'Inter', sans-serif; font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 0.05em; }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; display: block; margin-bottom: 8px; line-height: 1.6; }
.footer-col p a { display: inline; margin-bottom: 0; color: var(--teal-light); }
.footer-col p a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.78rem; }
.footer-logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-logos img { height: 52px; width: auto; }
.footer-logos img[alt*="Official Member"] { height: 68px; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); text-decoration: none; color: white; font-size: 1.6rem;
}

@media (max-width: 900px) {
  nav { padding: 8px 20px; }
  .logo-img { height: 76px; }
  .navlinks { display: none; }
  .page-header { padding: 150px 24px 50px; }
  footer { padding: 40px 24px 24px; }
}

.nav-social { display: flex; gap: 6px; align-items: center; margin-right: 4px; }
.nav-social a { color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; transition: 0.2s; }
.nav-social a:hover { color: var(--teal-light); background: rgba(255,255,255,0.08); }
.nav-right { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .nav-social { gap: 2px; } .nav-social a { width: 30px; height: 30px; } }

/* ===== MENU MOBILE (hambúrguer) ===== */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px; flex-shrink: 0;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: 0.28s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: flex !important; }
  .navlinks {
    display: flex !important; flex-direction: column; gap: 0;
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
    background: var(--abyss); padding: 92px 0 30px; z-index: 55;
    transform: translateX(100%); transition: transform 0.3s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.4); overflow-y: auto;
  }
  .navlinks.aberto { transform: translateX(0); }
  .navlinks li { width: 100%; }
  .navlinks a { display: block; padding: 16px 28px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .navlinks a.active { color: var(--teal-light); background: rgba(23,168,160,0.1); }
  .navlinks a { position: relative; z-index: 2; pointer-events: auto; }

  .menu-overlay {
    position: fixed; inset: 0; background: rgba(7,28,39,0.6); z-index: 45;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .menu-overlay.aberto { opacity: 1; pointer-events: auto; }
  body.menu-travado { overflow: hidden; }
}

/* ===== SUBMENU DE CURSOS ===== */
.navlinks .tem-sub { position: relative; }
.navlinks .tem-sub > a::after { content: " ▾"; font-size: 0.7em; opacity: 0.7; }
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--abyss); border-radius: 12px; padding: 8px 0; min-width: 250px;
  list-style: none; box-shadow: 0 12px 34px rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; transition: 0.18s; z-index: 60;
  border: 1px solid rgba(255,255,255,0.08);
}
.navlinks .tem-sub:hover .submenu, .navlinks .tem-sub:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.submenu li { width: 100%; }
.submenu a { display: block; padding: 10px 20px; font-size: 0.87rem; color: rgba(255,255,255,0.8); white-space: nowrap; }
.submenu a:hover { color: var(--teal-light); background: rgba(23,168,160,0.12); }
@media (max-width: 900px) {
  .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    background: rgba(0,0,0,0.25); border: none; border-radius: 0; padding: 0; min-width: 0; }
  .submenu a { padding: 13px 28px 13px 44px; font-size: 0.92rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .navlinks .tem-sub > a::after { content: ""; }
}
