/* =========================================================
   DRA. CAROLINA XAVIER — INFECTOLOGISTA INTEGRATIVA
   Design system: editorial, clean, professional, authoritative
   ========================================================= */

:root {
  /* Colors — warm premium: beige base + dark navy + teal */
  --bg:              #FAF9F6;
  --bg-alt:          #F0EDE7;
  --surface:         #E8E4DC;
  --surface-darker:  #D4CEC5;
  --ink:             #1A2024;
  --ink-muted:       #5C5852;
  --ink-soft:        #9A958E;
  --line:            #D8D3CB;
  --line-strong:     #BFB9AF;

  --sage:            #092C3D;
  --sage-dark:       #051E2B;
  --sage-light:      #2E8A94;
  --terracotta:      #63C6C7;
  --terracotta-dark: #4AADAE;
  --gold:            #C49A3C;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --maxw:          1240px;
  --maxw-narrow:   880px;
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     32px;

  --transition:    250ms cubic-bezier(.4,0,.2,1);
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Clean background — no texture */

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--sage); color: var(--bg); }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); }

.serif { font-family: var(--font-display); }
.italic { font-style: italic; }
em, .italic-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--sage);
  transform-origin: left;
}

p { margin-bottom: 1rem; color: var(--ink-muted); font-size: 1.02rem; }
p.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }

/* =========================================================
   INTRO STATEMENT (between hero and specialties)
   ========================================================= */
.intro-statement {
  background: var(--bg);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.intro-statement p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  color: var(--ink);
  line-height: 1.55;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.intro-statement em {
  font-style: normal;
  color: var(--terracotta);
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }

.divider-line {
  width: 100%;
  height: 1px;
  background: var(--line);
  max-width: var(--maxw);
  margin: 0 auto;
}

/* =========================================================
   ANIMATIONS & SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.72s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--stagger, 0) * 80ms),
    transform 0.72s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--stagger, 0) * 80ms);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Eyebrow decorative line grows from left on reveal */
.reveal .eyebrow::before {
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1)
              calc(var(--stagger, 0) * 80ms + 320ms);
}
.reveal.visible .eyebrow::before { transform: scaleX(1); }

/* Hero text animates in on page load (no scroll needed) */
.hero-text > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-text > *:nth-child(1) { animation-delay: 0.2s; }
.hero-text > *:nth-child(2) { animation-delay: 0.35s; }
.hero-text > *:nth-child(3) { animation-delay: 0.5s; }
.hero-text > *:nth-child(4) { animation-delay: 0.65s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: none; }
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 0.85rem 0;
  border-bottom-color: var(--line);
}

.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

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

.brand strong {
  font-weight: 500;
  font-style: italic;
}

.brand small {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 3px;
}

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

.nav a {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 400;
  position: relative;
  padding: 4px 0;
}

.nav a:hover, .nav a.active { color: var(--sage-dark); }

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--sage);
}

.nav-cta {
  background: var(--sage);
  color: var(--bg) !important;
  padding: 10px 20px !important;
  border-radius: 99px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
}

/* mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  display: block;
  transition: var(--transition);
}

.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); }

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    transition: right .35s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,.08);
  }
  .nav.open { right: 0; }
  .nav a { font-size: 1.5rem; font-family: var(--font-display); }
  .menu-toggle { display: flex; z-index: 110; }
}

/* =========================================================
   BUTTONS & CTAs
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--terracotta);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -12px rgba(60, 74, 46, 0.45);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--bg);
}
.btn-terracotta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -12px rgba(184, 84, 60, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: rgba(60, 74, 46, 0.04);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage-dark);
  font-weight: 500;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 1px solid currentColor;
  transition: var(--transition);
}
.btn-link:hover { gap: 14px; }

/* =========================================================
   HERO (home) — cinematic banner layout
   ========================================================= */
