/* ==========================================================================
   Dr. Marlon Maragno Bueno - Modern Odontology Website Styles
   Design System: Logo Blue Palette (Exact 6% Darker: #164382 / #0E2950)
   ========================================================================== */

:root {
  /* Material Design 3 Semantic Color Tokens (Tonal Palette) */
  --md-sys-color-primary: #164382;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #eef2f7;
  --md-sys-color-on-primary-container: #0e2950;
  --md-sys-color-secondary: #1c53a0;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #dce6f5;
  --md-sys-color-on-secondary-container: #0e2950;
  --md-sys-color-tertiary: #d4af37;
  --md-sys-color-on-tertiary: #0e2950;
  --md-sys-color-tertiary-container: #f9f1d8;
  --md-sys-color-on-tertiary-container: #3a2e05;
  --md-sys-color-surface: #f8fafc;
  --md-sys-color-surface-bright: #ffffff;
  --md-sys-color-surface-container-lowest: #ffffff;
  --md-sys-color-surface-container-low: #f4f7fb;
  --md-sys-color-surface-container: #eef2f7;
  --md-sys-color-surface-container-high: #e5ebf3;
  --md-sys-color-surface-container-highest: #dce4ef;
  --md-sys-color-inverse-surface: #0d2549;
  --md-sys-color-inverse-on-surface: #f1f5f9;
  --md-sys-color-on-surface: #0e2950;
  --md-sys-color-on-surface-variant: #475569;
  --md-sys-color-outline: #64748b;
  --md-sys-color-outline-variant: #e2e8f0;

  /* Material Design 3 Typography Scale Tokens */
  --md-sys-typescale-display-large-size: clamp(2.3rem, 4.2vw, 3.4rem);
  --md-sys-typescale-headline-large-size: clamp(1.85rem, 3.5vw, 2.4rem);
  --md-sys-typescale-headline-medium-size: clamp(1.7rem, 3vw, 2.2rem);
  --md-sys-typescale-title-large-size: clamp(1.25rem, 2.2vw, 1.5rem);
  --md-sys-typescale-body-large-size: 1.05rem;
  --md-sys-typescale-body-medium-size: 0.95rem;
  --md-sys-typescale-label-large-size: 0.9rem;

  /* Material Design 3 Shape & Elevation Levels (0-5) */
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-extra-large: 24px;
  --md-sys-shape-corner-full: 9999px;

  --md-sys-elevation-1: 0 2px 8px rgba(14, 41, 80, 0.05), 0 1px 2px rgba(14, 41, 80, 0.04);
  --md-sys-elevation-2: 0 6px 18px rgba(22, 67, 130, 0.08), 0 2px 6px rgba(14, 41, 80, 0.04);
  --md-sys-elevation-3: 0 10px 26px rgba(22, 67, 130, 0.11), 0 4px 10px rgba(14, 41, 80, 0.05);
  --md-sys-elevation-4: 0 16px 40px rgba(22, 67, 130, 0.16);
  --md-sys-elevation-gold: 0 8px 24px rgba(212, 175, 55, 0.26);

  /* Material Design 3 Motion Physics */
  --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-emphasized: cubic-bezier(0.16, 1, 0.3, 1);

  /* Brand Aliases Mapped to M3 System */
  --primary-dark: var(--md-sys-color-on-surface);
  --primary-navy: var(--md-sys-color-primary);
  --primary-blue: var(--md-sys-color-secondary);
  --accent-cyan: #2d6cc0;
  --accent-gold: var(--md-sys-color-tertiary);
  --accent-gold-hover: #c5a059;
  --accent-gold-bright: #e6c35c;
  --surface-deep-navy: #081c38;
  --surface-footer: var(--md-sys-color-inverse-surface);
  --text-body-slate: #334155;

  /* Neutral Colors */
  --bg-light: var(--md-sys-color-surface);
  --bg-card: var(--md-sys-color-surface-container-lowest);
  --text-dark: var(--md-sys-color-on-surface);
  --text-muted: var(--md-sys-color-on-surface-variant);
  --text-light: var(--md-sys-color-outline);
  --border-light: var(--md-sys-color-outline-variant);

  /* Status & Accents */
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20ba5a;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Effects */
  --shadow-sm: var(--md-sys-elevation-1);
  --shadow-md: var(--md-sys-elevation-3);
  --shadow-lg: var(--md-sys-elevation-4);
  --shadow-gold: var(--md-sys-elevation-gold);

  --radius-sm: var(--md-sys-shape-corner-small);
  --radius-md: var(--md-sys-shape-corner-large);
  --radius-lg: var(--md-sys-shape-corner-extra-large);
  --radius-full: var(--md-sys-shape-corner-full);

  --transition: all 0.3s var(--md-sys-motion-easing-standard);
}

