/* ===== HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.site-header .shell {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: visible;
}

/* Fundo preto quando scroll */
.site-header.is-scrolled {
  background: #111;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Fundo preto quando menu mobile aberto */
body.menu-open .site-header {
  background: #111;
}

/* ===== LOGO ===== */
.site-header .logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.site-header .logo img {
  width: auto;
  height: 38px;
  transition: opacity 200ms var(--ease);
}
.logo--black { display: none; } /* não usado com fundo preto */
body.menu-open .logo--black,
.site-header.is-scrolled .logo--black {
  display: none;
}
body.menu-open .logo--white,
.site-header.is-scrolled .logo--white {
  opacity: 1;
  position: static;
}

/* ===== NAV DESKTOP ===== */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: 999px;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
/* Mantém links brancos mesmo com fundo preto */
.site-header.is-scrolled .nav-item > a,
body.menu-open .nav-item > a {
  color: #fff;
}
.nav-item > a:hover,
.nav-item > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
}
.site-header.is-scrolled .nav-item > a:hover,
.site-header.is-scrolled .nav-item > a[aria-current="page"],
body.menu-open .nav-item > a:hover,
body.menu-open .nav-item > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s, transform 0.2s ease;
  border: 1px solid var(--line-soft);
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--black);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background-color 150ms var(--ease);
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: var(--sand);
}
.dropdown-menu a[aria-current="page"] {
  background: rgba(176, 138, 76, 0.08);
  color: var(--gold-dark);
}

/* Nav actions (WhatsApp) */
.nav-actions {
  display: flex;
  align-items: center;
  margin-left: 12px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* ===== HEADER ACTIONS (toggle) ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.custom-divider {
  border: none;
  border-top: 3px #bbb; /* Can also use 'dotted' or 'solid' */
  width: 50%;                 /* Controls how wide the line is */
  margin: 30px auto;          /* Centers the line and adds vertical space */
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg {
  display: block;
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
}
/* Mantém toggle branco com fundo preto */
.site-header.is-scrolled .menu-toggle,
body.menu-open .menu-toggle {
  color: #fff;
}

/* ===== RESPONSIVO DO HEADER ===== */
@media (max-width: 991px) {
  .nav {
    display: none !important;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none !important;
  }
  .nav-mobile-overlay {
    display: none !important;
  }
}

/* ===== MENU MOBILE OVERLAY ===== */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms var(--ease), visibility 0s 300ms;
}
.nav-mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.nav-mobile-inner {
  width: min(100% - 40px, 480px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px 0;
  position: relative;
}
.nav-mobile-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: background 200ms var(--ease);
}
.nav-mobile-close:hover {
  background: rgba(255, 255, 255, 0.12);
}
.nav-mobile-close svg {
  width: 28px;
  height: 28px;
}
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 150ms var(--ease);
}
.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
}
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-mobile-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 56px;
}
.nav-mobile-actions .btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.nav-mobile-actions .btn-whatsapp:hover {
  background: #1da851;
}

/* ===== MOBILE ACCORDION ===== */
.nav-mobile-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-mobile-item:last-child {
  border-bottom: none;
}
.nav-mobile-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mobile-item-header a {
  flex: 1;
  padding: 14px 20px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 150ms var(--ease);
}
.nav-mobile-item-header a:hover {
  background: rgba(255, 255, 255, 0.06);
}
.nav-mobile-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: transform 200ms var(--ease);
}
.nav-mobile-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}
.nav-mobile-item.is-expanded .nav-mobile-toggle {
  transform: rotate(180deg);
}
.nav-mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms var(--ease);
}
.nav-mobile-item.is-expanded .nav-mobile-sub {
  max-height: 500px;
}
.nav-mobile-sub a {
  display: block;
  padding: 10px 20px 10px 40px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 400;
  transition: background 150ms var(--ease);
}
.nav-mobile-sub a:hover {
  background: rgba(255, 255, 255, 0.06);
}
.nav-mobile-sub a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ===== HERO (mantido) ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: #111;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.52), rgba(0,0,0,0.7));
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 44px);
  padding-bottom: 58px;
}
.hero-grid {
  display: grid;
  gap: 28px;
  max-width: 860px;
}
.hero p { color: rgba(255,255,255,0.84); }
.hero .lead { max-width: 760px; }
.hero .mini-note {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
}
.hero .mini-note strong { color: var(--gold); }
.hero .stats {
  max-width: 860px;
}

/* ===== HOME AREAS ===== */
.practice-card .media { aspect-ratio: 4 / 3; }
.practice-card .body { padding: 22px; display: grid; gap: 12px; }
.practice-card .body p { font-size: 0.98rem; }
.practice-card .body .btn { justify-self: start; padding-inline: 8px; min-height: 24px; }
.practice-card .tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(176,138,76,0.1);
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ===== EQUIPE ===== */
.team-card .media { aspect-ratio: 1 / 1.3; }
.team-card .body {
  padding: 16px;
  display: grid;
  gap: 8px;
}
.team-card .role { color: var(--gold); font-weight: 500; font-size: 0.8rem; }
.team-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== CIDADES ===== */
.city-card .media { aspect-ratio: 4 / 3; }
.city-card .body { padding: 22px; display: grid; gap: 10px; }
.city-card .city-type {
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ===== VIDEOS ===== */
.video-card .media { aspect-ratio: 16 / 9; }
.video-card .play {
  position: absolute;
  inset: auto auto 16px 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  display: grid;
  place-items: center;
  color: #fff;
  backdrop-filter: blur(8px);
}
.video-card .play svg { width: 20px; height: 20px; margin-left: 2px; }
.video-card .body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.video-card .year { color: var(--gold); font-size: 0.88rem; font-weight: 700; }

/* ===== PAGE INTRO ===== */
.page-intro {
  display: grid;
  gap: 18px;
}
.page-intro .lead { max-width: 760px; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 80px 0 36px;
  background: #111;
  color: rgba(255,255,255,0.88);
}
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 30px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 1.65rem;
  margin-bottom: 16px;
}
.footer-grid h5 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul {
  display: grid;
  gap: 10px;
}
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 18px; }

/* ===== ANIMATION ===== */
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* ===== UTILITIES ===== */
.stack { display: grid; gap: 24px; }
.stack-lg { gap: 34px; }
.stack-sm { gap: 12px; }
.align-end { align-items: end; }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  z-index: 1000;
}
.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}