/* ============================================================
   ALLMA CONSULTING & PROMOTIONS — Design System Moderno
   Responsivo · Acessível · Leve
   ============================================================ */

:root {
  /* Paleta da marca */
  --navy-950: #060f1e;
  --navy-900: #0a1a2f;
  --navy-800: #0f2542;
  --navy-700: #16345c;
  --cyan: #01ffff;
  --cyan-soft: #c9fcfc;
  --cyan-dark: #00a8a8;
  --gold: #c9a227;
  --gold-soft: #f3e3b3;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --ink: #1d2939;
  --muted: #5c6b7c;
  --border: #e2e9f1;

  /* Efeitos */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(10, 26, 47, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 26, 47, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 26, 47, 0.22);
  --grad-navy: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  --grad-cyan: linear-gradient(135deg, var(--cyan-dark), var(--cyan));

  /* Tipografia */
  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;

  /* Medidas */
  --header-h: 76px;
  --container: 1180px;
}

/* ---------- Reset moderno ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.6em;
  line-height: 1.25;
  color: var(--navy-900);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  white-space: nowrap;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.brand:hover img { transform: scale(1.08) rotate(-3deg); }

.brand strong { color: var(--gold); }

/* Navegação desktop */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-link {
  position: relative;
  display: inline-block;
  padding: 9px 15px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.menu-link:hover { background: var(--cyan-soft); color: var(--navy-900); transform: translateY(-1px); }

.menu-link.active {
  background: var(--grad-navy);
  color: var(--cyan);
  box-shadow: 0 4px 14px rgba(10, 26, 47, 0.25);
}

/* Botão de som */
.sound-toggle {
  margin-left: 8px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--cyan);
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sound-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(10, 26, 47, 0.3); }

.sound-toggle.muted { background: var(--border); color: var(--muted); }

/* Botão hambúrguer */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}

.menu-toggle:hover { background: var(--cyan-soft); }

.menu-toggle .bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.menu-toggle .bar:nth-child(1) { top: 13px; }
.menu-toggle .bar:nth-child(2) { top: 20px; }
.menu-toggle .bar:nth-child(3) { top: 27px; }

.menu-toggle.open .bar:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ============================================================
   MAIN
   ============================================================ */
.site-main { padding: 34px 0 60px; }

.content-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 4vw, 44px);
  animation: fadeUp 0.5s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Título de página */
.page-title {
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--border);
}

.page-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.page-title h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0;
  text-transform: capitalize;
}

/* ============================================================
   CONTEÚDO DE TEXTO (páginas institucionais)
   ============================================================ */
.page-content { font-size: 1rem; }

.page-content p {
  margin: 0 0 1.15em;
  text-align: justify;
  hyphens: auto;
}

.page-content h2 {
  font-size: 1.35rem;
  margin-top: 1.8em;
  padding-left: 14px;
  border-left: 4px solid var(--cyan);
}

.page-content h3 {
  font-size: 1.08rem;
  margin-top: 1.4em;
  color: var(--navy-700);
}

.page-content ul, .page-content ol {
  margin: 0 0 1.2em 1.4em;
}

.page-content li { margin-bottom: 0.5em; }

.page-content img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin: 1.2em auto;
}

.page-content .media-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 1.4em 0;
}

.page-content .media-row figure {
  margin: 0;
  flex: 1 1 260px;
  max-width: 340px;
  text-align: center;
}

.page-content figure img { box-shadow: var(--shadow-md); }

.page-content figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}

/* Nota em destaque */
.highlight-box {
  background: linear-gradient(135deg, rgba(1, 255, 255, 0.08), rgba(201, 162, 39, 0.1));
  border: 1px solid rgba(1, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 1.6em 0;
}

.highlight-box p { margin: 0; }

/* Explicação da logomarca */
.logo-story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin: 1.4em 0;
}

.logo-story .letter-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-story .letter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.logo-story .letter-card .letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
}

.logo-story .letter-card .meaning {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   HERO (Início)
   ============================================================ */
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  background: var(--grad-navy);
  box-shadow: var(--shadow-lg);
  margin-bottom: 44px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroZoom 8s ease-out forwards;
  opacity: 0.55;
}

.hero-slide.active img { animation: heroZoom 8s ease-out forwards; }

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 15, 30, 0.25) 0%, rgba(6, 15, 30, 0.78) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px;
  text-align: center;
}

