/* ==========================================================================
   Dr. Cley Rocha — Endocrinologia e Metabologia
   Design System: Quiet Luxury Medical
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
  /* Color Palette - Dark Elegance */
  --color-obsidian: #090b0d;
  --color-dark-surface: #101317;
  --color-dark-card: #15191f;
  --color-dark-border: rgba(229, 211, 179, 0.14);
  
  /* Color Palette - Light Editorial */
  --color-light-bg: #f9f8f6;
  --color-light-surface: #ffffff;
  --color-light-card: #ffffff;
  --color-light-border: rgba(197, 168, 128, 0.22);
  --color-light-border-subtle: rgba(0, 0, 0, 0.06);

  /* Gold & Champagne Luxury Accents */
  --gold-primary: #d4af37;
  --gold-champagne: #e5d3b3;
  --gold-light: #f5ebd8;
  --gold-deep: #aa8222;
  --gold-gradient: linear-gradient(135deg, #f7ebd5 0%, #d4af37 50%, #a67c1e 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.25);

  /* Typography Colors */
  --text-dark-primary: #ffffff;
  --text-dark-secondary: #c2cad3;
  --text-dark-muted: #8391a2;

  --text-light-primary: #121518;
  --text-light-secondary: #576271;
  --text-light-muted: #8592a3;

  /* Typography Families */
  --font-serif-display: 'Playfair Display', Georgia, serif;
  --font-serif-editorial: 'Cormorant Garamond', Garamond, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-signature: 'Alex Brush', cursive;

  /* Transitions & Spacing */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-obsidian);
  color: var(--text-dark-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Blindagem global contra scroll horizontal em mobile */
.section,
.hero-section,
.biomarkers-ticker,
.areas-section,
.trajectory-section,
.services-section,
.clinical-section,
.science-section,
.thyroid-focus-section,
.comparison-section,
.testimonials-section,
.faq-section,
.footer {
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* --- Header / Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background-color: rgba(9, 11, 13, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 211, 179, 0.08);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 14px 0;
  background-color: rgba(9, 11, 13, 0.92);
  border-bottom-color: rgba(229, 211, 179, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-monogram {
  font-family: var(--font-serif-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-champagne);
  letter-spacing: -1px;
  line-height: 1;
  position: relative;
}

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

.logo-name {
  font-family: var(--font-serif-editorial);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
}

.logo-spec {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--gold-champagne);
  text-transform: uppercase;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li:not(:last-child)::after {
  content: '•';
  margin: 0 16px;
  color: rgba(229, 211, 179, 0.35);
  font-size: 0.65rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-dark-secondary);
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
}

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  flex-shrink: 0;
}

.btn-pill-outline .btn-arrow-circle {
  background: rgba(229, 211, 179, 0.15);
  color: var(--gold-champagne);
}

.btn:hover .btn-arrow-circle {
  transform: translateX(4px);
}

.btn-pill-outline {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 8px 18px 8px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(229, 211, 179, 0.4);
  color: #ffffff;
  background: rgba(229, 211, 179, 0.04);
}

.btn-pill-outline:hover {
  background: rgba(229, 211, 179, 0.12);
  border-color: var(--gold-champagne);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-gold-primary,
.btn-gold-pill {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 24px 12px 28px;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  color: #0c0e11;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-gold-primary::before,
.btn-gold-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s ease;
}

.btn-gold-primary:hover::before,
.btn-gold-pill:hover::before {
  left: 100%;
}

.btn-gold-primary:hover,
.btn-gold-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--gold-champagne);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 92vh;
  padding-top: 130px;
  padding-bottom: 20px;
  background: radial-gradient(circle at 75% 30%, #15191f 0%, var(--color-obsidian) 70%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Monumental Typography Background - Bold & Crisp Ivory Serif (matching media_1790359279231) */
.monumental-bg {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  pointer-events: none;
  z-index: 1;
  overflow: visible;
  user-select: none;
  padding: 0 24px;
  box-sizing: border-box;
}

.monumental-text {
  font-family: var(--font-serif-display);
  font-size: clamp(4.4rem, 12.5vw, 11.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #efe5d5;
  opacity: 0.94;
  line-height: 0.88;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  display: block;
  white-space: nowrap;
  width: 100%;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Hero Content */
.hero-content {
  max-width: 630px;
  position: relative;
  z-index: 4;
  padding-bottom: 20px;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  top: -110px;
  margin-bottom: clamp(15px, 4vw, 40px);
  white-space: nowrap;
  flex-wrap: nowrap;
  max-width: 100%;
}

.tagline-text {
  font-size: clamp(0.5rem, 1.8vw, 0.7rem);
  letter-spacing: clamp(0.08em, 0.4vw, 0.16em);
  font-weight: 600;
  color: var(--gold-champagne);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.tagline-line,
.tag-gold-line {
  height: 1px;
  width: 48px;
  background: var(--gold-gradient);
  display: inline-block;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-serif-editorial);
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.16;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
  position: relative;
  top: 70px;
}

.hero-title-nowrap {
  white-space: nowrap;
}

@media (max-width: 540px) {
  .hero-title-nowrap {
    white-space: normal;
  }

  .hero-title br {
    display: none;
  }

  .hero-title-italic {
    display: block;
    margin-top: 4px;
  }
}

.hero-title-italic {
  font-family: var(--font-serif-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-champagne);
  display: inline;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-dark-secondary);
  line-height: 1.7;
  margin-bottom: 38px;
  font-weight: 300;
  position: relative;
  top: 70px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
}

.gold-dash {
  width: 24px;
  height: 1.5px;
  background-color: var(--gold-champagne);
  transition: width 0.3s ease;
}

.hero-link-secondary:hover .gold-dash {
  width: 38px;
}

/* Hero Visual / Doctor Portrait */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  margin-top: -35px;
  width: 100%;
  min-width: 0;
}

.doctor-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -90px;
  margin-right: 0;
  background: transparent;
  box-shadow: none;
}

.doctor-photo {
  width: 100%;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  max-height: 84vh;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85));
  mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  transform-origin: center center;
}