/* Base Reset Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-size: 16px;
}

section[id] {
  scroll-margin-top: 88px;
}

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

/* Skip to Main Content Link (WCAG 2.1 AA) */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 3000;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  font-family: var(--font-body);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

button, input, textarea, select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

/* Logo da Navbar (Sem quadrado branco em volta) */
.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0;
  transition: var(--transition);
}

.navbar-logo img {
  height: 66px; /* Aumentado em 10% adicional */
  width: auto;
  max-width: 245px;
  object-fit: contain;
  display: block;
}

.navbar-logo:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary-navy);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 28, 56, 0.89) 0%, rgba(22, 67, 130, 0.84) 55%, rgba(27, 79, 153, 0.87) 100%);
  color: white;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../imagens/fundo-hero.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  opacity: 0.28; /* Imagem significativamente mais aparente e nítida */
  mix-blend-mode: overlay;
  filter: contrast(1.15) brightness(1.05);
  pointer-events: none;
  z-index: 1;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.shape-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 83, 160, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
}

.shape-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge,
.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-gold-bright);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #ffffff;
  font-size: var(--md-sys-typescale-display-large-size);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero-title span,
.highlight-gold {
  color: var(--accent-gold-bright);
  position: relative;
  text-shadow: 0 2px 14px rgba(212, 175, 55, 0.28);
}

.hero-subtitle {
  font-size: clamp(1.08rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 1.25rem;
  max-width: 58ch;
  font-weight: 600;
  line-height: 1.5;
}

.hero-support-text {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 2.25rem;
  max-width: 62ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}


.hero-comparison-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(14, 41, 80, 0.9);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--primary-dark);
  font-weight: 700;
  min-height: 52px;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, #e5be48, #d4af37);
}

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

.btn-primary i,
.btn-nav-cta i,
.btn-secondary-outline i,
.btn-submit i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover i,
.btn-nav-cta:hover i,
.btn-submit:hover i {
  transform: translateX(4px);
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-weight: 600;
  min-height: 52px;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-3px);
}

.btn-secondary-outline:active {
  transform: translateY(0) scale(0.98);
}

.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 2.25rem;
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}

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

.stat-item .number {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  white-space: nowrap;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.stat-item .label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  margin-top: 0.2rem;
}

.hero-card-image {
  position: relative;
}

.hero-card-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
  width: 100%;
  max-height: 520px;
}

.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 290px;
  animation: floatAnim 4s ease-in-out infinite;
  transition: opacity 0.4s var(--md-sys-motion-easing-emphasized), transform 0.4s var(--md-sys-motion-easing-emphasized);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.hero-float-card.fade-out {
  opacity: 0;
  transform: translateY(12px);
}

.hero-float-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.hero-float-card .text-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-float-card .text-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-navy);
  background: var(--md-sys-color-primary-container);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: var(--md-sys-typescale-headline-large-size);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--md-sys-typescale-body-large-size);
  color: var(--text-muted);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
  padding: 6rem 0;
  background: var(--md-sys-color-surface-bright);
}

