/* ==========================================================================
   BRILHATI ODONTOLOGIA | MCG ODONTOLOGIA LTDA (CNPJ: 57.186.584/0001-59)
   Design System & Modern Styling
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #0f4c5c;
  --primary-dark: #0a2f39;
  --primary-light: #e8f4f6;
  --accent: #0d9488;
  --accent-light: #ccfbf1;
  --accent-hover: #0f766e;
  --gold: #c5a880;
  --gold-light: #faf5ee;
  
  /* Neutral Palette */
  --navy-900: #0b1325;
  --navy-800: #132238;
  --navy-700: #1e3a5f;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.16);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--slate-600);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Top bar with official company credentials for Meta verification */
.top-bar {
  background: var(--navy-900);
  color: var(--slate-400);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.top-bar-item a:hover {
  color: var(--white);
}

.legal-badge-pill {
  background: rgba(13, 148, 136, 0.15);
  color: #5eead4;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(94, 234, 212, 0.25);
}

/* Main Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

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

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.brand-icon svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  font-weight: 600;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-600);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

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

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

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-900);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #15616d 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 76, 92, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(15, 76, 92, 0.35);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #0b7285 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
}

.btn-outline:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--slate-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ==========================================================================
   Section Styling
   ========================================================================== */

section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-500);
  line-height: 1.6;
}

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

.hero {
  padding: 70px 0 90px;
  background: radial-gradient(circle at 80% 20%, rgba(204, 251, 241, 0.35) 0%, rgba(255, 255, 255, 1) 70%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent-hover);
  margin-bottom: 20px;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust-list {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-top-left {
  top: -20px;
  left: -20px;
}

.card-bottom-right {
  bottom: -20px;
  right: -20px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-content h4 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.card-content p {
  font-size: 0.775rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Official Credentials Strip (Vital for Meta BM Reviewers)
   ========================================================================== */

.credentials-strip {
  background: var(--navy-900);
  color: var(--white);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cred-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
}

.cred-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(13, 148, 136, 0.2);
  color: #5eead4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-icon svg {
  width: 20px;
  height: 20px;
}

.cred-text h5 {
  color: var(--slate-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 4px;
}

.cred-text p {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
}

.cred-text span {
  display: block;
  font-size: 0.785rem;
  color: var(--slate-400);
  font-weight: 400;
}

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

.about-section {
  background: var(--slate-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

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

.about-main-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: 25px;
  right: -25px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
  max-width: 260px;
}

.about-badge-card h4 {
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.about-badge-card p {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.about-content-col h2 {
  font-size: 2.35rem;
  margin-bottom: 20px;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--navy-800);
  font-weight: 500;
  margin-bottom: 18px;
}

.about-text-p {
  margin-bottom: 16px;
  color: var(--slate-600);
}

.company-highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-900);
}

.highlight-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   Services Section (Aligned with CNAE 8630-5/04: Atividade Odontológica)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--slate-200);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 22px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: var(--white);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--navy-900);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features {
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-feature-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--slate-600);
}

.service-feature-point svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* ==========================================================================
   Clinical Facility & Technology
   ========================================================================== */

.facility-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
}

.facility-banner {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.facility-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facility-content h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 18px;
}

.facility-content p {
  color: var(--slate-400);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.facility-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.f-point {
  display: flex;
  gap: 12px;
}

.f-point svg {
  width: 22px;
  height: 22px;
  color: #5eead4;
  flex-shrink: 0;
}

.f-point div h5 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.f-point div p {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: 0;
}

.facility-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--navy-800);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 24px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.client-meta h4 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.client-meta span {
  font-size: 0.775rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Contact & Location (Essential for Meta Review)
   ========================================================================== */

.contact-section {
  background: var(--slate-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contact-info-card > p {
  color: var(--slate-500);
  margin-bottom: 30px;
}

.contact-item-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-text h4 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--navy-900);
}

.contact-item-text p, .contact-item-text a {
  font-size: 0.9375rem;
  color: var(--slate-600);
}

.contact-item-text a:hover {
  color: var(--accent);
}

.legal-box-badge {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 16px;
  border-left: 4px solid var(--primary);
  margin-top: 30px;
}

.legal-box-badge h5 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.legal-box-badge p {
  font-size: 0.8125rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.contact-form-card > p {
  color: var(--slate-500);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: var(--font-main);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--navy-900);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.12);
}

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

.form-feedback {
  display: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.875rem;
}

.form-feedback.success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-privacy-note {
  font-size: 0.775rem;
  color: var(--slate-500);
  margin-top: 12px;
}

.form-privacy-note a {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   Map Embed Section
   ========================================================================== */

.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  border: 1px solid var(--slate-200);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Official Institutional Footer (CRITICAL FOR META AUDIT)
   ========================================================================== */

.site-footer {
  background: var(--navy-900);
  color: var(--slate-400);
  padding-top: 70px;
  font-size: 0.9rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-about p {
  line-height: 1.65;
  margin-bottom: 20px;
  font-size: 0.875rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: var(--slate-400);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: #5eead4;
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Legal Verification Box in Footer */
.footer-legal-bar {
  background: rgba(0, 0, 0, 0.35);
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal-content {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--slate-400);
}

.footer-legal-content strong {
  color: var(--white);
}

.legal-grid-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.legal-item-pill {
  font-size: 0.775rem;
}

.legal-item-pill span {
  color: var(--white);
  font-weight: 600;
}

/* Bottom Footer */
.footer-bottom {
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8125rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  font-size: 0.8125rem;
}

.footer-bottom-links a {
  color: var(--slate-400);
}

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

/* ==========================================================================
   WhatsApp Floating Widget
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #20ba5a;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
  transform: translateY(-3px) scale(1.02);
  color: var(--white);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ==========================================================================
   Cookie Consent Banner (Compliance LGPD / Meta)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 20px 0;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--slate-300);
  max-width: 820px;
}

.cookie-text a {
  color: #5eead4;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Institutional Pages (Sobre, Privacidade, Termos, Contato)
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0 70px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--slate-300);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.legal-content-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-card-box {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.legal-card-box h2 {
  font-size: 1.6rem;
  margin: 32px 0 14px;
  color: var(--navy-900);
  border-bottom: 2px solid var(--slate-100);
  padding-bottom: 8px;
}

.legal-card-box h2:first-of-type {
  margin-top: 0;
}

.legal-card-box h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: var(--navy-800);
}

.legal-card-box p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-card-box ul {
  margin: 12px 0 20px 24px;
  list-style: disc;
}

.legal-card-box ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.legal-table th, .legal-table td {
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  font-size: 0.875rem;
  text-align: left;
}

.legal-table th {
  background: var(--slate-100);
  color: var(--navy-900);
  font-weight: 700;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-main-img {
    height: 380px;
  }

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

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

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

  .facility-banner {
    grid-template-columns: 1fr;
  }

  .facility-content {
    padding: 40px 30px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-grid-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--slate-200);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

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

  .mobile-toggle {
    display: block;
  }

  .header-cta .btn {
    display: none;
  }

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

  .section-title {
    font-size: 1.85rem;
  }

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

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

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

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

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .legal-card-box {
    padding: 24px 18px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}