.doctor-image-wrapper:hover .doctor-photo {
  transform: scale(1.02);
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.95));
}

/* Hero Side Badges Stacked (matching media_1790359279231) */
.hero-side-badges {
  position: absolute;
  right: -50px;
  top: calc(22% + 125px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 5;
  pointer-events: none;
}

.badge-stacked-quote {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.badge-accent-line {
  width: 1.5px;
  background: var(--gold-champagne);
  opacity: 0.85;
  display: block;
}

.badge-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #efe5d5;
  text-transform: uppercase;
  line-height: 1.25;
}

.badge-signature {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 240px;
}

.signature-name {
  font-family: var(--font-signature);
  font-size: 2.8rem;
  color: var(--gold-champagne);
  line-height: 1;
  margin-bottom: 6px;
  white-space: nowrap;
}

.signature-qualification {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: #efe5d5;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.signature-role {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.signature-title {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  color: var(--gold-muted);
}

/* --- Section Global Commons --- */
.section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold-champagne);
  text-transform: uppercase;
}

.section-tag-dark {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold-deep);
  text-transform: uppercase;
}

.section-tag-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

/* Light Theme Container Class */
.light-bg-theme {
  background-color: var(--color-light-bg);
  color: var(--text-light-primary);
}

.dark-bg-theme {
  background-color: var(--color-obsidian);
  color: var(--text-dark-primary);
}

/* --- Biomarkers & Clinical Scopes Ticker (inspired by MyHealthPrac & Allia Health) --- */
.biomarkers-ticker {
  background: #090c0f;
  border-top: 1px solid rgba(229, 211, 179, 0.14);
  border-bottom: 1px solid rgba(229, 211, 179, 0.14);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerSlide 40s linear infinite;
  gap: 16px;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(229, 211, 179, 0.16);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--text-dark-secondary);
  white-space: nowrap;
  transition: all 0.25s ease;
}

