/* build: brand.css + site.css */
/* ===================================================================
   PHI Dental Lab — Brand Tokens
   Paleta derivada da identidade atual (petróleo #1C3A3E sobre branco,
   tinta #0d141a) para o site 2026. Define TODOS os tokens que o
   site.css consome (nomes herdados do pipeline da holding).
   =================================================================== */

:root {
  /* ---------- Cores da marca ---------- */
  --phi-petrol:        #1C3A3E;  /* Primária: CTAs, acentos            */
  --phi-petrol-dark:   #12282B;  /* Hover, fundos escuros              */
  --phi-ink:           #0d141a;  /* Texto principal / logo             */
  --phi-steel:         #2E6E7E;  /* Acento secundário, dados           */
  --phi-gold:          #A88B5C;  /* Detalhe premium (cerâmica), usar pouco */

  /* ---------- Mapeamento p/ tokens do pipeline (--wc-*) ---------- */
  --wc-teal:           var(--phi-petrol);
  --wc-teal-50:        #F1F5F4;
  --wc-teal-100:       #E0EAE8;
  --wc-teal-200:       #C3D5D2;
  --wc-blue-clinical:  var(--phi-steel);
  --wc-indigo:         #16242B;  /* cor de texto padrão */
  --wc-white:          #FFFFFF;
  --wc-ivory:          #FAF9F7;
  --wc-paper:          #FFFFFF;
  --wc-bone:           #F4F1EC;
  --wc-gray:           #5A6672;
  --wc-border:         #E4E7E9;
  --wc-border-strong:  #C9CFD3;

  --wc-gradient:       linear-gradient(135deg, #1C3A3E 0%, #0d141a 100%);

  --wc-shadow-soft:    0 4px 20px rgba(13, 20, 26, 0.07);
  --wc-shadow-medium:  0 8px 32px rgba(13, 20, 26, 0.12);
  --shadow-brand:      0 10px 30px rgba(28, 58, 62, 0.22);

  /* ---------- Tipografia ---------- */
  --font-sans:         "Avenir Next", "Segoe UI", Inter, system-ui, -apple-system, Arial, sans-serif;
  --font-display:      "Avenir Next", "Segoe UI", Inter, system-ui, -apple-system, Arial, sans-serif;

  --fs-16:             16px;
  --wc-lh-relaxed:     1.6;

  /* ---------- Texto auxiliar ---------- */
  --fg-mute:           #6B7680;

  /* ---------- Motion ---------- */
  --dur-fast:          150ms;
  --dur-base:          260ms;
  --dur-slow:          480ms;
  --ease-out:          cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   PHI Dental Lab — site styles
   Importa os tokens da marca PHI + padrões de página (pipeline
   da holding; nomes de token herdados, valores da marca PHI).
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: 450;
  line-height: var(--wc-lh-relaxed);
  color: var(--wc-indigo);
  background: var(--wc-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--wc-teal); color: #fff; }

:focus-visible { outline: 2px solid var(--wc-teal); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--wc-indigo); color: #fff;
  padding: 12px 18px; z-index: 100; font-weight: 700; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================
   Container
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: 880px; }
.container--wide   { max-width: 1440px; }

/* ============================================================
   Header — sticky, white, condenses on scroll
   ============================================================ */
.site-topbar {
  background: var(--wc-indigo);
  color: rgba(255,255,255,.84);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 9px 0;
}
.site-topbar__row { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.site-topbar a { color: rgba(255,255,255,.84); transition: color var(--dur-fast) var(--ease-out); }
.site-topbar a:hover { color: var(--wc-teal-200); }
.site-topbar__location { display: inline-flex; align-items: center; gap: 8px; }
.site-topbar__location::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--wc-teal); box-shadow: 0 0 0 3px rgba(0,184,176,.25);
}
.site-topbar__links { display: flex; gap: 22px; align-items: center; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--wc-border);
  position: sticky;
  top: 0;
  z-index: 40;
  transition: padding var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--wc-border), 0 14px 30px -22px rgba(78,104,152,.25); }
