/* Ajustes finais de escala, cursor e navegação */
@media (pointer: fine) {
  html, body, a, button, summary { cursor: none !important; }
}

.site-header {
  grid-template-columns: 220px 1fr auto;
}

.menu-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: rgba(255,255,255,.09);
  transition: .2s;
}

.menu-button:hover { background: rgba(255,255,255,.16); }
.menu-button span { display: block; width: 21px; height: 2px; border-radius: 3px; background: #fff; transition: .25s; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  z-index: 130;
  top: calc(100% + 12px);
  left: auto;
  right: 0;
  width: min(330px, calc(100vw - 24px));
  padding: 12px;
  gap: 5px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 17px;
  background: rgba(5,27,21,.98);
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}

.mobile-nav.open { display: grid; }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #dce7e1;
  font-size: 14px;
  font-weight: 750;
  transition: background .2s, color .2s, padding .2s;
}
.mobile-nav a:hover { padding-left: 18px; background: rgba(255,255,255,.07); color: #fff; }
.mobile-nav .menu-student {
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--green);
  justify-content: center;
}
.mobile-nav .menu-student:hover { padding-left: 14px; background: #ffda61; color: var(--green); }

/* Proporções mais compactas em telas grandes */
@media (min-width: 1001px) {
  .site-header { left: 32px; right: 32px; top: 18px; height: 68px; }
  .brand { width: 170px; height: 52px; }
  .hero { min-height: 88svh; padding: 125px 8vw 72px; }
  .hero h1 { font-size: clamp(48px, 6vw, 88px); max-width: 690px; }
  .hero-content > p { font-size: 17px; max-width: 610px; }
  .hero-aside { bottom: 72px; }
  .trust-strip div { min-height: 76px; }
  .section { padding-top: 94px; padding-bottom: 94px; }
  .section-intro { margin-bottom: 44px; }
  .section-intro h2, .faq-title h2 { font-size: clamp(38px, 4.2vw, 62px); }
  .license-card { min-height: 355px; padding: 28px; }
  .process { padding-top: 90px; padding-bottom: 90px; }
  .bento { padding: 30px; }
  .student-portal { padding: 65px; }
  .contact-copy { padding-top: 78px; padding-bottom: 78px; }
  .contact-details a { min-height: 125px; }
  .footer-main { padding-top: 58px; padding-bottom: 46px; }
}

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 180px 1fr auto; }
  .menu-button { display: grid; }
}

@media (max-width: 650px) {
  .site-header { grid-template-columns: 150px 1fr auto; }
  .hero { min-height: 720px; }
  .hero h1 { font-size: 46px; }
  .mobile-nav { top: calc(100% + 10px); }
}

/* Ícone do WhatsApp enviado pelo cliente, recolorido pela cor do botão */
.wa-logo {
  display: inline-block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  background: currentColor;
  -webkit-mask: url("./assets/whatsapp-icon.png?v=20261004c") center / contain no-repeat;
  mask: url("./assets/whatsapp-icon.png?v=20261004c") center / contain no-repeat;
}

[data-whatsapp]:not(.contact-details a) { gap: 9px; align-items: center; }
.license-card [data-whatsapp], .footer-social [data-whatsapp], .footer-contact [data-whatsapp] { display: inline-flex; }
.round-link .wa-logo { width: 24px; height: 24px; flex-basis: 24px; }
.floating-whatsapp { background: var(--yellow); color: var(--green); }
.floating-whatsapp .wa-logo { width: 29px; height: 29px; flex-basis: 29px; }
.contact-details [data-whatsapp] { position: relative; }
.contact-details [data-whatsapp] .wa-logo { color: var(--yellow); width: 24px; height: 24px; flex-basis: 24px; }

/* FAQ com área de clique completa */
.faq-list details { position: relative; }
.faq-list summary { position: relative; z-index: 2; width: 100%; pointer-events: auto; user-select: none; }
.faq-list details[open] > p { animation: faq-open .22s ease both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
