/* style.css — Clínica Gustavo Martins */

/* ===== FONTS ===== */
@import url('https://api.fontshare.com/v2/css?f[]=cormorant-garamond@300,400,500,600,700&f[]=switzer@100,200,300,400,500,600,700&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Colors — Navy + Gold palette */
  --color-bg:           #0a1628;
  --color-surface:      #0f1d33;
  --color-surface-2:    #142640;
  --color-surface-3:    #1a2f4d;
  --color-border:       rgba(201, 168, 76, 0.15);
  --color-border-strong: rgba(201, 168, 76, 0.3);
  --color-divider:      rgba(255, 255, 255, 0.06);

  --color-text:         #e8e6e1;
  --color-text-muted:   #8a9bb5;
  --color-text-faint:   #4a5a75;

  --color-gold:         #c9a84c;
  --color-gold-light:   #d4b96a;
  --color-gold-dark:    #a8892e;
  --color-gold-glow:    rgba(201, 168, 76, 0.12);

  --color-white:        #ffffff;
  --color-whatsapp:     #25D366;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.2);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ===== GLOBAL ===== */
body {
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.section-padding {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.gold-text {
  color: var(--color-gold);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: var(--space-6);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  transition: all 300ms var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-bg);
}
.btn-gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}
.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-bg);
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translateY(0);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: var(--space-3);
}

.logo svg {
  width: 44px;
  height: 44px;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 32px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-gold);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-desktop a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 300ms var(--ease-out);
}
.nav-desktop a:hover {
  color: var(--color-gold);
}
.nav-desktop a:hover::after {
  width: 100%;
}

.header-cta {
  font-size: var(--text-xs) !important;
  padding: var(--space-2) var(--space-5) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  transition: all 300ms var(--ease-out);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}
.mobile-nav.active {
  display: flex;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  transition: color 300ms var(--ease-out);
}
.mobile-nav a:hover {
  color: var(--color-gold);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(20, 38, 64, 0.8) 0%, transparent 60%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding-block: var(--space-12);
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.08;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--color-gold);
}

.hero-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.7;
  max-width: 50ch;
}

.hero-video {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}
.hero-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== ABOUT / SOBRE ===== */
.sobre {
  position: relative;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-12);
  align-items: start;
}

.sobre-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.sobre-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sobre-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.sobre-content {
  padding-top: var(--space-4);
}

.sobre-bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-gold-glow);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-gold);
  font-weight: 500;
  white-space: nowrap;
}
.credential-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ===== PROCEDIMENTOS ===== */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.proc-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.proc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-strong);
}

.proc-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.proc-card-body {
  padding: var(--space-5);
}
.proc-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.proc-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== ODONTOLOGIA ===== */
.odonto {
  background: var(--color-surface);
}

.odonto-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-10);
}
.odonto-header .gold-line {
  margin-inline: auto;
}

.odonto-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 700px;
  margin: 0 auto var(--space-10);
}

.odonto-member {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: border-color 300ms var(--ease-out);
}
.odonto-member:hover {
  border-color: var(--color-border-strong);
}

