/* ═══════════════════════════════════════════════════
   Dr. Breno Nogueira — Design System
   Premium Dental · Elegant · Modern
   ═══════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  /* Brand Palette — extracted from logo */
  --clr-primary:       #0B1D3A;
  --clr-primary-light: #1A3A5C;
  --clr-primary-soft:  rgba(11, 29, 58, .06);

  --clr-accent:        #6BA4D9;
  --clr-accent-soft:   rgba(107, 164, 217, .10);
  --clr-accent-hover:  #5892C7;

  --clr-gold:          #C5A55A;
  --clr-gold-soft:     rgba(197, 165, 90, .10);

  /* Surfaces */
  --clr-bg:            #FAFBFD;
  --clr-bg-alt:        #F0F4F8;
  --clr-surface:       #FFFFFF;
  --clr-border:        #E5E9F0;

  /* Text */
  --clr-text:          #1A1F2E;
  --clr-text-medium:   #3D4555;
  --clr-text-soft:     #6B7280;

  /* Status */
  --clr-success:       #2E7D32;
  --clr-error:         #C62828;

  /* Typography */
  --ff-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  /* Spacing Scale */
  --sp-2xs: .25rem;
  --sp-xs:  .5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 8rem;

  /* Layout */
  --max-w:     1200px;
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Transitions */
  --ease:  cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur:   400ms;
  --dur-fast: 250ms;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(11, 29, 58, .04), 0 1px 2px rgba(11, 29, 58, .03);
  --shadow-md:  0 4px 12px rgba(11, 29, 58, .06), 0 2px 4px rgba(11, 29, 58, .04);
  --shadow-lg:  0 12px 40px rgba(11, 29, 58, .08), 0 4px 12px rgba(11, 29, 58, .04);
  --shadow-xl:  0 24px 64px rgba(11, 29, 58, .12), 0 8px 24px rgba(11, 29, 58, .06);
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

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

.hidden { display: none !important; }


/* ─── Section Utilities ─── */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-eyebrow {
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-xs);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-text);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-soft);
  max-width: 560px;
  margin: var(--sp-sm) auto 0;
  line-height: 1.7;
}


/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 50px;
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.btn-primary:hover {
  background: var(--clr-primary-light);
  border-color: var(--clr-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn-secondary:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  border-color: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, .25);
}

.btn-light {
  background: #fff;
  color: var(--clr-primary);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--clr-gold);
  color: var(--clr-primary);
  border-color: var(--clr-gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(197, 165, 90, .3);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .7);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease);
}

#site-header:not(.scrolled) {
  background: transparent;
}

#site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--clr-border), var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 110;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  transition: opacity var(--dur) var(--ease);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--ff-display);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  transition: color var(--dur) var(--ease);
  letter-spacing: .01em;
}

.logo-subtitle {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  transition: color var(--dur) var(--ease);
}

#site-header.scrolled .logo-name {
  color: var(--clr-primary);
}

#site-header.scrolled .logo-subtitle {
  color: var(--clr-text-soft);
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: var(--sp-lg);
  align-items: center;
}

.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .85);
  position: relative;
  transition: color .3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  border-radius: 1px;
  transition: width .3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

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

/* Scrolled nav text */
#site-header.scrolled .nav-links a {
  color: var(--clr-text-soft);
}

#site-header.scrolled .nav-links a:hover,
#site-header.scrolled .nav-links a.active {
  color: var(--clr-primary);
}

/* Nav CTA */
.nav-cta {
  padding: .6rem 1.5rem;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 50px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .3);
  transition: all .3s var(--ease);
  letter-spacing: .03em;
}

.nav-cta:hover {
  background: #fff;
  color: var(--clr-primary);
  border-color: #fff;
  transform: translateY(-1px);
}

#site-header.scrolled .nav-cta {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

#site-header.scrolled .nav-cta:hover {
  background: var(--clr-primary-light);
  border-color: var(--clr-primary-light);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s var(--ease);
  transform-origin: center;
}

#site-header.scrolled .menu-toggle span {
  background: var(--clr-primary);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-primary) 0%, #0F2847 40%, #14375E 100%);
}