.ticker-item:hover {
  background: rgba(229, 211, 179, 0.1);
  color: #ffffff;
  border-color: var(--gold-champagne);
  transform: translateY(-2px);
}

.ticker-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-champagne);
  display: inline-block;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- ÁREAS DE ATUAÇÃO --- */
.areas-section {
  background-color: #faf9f6;
  border-top: 1px solid rgba(229, 211, 179, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.area-card {
  background-color: #ffffff;
  padding: 42px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-light-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.area-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold-gradient);
  transition: width 0.4s ease;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(170, 130, 34, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
}

.area-card:hover::after {
  width: 60%;
}

.area-icon-box {
  width: 76px;
  height: 76px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.area-card:hover .area-icon-box {
  transform: scale(1.1);
}

.area-svg {
  width: 100%;
  height: 100%;
}

.area-title {
  font-family: var(--font-serif-editorial);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-light-primary);
  margin-bottom: 14px;
}

.area-desc {
  font-size: 0.92rem;
  color: var(--text-light-secondary);
  line-height: 1.65;
  font-weight: 400;
}

/* --- COMO FUNCIONA O ACOMPANHAMENTO (Patient Journey - inspired by Allia Health) --- */
.journey-section {
  padding: 110px 0;
  background: #090c0f;
  position: relative;
  border-top: 1px solid rgba(229, 211, 179, 0.15);
  border-bottom: 1px solid rgba(229, 211, 179, 0.15);
}

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

.journey-headline {
  font-family: var(--font-serif-editorial);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 16px;
}

.journey-subtitle {
  font-size: 1.05rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

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

.journey-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(229, 211, 179, 0.14);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.journey-card:hover {
  background: rgba(229, 211, 179, 0.06);
  border-color: rgba(229, 211, 179, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.journey-step-tag {
  font-family: var(--font-serif-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-champagne);
  line-height: 1;
  margin-bottom: 18px;
  opacity: 0.9;
}

.journey-card-title {
  font-family: var(--font-serif-editorial);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.journey-card-desc {
  font-size: 0.88rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
}

/* --- DIFERENCIAIS DO CUIDADO (Comparison Table - inspired by Allia Health) --- */
.comparison-section {
  padding: 110px 0;
  background: #0d1014;
  position: relative;
  border-bottom: 1px solid rgba(229, 211, 179, 0.12);
}

.comparison-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.comparison-wrapper {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(229, 211, 179, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.comparison-header-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.15fr;
  background: rgba(229, 211, 179, 0.06);
  border-bottom: 1px solid rgba(229, 211, 179, 0.18);
  padding: 22px 28px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comp-col-feature {
  color: var(--text-dark-muted);
}

.comp-col-trad {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.comp-col-doctor {
  color: var(--gold-champagne);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.15fr;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(229, 211, 179, 0.08);
  align-items: center;
  transition: background 0.2s ease;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:hover {
  background: rgba(229, 211, 179, 0.035);
}

.comp-cell-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #ffffff;
}

.comp-cell-label small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dark-muted);
  font-weight: 400;
  margin-top: 3px;
}

.comp-cell-trad {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.45;
  padding: 0 12px;
}

.comp-cell-doctor {
  font-size: 0.9rem;
  color: #ffffff;
  text-align: center;
  font-weight: 500;
  line-height: 1.45;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* --- ENDOCRINOLOGIA INTEGRADA --- */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.lifestyle-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.lifestyle-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.lifestyle-card:hover .lifestyle-img {
  transform: scale(1.03);
}

.lifestyle-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(229, 211, 179, 0.4);
}

.lifestyle-badge span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #121518;
}

.editorial-title {
  font-family: var(--font-serif-editorial);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-light-primary);
  margin-bottom: 24px;
}

.editorial-paragraph {
  font-size: 1.05rem;
  color: var(--text-light-secondary);
  line-height: 1.8;
  margin-bottom: 34px;
}

.editorial-link,
.editorial-link-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.editorial-link {
  color: var(--gold-deep);
}

.editorial-link-gold {
  color: var(--gold-champagne);
}

.editorial-link::after,
.editorial-link-gold::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease;
  transform-origin: left;
}

.editorial-link:hover,
.editorial-link-gold:hover {
  transform: translateX(4px);
}

/* --- TIREOIDE EM FOCO --- */
.thyroid-focus-section {
  background: radial-gradient(circle at 80% 50%, #15191f 0%, var(--color-obsidian) 70%);
  border-top: 1px solid rgba(229, 211, 179, 0.12);
  border-bottom: 1px solid rgba(229, 211, 179, 0.12);
  overflow: hidden;
  max-width: 100%;
}

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

.thyroid-title {
  font-family: var(--font-serif-editorial);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
}

.thyroid-desc {
  font-size: 1.05rem;
  color: var(--text-dark-secondary);
  line-height: 1.75;
  margin-bottom: 34px;
}

.thyroid-cta-wrap {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.thyroid-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.thyroid-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.thyroid-photo-card:hover .thyroid-img {
  transform: scale(1.03);
}

.thyroid-vertical-quote {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: rgba(9, 11, 13, 0.75);
  backdrop-filter: blur(8px);
  padding: 20px 10px;
  border-left: 1px solid var(--gold-champagne);
  border-radius: var(--radius-sm);
}

.thyroid-vertical-quote span {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--gold-champagne);
}

/* --- DÚVIDAS FREQUENTES (FAQ) --- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.faq-main-title {
  font-family: var(--font-serif-editorial);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-light-primary);
  margin-bottom: 20px;
}

.faq-lead-desc {
  font-size: 1rem;
  color: var(--text-light-secondary);
  line-height: 1.75;
}

/* Accordion */
.faq-accordion-col {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease;
}

.accordion-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-light-primary);
  transition: color 0.3s ease;
}

.accordion-trigger:hover {
  color: var(--gold-deep);
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-deep);
  transition: transform 0.4s ease;
  line-height: 1;
  display: inline-block;
  margin-left: 16px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

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

.accordion-item.active .accordion-content {
  max-height: 300px;
  padding-bottom: 24px;
}

.accordion-content p {
  font-size: 0.98rem;
  color: var(--text-light-secondary);
  line-height: 1.75;
}

/* --- QUEM VAI CONDUZIR SUA CONSULTA (DR. CLEY ROCHA) --- */
.doctor-profile-section {
  position: relative;
  padding: 120px 0;
  background: radial-gradient(circle at 18% 45%, rgba(212, 175, 55, 0.08) 0%, transparent 55%),
              linear-gradient(180deg, #090b0d 0%, #11151b 50%, #090b0d 100%);
  border-top: 1px solid rgba(229, 211, 179, 0.12);
  border-bottom: 1px solid rgba(229, 211, 179, 0.12);
  overflow: hidden;
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: stretch;
}

.doctor-profile-visual {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-profile-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(229, 211, 179, 0.22);
  background: #14181f;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(212, 175, 55, 0.07);
}

.doctor-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0d1014;
}

.doctor-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-profile-card:hover .doctor-card-img {
  transform: scale(1.03);
}

.doctor-frame-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(9, 11, 13, 0.95) 0%, rgba(9, 11, 13, 0.35) 30%, transparent 60%);
}

.doctor-card-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(16, 20, 26, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(229, 211, 179, 0.25);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.badge-gold-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-champagne);
  box-shadow: 0 0 12px var(--gold-champagne);
  flex-shrink: 0;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
}