.odonto-member-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--color-border-strong);
}
.odonto-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.odonto-action-photo {
  max-width: 600px;
  margin: 0 auto var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.odonto-action-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.odonto-member h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.odonto-role {
  font-size: var(--text-xs);
  color: var(--color-gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.odonto-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.odonto-specialties {
  max-width: 800px;
  margin: 0 auto var(--space-10);
}

.odonto-specialties-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-6);
}

.odonto-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.odonto-spec-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.odonto-spec-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.odonto-botafogo {
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.odonto-botafogo-inner {
  background: linear-gradient(135deg, var(--color-surface-2) 0%, var(--color-surface-3) 100%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  position: relative;
}

.odonto-botafogo-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  background: var(--color-gold-glow);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  margin-bottom: var(--space-4);
}

.odonto-botafogo-inner h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.odonto-botafogo-inner p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.odonto-botafogo-address {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
  color: var(--color-gold) !important;
}
.odonto-botafogo-address svg {
  flex-shrink: 0;
  color: var(--color-gold);
}

.odonto-cta {
  text-align: center;
}

/* ===== NATURALUP ===== */
.naturalup {
  position: relative;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.naturalup-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}
.naturalup-header .gold-line {
  margin-inline: auto;
}

/* NaturalUp Logo Mark */
.naturalup-logo-mark {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.naturalup-logo-mark .nu-word {
  font-weight: 300;
}
.naturalup-logo-mark .nu-up {
  font-weight: 600;
  color: var(--color-gold);
}
.naturalup-logo-mark .nu-reg {
  font-size: 0.45em;
  vertical-align: super;
  color: var(--color-gold);
  font-weight: 400;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

.pillar-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: border-color 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.pillar-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-gold);
  font-weight: 300;
  margin-bottom: var(--space-3);
  line-height: 1;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.pillar-card p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.naturalup-quote {
  text-align: center;
  margin-bottom: var(--space-8);
}
.naturalup-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-gold);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.3;
}

.naturalup-cta {
  text-align: center;
}

/* ===== RESULTADOS ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

.result-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--color-border);
  transition: border-color 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.result-img-wrap:hover {
  border-color: var(--color-border-strong);
  transform: scale(1.02);
}
.result-img-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.counters {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
}

.counter {
  text-align: center;
}
.counter-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.counter-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  cursor: pointer;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
}

/* ===== DEPOIMENTOS ===== */
.depoimentos {
  background: var(--color-surface);
}

.depoimentos-header {
  text-align: center;
  margin-bottom: var(--space-10);
}
.depoimentos-header .gold-line { margin-inline: auto; }

.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
}
.rating-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.testimonial-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-style: italic;
}
.testimonial-author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-item:first-child {
  border-top: 1px solid var(--color-divider);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  gap: var(--space-4);
}
.faq-question:hover {
  color: var(--color-gold);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-gold);
  transition: transform 300ms var(--ease-out);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease-out), padding 300ms var(--ease-out);
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-5);
}
.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ===== CLÍNICA / LOCATIONS ===== */
.clinica {
  background: var(--color-surface);
}

.clinica-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-10);
}
.clinica-intro .gold-line { margin-inline: auto; }

.clinica-gallery {
  max-width: 700px;
  margin: 0 auto var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.clinica-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.location-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.location-card .map-embed {
  width: 100%;
  height: 240px;
  border: 0;
}
.location-info {
  padding: var(--space-5);
}
.location-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.location-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 35ch;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: var(--space-2); }
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--color-gold); }

.footer-contact p,
.footer-contact a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-2);
}
.footer-contact a:hover { color: var(--color-gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.footer-bottom p,
.footer-bottom a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--color-gold); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* ===== SCROLL ANIMATION ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .header-cta-desktop { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p { margin-inline: auto; }
  .hero-text h1 { font-size: var(--text-2xl); }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-photo { max-width: 400px; margin: 0 auto; }

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

  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid > :last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }

  .results-grid { grid-template-columns: repeat(3, 1fr); }

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

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

@media (max-width: 640px) {
  .container { padding-inline: var(--space-4); }

  .header-inner { height: 60px; }
  .logo svg { width: 36px; height: 36px; }
  .logo-img { height: 28px; }
  .footer-logo-img { height: 24px; }
  .logo-text { font-size: var(--text-base); }
  .logo-text span { display: none; }

  .hero { min-height: auto; padding-top: 80px; padding-bottom: var(--space-8); }
  .hero-text h1 { font-size: var(--text-xl); }

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

  .odonto-team { grid-template-columns: 1fr; }
  .odonto-spec-grid { grid-template-columns: 1fr; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-grid > :last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .results-grid { grid-template-columns: repeat(3, 1fr); }

  .counters { gap: var(--space-8); }

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

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }

  .section-title { font-size: var(--text-xl); }
}