.hero-tagline {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  font-weight: 700;
  max-width: 640px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.9s ease both;
}

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dots button:hover { transform: scale(1.25); }

.hero-dots button.active { background: var(--cyan); }

/* ============================================================
   BANDA DE ESTATÍSTICAS (Início)
   ============================================================ */
.stats-band {
  position: relative;
  background: var(--grad-navy);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 42px) 24px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* brilho decorativo de fundo */
.stats-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 255, 255, 0.16), transparent 65%);
  top: -180px;
  right: -120px;
  pointer-events: none;
}

.stats-band::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14), transparent 65%);
  bottom: -160px;
  left: -100px;
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 8px 6px;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.3rem);
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 34px rgba(1, 255, 255, 0.35);
  font-variant-numeric: tabular-nums;
}

.stat-sufixo {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.45);
}

.stat-label {
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.stat-item:hover .stat-number {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 14px;
  }
}

/* ============================================================
   SEÇÃO / EQUIPE
   ============================================================ */
.section-title {
  text-align: center;
  margin: 0 0 30px;
}

.section-title .kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 6px 0 0;
}

.section-title .divider {
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-cyan);
  margin: 14px auto 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 8px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-900);
  filter: grayscale(1);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.team-card:hover .team-photo { filter: grayscale(0); transform: scale(1.04); }

.team-photo-wrap { overflow: hidden; }

.team-name {
  padding: 16px 18px 18px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy-900);
}

.team-name::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  margin: 10px auto 0;
  transition: width 0.3s ease;
}

.team-card:hover .team-name::after { width: 52px; }

/* ============================================================
   PROJETOS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.project-card:hover > img { transform: scale(1.07); opacity: 1; }

.project-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(6, 15, 30, 0) 0%, rgba(6, 15, 30, 0.88) 70%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.project-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 0.98rem;
}

.project-card-count {
  font-size: 0.72rem;
  color: var(--cyan);
  background: rgba(1, 255, 255, 0.12);
  border: 1px solid rgba(1, 255, 255, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.project-card-open {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-card-open { opacity: 1; transform: translateY(0); }

/* ============================================================
   CLIPPING (certificados)
   ============================================================ */
.clipping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}

.clip-card {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clip-card:hover {
  transform: translateY(-5px) rotate(0.4deg);
  box-shadow: var(--shadow-md);
}

.clip-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.clip-card:hover img { transform: scale(1.06); }

.clip-card::after {
  content: "🔍 Ampliar";
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 0 10px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(180deg, rgba(6, 15, 30, 0) 0%, rgba(6, 15, 30, 0.85) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.clip-card:hover::after { opacity: 1; }

/* ============================================================
   FORMULÁRIO DE CONTATO
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}

.form-field label .req { color: var(--cyan-dark); }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan-dark);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(1, 255, 255, 0.18);
}

.form-field .hint { font-size: 0.75rem; color: var(--muted); margin-top: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 13px 30px;
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--grad-cyan);
  box-shadow: 0 6px 18px rgba(0, 168, 168, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 10px 26px rgba(0, 168, 168, 0.45); }

.btn:active { transform: translateY(0); }

/* Cartão lateral de contato */
.contact-card {
  background: var(--grad-navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.contact-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card .contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.contact-card .contact-line .ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: rgba(1, 255, 255, 0.14);
  border: 1px solid rgba(1, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-card a { color: var(--cyan); }
.contact-card a:hover { text-decoration: underline; }

.contact-card .contact-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 34px 0;
  font-size: 0.85rem;
}

.site-footer .footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 8px;
}

.site-footer .footer-brand span { color: var(--gold); }

.site-footer a { color: var(--cyan); }
.site-footer a:hover { text-decoration: underline; }

.site-footer .sep { margin: 0 8px; opacity: 0.4; }

/* ============================================================
   LIGHTBOX (Colorbox) — visual moderno
   ============================================================ */
#cboxOverlay { background: rgba(6, 15, 30, 0.92); opacity: 1 !important; }

#cboxContent { position: relative !important; background: transparent !important; margin-top: 0 !important; border-radius: 14px; overflow: hidden; }

#cboxLoadedContent { border: none !important; background: transparent !important; border-radius: 0 !important; max-width: 96vw; max-height: 88vh; }

#cboxLoadedContent img { border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); max-width: 100% !important; height: auto !important; }

/* Legenda sobreposta na parte inferior da foto */
#cboxTitle {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  padding: 40px 18px 16px;
  margin: 0 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.82) 100%);
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  max-height: 52%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 14px 14px;
}

/* Contador de imagens — chip no canto superior esquerdo */
#cboxCurrent {
  position: absolute !important;
  top: 10px !important;
  left: 12px !important;
  margin: 0 !important;
  color: var(--cyan) !important;
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  background: rgba(6, 15, 30, 0.6);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Botão de apresentação — abaixo do contador */
#cboxSlideshow {
  position: absolute !important;
  top: 50px !important;
  left: 12px !important;
  margin: 0 !important;
  color: var(--cyan) !important;
  background: rgba(6, 15, 30, 0.6) !important;
  border: none !important;
  border-radius: 999px;
  padding: 4px 12px !important;
  font-family: var(--font-body);
  font-size: 0.75rem;
}