.badge-strong {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.badge-sub {
  font-size: 0.78rem;
  color: var(--gold-champagne);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* --- SELO DOCTORALIA --- */
.doctoralia-seal-card {
  margin-top: 20px;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(229, 211, 179, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.doctoralia-seal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.65), 0 0 28px rgba(212, 175, 55, 0.16);
}

.doctoralia-seal-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.doctoralia-svg-badge {
  height: 44px;
  width: auto;
  display: block;
}

.doctoralia-seal-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #e2e8f0;
  padding-left: 16px;
}

.doctoralia-seal-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.doctoralia-seal-desc {
  font-size: 0.74rem;
  font-weight: 600;
  color: #00a085;
  letter-spacing: 0.02em;
  margin-top: 3px;
}

/* --- ILUSTRAÇÃO DA TIROXINA (DR. CLEY) --- */
.thyroxine-wrap,
.thyroxine-seal-card {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  min-height: 320px;
  margin-top: 32px;
  padding: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
}

.thyroxine-white-img {
  width: 125%;
  max-width: 540px;
  min-width: 440px;
  height: auto;
  opacity: 0.45;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.thyroxine-wrap:hover .thyroxine-white-img,
.thyroxine-seal-card:hover .thyroxine-white-img {
  opacity: 0.65;
  transform: scale(1.03);
}

/* Selo Doctoralia no Rodapé */
.doctor-doctoralia-seal {
  margin: 14px 0 14px;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(229, 211, 179, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-fast);
}

.doctor-doctoralia-seal:hover {
  transform: translateY(-2px);
}

.doctoralia-footer-svg {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.doctoralia-footer-text-col {
  display: flex;
  flex-direction: column;
}

.doctoralia-footer-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
}

.doctoralia-footer-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #00a085;
}

.doctor-profile-info {
  display: flex;
  flex-direction: column;
}

.doctor-profile-title {
  font-family: var(--font-serif-editorial);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  margin: 16px 0 10px;
}

.doctor-profile-name {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-champagne);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.doctor-profile-lead {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #c8d1dc;
  margin-bottom: 36px;
}

.profile-block {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(229, 211, 179, 0.1);
}

.profile-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 36px;
}