.hero {
  background: linear-gradient(180deg, #6d90ad 0%, #092c3d 100%);
  padding: 0;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

/* Photo bleeds from the left as an absolute layer */
.hero-photo {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 48%;
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Right-edge horizontal fade: photo dissolves into navy background */
.hero-photo::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 70%;
  background: linear-gradient(to right, transparent 0%, #092c3d 100%);
  pointer-events: none;
}

/* Bottom fade */
.hero-photo::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to top, #092c3d 0%, transparent 100%);
  pointer-events: none;
}

.hero > .container {
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: clamp(4.5rem, 7vw, 6rem);
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-text {
  width: 58%;
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

/* White/teal text on dark hero */
.hero h1 { color: #FFFFFF; }
.hero h1 em { color: var(--terracotta); font-style: italic; }
.hero .eyebrow { color: var(--terracotta); }
.hero .eyebrow::before { background: var(--terracotta); }
.hero .btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: #FFFFFF;
}
.hero .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.hero-text h1 {
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Floating credential card on the photo */
.hero-credential {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  background: rgba(9, 44, 61, 0.88);
  backdrop-filter: blur(12px);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  max-width: 210px;
  z-index: 3;
  border: 1px solid rgba(99, 198, 199, 0.25);
}

.hero-credential small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  font-weight: 600;
}
.hero-credential p {
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 5px 0 0;
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .hero-photo {
    position: relative;
    width: 100%;
    height: 440px;
    bottom: auto; top: auto; left: auto;
  }
  .hero-photo::after {
    width: 100%;
    height: 55%;
    right: auto; top: auto;
    bottom: 0; left: 0;
    background: linear-gradient(to top, #092c3d 0%, transparent 100%);
  }
  .hero-photo::before { display: none; }
  .hero > .container {
    min-height: 0;
    padding-top: 1.5rem;
  }
  .hero-inner {
    justify-content: flex-start;
    align-items: flex-start;
    flex: none;
  }
  .hero-text {
    width: 100%;
    padding: 2rem 0 3rem;
  }
  .hero-credential { bottom: 1rem; left: 0.75rem; }
}

/* =========================================================
   PILLARS SECTION — editorial list
   ========================================================= */
.pillars {
  background: var(--bg);
  border: none;
}

.pillar-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-tile {
  background: var(--sage);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-tile::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pillar-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.22);
}

.pillar-tile:hover::after { transform: scaleX(1); }

.tile-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  color: var(--terracotta);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 2rem;
  font-weight: 400;
  transition: opacity 0.3s;
}
.pillar-tile:hover .tile-num { opacity: 1; }

.pillar-tile h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.pillar-tile p {
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 500;
  margin-top: 2rem;
  transition: gap 0.3s;
}
.pillar-tile:hover .tile-cta { gap: 14px; }

@media (max-width: 900px) {
  .pillar-tiles { grid-template-columns: 1fr; }
  .pillar-tile { min-height: auto; }
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-heading .eyebrow { margin-bottom: 1rem; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
}

.pillars-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--ink);
}

.pillars-header h2 { margin-top: 1rem; line-height: 1.15; }

.pillars-header-sub {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 380px;
  line-height: 1.7;
  margin: 0;
  align-self: end;
}

.pillar-list { display: flex; flex-direction: column; }

.pillar-row {
  display: grid;
  grid-template-columns: 8rem 1fr auto auto;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.35s cubic-bezier(.4,0,.2,1), background 0.3s;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.pillar-row:hover {
  padding-left: 1.5rem;
  background: var(--surface);
}

.pillar-row-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.15;
  transition: opacity 0.4s ease;
  user-select: none;
  font-weight: 400;
}
.pillar-row:hover .pillar-row-num { opacity: 1; }

.pillar-row-body h3 {
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  color: var(--ink);
  margin-bottom: 0.5rem;
  transition: color 0.25s;
  line-height: 1.15;
}
.pillar-row:hover .pillar-row-body h3 { color: var(--sage-dark); }

.pillar-row-body p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 480px;
}

.pillar-row-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.25s;
}
.pillar-row:hover .pillar-row-tag { color: var(--terracotta); }