/* Subtle decorative elements */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107, 164, 217, .08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 165, 90, .06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: #fff;
  padding: var(--sp-lg) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.2rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  background: rgba(197, 165, 90, .1);
  border: 1px solid rgba(197, 165, 90, .2);
  border-radius: 50px;
  margin-bottom: var(--sp-md);
  animation: fadeUp .8s var(--ease-out) .2s both;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: var(--sp-sm);
  animation: fadeUp .8s var(--ease-out) .35s both;
}

.hero-title .highlight {
  color: var(--clr-gold);
}

.hero-subtitle {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: .5rem;
  animation: fadeUp .8s var(--ease-out) .45s both;
}

.hero-cro {
  font-size: .8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .05em;
  margin-bottom: var(--sp-lg);
  animation: fadeUp .8s var(--ease-out) .55s both;
}

.hero-description {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, .75);
  max-width: 460px;
  margin-bottom: var(--sp-lg);
  animation: fadeUp .8s var(--ease-out) .6s both;
}

.hero-actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  animation: fadeUp .8s var(--ease-out) .75s both;
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeUp 1s var(--ease-out) .5s both;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center bottom, rgba(107, 164, 217, .12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-image {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, .3));
  position: relative;
  z-index: 1;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50%      { opacity: 1;  transform: scaleY(1); }
}


/* ═══════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════ */
.about-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

.about-layout {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(107, 164, 217, .12);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .6s var(--ease);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

/* Placeholder for missing image */
.image-placeholder {
  width: 100%;
  height: 520px;
  background: linear-gradient(135deg, var(--clr-bg-alt) 0%, var(--clr-border) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  color: var(--clr-text-soft);
  font-size: .85rem;
  border: 2px dashed var(--clr-border);
}

.image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: .4;
}

.about-content {
  padding: var(--sp-md) 0;
}

.about-content .section-eyebrow {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: var(--sp-md);
}

.about-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--clr-text-medium);
  margin-bottom: var(--sp-sm);
}

.about-text strong {
  color: var(--clr-text);
  font-weight: 600;
}

.about-credentials {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--clr-border);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--clr-text-soft);
}

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


/* ═══════════════════════════════════════════════════
   SPECIALTIES SECTION
   ═══════════════════════════════════════════════════ */
.specialties-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg-alt);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: var(--sp-md);
}

/* Asymmetric cards — alternating sizes */
.specialty-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-gold));
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

/* Featured card — spans 2 rows */
.specialty-card.featured {
  grid-row: span 2;
  padding: var(--sp-xl) var(--sp-lg);
  background: linear-gradient(145deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  border-color: transparent;
  color: #fff;
}

.specialty-card.featured .specialty-icon {
  background: rgba(255, 255, 255, .1);
  color: var(--clr-gold);
}

.specialty-card.featured .specialty-title {
  color: #fff;
}

.specialty-card.featured .specialty-desc {
  color: rgba(255, 255, 255, .7);
}

.specialty-card.featured::before {
  background: var(--clr-gold);
  opacity: 1;
}

.specialty-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--clr-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
  transition: all .3s var(--ease);
  flex-shrink: 0;
}

.specialty-card:hover .specialty-icon {
  background: var(--clr-accent);
  color: #fff;
}

.specialty-icon svg {
  width: 24px;
  height: 24px;
  color: var(--clr-accent);
  transition: color .3s var(--ease);
}

.specialty-card:hover .specialty-icon svg,
.specialty-card.featured .specialty-icon svg {
  color: #fff;
}

.specialty-card.featured:hover .specialty-icon svg {
  color: var(--clr-primary);
}

.specialty-card.featured:hover .specialty-icon {
  background: var(--clr-gold);
}

.specialty-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: .5rem;
}

.specialty-desc {
  font-size: .9rem;
  color: var(--clr-text-soft);
  line-height: 1.7;
  flex: 1;
}

.specialty-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: var(--sp-md);
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-accent);
  letter-spacing: .02em;
  transition: gap .3s var(--ease), color .3s var(--ease);
}