.profile-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  margin-bottom: 18px;
}

.profile-block-title .block-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.credential-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.credential-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-champagne);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(229, 211, 179, 0.6);
}

.credential-degree {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.credential-inst {
  display: block;
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 2px;
}

.diseases-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.disease-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(21, 25, 31, 0.85);
  border: 1px solid rgba(229, 211, 179, 0.2);
  font-size: 0.86rem;
  font-weight: 500;
  color: #e2e8f0;
  transition: var(--transition-fast);
}

.disease-pill:hover {
  border-color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
}

.publication-card {
  background: rgba(21, 25, 31, 0.8);
  border: 1px solid rgba(229, 211, 179, 0.2);
  border-radius: 14px;
  padding: 18px 22px;
}

.pub-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.15);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.pub-title {
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 6px;
}

.pub-journal {
  font-size: 0.84rem;
  color: var(--gold-champagne);
  font-weight: 500;
  display: block;
}

.doctor-profile-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.doctor-cta-subtext {
  font-size: 1.05rem;
  color: var(--gold-champagne);
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* --- PRÓXIMO PASSO (CTA) --- */
.cta-banner-section {
  padding: 100px 0;
  background-color: var(--color-obsidian);
}

.cta-banner-card {
  background: radial-gradient(circle at 100% 0%, #1c2129 0%, #101317 100%);
  border: 1px solid rgba(229, 211, 179, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.cta-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.cta-tag-text {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--gold-champagne);
  text-transform: uppercase;
}

.cta-card-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 48px;
}

.cta-card-headline {
  font-family: var(--font-serif-editorial);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 400;
  line-height: 1.12;
  color: #ffffff;
}

.cta-card-desc {
  font-size: 1.05rem;
  color: var(--text-dark-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-vertical-badge {
  border-left: 1px solid rgba(229, 211, 179, 0.3);
  padding-left: 24px;
}

.vertical-badge-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vertical-badge-text span {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--gold-champagne);
}

/* --- FOOTER INSTITUCIONAL --- */
.footer-section {
  background-color: #07090b;
  border-top: 1px solid rgba(229, 211, 179, 0.1);
  padding-top: 80px;
  color: #8c97a4;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.4fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: #a0acbc;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  gap: 16px;
}

.social-icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(229, 211, 179, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-champagne);
  transition: var(--transition-fast);
}

.social-icon-link:hover {
  background: var(--gold-gradient);
  color: #000000;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}

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

.footer-link-list a {
  font-size: 0.88rem;
  color: #8c97a4;
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--gold-champagne);
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-icon {
  color: var(--gold-champagne);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
}

.contact-text strong {
  color: #ffffff;
  font-weight: 500;
}

.contact-text span {
  color: #7b8897;
}

.contact-text a {
  color: var(--gold-champagne);
  font-weight: 600;
}

.contact-text a:hover {
  text-decoration: underline;
}

.doctor-badge-box {
  background: rgba(229, 211, 179, 0.04);
  border: 1px solid rgba(229, 211, 179, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
}

.doctor-name {
  font-family: var(--font-serif-editorial);
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.doctor-crm,
.doctor-rqe {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold-champagne);
  line-height: 1.6;
}

.doctor-credentials-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px 0;
}

.doctor-cred-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(229, 211, 179, 0.08);
  border: 1px solid rgba(229, 211, 179, 0.28);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-champagne);
  text-transform: uppercase;
}

.footer-address-link {
  color: #c4cfdd;
  font-size: 0.88rem;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.footer-address-link span {
  color: #7b8897;
  font-size: 0.82rem;
}

.footer-address-link:hover {
  color: var(--gold-champagne);
}

.footer-address-link:hover span {
  color: var(--gold-champagne);
}

.footer-tel-link {
  color: #c4cfdd;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
  display: inline-block;
  line-height: 1.5;
}

.footer-tel-link:hover {
  color: var(--gold-champagne);
}

.footer-tel-whatsapp {
  color: var(--gold-champagne);
  font-weight: 500;
}

.doctor-spec {
  font-size: 0.82rem;
  color: var(--gold-champagne);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.doctor-academic {
  font-size: 0.8rem;
  color: #a0acbc;
  line-height: 1.45;
  margin-bottom: 14px;
}

.doctor-action-box {
  margin-top: 14px;
}

.btn-appointment-mini {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #07090b;
  background: var(--gold-gradient);
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-appointment-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  color: #000000;
}

/* Footer Corporate / Razão Social & CNPJ */
.footer-corporate {
  border-top: 1px solid rgba(229, 211, 179, 0.08);
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.3);
}

.footer-corporate-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.corporate-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #7b8897;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.company-name {
  font-weight: 600;
  color: #b9c5d4;
  letter-spacing: 0.05em;
}

.company-cnpj {
  color: var(--gold-champagne);
  font-weight: 500;
}

.corporate-dot {
  color: rgba(229, 211, 179, 0.4);
  font-size: 0.7rem;
}

.company-address {
  color: #8c97a4;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #657180;
  gap: 16px;
  flex-wrap: nowrap;
}

.copyright-text {
  white-space: nowrap;
}

.developer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #7b8897;
  white-space: nowrap;
  flex-shrink: 0;
}