.pillar-row-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  transition: all 0.35s ease;
  flex-shrink: 0;
}
.pillar-row:hover .pillar-row-arrow {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFFFFF;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .pillars-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillar-row { grid-template-columns: 4.5rem 1fr auto; gap: 1.25rem; padding: 1.75rem 0.5rem; }
  .pillar-row-tag { display: none; }
  .pillar-row-num { font-size: 3.2rem; }
  .pillar-row:hover { padding-left: 0.75rem; }
}

/* =========================================================
   MANIFESTO / QUOTE SECTION
   ========================================================= */
.manifesto-section {
  background: linear-gradient(135deg, #6d90ad 0%, #092c3d 100%);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.manifesto-section blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  color: #FFFFFF;
  line-height: 1.35;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.manifesto-section blockquote em { color: var(--terracotta); font-style: normal; }

.manifesto-section cite {
  display: block;
  text-align: center;
  margin-top: 2rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  font-style: normal;
  font-weight: 500;
}

/* =========================================================
   METHOD / COMO FUNCIONA
   ========================================================= */
.method-section {
  background: var(--bg);
  padding: clamp(5rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.method-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
}

.method-header h2 { max-width: 420px; margin-top: 1rem; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.method-step {
  padding: 2.5rem 2rem 2.5rem 0;
  border-top: 2px solid var(--line);
  border-right: 1px solid var(--line);
  transition: border-top-color 0.3s;
  position: relative;
}
.method-step:last-child { border-right: none; padding-right: 0; }
.method-step:hover { border-top-color: var(--terracotta); }

.method-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.3;
  margin-bottom: 1.5rem;
  font-weight: 400;
  transition: opacity 0.3s;
}
.method-step:hover .method-num { opacity: 1; }

.method-step h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}

.method-step p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-step { border-right: none; padding: 2rem 0; }
  .method-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .method-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   IMPACT STRIP (teal band between sections)
   ========================================================= */
.impact-strip {
  background: var(--terracotta);
  padding: 1.4rem 0;
}

.impact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.impact-strip-inner > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.impact-strip-inner strong {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage);
  line-height: 1;
}

.impact-strip-inner span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--sage);
  opacity: 0.75;
}

.impact-sep {
  width: 1px;
  height: 36px;
  background: rgba(9,44,61,0.25);
}

@media (max-width: 700px) {
  .impact-sep { display: none; }
  .impact-strip-inner { gap: 1.5rem; }
}

/* =========================================================
   ABOUT / DOCTOR INTRO
   ========================================================= */
.about-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #D4CFC2 0%, #C0B8A3 100%);
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,.15) 100%);
}

.about-text .eyebrow { margin-bottom: 1.25rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { font-size: 1.05rem; margin-bottom: 1rem; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--sage-dark);
  margin-bottom: 6px;
}

.about-stats div span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  font-weight: 500;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { max-width: 450px; margin: 0 auto; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .about-stats div strong { font-size: 1.8rem; }
}

/* =========================================================
   SERVICES / ESPECIALIDADES (complementary)
   ========================================================= */
.services-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.service-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  transition: var(--transition);
}
.service-item:hover {
  border-color: var(--sage-light);
  background: var(--surface);
}

.service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
}

.service-item h4 { margin-bottom: 6px; font-size: 1.05rem; }
.service-item p { font-size: 0.92rem; margin-bottom: 8px; }
.service-item a {
  color: var(--sage-dark);
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
}

@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CTA BLOCK (inline CTA between sections)
   ========================================================= */
.cta-block {
  background: var(--sage-dark);
  color: var(--bg);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  margin: 4rem 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 241, 234, 0.08) 0%, transparent 70%);
}