.site-header__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
  transition: padding var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .site-header__row { padding: 10px 0; }
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo img { height: 56px; width: auto; transition: height var(--dur-base) var(--ease-out); }
.site-header.is-scrolled .site-header__logo img { height: 44px; }

.site-nav {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--wc-indigo);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  letter-spacing: 0.01em;
}
.site-nav__link:hover, .site-nav__item.is-active > .site-nav__link {
  color: var(--wc-teal);
  background: var(--wc-teal-50);
}
.site-nav__link[aria-haspopup]::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
}
.site-nav__submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--wc-shadow-medium);
  display: none;
  z-index: 10;
}
.site-nav__item:hover .site-nav__submenu,
.site-nav__item:focus-within .site-nav__submenu { display: block; }
.site-nav__submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--wc-indigo);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.site-nav__submenu a:hover { background: var(--wc-teal-50); color: var(--wc-teal); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--wc-gray);
}
.lang-switch a { padding: 4px 6px; border-radius: 4px; transition: color var(--dur-fast) var(--ease-out); }
.lang-switch a:hover { color: var(--wc-teal); }
.lang-switch a[aria-current="true"] { color: var(--wc-indigo); }
.lang-switch__sep { opacity: .4; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.985); }
.btn--primary { background: var(--wc-teal); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--wc-blue-clinical); }
.btn--ghost { background: transparent; color: var(--wc-indigo); border-color: var(--wc-border-strong); }
.btn--ghost:hover { background: var(--wc-indigo); color: #fff; border-color: var(--wc-indigo); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 15px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn__arrow { display: inline-block; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  background: #fff;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--wc-indigo); transition: transform var(--dur-base) var(--ease-out); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--wc-indigo);
  color: rgba(255,255,255,.78);
  padding: clamp(48px, 7vw, 96px) 0 24px;
  font-size: 14px;
  line-height: 1.6;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}
.site-footer__logo { height: 62px; width: auto; margin-bottom: 22px; }
.site-footer__tag { margin: 0 0 24px; max-width: 38ch; color: rgba(255,255,255,.82); }
.site-footer__socials { display: flex; gap: 10px; }
.site-footer__socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.site-footer__socials a:hover { background: var(--wc-teal); color: #fff; border-color: var(--wc-teal); }

.site-footer__col h5 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wc-teal-200);
  margin: 0 0 18px;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer__col a, .site-footer__col p {
  color: rgba(255,255,255,.78);
  transition: color var(--dur-fast) var(--ease-out);
  margin: 0;
}
.site-footer__col a:hover { color: var(--wc-teal-200); }
.site-footer__contact { display: grid; gap: 4px; margin-bottom: 14px; }
.site-footer__credentials { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,.55); display: grid; gap: 4px; }

.site-footer__legal {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.03em;
}

/* ============================================================
   WhatsApp float
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  background: #fff;
  color: var(--wc-indigo);
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  box-shadow: 0 20px 40px -12px rgba(78,104,152,.35), 0 0 0 1px var(--wc-border);
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -14px rgba(78,104,152,.45), 0 0 0 1px var(--wc-teal); }
.wa-float__icon {
  width: 38px; height: 38px; border-radius: 999px;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.wa-float small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--wc-gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* ============================================================
   Section common
   ============================================================ */