.about-header-box {
  max-width: 100%;
  margin-bottom: 2.75rem;
}

.about-title {
  font-size: var(--md-sys-typescale-headline-medium-size);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.about-bottom-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

.about-qualifications-wrapper {
  display: flex;
  flex-direction: column;
}

.qualifications-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.9rem;
  margin: 1.25rem 0;
  max-width: 100%;
}

.qual-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  min-width: 0;
}

.qual-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 67, 130, 0.15);
}

.qual-item i {
  color: var(--primary-navy);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.qual-item .title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-dark);
  display: block;
  line-height: 1.25;
}

.qual-item .sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 0.15rem;
  display: block;
}

.about-quote {
  border-left: 3px solid var(--accent-gold);
  background: rgba(22, 67, 130, 0.04);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.about-text-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 68ch;
  margin-bottom: 1.75rem;
}

.qual-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 1.75rem 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.qual-section-title i {
  color: var(--accent-gold);
}

.about-action-btn {
  margin-top: 2rem;
}

/* ==========================================================================
   Tela 2: Barra de Diferenciais Clínicos (4 Colunas)
   ========================================================================== */

.differentials-bar-section {
  padding: 5.5rem 0;
  background: white;
  position: relative;
}

.differentials-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.diff-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.4rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.diff-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(22, 67, 130, 0.1);
}

.diff-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(22, 67, 130, 0.18);
  transition: var(--transition);
}

.diff-card:hover .diff-icon-wrap {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, var(--primary-navy), var(--accent-cyan));
  color: var(--accent-gold-bright);
}

.diff-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
}

.diff-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Tela 4: Como Funciona o Tratamento (Passo a Passo em 4 Etapas)
   ========================================================================== */

.how-it-works-section {
  padding: 6rem 0;
  background: var(--bg-light);
  position: relative;
}

.steps-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-bottom: 3.5rem;
}

.step-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.75rem 1.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.step-number-badge {
  position: absolute;
  top: -16px;
  left: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.step-icon {
  font-size: 1.8rem;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.how-it-works-cta {
  text-align: center;
}

/* ==========================================================================
   Tela 6: Dúvidas Frequentes (FAQ Acordeão Interativo)
   ========================================================================== */

.faq-section {
  padding: 6rem 0;
  background: white;
}

.faq-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.faq-group-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(22, 67, 130, 0.08);
}

.faq-group-label i {
  color: var(--accent-gold);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  background: white;
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 4px 18px rgba(22, 67, 130, 0.08);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-heading);
}

.faq-question {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-dark);
  transition: var(--transition);
}

.faq-item.active .faq-question {
  color: var(--primary-blue);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(22, 67, 130, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  font-size: 0.8rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  pointer-events: none;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-content {
  max-height: 500px;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid rgba(22, 67, 130, 0.05);
  margin-top: 0.25rem;
  padding-top: 1rem;
}

.faq-help-card {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #0e2950, #164382);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.faq-help-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.faq-help-info i {
  font-size: 2.2rem;
  color: #25d366;
}

.faq-help-info h4 {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 0.25rem;
}

.faq-help-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   Tela 7: Estrutura do Consultório & Comodidades (4 Colunas)
   ========================================================================== */

.structure-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.struct-highlight-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.struct-highlight-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.struct-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(22, 67, 130, 0.08);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.struct-highlight-card:hover .struct-icon {
  background: var(--primary-navy);
  color: var(--accent-gold);
}

.struct-highlight-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.struct-highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .about-bottom-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .differentials-grid,
  .structure-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.35rem;
  }
}