.cta-block h3 {
  color: var(--bg);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.cta-block p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

.cta-block .btn-terracotta { background: var(--terracotta); color: #fff; }
.cta-block .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-block .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 800px) {
  .cta-block { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.75rem; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.testimonial cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: block;
}
.testimonial cite span {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 12px;
  display: block;
  margin-top: 2px;
}

@media (max-width: 800px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   BLOG (index & pages)
   ========================================================= */
.blog-section {
  background: var(--sage);
  border-top: none;
}

.blog-section .section-heading h2 { color: #FFFFFF; }
.blog-section .section-heading .eyebrow { color: var(--terracotta); }
.blog-section .section-heading .eyebrow::before { background: var(--terracotta); }
.blog-section .section-heading p { color: rgba(255,255,255,0.68); }
.blog-section .btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: #FFFFFF;
}
.blog-section .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.blog-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 3rem;
}

.blog-grid--equal {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
}

/* Editorial card — typography-first, no placeholder image */
.blog-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Animated left accent bar */
.blog-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--terracotta);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.blog-card:first-child { grid-row: 1 / 3; }
.blog-grid--equal .blog-card:first-child { grid-row: auto; }

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.18);
}
.blog-card:hover::before { transform: scaleY(1); }

.blog-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card:first-child .blog-card-body { padding: 2.5rem; }

.blog-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: rgba(255,255,255,0.48);
  margin-bottom: 1rem;
}

.blog-card-meta .pillar-tag {
  color: var(--terracotta);
  padding: 3px 10px;
  background: rgba(99,198,199,0.14);
  border-radius: 99px;
  letter-spacing: 0.08em;
}

.blog-card h3 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.28;
}

.blog-card:first-child h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.blog-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  flex: 1;
  line-height: 1.65;
}

.blog-card .btn-link {
  color: var(--terracotta);
  border-bottom-color: rgba(99,198,199,0.3);
  align-self: flex-start;
  font-size: 13px;
}
.blog-card .btn-link:hover { gap: 14px; border-bottom-color: var(--terracotta); }

@media (max-width: 900px) {
  .blog-grid,
  .blog-grid--equal { grid-template-columns: 1fr; }
  .blog-card:first-child { grid-row: auto; }
}

/* =========================================================
   PILLAR PAGE (intestino, herpes, imunidade pages)
   ========================================================= */
.pillar-hero {
  padding: 10rem 0 4rem;
  border-bottom: 1px solid var(--line);
}

.pillar-hero-inner {
  max-width: 800px;
}

.pillar-hero .eyebrow { margin-bottom: 1.5rem; }
.pillar-hero h1 { margin-bottom: 1.5rem; }
.pillar-hero p.lead { max-width: 680px; margin-bottom: 2rem; }

/* Dark variant — used on specialty pages for visual contrast */
.pillar-hero--dark {
  background: var(--sage-dark);
  border-bottom: none;
}
.pillar-hero--dark .eyebrow { color: var(--terracotta); }
.pillar-hero--dark .eyebrow::before { background: var(--terracotta); }
.pillar-hero--dark h1 { color: #FFFFFF; }
.pillar-hero--dark h1 em { color: var(--terracotta); }
.pillar-hero--dark .lead { color: rgba(255,255,255,0.75); }
.pillar-hero--dark .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,0.3); }
.pillar-hero--dark .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* =========================================================
   SECONDARY SPECIALTIES (outras áreas de atuação)
   ========================================================= */
.outras-areas {
  background: var(--sage);
  border-top: none;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.outras-areas-header { margin-bottom: 2rem; }
.outras-areas-header .eyebrow { color: var(--terracotta); }
.outras-areas-header .eyebrow::before { background: var(--terracotta); }
.outras-areas-header h2 { color: #FFFFFF; }

.outras-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  gap: 1px;
}

.outra-area {
  padding: 2rem 2.25rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transition: background 0.2s ease;
}

.outra-area:hover { background: var(--surface); }

.outra-area-title {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.outra-area p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
  flex: 1;
}

.outra-area-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}
.outra-area:hover .outra-area-link { color: var(--terracotta-dark); }

@media (max-width: 700px) {
  .outras-areas-grid { grid-template-columns: 1fr; }
}

