/* ============================================
   MARIO EXPRESS - STYLES
   Clean, accessible, and optimized for performance
   ============================================ */

/* RESET & ROOT */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #003D82;
  --navy2: #002952;
  --gold: #D4A547;
  --gold2: #E3B83A;
  --white: #FFFFFF;
  --offwhite: #F5F6FA;
  --gray: #6B7280;
  --gray-dark: #374151;
  --light: #E8ECF8;
  --error: #dc2626;
  --success: #25D366;
  --radius: 10px;
  --text-main: #1a1a2e;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* FOCUS STYLES - Accessibility Priority */
:focus-visible {
  outline: 3px solid var(--gold2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* SKIP LINK - Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header[role="banner"] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(0, 61, 130, 0.99) 0%, rgba(0, 41, 82, 0.99) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: 68px;
  border-bottom: 1.5px solid rgba(212, 165, 71, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  transition: filter 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.nav-logo:hover {
  filter: drop-shadow(0 4px 12px rgba(212, 165, 71, 0.3));
}

.nav-logo span {
  color: var(--gold2);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav ul a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  transition: color var(--transition), text-shadow 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold2) 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}}

nav ul a:hover::after,
nav ul a[aria-current="page"]::after {
  width: 100%;
}

nav ul a:hover,
nav ul a[aria-current="page"] {
  color: var(--gold2);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: var(--navy);
  padding: 0.6rem 1.6rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(212, 165, 71, 0.32), 0 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.3px;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold2) 0%, #f4c644 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(212, 165, 71, 0.45), 0 4px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05);
}

.nav-cta:active {
  transform: translateY(0);
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.3rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  display: block;
  transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a2e6b 0%, #003d82 25%, #001f4d 60%, #0a1c40 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4vw;
  padding: 110px 6vw 60px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(212, 165, 71, 0.16) 0%,
    rgba(212, 165, 71, 0.04) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  background: linear-gradient(135deg, var(--gold) 0%, rgba(212, 165, 71, 0.8) 100%);
  pointer-events: none;
  filter: blur(0.5px);
}

.hs1 {
  width: 420px;
  height: 420px;
  top: -80px;
  right: 10%;
}

.hs2 {
  width: 200px;
  height: 200px;
  bottom: 40px;
  right: 180px;
}

.hs3 {
  width: 100px;
  height: 100px;
  top: 140px;
  left: 3%;
}

.hero-content {
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.hero-logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(212, 165, 71, 0.25)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.hero-image:hover .hero-logo {
  transform: scale(1.05);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(212, 165, 71, 0.15) 0%, rgba(227, 184, 58, 0.12) 100%);
  border: 1.5px solid rgba(212, 165, 71, 0.5);
  color: var(--gold2);
  border-radius: 30px;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 165, 71, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.hero-badge:hover {
  background: linear-gradient(135deg, rgba(212, 165, 71, 0.22) 0%, rgba(227, 184, 58, 0.18) 100%);
  border-color: rgba(212, 165, 71, 0.65);
  box-shadow: 0 6px 16px rgba(212, 165, 71, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 em {
  color: var(--gold2);
  font-style: normal;
}

.hero-sub {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 400;
  max-width: 520px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

/* BUTTONS - Reusable */
.btn-primary,
.btn-outline,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  font-family: inherit;
  text-decoration: none;
  border-radius: 8px;
  transition: background var(--transition), border-color var(--transition), transform 0.15s;
  cursor: pointer;
  border: none;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(212, 165, 71, 0.35);
}

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

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 0.85rem 2rem;
  background: transparent;
  font-weight: 700;
}

.btn-outline:hover {
  border-color: var(--gold2);
  background: rgba(212, 165, 71, 0.12);
  transform: translateY(-3px);
}

/* HERO STATS */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold2);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 0.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 90px 6vw;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.3px;
}

h2 span {
  color: var(--gold);
}

.section-desc {
  margin-top: 0.9rem;
  color: var(--gray);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 580px;
}

/* ============================================
   SOBRE SECTION
   ============================================ */

#sobre {
  background: var(--offwhite);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  margin-top: 3rem;
}

.sobre-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #00466b 100%);
  border-radius: 16px;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 61, 130, 0.2);
}

.sobre-visual::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(212, 165, 71, 0.15);
}

.sobre-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.sobre-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sobre-highlight h3 {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  margin: 0 0 0.3rem 0;
}

.sobre-highlight p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.sobre-text p {
  color: var(--gray);
  line-height: 1.82;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.sobre-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SERVIÇOS SECTION
   ============================================ */

#servicos {
  background: var(--white);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

article.card {
  border: 1.5px solid var(--light);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

article.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold2) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

article.card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 48px rgba(0, 61, 130, 0.1);
  transform: translateY(-6px);
}