@media (max-width: 640px) {
  .differentials-grid,
  .structure-highlights-grid {
    grid-template-columns: 1fr;
  }

  .steps-timeline-grid {
    grid-template-columns: 1fr;
    row-gap: 2.25rem;
  }

  .faq-help-card,
  .faq-help-info {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Before & After Section (Lentes em Resina)
   ========================================================================== */

.before-after-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(8, 28, 56, 0.89) 0%, rgba(22, 67, 130, 0.84) 55%, rgba(27, 79, 153, 0.87) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.ba-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../imagens/fundo-antes-depois.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.28;
  mix-blend-mode: overlay;
  filter: contrast(1.15) brightness(1.05);
  pointer-events: none;
  z-index: 1;
}

.before-after-section .container {
  position: relative;
  z-index: 2;
}

.before-after-section .section-tag {
  color: var(--primary-navy);
  background: var(--md-sys-color-primary-container);
  border: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: none;
}

.before-after-section .section-title {
  color: white;
}

.before-after-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}

.ba-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.ba-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

/* Container do Slider Interativo (Foto com Controle de Puxar) */
.ba-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Proporção quadrada 1:1 perfeita */
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background: var(--surface-deep-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.ba-img-after {
  z-index: 1;
  opacity: 1 !important;
}

.ba-img-before {
  z-index: 2;
  opacity: 1 !important; /* 100% sólida, sem sobreposição fantasma */
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  will-change: clip-path;
  backface-visibility: hidden;
}

/* Linha Divisória e Puxador Interativo */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* Posicionado exatamente no meio da imagem */
  width: 3px;
  background: var(--accent-gold);
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.7);
  transition: left 0.08s linear;
  will-change: left;
  backface-visibility: hidden;
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--primary-dark);
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ba-slider-container:hover .ba-handle-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ffffff;
  color: var(--primary-navy);
}

/* Badges Interativos de Antes e Depois */
.ba-badge-tag {
  position: absolute;
  top: 14px;
  padding: 0.38rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  z-index: 8;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  outline: none;
  background: rgba(14, 41, 80, 0.92); /* Ambos em azul em 50% conforme solicitado */
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ba-badge-before {
  left: 14px;
}

.ba-badge-after {
  right: 14px;
}

/* Quando puxar para um lado, o lado ativo muda para a cor de destaque (amarelo dourado) */
.ba-badge-tag.active {
  background: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold-bright);
  font-weight: 800;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* Input Range Transparente com Controle Total em Toda a Área */
.ba-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.ba-slider-container:has(.ba-range-input:focus-visible) .ba-handle-btn {
  outline: 3px solid var(--accent-gold-bright);
  outline-offset: 3px;
  transform: translate(-50%, -50%) scale(1.12);
}

.ba-range-input:focus {
  outline: none;
}

/* Descrição Compacta e Focada */
.ba-content {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ba-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.ba-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ba-hint {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.62);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ba-case-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.ba-case-desc {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex: 1;
}

.ba-case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold-bright);
  transition: var(--transition);
}

.ba-case-link:hover {
  color: white;
  gap: 0.65rem;
}