.pillar-content {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.pillar-content h2 {
  margin: 3rem 0 1.25rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.pillar-content h3 { margin: 2rem 0 1rem; font-size: 1.35rem; }

.pillar-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.pillar-content p.muted { color: var(--ink-muted); }

.pillar-content ul {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.pillar-content ul li {
  padding: 12px 0 12px 2rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
}
.pillar-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 500;
}

/* callout box */
.callout {
  background: var(--surface);
  border-left: 3px solid var(--sage);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.callout strong { color: var(--sage-dark); font-weight: 500; }

/* faq accordion */
.faq {
  margin: 3rem 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  padding: 1.4rem 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  transition: var(--transition);
}
.faq-q:hover { color: var(--sage-dark); }

.faq-q::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--sage);
  transition: transform .3s ease;
  font-family: var(--font-body);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a {
  max-height: 800px;
  padding-bottom: 1.25rem;
}

.faq-a p {
  font-size: 0.98rem;
  color: var(--ink-muted);
  padding-right: 2rem;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-item {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-info-item small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.contact-info-item strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
}
.contact-info-item p { font-size: 0.95rem; margin-top: 4px; }
.contact-info-item a { color: var(--sage-dark); font-weight: 500; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(60, 74, 46, 0.1);
}

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

.form-group small {
  font-size: 12px;
  color: var(--ink-soft);
  display: block;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 1.75rem; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--sage-dark);
  color: var(--bg);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 241, 234, 0.15);
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 0.75rem;
  font-style: italic;
}
.footer-brand p {
  color: rgba(245, 241, 234, 0.7);
  font-size: 0.92rem;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-brand small {
  font-size: 12px;
  color: rgba(245, 241, 234, 0.5);
  display: block;
  margin-top: 8px;
}

.footer-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 241, 234, 0.6);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(245, 241, 234, 0.85);
  font-size: 14px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--bg); padding-left: 4px; }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(245, 241, 234, 0.55);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-dev {
  font-size: 11px;
  color: rgba(245, 241, 234, 0.4);
}
.footer-dev a {
  color: rgba(245, 241, 234, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-dev a:hover {
  color: rgba(245, 241, 234, 0.9);
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 241, 234, 0.08);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--terracotta); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
}

.whatsapp-float .label {
  position: absolute;
  right: 72px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition);
  font-weight: 500;
}
.whatsapp-float:hover .label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

@media (max-width: 600px) {
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .whatsapp-float .label { display: none; }
}

/* reveal animations defined above (line ~171) */

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 2rem; }
.mb-3 { margin-bottom: 2rem; }

/* =========================================================
   MAGAZINE / EDITORIAL — article pages & specialty redesign
   ========================================================= */

/* ─── Article hero (dark banner for blog post pages) ─── */
.article-hero {
  background: var(--sage-dark);
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.article-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(99,198,199,0.35), transparent);
}

.article-hero .eyebrow { color: var(--terracotta); }
.article-hero .eyebrow::before { background: var(--terracotta); }

.article-hero-title {
  color: #FFFFFF;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 1.25rem 0 1.5rem;
  max-width: 820px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.article-hero-deck {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.article-meta span { display: flex; align-items: center; gap: 0.5rem; }

/* ─── Article body ─── */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}

.article-body p {
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

/* Lead paragraph — first p after hero gets special treatment */
.article-body > p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
}

.article-body h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 3.5rem 0 1.25rem;
  line-height: 1.15;
  color: var(--ink);
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.article-body h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  margin: 2.5rem 0 0.75rem;
  color: var(--ink);
  font-weight: 600;
}

.article-body strong { color: var(--ink); }

.article-body ul {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
}

.article-body ul li {
  padding: 10px 0 10px 2rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.article-body ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 500;
}

.article-body ul li:first-child { border-top: 1px solid var(--line); }

/* ─── Pull quote — editorial breakout ─── */
.pull-quote {
  margin: 3rem -2rem;
  padding: 2.5rem 2rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-top: 1rem;
  font-weight: 500;
}