.section { padding: clamp(64px, 8vw, 128px) 0; position: relative; }
.section--sm { padding: clamp(48px, 6vw, 88px) 0; }
.section--ivory { background: var(--wc-ivory); }
.section--paper { background: var(--wc-paper); }
.section--bone  { background: var(--wc-bone); }
.section--dark  { background: var(--wc-indigo); color: #fff; }
.section--dark .eyebrow { color: var(--wc-teal-200); }
.section--dark .display, .section--dark .h1, .section--dark .h2, .section--dark .h3, .section--dark .h4 { color: #fff; }
.section--dark .lead, .section--dark .body { color: rgba(255,255,255,.8); }
.section--dark .meta { color: rgba(255,255,255,.6); }

.section__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wc-teal);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--no-rule::before { display: none; }
.eyebrow--center { justify-content: center; }

.display {
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 24px;
  color: var(--wc-indigo);
  text-wrap: balance;
}
.h1 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0 0 22px;
  color: var(--wc-indigo);
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--wc-indigo);
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.4rem, 2vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--wc-indigo);
}
.h4 {
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--wc-indigo);
}
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 400; }
.display .accent, .h1 .accent, .h2 .accent {
  background: var(--wc-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--wc-gray);
  margin: 0 0 24px;
  max-width: 62ch;
  text-wrap: pretty;
}
.body { font-size: 16px; line-height: 1.65; color: var(--wc-gray); margin: 0 0 16px; max-width: 62ch; text-wrap: pretty; }
.meta { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wc-gray); }

.divider { height: 1px; background: var(--wc-border); border: 0; margin: 0; }

/* ============================================================
   Hero — editorial split (option 0 from form)
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
  background: var(--wc-white);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hero__copy { max-width: 56ch; }
.hero__title { font-size: clamp(2.5rem, 5.4vw, 5.25rem); font-weight: 400; line-height: 1; letter-spacing: -0.03em; margin: 0 0 24px; color: var(--wc-indigo); text-wrap: balance; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--wc-teal); }
.hero__lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 400; line-height: 1.55; color: var(--wc-gray); margin: 0 0 30px; max-width: 52ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__media {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--wc-shadow-medium);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip {
  position: absolute;
  left: 20px; top: 20px;
  background: rgba(255,255,255,.94);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wc-indigo);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__chip::before { content: ""; width: 6px; height: 6px; background: var(--wc-teal); border-radius: 999px; }

/* Hero dark variant — used on interior pages */
.hero--dark {
  background: var(--wc-indigo);
  color: #fff;
}
.hero--dark .eyebrow { color: var(--wc-teal-200); }
.hero--dark .hero__title { color: #fff; }
.hero--dark .hero__lead { color: rgba(255,255,255,.82); }

.hero--centered { text-align: center; }
.hero--centered .hero__grid { display: block; max-width: 920px; margin: 0 auto; }
.hero--centered .hero__lead { margin-left: auto; margin-right: auto; }
.hero--centered .hero__actions { justify-content: center; }

.hero--full {
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: clamp(80px, 12vw, 160px) 0 clamp(56px, 7vw, 96px);
  color: #fff;
  position: relative;
  isolation: isolate;
}
.hero--full .hero__bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero--full .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--full::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,30,55,0) 30%, rgba(15,30,55,.72) 100%),
    linear-gradient(95deg, rgba(15,30,55,.45) 0%, rgba(0,184,176,.18) 75%);
}
.hero--full .hero__title, .hero--full .eyebrow { color: #fff; }
.hero--full .eyebrow { color: rgba(255,255,255,.94); }
.hero--full .hero__lead { color: rgba(255,255,255,.86); }

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
  border-top: 1px solid var(--wc-border);
  border-bottom: 1px solid var(--wc-border);
  background: var(--wc-paper);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(28px, 4vw, 48px) 0;
  gap: clamp(20px, 3vw, 40px);
}
.trust__item { padding-inline: clamp(8px, 2vw, 20px); border-left: 1px solid var(--wc-border); }
.trust__item:first-child { border-left: 0; }
.trust__num {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--wc-indigo);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.trust__num em { font-style: normal; font-size: 0.55em; color: var(--wc-teal); font-weight: 700; }
.trust__label {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wc-gray);
}

/* ============================================================
   Cards (treatments, posts, team)
   ============================================================ */
.card-grid { display: grid; gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column;
  position: relative;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--wc-shadow-medium); border-color: var(--wc-teal-200); }
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--wc-teal-50);
  color: var(--wc-teal);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--wc-indigo); margin: 0 0 10px; }
.feature-card p { font-size: 15px; line-height: 1.6; color: var(--wc-gray); margin: 0; flex: 1; }
.feature-card.is-placeholder { background: var(--wc-paper); border-style: dashed; }
.feature-card.is-placeholder h3, .feature-card.is-placeholder p { color: var(--wc-gray); }