.specialty-link:hover {
  gap: .7rem;
}

.specialty-card.featured .specialty-link {
  color: var(--clr-gold);
}


/* ═══════════════════════════════════════════════════
   DIFFERENTIALS SECTION
   ═══════════════════════════════════════════════════ */
.differentials-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.differential-card {
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  border-radius: var(--radius);
  transition: all .4s var(--ease);
}

.differential-card:hover {
  background: var(--clr-surface);
  box-shadow: var(--shadow-md);
}

.differential-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--clr-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  transition: all .4s var(--ease);
}

.differential-card:hover .differential-icon {
  background: var(--clr-primary);
  transform: scale(1.08);
}

.differential-icon svg {
  width: 28px;
  height: 28px;
  color: var(--clr-primary);
  transition: color .3s var(--ease);
}

.differential-card:hover .differential-icon svg {
  color: #fff;
}

.differential-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: .4rem;
}

.differential-desc {
  font-size: .85rem;
  color: var(--clr-text-soft);
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════ */
.steps-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.66%;
  width: 66.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-gold));
  opacity: .2;
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--clr-accent);
  transition: all .4s var(--ease);
  box-shadow: var(--shadow-sm);
}

.step-card:hover .step-number {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}

.step-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: .4rem;
}

.step-desc {
  font-size: .9rem;
  color: var(--clr-text-soft);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}


/* ═══════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════ */
.testimonials-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-md);
}

.testimonial-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  transition: all .4s var(--ease);
  position: relative;
}

/* Asymmetric: middle card taller */
.testimonial-card:nth-child(2) {
  transform: translateY(-12px);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent-soft);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-sm);
  color: var(--clr-gold);
  font-size: 1rem;
}

.testimonial-text {
  font-size: .95rem;
  color: var(--clr-text-medium);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--sp-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--clr-border);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--clr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--clr-primary);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: .88rem;
  color: var(--clr-text);
}

.testimonial-role {
  font-size: .78rem;
  color: var(--clr-text-soft);
}

.testimonial-placeholder-notice {
  text-align: center;
  margin-top: var(--sp-md);
  font-size: .75rem;
  color: var(--clr-text-soft);
  opacity: .6;
  font-style: italic;
}


/* ═══════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════ */
.faq-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg-alt);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.faq-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all .3s var(--ease);
}

.faq-item:hover {
  border-color: var(--clr-accent-soft);
}

.faq-question {
  width: 100%;
  padding: var(--sp-md) var(--sp-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--clr-text);
  text-align: left;
  transition: color .3s var(--ease);
}

.faq-question:hover {
  color: var(--clr-accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
  color: var(--clr-text-soft);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--clr-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 var(--sp-md) var(--sp-md);
  font-size: .92rem;
  color: var(--clr-text-soft);
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════ */
.cta-section {
  padding: var(--sp-3xl) 0;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 165, 90, .08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content .section-eyebrow {
  color: var(--clr-gold);
}

.cta-content .section-title {
  color: #fff;
  margin-bottom: var(--sp-sm);
}

.cta-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .7);
  max-width: 520px;
  margin: 0 auto var(--sp-lg);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--clr-primary);
  padding: var(--sp-2xl) 0 var(--sp-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: var(--sp-lg);
}

.footer-brand .logo-name {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.footer-brand .footer-desc {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--ff-display);
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-md);
  letter-spacing: .02em;
}

.footer-col a {
  display: block;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  padding: .25rem 0;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}

.footer-col a:hover {
  color: var(--clr-gold);
  padding-left: .4rem;
}

.footer-col p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  padding: .25rem 0;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.footer-copy {
  font-size: .75rem;
  color: rgba(255, 255, 255, .3);
}

.footer-cro {
  font-size: .75rem;
  color: rgba(255, 255, 255, .3);
}