.developer-label {
  color: #7b8897;
  font-size: 0.82rem;
  white-space: nowrap;
}

.developer-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.developer-logo {
  height: 20px;
  width: auto;
  display: block;
  vertical-align: middle;
  border-radius: 3px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.developer-link:hover .developer-logo {
  transform: scale(1.12);
  filter: drop-shadow(0 0 10px rgba(230, 0, 126, 0.6));
}

/* --- MODAL DE AGENDAMENTO --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #121519;
  border: 1px solid rgba(229, 211, 179, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
  transform: translateY(20px) scale(0.97);
  transition: var(--transition-smooth);
}

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

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  color: var(--text-dark-muted);
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--gold-champagne);
}

.modal-tag {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--gold-champagne);
  margin-bottom: 8px;
}

.modal-headline {
  font-family: var(--font-serif-editorial);
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-dark-secondary);
  margin-bottom: 28px;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-option-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(229, 211, 179, 0.15);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.modal-option-card:hover {
  background: rgba(229, 211, 179, 0.08);
  border-color: var(--gold-champagne);
  transform: translateX(4px);
}

.option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-champagne);
  flex-shrink: 0;
}

.option-info {
  flex-grow: 1;
}

.option-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.option-desc {
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  line-height: 1.4;
}

.option-arrow {
  font-size: 1.2rem;
  color: var(--gold-champagne);
  transition: transform 0.2s ease;
}

.modal-option-card:hover .option-arrow {
  transform: translateX(4px);
}

/* Modal Quick Condition Chips (inspired by MyHealthPrac) */
.modal-chips-wrapper {
  margin-bottom: 22px;
}

.modal-chips-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold-champagne);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.modal-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 211, 179, 0.2);
  color: var(--text-dark-secondary);
  font-size: 0.76rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.modal-chip-btn:hover,