.treatment-card {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  position: relative;
}
.treatment-card:hover { transform: translateY(-4px); box-shadow: var(--wc-shadow-medium); }
.treatment-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wc-bone); }
.treatment-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.treatment-card:hover .treatment-card__media img { transform: scale(1.06); }
.treatment-card__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.treatment-card__tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wc-teal); }
.treatment-card h3 { margin: 0; font-size: 1.375rem; font-weight: 700; color: var(--wc-indigo); line-height: 1.2; }
.treatment-card p { margin: 0; font-size: 14.5px; color: var(--wc-gray); line-height: 1.55; flex: 1; }
.treatment-card__link {
  margin-top: 8px;
  font-weight: 700; font-size: 14px;
  color: var(--wc-teal);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--dur-fast) var(--ease-out);
}
.treatment-card__link:hover { color: var(--wc-blue-clinical); }
.treatment-card__link::after { content: "→"; transition: transform var(--dur-base) var(--ease-out); }
.treatment-card:hover .treatment-card__link::after { transform: translateX(3px); }

.post-card {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--wc-shadow-medium); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--wc-teal-50); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--wc-indigo); line-height: 1.25; margin: 4px 0 6px; }
.post-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--wc-gray); }
.post-card.is-placeholder { background: var(--wc-teal-50); border-style: dashed; border-color: var(--wc-teal-200); }
.post-card.is-placeholder .post-card__media { background: var(--wc-teal-100); display: flex; align-items: center; justify-content: center; }

/* ============================================================
   CTA panel (gradient)
   ============================================================ */
.cta-panel {
  background: var(--wc-gradient);
  color: #fff;
  border-radius: 24px;
  padding: clamp(36px, 5vw, 72px);
  box-shadow: 0 28px 70px -22px rgba(78,104,152,.45);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.cta-panel--single { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; text-align: center; }
.cta-panel__head h2 { color: #fff; font-size: clamp(1.875rem, 3.4vw, 3rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 18px; }
.cta-panel__head h2 em { font-style: italic; font-weight: 400; }
.cta-panel__head p { color: rgba(255,255,255,.92); font-size: 17px; font-weight: 400; line-height: 1.55; margin: 0 0 24px; }
.cta-panel__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cta-panel__pill { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 6px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: #fff; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-panel .btn--primary { background: #fff; color: var(--wc-indigo); box-shadow: none; }
.cta-panel .btn--primary:hover { background: var(--wc-ivory); color: var(--wc-indigo); }
.cta-panel .btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.55); }

.cta-panel__steps { display: grid; gap: 12px; }
.cta-panel__step {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
}
.cta-panel__step b { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 4px; font-weight: 700; }
.cta-panel__step span { font-size: 15px; font-weight: 400; line-height: 1.5; color: #fff; }
.cta-panel__num { font-size: 22px; font-weight: 400; color: #fff; opacity: .8; }

/* ============================================================
   Numbered list (framework rows)
   ============================================================ */
.numbered-list { display: grid; gap: 0; }
.numbered-list__row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--wc-border);
  align-items: start;
}
.numbered-list__row:last-child { border-bottom: 1px solid var(--wc-border); }
.numbered-list__num { font-size: 13px; font-weight: 700; color: var(--wc-teal); letter-spacing: 0.06em; padding-top: 4px; }
.numbered-list__title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--wc-indigo); }
.numbered-list__desc { margin: 0; font-size: 14.5px; color: var(--wc-gray); line-height: 1.6; max-width: 60ch; }

/* ============================================================
   Two-col image / copy
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.split--reverse { grid-template-columns: 1fr 1.1fr; }
.split--reverse .split__copy { order: 2; }
.split__media {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--wc-shadow-medium);
  position: relative;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--landscape { aspect-ratio: 5 / 4; }
.split__chip {
  position: absolute; left: 20px; top: 20px;
  background: rgba(255,255,255,.94);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wc-indigo);
}

/* ============================================================
   Quote / pull
   ============================================================ */