article.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--offwhite) 0%, var(--light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

article.card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  margin: 0 0 0.6rem 0;
}

article.card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.68;
  margin: 0;
}

/* ============================================
   ANUÊNCIA SECTION
   ============================================ */

#anuencia {
  background: linear-gradient(135deg, var(--navy) 0%, #00466b 100%);
}

#anuencia h2 {
  color: var(--white);
}

#anuencia .section-desc {
  color: rgba(255, 255, 255, 0.62);
}

.anuencia-badges {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.badge-organ {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(212, 165, 71, 0.35);
  border-radius: 12px;
  padding: 1.6rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}

.badge-organ:hover {
  background: rgba(201, 162, 39, 0.12);
}

.badge-organ .icon {
  font-size: 2rem;
}

.badge-organ h3 {
  color: var(--gold2);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
}

.badge-organ p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  margin: 0;
}

/* ============================================
   PROCESSO SECTION
   ============================================ */

#processo {
  background: var(--offwhite);
}

.processo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold2);
  flex-shrink: 0;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.step p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */

#faq {
  background: var(--white);
}

.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
}

details {
  border: 1.5px solid var(--light);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  background: var(--offwhite);
  transition: border-color var(--transition);
}

details[open] {
  border-color: var(--gold);
}

summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.25s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 0.8rem;
  color: var(--gray);
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 0.8rem 0 0 0;
}

/* ============================================
   CONTATO SECTION
   ============================================ */

#contato {
  background: var(--offwhite);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5vw;
  align-items: start;
  margin-top: 3rem;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item h3 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  margin: 0 0 0.2rem 0;
}

.info-item a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.info-item a:hover {
  color: var(--gold);
}

.info-item p {
  color: var(--gray);
  font-size: 0.92rem;
  margin: 0;
}

address {
  font-style: normal;
}

/* FORM STYLES */
.form-box {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem;
  border: 1.5px solid var(--light);
}

.form-box h2 {
  font-size: 1.7rem;
  margin-bottom: 1.6rem;
  margin: 0 0 1.6rem 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  display: none;
}

.field-error.visible {
  display: block;
}

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
}

.btn-submit:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--navy);
}

.form-success .check {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin: 0 0 0.5rem 0;
}

.form-success p {
  color: var(--gray);
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 2.5rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.footer-logo span {
  color: var(--gold2);
}

footer p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold2);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* RESPECT PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

#mobileNav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  overflow: hidden;
}

#mobileNav.open {
  display: flex;
}

#mobileNav a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  transition: color var(--transition);
}

#mobileNav a:hover {
  color: var(--gold2);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 6vw;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform var(--transition);
}

.wa-float:hover {
  transform: scale(1.1);
}

.wa-float:active {
  transform: scale(1);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  section {
    padding: 70px 5vw;
  }

  header[role="banner"] {
    padding: 0.8rem 5vw;
  }

  #hero {
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
    padding: 100px 5vw 60px;
  }

  .sobre-grid,
  .contato-grid {
    gap: 3vw;
  }
}

@media (max-width: 820px) {
  /* Hero adjustments */
  #hero {
    grid-template-columns: 1fr;
    padding: 90px 4vw 50px;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .hero-logo {
    max-width: 80%;
  }

  /* Hide desktop nav */
  nav ul,
  .nav-cta {
    display: none !important;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* Stack grids */
  .sobre-grid,
  .contato-grid,
  .servicos-grid {
    grid-template-columns: 1fr;
  }

  /* Form adjustments */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Stats layout */
  .hero-stats {
    gap: 1.5rem;
  }

  /* Footer adjustments */
  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Reduce padding */
  section {
    padding: 60px 4vw;
  }

  #hero {
    padding: 90px 4vw 40px;
  }

  /* WhatsApp button position */
  .wa-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }

  .wa-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    font-size: 15px;
  }

  section {
    padding: 50px 3vw;
  }

  #hero {
    padding: 80px 3vw 30px;
    grid-template-columns: 1fr;
  }

  .hero-image {
    margin-top: 1.5rem;
  }

  .hero-logo {
    max-width: 70%;
  }

  header {
    padding: 0 3vw;
    height: 64px;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .anuencia-badges {
    gap: 0.8rem;
  }

  .badge-organ {
    padding: 1rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .badge-organ .icon {
    font-size: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 1.2rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .processo-steps {
    grid-template-columns: 1fr;
  }

  .form-box {
    padding: 1.5rem;
  }

  .hs1,
  .hs2,
  .hs3 {
    opacity: 0.03;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  body {
    background: white;
  }

  header,
  footer,
  .scroll-hint,
  .wa-float,
  #mobileNav {
    display: none;
  }

  a {
    text-decoration: underline;
  }

  section {
    page-break-inside: avoid;
  }
}