@media (min-width: 901px) {
  .pull-quote { margin: 3.5rem -4rem; padding: 3rem 4rem; }
}

/* ─── Stat strip inside article ─── */
.article-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 3rem 0;
}

.article-stat {
  background: var(--bg-alt);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.article-stat strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--sage-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.article-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .article-stat-strip { grid-template-columns: 1fr; }
}

/* ─── Callout box inside article ─── */
.article-callout {
  background: var(--surface);
  border-left: 3px solid var(--terracotta);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2.5rem 0;
}

.article-callout p {
  color: var(--ink);
  font-size: 1rem;
  margin: 0;
  line-height: 1.65;
}

.article-callout strong { color: var(--sage-dark); }

/* ─── Author bio block ─── */
.article-author {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin: 3.5rem 0 2rem;
}

.article-author-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-darker);
}

.article-author-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

.article-author-text h4 {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.article-author-text small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.article-author-text p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.55;
}

/* ─── End-of-article CTA ─── */
.article-cta {
  background: var(--sage-dark);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  margin: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,198,199,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.article-cta h3 {
  color: #FFFFFF;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  margin-bottom: 0.75rem;
}

.article-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.article-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.article-cta .btn-ghost {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.3);
}

.article-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
}

/* ─── Related articles ─── */
.article-related {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  margin-top: 2rem;
}

.article-related h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.article-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-related-item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.2s ease;
}

.article-related-item:hover { padding-left: 8px; }

.article-related-item .pillar-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  background: rgba(99,198,199,0.12);
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.article-related-item span:last-child {
  font-size: 0.97rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.2s;
}

.article-related-item:hover span:last-child { color: var(--sage-dark); }

/* ─── Blog page — featured article banner ─── */
.blog-featured {
  background: var(--sage);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  margin-bottom: 2rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

.blog-featured-content {
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-featured-visual {
  background: linear-gradient(135deg, rgba(99,198,199,0.15) 0%, rgba(9,44,61,0.4) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 2rem;
}

.blog-featured-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--sage) 0%, transparent 50%);
}

.blog-featured-badge {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 8vw, 7rem);
  color: rgba(99,198,199,0.15);
  line-height: 1;
  user-select: none;
  position: relative;
  z-index: 1;
}

.blog-featured-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-featured-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--terracotta);
}

.blog-featured h2 {
  color: #FFFFFF;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.blog-featured p {
  color: rgba(255,255,255,0.65);
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 440px;
}

.blog-featured .btn-link {
  color: var(--terracotta);
  border-bottom-color: rgba(99,198,199,0.3);
  align-self: flex-start;
}

@media (max-width: 800px) {
  .blog-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .blog-featured-visual { display: none; }
}

/* ─── Blog section header on blog.html ─── */
.blog-section-light {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.blog-section-light .section-heading h2 { color: var(--ink); }
.blog-section-light .section-heading .eyebrow { color: var(--sage); }
.blog-section-light .section-heading .eyebrow::before { background: var(--sage); }

/* ═══════════════════════════════════════════
   MAGAZINE INNER PAGES — full editorial layout
   ═══════════════════════════════════════════ */

/* Generic mag section */
.mag-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.mag-section--alt { background: var(--bg-alt); }
.mag-section--surface { background: var(--surface); }
.mag-section--dark { background: var(--sage-dark); }

/* 2-col intro: sticky sidebar + body */
.mag-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.mag-lead-side {
  position: sticky;
  top: 7rem;
}

.mag-lead-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}
.mag-lead-label::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--terracotta);
}

.mag-lead-side h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.mag-lead-side .lead {
  font-size: 1.04rem;
  color: var(--ink-muted);
  line-height: 1.72;
  margin: 0;
}

.mag-side-stats {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
}

.mag-side-stat strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--sage-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.mag-side-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
}

.mag-body p {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--ink-muted);
  margin-bottom: 1.4rem;
}