.pullquote {
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--wc-indigo);
  border-left: 2px solid var(--wc-teal);
  padding-left: 28px;
  margin: 24px 0 0;
  max-width: 28ch;
}
.pullquote__attr {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wc-gray);
  font-style: normal;
  display: block;
}

/* ============================================================
   Forms
   ============================================================ */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; color: var(--wc-indigo); letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px;
  padding: 14px 14px;
  border: 1px solid var(--wc-border);
  border-radius: 10px;
  background: #fff;
  color: var(--wc-indigo);
  outline: none;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--wc-teal);
  box-shadow: 0 0 0 4px rgba(0,184,176,.16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--wc-shadow-soft);
}

/* ============================================================
   Breadcrumbs
   ============================================================ */
.breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wc-gray);
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--wc-gray); transition: color var(--dur-fast) var(--ease-out); }
.breadcrumbs a:hover { color: var(--wc-teal); }
.breadcrumbs__sep { color: var(--wc-border-strong); }
.hero--dark .breadcrumbs, .hero--full .breadcrumbs { color: rgba(255,255,255,.72); }
.hero--dark .breadcrumbs a, .hero--full .breadcrumbs a { color: rgba(255,255,255,.72); }
.hero--dark .breadcrumbs a:hover, .hero--full .breadcrumbs a:hover { color: #fff; }
.hero--dark .breadcrumbs__sep, .hero--full .breadcrumbs__sep { color: rgba(255,255,255,.4); }

/* ============================================================
   Logo strip / partners
   ============================================================ */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--wc-border);
  border-bottom: 1px solid var(--wc-border);
}
.logo-strip img {
  max-height: 44px; width: auto; margin: 0 auto;
  opacity: .58; filter: grayscale(1);
  transition: opacity var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}
.logo-strip img:hover { opacity: 1; filter: grayscale(0); }

/* ============================================================
   Page intro band (used as alt to hero on interior pages)
   ============================================================ */
.page-intro {
  padding: clamp(96px, 11vw, 160px) 0 clamp(48px, 6vw, 80px);
  background: var(--wc-paper);
  border-bottom: 1px solid var(--wc-border);
}
.page-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.page-intro__lead { margin-bottom: 0; }