.modal-chip-btn.active {
  background: var(--gold-champagne);
  color: #0c0e11;
  border-color: var(--gold-champagne);
  font-weight: 600;
}

.modal-footer {
  text-align: center;
}

.modal-note {
  font-size: 0.78rem;
  color: var(--text-dark-muted);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1080px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 30px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .hero-tagline {
    top: 0;
    margin-bottom: 16px;
    justify-content: center;
  }

  .hero-title,
  .hero-subtitle {
    top: 0;
  }

  .hero-title {
    margin-bottom: 16px;
  }

  .hero-subtitle {
    margin-bottom: 26px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .monumental-bg {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 0 16px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
  }

  .monumental-text {
    font-size: clamp(3.8rem, 13vw, 7.5rem);
    letter-spacing: 0.05em;
    color: #efe5d5;
    opacity: 0.22;
    line-height: 0.9;
    text-align: center;
    white-space: nowrap;
    display: block;
    width: 100%;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  }

  .hero-category-pills {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 0;
  }

  .doctor-image-wrapper {
    max-width: 520px;
    margin: 0 auto;
    justify-content: center;
  }

  .doctor-photo {
    min-width: unset;
    max-width: 100%;
    max-height: 72vh;
  }

  .hero-side-badges {
    right: 4%;
    top: auto;
    bottom: 20px;
  }

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

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

  .editorial-grid,
  .thyroid-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-card-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-vertical-badge {
    display: none;
  }

  .doctor-profile-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .doctor-profile-visual {
    position: relative;
    top: 0;
    max-width: 440px;
    margin: 0 auto;
  }

  .thyroxine-white-img {
    width: 100%;
    max-width: 420px;
    min-width: unset;
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 16px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #0f1216;
    border-left: 1px solid rgba(229, 211, 179, 0.2);
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .nav-links li:not(:last-child)::after {
    display: none;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-actions .btn-pill-outline {
    display: none;
  }

  .hero-section {
    padding-top: 96px;
    padding-bottom: 20px;
    min-height: auto;
  }

  .hero-container {
    gap: 16px;
    padding: 0 16px;
  }

  .hero-content {
    padding-bottom: 0;
    margin: 0 auto;
  }

  /* Zerando offsets para fluxo sem sobreposicao */
  .hero-tagline {
    position: relative;
    top: 0;
    margin-bottom: 12px;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    gap: 8px;
  }

  .tagline-text {
    font-size: clamp(0.56rem, 2.2vw, 0.66rem);
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-align: center;
  }

  .tagline-line {
    display: none;
  }

  .hero-title {
    position: relative;
    top: 0;
    margin-top: 100px;
    margin-bottom: 24px;
    font-size: clamp(1.85rem, 6.6vw, 2.45rem);
    line-height: 1.18;
    text-align: center;
    letter-spacing: -0.01em;
  }

  .hero-title-nowrap {
    white-space: normal;
  }

  /* Ocultando subtitulo no mobile conforme solicitado pelo cliente */
  .hero-subtitle {
    display: none !important;
  }

  /* Palavra ENDOCRINO grande no fundo no mobile (perfeitamente centralizada e sem cortes) */
  .monumental-bg {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
  }

  .monumental-text {
    font-family: var(--font-serif-display);
    font-size: clamp(2.4rem, 13vw, 4.2rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-right: -0.02em;
    color: #efe5d5;
    opacity: 0.22;
    line-height: 0.9;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    width: auto;
    max-width: 98vw;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  }

  /* Imagem do Doutor imponente no Hero Mobile e protegida contra vazamento horizontal */
  .hero-visual {
    margin-top: 6px;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
  }

  .doctor-image-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Corta bordas escaladas evitando scroll horizontal */
    position: relative;
  }

  .doctor-photo {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    height: auto;
    max-height: none;
    object-fit: contain;
    transform: scale(1.22);
    transform-origin: top center;
    margin-top: -6px;
    margin-bottom: -12px;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.95));
    mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
  }

  /* Assinatura subida 70px no mobile para nao sobrepor a foto */
  .hero-side-badges {
    position: absolute;
    right: 12px;
    bottom: 82px;
    top: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 6;
    pointer-events: none;
    text-align: right;
    align-items: flex-end;
    max-width: 200px;
  }

  .badge-signature {
    align-items: flex-end;
    text-align: right;
    max-width: 100%;
  }

  .signature-name {
    font-size: clamp(2rem, 6.2vw, 2.4rem);
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  }

  .signature-qualification {
    font-size: 0.62rem;
    line-height: 1.3;
    text-align: right;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
    color: #efe5d5;
  }

  .journey-grid,
  .areas-grid,
  .doctor-profile-grid {
    grid-template-columns: 1fr;
  }

  .doctor-profile-card {
    border-radius: 20px;
  }

  .doctor-card-badge {
    bottom: 14px;
    left: 14px;
    right: 14px;
    padding: 10px 14px;
  }

  .doctoralia-seal-card {
    padding: 12px 16px;
    gap: 12px;
    margin-top: 14px;
  }

  .doctoralia-svg-badge {
    height: 38px;
  }

  .doctoralia-seal-title {
    font-size: 0.86rem;
  }

  .doctoralia-seal-desc {
    font-size: 0.7rem;
  }

  .doctor-profile-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  /* Prevencao rigorosa de scroll horizontal na Tireoide e comparativos */
  .thyroid-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    overflow: hidden;
  }

  .thyroid-split-card {
    max-width: 100%;
    overflow: hidden;
  }

  .thyroxine-wrap,
  .thyroxine-seal-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .thyroxine-white-img {
    width: 100%;
    max-width: 320px;
    min-width: unset !important;
    height: auto;
  }

  .doctor-profile-visual {
    max-width: 100%;
    overflow: hidden;
  }

  .comparison-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-header-row,
  .comparison-row {
    min-width: 600px;
  }

  .cta-banner-card {
    padding: 36px 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .corporate-info {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .corporate-dot {
    display: none;
  }

  .badge-vertical {
    display: none;
  }

  .footer-bottom-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.68rem, 2.4vw, 0.82rem);
    gap: 8px;
  }

  .developer-credit {
    font-size: clamp(0.68rem, 2.4vw, 0.82rem);
  }
}


@media (max-width: 480px) {
  .hero-section {
    padding-top: 88px;
    padding-bottom: 15px;
  }

  .hero-container {
    gap: 12px;
    padding: 0 12px;
  }

  .monumental-bg {
    top: 122px;
    padding: 0;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center !important;
    text-align: center !important;
  }

  .monumental-text {
    font-size: clamp(2.3rem, 12.8vw, 3.8rem);
    letter-spacing: 0.02em;
    margin-right: -0.02em;
    opacity: 0.20;
    text-align: center;
    display: inline-block;
    width: auto;
    max-width: 98vw;
  }

  .tagline-text {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-top: 100px;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    display: none !important;
  }

  .doctor-image-wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  .doctor-photo {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    transform: scale(1.24);
    transform-origin: top center;
    margin-top: -4px;
    margin-bottom: -10px;
  }

  .thyroxine-white-img {
    max-width: 280px;
    min-width: unset !important;
  }

  .hero-side-badges {
    right: 8px;
    bottom: 78px;
    max-width: 175px;
  }

  .signature-name {
    font-size: 1.9rem;
  }

  .signature-qualification {
    font-size: 0.58rem;
  }
}