#cboxPrevious, #cboxNext {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  top: 50% !important;
  text-indent: 0 !important;
  font-size: 1.3rem;
  color: var(--white);
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

#cboxPrevious { left: 8px !important; }
#cboxNext { right: 8px !important; }

#cboxPrevious:hover, #cboxNext:hover { background: var(--cyan) !important; transform: scale(1.08); }

#cboxClose {
  top: 14px !important;
  right: 14px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: var(--white);
  font-size: 1.3rem;
  text-indent: 0 !important;
  line-height: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

#cboxClose:hover { background: var(--gold) !important; transform: scale(1.1); }

/* ============================================================
   ABERTURA (index.php)
   ============================================================ */
.intro-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(1, 255, 255, 0.14), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(201, 162, 39, 0.16), transparent 55%),
    var(--grad-navy);
  position: relative;
  overflow: hidden;
  padding: 30px 20px;
}

.intro-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(600px 400px at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(600px 400px at 50% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}

.intro-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  width: 100%;
  animation: introIn 1s ease both;
}

@keyframes introIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.intro-logo {
  width: min(320px, 60vw);
  margin: 0 auto;
  animation: logoDrop 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes logoDrop {
  0%   { opacity: 0; transform: translateY(-46px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-parts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 34px auto 0;
  animation: fadeUp 1s 0.7s ease both;
}

.intro-parts img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.intro-parts .amp {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
}

.intro-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 26px;
  animation: fadeUp 1s 1s ease both;
}

.intro-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 38px;
  padding: 15px 46px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--grad-cyan);
  box-shadow: 0 0 0 0 rgba(1, 255, 255, 0.55);
  animation: fadeUp 1s 1.3s ease both, pulse 2.4s 2.2s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(1, 255, 255, 0.5); }
  50%      { box-shadow: 0 0 0 16px rgba(1, 255, 255, 0); }
}

.intro-enter:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 18px 40px rgba(1, 255, 255, 0.35);
}

.intro-enter .arrow { font-size: 1.15rem; transition: transform 0.25s ease; }
.intro-enter:hover .arrow { transform: translateX(5px); }

.intro-hint {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: hintFloat 3s ease-in-out infinite;
}

@keyframes hintFloat {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-5px); }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .site-main { padding-top: 24px; }
}

@media (max-width: 860px) {
  /* Menu mobile */
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 14px 20px 18px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-link {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .menu-link.active { background: var(--grad-navy); }

  .sound-toggle { margin: 10px 0 0; align-self: flex-start; }

  .contact-wrap { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 560px) {
  .content-card { padding: 18px; border-radius: 12px; }

  .contact-form .form-row { grid-template-columns: 1fr; }

  .hero { min-height: 300px; }

  .brand { font-size: 0.9rem; }

  .brand img { width: 38px; height: 38px; }

  .intro-parts { flex-wrap: wrap; gap: 10px; }
  .intro-parts img { height: 26px; }
  .intro-enter { padding: 14px 34px; font-size: 0.92rem; }
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  animation: whatsPulse 2.4s ease-in-out infinite;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  fill: currentColor;
}

.whatsapp-float .wa-text { white-space: nowrap; }

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  background: #1fb959;
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.55);
}

@keyframes whatsPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45), 0 10px 28px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 10px 28px rgba(37, 211, 102, 0.45);
  }
}

@media (max-width: 560px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 14px;
  }
  .whatsapp-float .wa-text { display: none; }
}

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--cyan-dark);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