/* ============================================================
   Animations (reveal on scroll)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(14px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__row { grid-template-columns: auto 1fr auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16 / 11; order: -1; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__copy { order: 0; }
  .cta-panel { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .logo-strip { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .page-intro__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header__logo img { height: 44px; }
  .site-header.is-scrolled .site-header__logo img { height: 38px; }
  .site-header__actions .btn:not(.btn--primary) { display: none; }
  .lang-switch { display: none; }
  .site-topbar { display: none; }
  .card-grid--3, .card-grid--4, .card-grid--2 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: repeat(2, 1fr); }
  .display, .hero__title { font-size: clamp(2rem, 9vw, 2.75rem); }
  .wa-float { right: 14px; bottom: 14px; }
  .wa-float span:not(.wa-float__icon) { display: none; }
  .wa-float { padding: 8px; border-radius: 999px; }
}

/* ============ AEO blocks: TL;DR + FAQ ============ */
.tldr {
  max-width: 860px; margin: 0 auto;
  background: var(--wc-white, #fff);
  border: 1px solid var(--wc-border, #D6DCE7);
  border-left: 3px solid var(--wc-teal, #00B8B0);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: var(--wc-shadow-soft, 0 8px 28px rgba(78,104,152,.10));
}
.tldr__label {
  font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  font-size: 12px; color: var(--wc-teal, #00B8B0); margin: 0 0 12px;
}
.tldr__answer {
  font-family: var(--font-display, inherit); font-weight: 400;
  font-size: 19px; line-height: 1.55; color: var(--wc-indigo, #4E6898);
  margin: 0 0 18px; letter-spacing: -0.005em;
}
.tldr__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tldr__facts li {
  position: relative; padding-left: 22px;
  font-size: 15px; line-height: 1.5; color: var(--wc-gray, #5A6776);
}
.tldr__facts li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 2px; background: var(--wc-teal, #00B8B0);
}

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--wc-white, #fff);
  border: 1px solid var(--wc-border, #D6DCE7);
  border-radius: 12px;
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display, inherit); font-weight: 700;
  font-size: 16px; color: var(--wc-indigo, #4E6898); line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: 0 0 auto;
  font-size: 20px; font-weight: 400; color: var(--wc-teal, #00B8B0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--wc-blue-clinical, #1E90C0); }
.faq__body { padding: 0 24px 22px; }
.faq__body p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; color: var(--wc-gray, #5A6776); }
.faq__body p:last-child { margin-bottom: 0; }
.faq__byline {
  max-width: 860px; margin: 28px auto 0; text-align: center;
  font-size: 13px; color: var(--wc-gray, #5A6776); letter-spacing: .02em;
}
.article-meta {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  font-size: 13px; color: var(--wc-gray, #5A6776);
  margin: 10px 0 0; letter-spacing: .02em;
}

/* PHI: logo preto invertido para uso sobre fundo escuro do rodapé */
.site-footer__logo--invert { filter: invert(1) brightness(1.8); }

/* ============================================================
   PHI — Camada de contraste (auditoria 2026-07-18)
   As fotos do laboratório são ESCURAS. Todo texto sobre foto
   recebe scrim de tinta + cor clara; componentes escuros nunca
   recebem elementos de texto escuro.
   ============================================================ */

/* Scrim do hero em tom de tinta PHI, mais forte que o herdado */
.hero--full::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,20,26,.38) 0%, rgba(13,20,26,.30) 40%, rgba(13,20,26,.88) 100%),
    linear-gradient(95deg, rgba(13,20,26,.82) 0%, rgba(13,20,26,.52) 55%, rgba(28,58,62,.22) 100%);
}
.hero--full .h1, .hero--full h1 { text-shadow: 0 2px 26px rgba(0,0,0,.5); }
.hero--full .hero__lead, .hero--full .eyebrow, .hero--full .breadcrumbs { text-shadow: 0 1px 14px rgba(0,0,0,.55); }

/* Tudo que aparece dentro do hero sobre foto fica claro */
.hero--full .h1, .hero--full h1,
.hero--full .h2, .hero--full h2,
.hero--full .display { color: #fff; }
.hero--full .h1 em, .hero--full h1 em, .hero--full .h2 em { color: var(--wc-teal-200); }
.hero--full .hero__lead, .hero--full p { color: rgba(255,255,255,.92); }
.hero--full .eyebrow { color: var(--wc-teal-200); }

/* Botão ghost sobre superfícies escuras (hero e painéis) */
.hero--full .btn--ghost,
.cta-panel .btn--ghost,
.partner-strip .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(13,20,26,.25);
}
.hero--full .btn--ghost:hover,
.cta-panel .btn--ghost:hover,
.partner-strip .btn--ghost:hover {
  background: #fff;
  color: var(--phi-petrol);
  border-color: #fff;
}

/* Painel CTA: garantir hierarquia clara sobre o gradiente */
.cta-panel h2, .cta-panel .h2 { color: #fff; }
.cta-panel h2 em { color: var(--wc-teal-200); }
.cta-panel p { color: rgba(255,255,255,.88); }

/* Botão primário sobre superfícies escuras precisa se destacar do fundo */
.hero--full .btn--primary,
.cta-panel .btn--primary {
  background: #fff;
  color: var(--phi-petrol);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.hero--full .btn--primary:hover,
.cta-panel .btn--primary:hover {
  background: var(--wc-teal-100);
  color: var(--phi-petrol-dark);
}

/* Harmonização de fotos de hero: dessatura tons azulados fora da paleta */
.hero--full .hero__bg img { filter: saturate(0.78) contrast(1.03) brightness(0.96); }

/* Lead do hero: peso e opacidade maiores para leitura sobre foto */
.hero--full .hero__lead { font-weight: 400; color: rgba(255,255,255,.96); }