/* Banner de Chamada Rápida */
.ba-banner-cta {
  background: linear-gradient(135deg, rgba(22, 67, 130, 0.55) 0%, rgba(14, 41, 80, 0.85) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.ba-banner-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ba-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.ba-banner-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.35rem;
}

.ba-banner-info p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

@media (max-width: 992px) {
  .ba-banner-cta {
    flex-direction: column;
    text-align: center;
  }

  .ba-banner-info {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Contact & Location Section
   ========================================================================== */

.contact-section {
  padding: 6rem 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-box {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.contact-info-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(22, 67, 130, 0.1);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.info-details p, .info-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-form-wrapper h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-light);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23164382' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}

.form-control:hover {
  border-color: rgba(22, 67, 130, 0.35);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-navy);
  background: white;
  box-shadow: 0 0 0 4px rgba(22, 67, 130, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  width: 100%;
  min-height: 52px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.form-trust-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.form-trust-seal i {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

/* Map Embed Wrapper (Full Width) */
.map-wrapper {
  margin-top: 5rem;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--surface-footer);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col p {
  line-height: 1.7;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.webink-credit {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.webink-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.3rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.webink-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  transform: translateY(4px);
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 1000;
}

.webink-badge::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  right: 14px;
  transform: translateY(4px);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: rgba(10, 25, 47, 0.92) transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 1001;
}

.webink-badge:hover::after,
.webink-badge:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.webink-logo-img {
  height: 19px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: var(--transition);
  opacity: 0.85;
}

.webink-badge:hover .webink-logo-img {
  opacity: 1;
  transform: translateY(-1px);
}

/* ==========================================================================
   Floating Action Buttons: WhatsApp (Left) & Back to Top (Right)
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  background: var(--whatsapp-green);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  will-change: transform;
  backface-visibility: hidden;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp-green);
  z-index: -1;
  animation: pulseWhatsapp 2.4s var(--md-sys-motion-easing-standard) infinite;
  will-change: transform, opacity;
  pointer-events: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--whatsapp-hover);
  color: white;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background: var(--primary-dark);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.45);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(14, 41, 80, 0.3);
  transition: opacity 0.35s var(--md-sys-motion-easing-emphasized), transform 0.35s var(--md-sys-motion-easing-emphasized), background 0.25s ease, color 0.25s ease;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 20px, 0);
  will-change: transform, opacity;
  backface-visibility: hidden;
  cursor: pointer;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.back-to-top:hover {
  background: var(--primary-navy);
  color: white;
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 12px 28px rgba(22, 67, 130, 0.4);
  border-color: var(--accent-gold);
}

@keyframes pulseWhatsapp {
  0% { transform: scale(1); opacity: 0.55; }
  75% { transform: scale(1.52); opacity: 0; }
  100% { transform: scale(1.52); opacity: 0; }
}



.form-status-box {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}

.form-whatsapp-fallback {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .navbar-logo img {
    height: 50px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--md-sys-motion-easing-emphasized), opacity 0.25s ease, visibility 0.35s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-float-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin: -30px auto 0;
    width: calc(100% - 20px);
    max-width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .stat-item:last-child {
    grid-column: 1 / -1;
  }

  .qualifications-list {
    grid-template-columns: 1fr;
  }

  .contact-info-box,
  .contact-form-wrapper {
    padding: 1.65rem 1.25rem;
  }

  .form-control {
    font-size: 1rem; /* Evita auto-zoom no iOS Safari */
  }

  .cookie-consent-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .btn-cookie-accept,
  .btn-cookie-reject {
    flex: 1;
    min-height: 48px;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .container {
    padding: 0 1.15rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: 18px;
    left: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
  }

  .back-to-top {
    bottom: 18px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
}

/* ==========================================================================
   Cookie Consent (LGPD) Popup Styles
   ========================================================================== */

.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate3d(-50%, calc(100% + 48px), 0);
  width: calc(100% - 32px);
  max-width: 900px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(22, 67, 130, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.75rem;
  z-index: 1999;
  transition: transform 0.6s var(--md-sys-motion-easing-emphasized), opacity 0.5s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.cookie-consent-banner.active {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
  pointer-events: all;
}

.cookie-consent-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cookie-icon {
  font-size: 1.75rem;
  color: var(--accent-gold);
  flex-shrink: 0;
  animation: floatCookie 3s ease-in-out infinite;
}

.cookie-text {
  color: var(--text-dark);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 500;
}

.cookie-link {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 700;
}

.cookie-link:hover {
  color: var(--accent-gold);
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cookie-reject:hover {
  background: rgba(226, 232, 240, 0.4);
  color: var(--text-dark);
}

@keyframes floatCookie {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 1.25rem;
  }
  
  .cookie-consent-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  
  .cookie-consent-content {
    align-items: flex-start;
  }
  
  .cookie-consent-actions {
    justify-content: flex-end;
    width: 100%;
  }

  .btn-cookie-accept, .btn-cookie-reject {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   Privacy Policy Page Styles
   ========================================================================== */

.privacy-hero {
  background: linear-gradient(135deg, rgba(8, 28, 56, 0.96) 0%, rgba(22, 67, 130, 0.94) 100%);
  color: white;
  padding: 7.5rem 0 3.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.12), transparent 60%);
  pointer-events: none;
}

.privacy-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  text-align: left;
}

.privacy-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0;
  text-align: left;
  line-height: 1.6;
}

.privacy-body-section {
  padding: 3.5rem 0 5.5rem;
  background-color: #ffffff;
}

.privacy-container-narrow {
  max-width: 960px;
  margin: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  text-align: left;
}

.privacy-content {
  text-align: left;
}

.privacy-content h2 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(22, 67, 130, 0.1);
  padding-bottom: 0.5rem;
  text-align: left;
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content p {
  color: var(--text-body-slate);
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-size: 1.02rem;
  text-align: left;
}

.privacy-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0;
  text-align: left;
}

.privacy-content li {
  margin-bottom: 0.75rem;
  color: var(--text-body-slate);
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.7;
  font-size: 1.02rem;
  text-align: left;
}

.privacy-content li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--accent-gold);
  font-size: 0.85rem;
}

.privacy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-top: 3rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  width: 100%;
}

.privacy-back-link:hover {
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 6.5rem 0 2.5rem;
  }

  .privacy-hero h1 {
    font-size: 2.1rem;
  }

  .privacy-container-narrow {
    padding: 0;
  }
}