.mag-body > p:first-child {
  font-size: 1.16rem;
  line-height: 1.65;
  color: var(--ink);
}

.mag-body strong { color: var(--ink); }

.mag-body .callout {
  background: var(--surface);
  border-left: 3px solid var(--terracotta);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}

/* Full-width quote strip */
.mag-quote-strip {
  background: var(--sage-dark);
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
  border-top: none;
}

.mag-quote-strip blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: #FFFFFF;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.mag-quote-strip blockquote em {
  color: var(--terracotta);
  font-style: normal;
}

.mag-quote-strip cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.38);
  font-style: normal;
  font-weight: 500;
}

/* Conditions / conditions editorial numbered rows */
.cond-section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0;
}

.cond-section-header h2 { margin-top: 0.75rem; }

.cond-section-sub {
  font-size: 1.04rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0;
  align-self: end;
}

.cond-list { display: flex; flex-direction: column; }

.cond-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.25s;
}

.cond-row:hover { background: var(--surface); }

.cond-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3.5rem, 5vw, 5.5rem);
  font-weight: 400;
  color: var(--terracotta);
  opacity: 0.2;
  line-height: 1;
  transition: opacity 0.3s;
  user-select: none;
  padding-top: 0.25rem;
}

.cond-row:hover .cond-num { opacity: 0.9; }

.cond-body h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin-bottom: 0.85rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cond-body > p {
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.72;
  margin-bottom: 0.9rem;
}

.cond-diag {
  display: inline-block;
  background: var(--surface-darker);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--ink);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.cond-diag strong { color: var(--sage-dark); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* Process / Como funciona */
.process-header {
  margin-bottom: 3rem;
}

.process-header h2 { margin-top: 0.75rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--line);
}

.process-step {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.process-step:nth-child(even) {
  padding-left: 2.5rem;
  padding-right: 0;
  border-right: none;
}

.process-step:nth-last-child(-n+2) { border-bottom: none; }

.process-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--terracotta);
  opacity: 0.22;
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: opacity 0.3s;
}

.process-step:hover .process-num { opacity: 1; }

.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: 0.91rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin: 0;
}

/* FAQ in mag layout */
.mag-faq { max-width: var(--maxw-narrow); margin: 0 auto; }

@media (max-width: 900px) {
  .mag-lead-grid { grid-template-columns: 1fr; }
  .mag-lead-side { position: static; }
  .cond-section-header { grid-template-columns: 1fr; gap: 1rem; }
  .cond-row { grid-template-columns: 3.5rem 1fr; gap: 1.5rem; padding: 2rem 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .process-step:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: none; }
}

/* ─── Magazine specialty page sections ─── */
.mag-intro {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}

.mag-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.mag-intro-side {
  position: sticky;
  top: 7rem;
}

.mag-intro-side-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mag-intro-side-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--terracotta);
}

.mag-intro-side h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.mag-intro-side .lead {
  font-size: 1.08rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.mag-stat-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mag-stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--sage-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.mag-stat-item span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  font-weight: 500;
}

.mag-body-content > p:first-child {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 2rem;
}

.mag-body-content p {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 1.4rem;
}

.mag-body-content h3 {
  margin: 2.5rem 0 0.85rem;
  font-size: 1.25rem;
  color: var(--ink);
}

.mag-pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
  padding: 2rem 0 2rem 1.5rem;
  border-left: 3px solid var(--terracotta);
  margin: 2.5rem 0;
  font-weight: 400;
}

@media (max-width: 900px) {
  .mag-intro-grid { grid-template-columns: 1fr; }
  .mag-intro-side { position: static; }
  .mag-stat-block { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
}

/* =========================================================
   INSTAGRAM FEED
   ========================================================= */
.instagram-section {
  background: var(--bg-alt);
  padding: clamp(5rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.instagram-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
}

.instagram-header h2 { max-width: 420px; margin-top: 1rem; }

@media (max-width: 700px) {
  .instagram-header { flex-direction: column; align-items: flex-start; }
}