/* ═══════════════════════════════════════════════════
   APPOINTMENT MODAL
   ═══════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 29, 58, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: translateY(24px) scale(.96);
  transition: transform .4s var(--ease-out);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-lg) var(--sp-lg) 0;
}

.modal-header h2 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--clr-text);
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--clr-text-soft);
  transition: all .25s var(--ease);
}

.modal-close:hover {
  background: var(--clr-bg-alt);
  color: var(--clr-text);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-subtitle {
  padding: .5rem var(--sp-lg) 0;
  font-size: .88rem;
  color: var(--clr-text-soft);
  line-height: 1.6;
}

.modal-body {
  padding: var(--sp-md) var(--sp-lg) var(--sp-lg);
}

.form-group {
  margin-bottom: var(--sp-md);
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--clr-text-soft);
  font-size: .78rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-bg);
  font-size: .9rem;
  transition: all .25s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-soft);
  background: var(--clr-surface);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-soft);
  opacity: .6;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-error {
  font-size: .78rem;
  color: var(--clr-error);
  margin-top: .3rem;
  display: none;
}

.form-group.error input {
  border-color: var(--clr-error);
}

.form-group.error .form-error {
  display: block;
}

.modal-footer {
  padding: 0 var(--sp-lg) var(--sp-lg);
  display: flex;
  gap: var(--sp-sm);
}

.modal-footer .btn {
  flex: 1;
}


/* ═══════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
  transition: all .3s var(--ease);
  z-index: 90;
  animation: floatPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, .35); }
  50%      { box-shadow: 0 4px 24px rgba(37, 211, 102, .5); }
}


/* ═══════════════════════════════════════════════════
   PROCEDURE PAGES (Clareamento & Restauração)
   ═══════════════════════════════════════════════════ */
.procedure-hero {
  padding: calc(var(--sp-3xl) + 80px) 0 var(--sp-3xl);
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.procedure-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 164, 217, .06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.procedure-hero .section-eyebrow {
  color: var(--clr-gold);
}

.procedure-hero .section-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: var(--sp-sm);
}

.procedure-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Procedure content sections */
.procedure-section {
  padding: var(--sp-3xl) 0;
}

.procedure-section:nth-child(even) {
  background: var(--clr-bg-alt);
}

.procedure-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.procedure-layout.reverse {
  direction: rtl;
}

.procedure-layout.reverse > * {
  direction: ltr;
}

.procedure-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: var(--sp-sm);
  line-height: 1.2;
}

.procedure-text p {
  font-size: 1rem;
  color: var(--clr-text-medium);
  line-height: 1.85;
  margin-bottom: var(--sp-sm);
}

/* Benefits grid for procedure pages */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

.benefit-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: var(--sp-md);
  transition: all .35s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent-soft);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--clr-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-sm);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  color: var(--clr-accent);
}

.benefit-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .98rem;
  color: var(--clr-text);
  margin-bottom: .3rem;
}

.benefit-desc {
  font-size: .85rem;
  color: var(--clr-text-soft);
  line-height: 1.6;
}

/* Before/After showcase */
.before-after-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
}

.before-after-wrapper img {
  width: 100%;
  height: auto;
}


/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    padding-top: calc(var(--sp-3xl) + 40px);
    order: 2;
  }

  .hero-image-wrapper {
    order: 1;
    padding-top: calc(var(--sp-3xl) + 20px);
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    max-height: 45vh;
  }

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

  .specialty-card.featured {
    grid-row: span 1;
    grid-column: span 2;
  }

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

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

  .procedure-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .procedure-layout.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  /* Mobile Nav */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-lg);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
    z-index: 105;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: var(--clr-text);
  }

  .nav-links a::after {
    background: var(--clr-accent);
  }

  .nav-cta {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-bottom: var(--sp-xl);
  }

  .hero-container {
    padding-top: 100px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-image {
    max-height: 35vh;
  }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .about-image,
  .image-placeholder {
    height: 320px;
  }

  .about-content .section-eyebrow,
  .about-content .section-title {
    text-align: center;
  }

  .about-credentials {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Specialties */
  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card.featured {
    grid-column: span 1;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .steps-grid::before {
    display: none;
  }

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

  .testimonial-card:nth-child(2) {
    transform: none;
  }

  /* Differentials */
  .differentials-grid {
    grid-template-columns: 1fr;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

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