/* ==========================================================================
   Smooth Scroll Reveal Animations
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   404 Error Recovery Page Styles
   ========================================================================== */

.error-hero {
  background: linear-gradient(135deg, #081c38 0%, #0e2950 55%, #164382 100%);
  color: #ffffff;
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.error-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(28, 83, 160, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.14) 0%, transparent 55%);
  pointer-events: none;
}

.error-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-code-display {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 11vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(230, 195, 92, 0.95) 0%, rgba(212, 175, 55, 0.28) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  user-select: none;
}

.error-hero-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.error-hero-title span {
  color: var(--accent-gold-bright);
}

.error-hero-description {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.error-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.error-recovery-section {
  padding: 4.5rem 0 5.5rem;
  background-color: var(--bg-light);
}

.error-recovery-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.75rem;
}

.error-recovery-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-navy);
  background: rgba(22, 67, 130, 0.08);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.error-recovery-header h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.error-recovery-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.error-recovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.error-recovery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  transition: transform 0.3s var(--md-sys-motion-easing-emphasized), box-shadow 0.3s var(--md-sys-motion-easing-emphasized), border-color 0.3s ease;
}

.error-recovery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.55);
}

.error-recovery-card:active {
  transform: translateY(0) scale(0.99);
}

.error-recovery-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--md-sys-color-primary-container);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.error-recovery-card:hover .error-recovery-icon {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--primary-dark);
}

.error-recovery-card h3 {
  font-size: 1.18rem;
  color: var(--primary-dark);
  margin-bottom: 0.55rem;
}

.error-recovery-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.error-recovery-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: color 0.25s ease;
}

.error-recovery-cta i {
  font-size: 0.82rem;
  transition: transform 0.3s var(--md-sys-motion-easing-emphasized);
}

.error-recovery-card:hover .error-recovery-cta {
  color: var(--accent-gold-hover);
}

.error-recovery-card:hover .error-recovery-cta i {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .error-recovery-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .error-hero {
    padding: 4rem 0 3.75rem;
  }

  .error-hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .error-hero-actions .btn-primary,
  .error-hero-actions .btn-secondary-outline {
    width: 100%;
  }

  .error-recovery-section {
    padding: 3.25rem 0 4rem;
  }

  .error-recovery-card {
    padding: 1.5rem 1.35rem;
  }
}
