/*
===============================================================================
PORTAL DO HÁLITO — DESIGN SYSTEM CONSOLIDADO v1.2.3
Base validada: página-piloto Halitose / CSS piloto v1.8
Data: 2026-08-02
Status: BASE CONSOLIDADA + COMPONENTES OFICIAIS .ph-diagram E .ph-author-profile
Snippet oficial: "Portal do Hálito — Design System v1.2.3"

ESCOPO E SEGURANÇA
- O wrapper oficial é .ph-ds.
- :where(.ph-ds, .ph-ds--pilot) permanece somente como alias de compatibilidade.
- O CSS não altera páginas sem um desses wrappers.
- Não há JavaScript, fontes externas, plugins ou dependências de terceiros.
- Componentes vazios devem ser omitidos no template; não usar placeholders públicos.
===============================================================================
*/

@layer ph-tokens, ph-base, ph-layout, ph-components, ph-utilities;

/* ==========================================================================
   TOKENS
   ========================================================================== */
@layer ph-tokens {
  :root {
    /* Cores oficiais */
    --ph-color-brand-navy: #003060;
    --ph-color-brand-turquoise: #00A0B0;

    /* Cores complementares aprovadas */
    --ph-color-navy-deep: #081E2E;
    --ph-color-blue: #1A6B8A;
    --ph-color-turquoise-bright: #2DCCD3;

    /* Texto e superfícies */
    --ph-color-text: #0B1F2D;
    --ph-color-text-soft: #405869;
    --ph-color-text-muted: #617888;
    --ph-color-surface: #FFFFFF;
    --ph-color-surface-soft: #F4F9FA;
    --ph-color-surface-tint: #EAF6F7;
    --ph-color-border: rgba(0, 48, 96, .14);
    --ph-color-border-strong: rgba(0, 48, 96, .24);
    --ph-color-focus: #2DCCD3;

    /* Estados funcionais; não são cores de marca nem de CTA */
    --ph-color-info: #1A6B8A;
    --ph-color-info-bg: #EAF6F7;
    --ph-color-success: #0F6B4F;
    --ph-color-success-bg: #E9F7F1;
    --ph-color-warning: #7A5A00;
    --ph-color-warning-bg: #FFF8E1;
    --ph-color-danger: #9B2C2C;
    --ph-color-danger-bg: #FCEEEE;

    /* Degradês institucionais aprovados */
    --ph-gradient-dark:
      linear-gradient(
        135deg,
        var(--ph-color-navy-deep) 0%,
        var(--ph-color-brand-navy) 46%,
        #0F4A60 72%,
        var(--ph-color-blue) 100%
      );
    --ph-gradient-action:
      linear-gradient(
        135deg,
        var(--ph-color-blue) 0%,
        var(--ph-color-brand-turquoise) 100%
      );
    --ph-gradient-soft:
      linear-gradient(
        180deg,
        rgba(45, 204, 211, .16) 0%,
        #FFFFFF 100%
      );

    /* Tipografia */
    --ph-font-heading: "Montserrat", "Inter", Arial, sans-serif;
    --ph-font-body: "Inter", Arial, sans-serif;

    --ph-font-size-display: clamp(2.45rem, 5vw, 4.7rem);
    --ph-font-size-h1: clamp(2.25rem, 4.5vw, 4.15rem);
    --ph-font-size-h2: clamp(1.85rem, 3.2vw, 3rem);
    --ph-font-size-h3: clamp(1.12rem, 1.6vw, 1.38rem);
    --ph-font-size-lead: clamp(1.08rem, 1.6vw, 1.28rem);
    --ph-font-size-body: 1rem;
    --ph-font-size-small: .9rem;
    --ph-font-size-eyebrow: .76rem;

    --ph-line-heading: 1.12;
    --ph-line-body: 1.72;

    /* Espaçamento */
    --ph-space-1: .25rem;
    --ph-space-2: .5rem;
    --ph-space-3: .75rem;
    --ph-space-4: 1rem;
    --ph-space-5: 1.5rem;
    --ph-space-6: 2rem;
    --ph-space-7: 3rem;
    --ph-space-8: 4rem;
    --ph-space-9: 5rem;
    --ph-space-10: 6rem;

    /* Ritmo editorial consolidado */
    --ph-section-space-y: clamp(3.25rem, 5.2vw, 4.5rem);
    --ph-hero-space-y: clamp(3.75rem, 6.5vw, 5.75rem);
    --ph-section-heading-gap: 1.25rem;
    --ph-grid-gap: 1.25rem;
    --ph-grid-gap-mobile: 1rem;
    --ph-card-padding: clamp(1.25rem, 2vw, 1.75rem);
    --ph-split-gap: clamp(2rem, 4vw, 3.5rem);
    --ph-cta-padding: clamp(1.75rem, 4vw, 3rem);

    /* Larguras */
    --ph-width-reading: 47.5rem;
    --ph-width-content: 70rem;
    --ph-width-wide: 80rem;

    /* Bordas e sombras */
    --ph-radius-sm: .75rem;
    --ph-radius-md: 1.125rem;
    --ph-radius-lg: 1.5rem;
    --ph-radius-pill: 999px;

    --ph-shadow-sm: 0 6px 20px rgba(8, 30, 46, .07);
    --ph-shadow-md: 0 16px 42px rgba(8, 30, 46, .11);
    --ph-shadow-lg: 0 24px 68px rgba(8, 30, 46, .16);

    --ph-transition: 180ms ease;
    --ph-touch-target: 2.75rem;
    --ph-z-sticky: 20;
    --ph-z-floating: 40;

    /* Sistema de Ilustrações v1.0 */
    --ph-illustration-stroke-lg: 2px;
    --ph-illustration-stroke-sm: 1.5px;

    /* Preparação estrutural para futuras ações de contato */
    --ph-contact-action-bg: var(--ph-color-brand-navy);
    --ph-contact-action-bg-hover: var(--ph-color-blue);
    --ph-contact-action-color: #FFFFFF;
    --ph-contact-action-radius: var(--ph-radius-pill);
    --ph-contact-action-shadow: 0 10px 24px rgba(0,48,96,.22);
  }
}

/* ==========================================================================
   BASE — limitada ao wrapper oficial
   ========================================================================== */
@layer ph-base {
  :where(.ph-ds, .ph-ds--pilot),
  :where(.ph-ds, .ph-ds--pilot) *,
  :where(.ph-ds, .ph-ds--pilot) *::before,
  :where(.ph-ds, .ph-ds--pilot) *::after {
    box-sizing: border-box;
  }

  :where(.ph-ds, .ph-ds--pilot) {
    margin: 0;
    background: var(--ph-color-surface);
    color: var(--ph-color-text);
    font-family: var(--ph-font-body);
    font-size: var(--ph-font-size-body);
    line-height: var(--ph-line-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }

  :where(.ph-ds, .ph-ds--pilot) h1,
  :where(.ph-ds, .ph-ds--pilot) h2,
  :where(.ph-ds, .ph-ds--pilot) h3,
  :where(.ph-ds, .ph-ds--pilot) h4,
  :where(.ph-ds, .ph-ds--pilot) .ph-summary__label,
  :where(.ph-ds, .ph-ds--pilot) .ph-button {
    font-family: var(--ph-font-heading);
  }

  :where(.ph-ds, .ph-ds--pilot) h1,
  :where(.ph-ds, .ph-ds--pilot) h2,
  :where(.ph-ds, .ph-ds--pilot) h3,
  :where(.ph-ds, .ph-ds--pilot) p,
  :where(.ph-ds, .ph-ds--pilot) ul,
  :where(.ph-ds, .ph-ds--pilot) ol,
  :where(.ph-ds, .ph-ds--pilot) dl {
    margin-top: 0;
  }

  :where(.ph-ds, .ph-ds--pilot) h1 {
    margin-bottom: var(--ph-space-5);
    font-size: var(--ph-font-size-h1);
    line-height: 1.03;
    letter-spacing: -.035em;
    font-weight: 700;
  }

  :where(.ph-ds, .ph-ds--pilot) h2 {
    margin-bottom: var(--ph-space-4);
    font-size: var(--ph-font-size-h2);
    line-height: var(--ph-line-heading);
    letter-spacing: -.025em;
    font-weight: 700;
    color: var(--ph-color-brand-navy);
  }

  :where(.ph-ds, .ph-ds--pilot) h3 {
    margin-bottom: var(--ph-space-3);
    font-size: var(--ph-font-size-h3);
    line-height: 1.28;
    letter-spacing: -.012em;
    font-weight: 700;
    color: var(--ph-color-brand-navy);
  }

  :where(.ph-ds, .ph-ds--pilot) p {
    margin-bottom: var(--ph-space-4);
  }

  :where(.ph-ds, .ph-ds--pilot) a {
    color: var(--ph-color-blue);
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
  }

  :where(.ph-ds, .ph-ds--pilot) a:focus-visible,
  :where(.ph-ds, .ph-ds--pilot) button:focus-visible,
  :where(.ph-ds, .ph-ds--pilot) summary:focus-visible {
    outline: 3px solid var(--ph-color-focus);
    outline-offset: 4px;
    border-radius: .25rem;
  }

  :where(.ph-ds, .ph-ds--pilot) [hidden] {
    display: none !important;
  }
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
@layer ph-layout {
  :where(.ph-ds, .ph-ds--pilot) .ph-container {
    width: min(100% - 2rem, var(--ph-width-content));
    margin-inline: auto;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-reading {
    max-width: var(--ph-width-reading);
    margin-inline: auto;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-section {
    padding-block: var(--ph-section-space-y);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-section--soft {
    background: var(--ph-color-surface-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-section--accent {
    background:
      radial-gradient(circle at 90% 0%, rgba(45, 204, 211, .25), transparent 38%),
      var(--ph-gradient-dark);
    color: #FFFFFF;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-grid {
    display: grid;
    gap: var(--ph-grid-gap);
    margin-top: var(--ph-space-5);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(.ph-ds, .ph-ds--pilot) .ph-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :where(.ph-ds, .ph-ds--pilot) .ph-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  :where(.ph-ds, .ph-ds--pilot) .ph-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
    gap: var(--ph-split-gap);
    align-items: start;
  }

  @media (max-width: 62rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-grid--4,
    :where(.ph-ds, .ph-ds--pilot) .ph-grid--3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-split {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 47.9375rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-container {
      width: min(100% - 1.5rem, var(--ph-width-content));
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-section {
      padding-block: 3rem;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-grid {
      gap: var(--ph-grid-gap-mobile);
      margin-top: var(--ph-space-4);
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-grid--2,
    :where(.ph-ds, .ph-ds--pilot) .ph-grid--3,
    :where(.ph-ds, .ph-ds--pilot) .ph-grid--4 {
      grid-template-columns: 1fr;
    }
  }
}

/* ==========================================================================
   COMPONENTES OFICIAIS VALIDADOS NO PILOTO
   ========================================================================== */
@layer ph-components {
  /* Selo / eyebrow */
  :where(.ph-ds, .ph-ds--pilot) .ph-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: var(--ph-space-4);
    color: var(--ph-color-blue);
    font-family: var(--ph-font-heading);
    font-size: var(--ph-font-size-eyebrow);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-eyebrow::before {
    content: "";
    width: 2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--ph-color-brand-turquoise);
  }

  /* Hero */
  :where(.ph-ds, .ph-ds--pilot) .ph-hero {
    position: relative;
    overflow: hidden;
    padding-block: var(--ph-hero-space-y);
    background:
      radial-gradient(circle at 86% 12%, rgba(45, 204, 211, .28), transparent 28rem),
      linear-gradient(135deg, var(--ph-color-navy-deep) 0%, var(--ph-color-brand-navy) 50%, var(--ph-color-blue) 100%);
    color: #FFFFFF;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
      linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-areas:
      "intro summary"
      "body summary";
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 25rem);
    grid-template-rows: auto 1fr;
    gap: var(--ph-space-4) var(--ph-split-gap);
    align-items: start;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero__intro {
    grid-area: intro;
    max-width: 45rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero__body {
    grid-area: body;
    max-width: 43rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero h1,
  :where(.ph-ds, .ph-ds--pilot) .ph-hero h2,
  :where(.ph-ds, .ph-ds--pilot) .ph-hero h3 {
    color: #FFFFFF;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero .ph-eyebrow {
    color: #A9F0F2;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero__lead {
    max-width: 42rem;
    margin-bottom: 0;
    color: #FFFFFF;
    font-size: var(--ph-font-size-lead);
    line-height: 1.62;
    font-weight: 600;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero__body > p:not(.ph-notice) {
    max-width: 43rem;
    color: rgba(255,255,255,.82);
  }

  /* Aviso educativo */
  :where(.ph-ds, .ph-ds--pilot) .ph-notice {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin: var(--ph-space-5) 0 0;
    padding: .9rem 1rem;
    border: 1px solid var(--ph-color-border);
    border-radius: var(--ph-radius-sm);
    background: var(--ph-color-surface-soft);
    color: var(--ph-color-text-soft);
    font-size: var(--ph-font-size-small);
    line-height: 1.55;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-notice--dark {
    border-color: rgba(255,255,255,.24);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.88);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-notice::before {
    content: "i";
    display: grid;
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    margin-top: .05rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: var(--ph-font-heading);
    font-size: .75rem;
    font-weight: 800;
  }

  /* Índice interno */
  :where(.ph-ds, .ph-ds--pilot) .ph-summary {
    grid-area: summary;
    align-self: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid rgba(255,255,255,.36);
    border-radius: var(--ph-radius-lg);
    background: rgba(255,255,255,.96);
    color: var(--ph-color-text);
    box-shadow: var(--ph-shadow-lg);
    backdrop-filter: blur(14px);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-summary__label {
    margin-bottom: .45rem;
    color: var(--ph-color-brand-navy);
    font-size: 1.08rem;
    font-weight: 700;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-summary__instruction {
    margin-bottom: 1rem;
    color: var(--ph-color-text-muted);
    font-size: .88rem;
    line-height: 1.5;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-summary ul {
    display: grid;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-summary a {
    display: grid;
    grid-template-columns: 1rem 1fr;
    gap: .65rem;
    align-items: start;
    padding: .62rem .7rem;
    border-radius: .65rem;
    color: var(--ph-color-brand-navy);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--ph-transition), color var(--ph-transition), transform var(--ph-transition);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-summary a::before {
    content: "→";
    color: var(--ph-color-brand-turquoise);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-summary a:hover {
    background: var(--ph-color-surface-tint);
    color: var(--ph-color-brand-navy);
    transform: translateX(.16rem);
  }

  /* Cabeçalho de seção */
  :where(.ph-ds, .ph-ds--pilot) .ph-heading {
    max-width: 48rem;
    margin: 0 auto var(--ph-section-heading-gap);
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-heading--left {
    margin-inline: 0;
    text-align: left;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-heading > p:not(.ph-eyebrow):not(.ph-faq__instruction) {
    color: var(--ph-color-text-soft);
    font-size: var(--ph-font-size-lead);
    line-height: 1.65;
  }

  /* Cards */
  :where(.ph-ds, .ph-ds--pilot) .ph-card {
    position: relative;
    min-width: 0;
    padding: var(--ph-card-padding);
    border: 1px solid var(--ph-color-border);
    border-radius: var(--ph-radius-md);
    background:
      linear-gradient(180deg, rgba(45, 204, 211, .035) 0%, rgba(255,255,255,0) 42%),
      var(--ph-color-surface);
    box-shadow: var(--ph-shadow-sm);
    transition:
      transform var(--ph-transition),
      box-shadow var(--ph-transition),
      border-color var(--ph-transition);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    border-radius: var(--ph-radius-md) var(--ph-radius-md) 0 0;
    background: var(--ph-gradient-action);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 160, 176, .38);
    box-shadow: var(--ph-shadow-md);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--large {
    padding: clamp(1.5rem, 2.5vw, 2rem);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card__icon {
    display: inline-grid;
    min-width: 3.15rem;
    height: 3.15rem;
    place-items: center;
    margin-bottom: 1.2rem;
    padding-inline: .7rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 1rem;
    background: var(--ph-gradient-action);
    color: #FFFFFF;
    font-family: var(--ph-font-heading);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .06em;
    box-shadow:
      0 10px 24px rgba(26,107,138,.22),
      inset 0 1px 0 rgba(255,255,255,.24);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--numbered,
  :where(.ph-ds, .ph-ds--pilot) .ph-card--future {
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--numbered .ph-card__icon,
  :where(.ph-ds, .ph-ds--pilot) .ph-card--future .ph-card__icon {
    margin-inline: auto;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--numbered h3,
  :where(.ph-ds, .ph-ds--pilot) .ph-card--future h3 {
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--numbered p {
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--future {
    cursor: default;
    pointer-events: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--future:hover {
    transform: none;
    border-color: var(--ph-color-border);
    box-shadow: var(--ph-shadow-sm);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card p {
    margin-bottom: 0;
    color: var(--ph-color-text-soft);
  }

  /* Quando procurar ajuda */
  :where(.ph-ds, .ph-ds--pilot) .ph-help {
    display: grid;
    grid-template-columns: minmax(14rem, .72fr) minmax(0, 1.28fr);
    gap: var(--ph-split-gap);
    align-items: start;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-section--accent .ph-eyebrow {
    color: #A9F0F2;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-section--accent h2,
  :where(.ph-ds, .ph-ds--pilot) .ph-section--accent h3 {
    color: #FFFFFF;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-help__content {
    color: rgba(255,255,255,.86);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-help__content ul {
    display: grid;
    gap: .7rem;
    margin: 1.25rem 0 1.4rem;
    padding: 0;
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-help__content li {
    display: grid;
    grid-template-columns: 1rem 1fr;
    gap: .75rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-help__content li::before {
    content: "✓";
    color: var(--ph-color-turquoise-bright);
    font-weight: 800;
  }

  /* CTA final */
  :where(.ph-ds, .ph-ds--pilot) .ph-cta {
    display: grid;
    grid-template-columns: minmax(14rem, .75fr) minmax(0, 1.25fr);
    gap: var(--ph-split-gap);
    align-items: center;
    padding: var(--ph-cta-padding);
    border: 1px solid rgba(0, 160, 176, .22);
    border-radius: var(--ph-radius-lg);
    background:
      radial-gradient(circle at 85% 0%, rgba(45,204,211,.18), transparent 20rem),
      var(--ph-gradient-soft);
    color: var(--ph-color-text-soft);
    box-shadow: var(--ph-shadow-md);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-cta h2,
  :where(.ph-ds, .ph-ds--pilot) .ph-cta h3 {
    color: var(--ph-color-brand-navy);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-cta .ph-eyebrow {
    color: var(--ph-color-blue);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-cta--institutional {
    align-items: start;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-cta__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ph-space-4);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-cta--institutional .ph-button {
    margin-top: var(--ph-space-2);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-cta__content > p {
    margin-bottom: 0;
  }

  /* Botões */
  :where(.ph-ds, .ph-ds--pilot) .ph-button,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button:link,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button:visited {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .88rem 1.35rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--ph-contact-action-radius);
    background: var(--ph-contact-action-bg);
    color: #FFFFFF !important;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow:
      var(--ph-contact-action-shadow),
      inset 0 1px 0 rgba(255,255,255,.12);
    cursor: pointer;
    transition:
      transform var(--ph-transition),
      background var(--ph-transition),
      box-shadow var(--ph-transition);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button:hover,
  :where(.ph-ds, .ph-ds--pilot) .ph-button:focus,
  :where(.ph-ds, .ph-ds--pilot) .ph-button:focus-visible,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button:visited:hover,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button:visited:focus,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button:visited:focus-visible {
    background: var(--ph-contact-action-bg-hover);
    color: #FFFFFF !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow:
      0 15px 32px rgba(0,48,96,.26),
      inset 0 1px 0 rgba(255,255,255,.16);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button:focus-visible,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button:visited:focus-visible {
    outline: 3px solid var(--ph-color-focus);
    outline-offset: 4px;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button:active,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button:visited:active {
    color: #FFFFFF !important;
    transform: translateY(0);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button--academy,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--academy:link,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--academy:visited {
    min-width: min(100%, 18.5rem);
    padding-inline: 1.6rem;
    background:
      linear-gradient(
        135deg,
        var(--ph-color-brand-navy) 0%,
        var(--ph-color-blue) 100%
      );
    color: #FFFFFF !important;
    box-shadow:
      0 12px 28px rgba(0,48,96,.24),
      inset 0 1px 0 rgba(255,255,255,.14);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button--academy:hover,
  :where(.ph-ds, .ph-ds--pilot) .ph-button--academy:focus,
  :where(.ph-ds, .ph-ds--pilot) .ph-button--academy:focus-visible,
  :where(.ph-ds, .ph-ds--pilot) .ph-button--academy:active,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--academy:visited:hover,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--academy:visited:focus,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--academy:visited:focus-visible,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--academy:visited:active {
    background:
      linear-gradient(
        135deg,
        var(--ph-color-blue) 0%,
        var(--ph-color-brand-turquoise) 100%
      );
    color: #FFFFFF !important;
    text-decoration: none;
  }

  /*
   * Contratos reservados para futuras ações de contato.
   * Nenhum destes seletores é renderizado na página-piloto nesta versão.
   */
  :where(.ph-ds, .ph-ds--pilot) .ph-button--contact {
    --ph-contact-action-bg: var(--ph-color-brand-navy);
    --ph-contact-action-bg-hover: var(--ph-color-blue);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-cta--contact {
    align-items: start;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ph-space-3);
    align-items: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button--future,
  :where(.ph-ds, .ph-ds--pilot) .ph-state-future,
  :where(.ph-ds, .ph-ds--pilot) .ph-link-card[aria-disabled="true"] {
    border: 1px dashed var(--ph-color-border-strong);
    background: var(--ph-color-surface-soft);
    color: var(--ph-color-text-muted);
    box-shadow: none;
    cursor: default;
    pointer-events: none;
    user-select: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button--future:hover,
  :where(.ph-ds, .ph-ds--pilot) .ph-state-future:hover,
  :where(.ph-ds, .ph-ds--pilot) .ph-link-card[aria-disabled="true"]:hover {
    transform: none;
    border-color: var(--ph-color-border-strong);
    box-shadow: none;
    filter: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button--stacked {
    flex-direction: column;
    gap: .18rem;
    min-width: min(100%, 17rem);
    white-space: normal;
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button__label {
    color: var(--ph-color-text-soft);
    font-weight: 700;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button__status {
    color: var(--ph-color-text-muted);
    font-family: var(--ph-font-body);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  /* FAQ oficial v1.2 */
  :where(.ph-ds, .ph-ds--pilot) .ph-heading--faq {
    margin-bottom: var(--ph-space-5);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq__instruction {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    width: fit-content;
    max-width: 100%;
    margin: .25rem auto 0;
    padding: .5rem .9rem .5rem .55rem;
    border: 1px solid rgba(0, 160, 176, .28);
    border-radius: var(--ph-radius-pill);
    background: var(--ph-color-surface-tint);
    color: var(--ph-color-brand-navy);
    font-family: var(--ph-font-body);
    font-size: var(--ph-font-size-small);
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq__instruction-icon {
    display: inline-grid;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--ph-color-blue);
    color: #FFFFFF;
    font-family: var(--ph-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(0, 160, 176, .22);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq {
    display: grid;
    gap: .9rem;
    max-width: 56rem;
    margin-inline: auto;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details {
    border: 1px solid var(--ph-color-border);
    border-radius: 1rem;
    background: #FFFFFF;
    box-shadow: var(--ph-shadow-sm);
    overflow: clip;
    transition:
      border-color var(--ph-transition),
      box-shadow var(--ph-transition);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details:hover,
  :where(.ph-ds, .ph-ds--pilot) .ph-faq details[open] {
    border-color: rgba(0, 160, 176, .34);
    box-shadow: var(--ph-shadow-md);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.75rem;
    gap: clamp(1.35rem, 3vw, 2.5rem);
    align-items: center;
    min-height: 4.8rem;
    padding: 1rem 1.15rem 1rem 1.35rem;
    color: var(--ph-color-brand-navy);
    font-family: var(--ph-font-heading);
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary::-webkit-details-marker {
    display: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary::after {
    content: "+";
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    justify-self: end;
    border-radius: 50%;
    background: var(--ph-color-blue);
    color: #FFFFFF;
    font-family: var(--ph-font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 160, 176, .24);
    transition:
      transform var(--ph-transition),
      box-shadow var(--ph-transition);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary:hover::after {
    background: var(--ph-color-brand-navy);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 160, 176, .3);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details[open] summary::after {
    content: "−";
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details p {
    margin: 0;
    padding: 0 5.25rem 1.3rem 1.35rem;
    color: var(--ph-color-text-soft);
  }

  @media (max-width: 62rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-hero__grid {
      grid-template-areas:
        "intro"
        "summary"
        "body";
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      gap: var(--ph-space-5);
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-summary {
      width: 100%;
      max-width: 43rem;
      justify-self: start;
    }
  }

  @media (max-width: 47.9375rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-hero {
      padding-block: 2.75rem 3rem;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-summary {
      padding: 1.25rem;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-summary a {
      padding-block: .52rem;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-hero__grid,
    :where(.ph-ds, .ph-ds--pilot) .ph-help,
    :where(.ph-ds, .ph-ds--pilot) .ph-cta {
      grid-template-columns: 1fr;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-heading,
    :where(.ph-ds, .ph-ds--pilot) .ph-heading--left {
      text-align: left;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-heading .ph-eyebrow {
      justify-content: flex-start;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-help__content,
    :where(.ph-ds, .ph-ds--pilot) .ph-help__content ul {
      text-align: left;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-heading--faq {
      margin-bottom: var(--ph-space-4);
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-faq__instruction {
      margin-inline: 0;
      padding-right: .75rem;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-faq {
      gap: .75rem;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-faq summary {
      grid-template-columns: minmax(0, 1fr) 2.35rem;
      gap: 1rem;
      min-height: 4.35rem;
      padding: .9rem .9rem .9rem 1rem;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-faq summary::after {
      width: 2.25rem;
      height: 2.25rem;
      font-size: 1.3rem;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-faq details p {
      padding: 0 1rem 1.1rem;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-hero__intro,
    :where(.ph-ds, .ph-ds--pilot) .ph-heading,
    :where(.ph-ds, .ph-ds--pilot) .ph-heading--left,
    :where(.ph-ds, .ph-ds--pilot) .ph-help > div:first-child,
    :where(.ph-ds, .ph-ds--pilot) .ph-cta > div:first-child,
    :where(.ph-ds, .ph-ds--pilot) .ph-professionals__inner > div:first-child {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-hero .ph-eyebrow,
    :where(.ph-ds, .ph-ds--pilot) .ph-heading .ph-eyebrow,
    :where(.ph-ds, .ph-ds--pilot) .ph-help .ph-eyebrow,
    :where(.ph-ds, .ph-ds--pilot) .ph-cta .ph-eyebrow,
    :where(.ph-ds, .ph-ds--pilot) .ph-professionals .ph-eyebrow {
      justify-content: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-hero__intro h1,
    :where(.ph-ds, .ph-ds--pilot) .ph-hero__lead,
    :where(.ph-ds, .ph-ds--pilot) .ph-heading h2,
    :where(.ph-ds, .ph-ds--pilot) .ph-help h2,
    :where(.ph-ds, .ph-ds--pilot) .ph-cta h2,
    :where(.ph-ds, .ph-ds--pilot) .ph-professionals h2 {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-card--numbered,
    :where(.ph-ds, .ph-ds--pilot) .ph-card--future,
    :where(.ph-ds, .ph-ds--pilot) .ph-card--numbered h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-card--future h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-card__icon {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-faq__instruction {
      margin-inline: auto;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-faq summary {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-cta,
    :where(.ph-ds, .ph-ds--pilot) .ph-help,
    :where(.ph-ds, .ph-ds--pilot) .ph-professionals__inner {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-cta__content {
      align-items: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-cta__content > p,
    :where(.ph-ds, .ph-ds--pilot) .ph-help__content > p,
    :where(.ph-ds, .ph-ds--pilot) .ph-help__content ul,
    :where(.ph-ds, .ph-ds--pilot) .ph-professionals__inner > div:last-child > p,
    :where(.ph-ds, .ph-ds--pilot) .ph-card p {
      text-align: left;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-button,
    :where(.ph-ds, .ph-ds--pilot) .ph-button--stacked,
    :where(.ph-ds, .ph-ds--pilot) .ph-button--academy {
      width: min(100%, 19rem);
      margin-inline: auto;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-contact-actions {
      justify-content: center;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    :where(.ph-ds, .ph-ds--pilot) *,
    :where(.ph-ds, .ph-ds--pilot) *::before,
    :where(.ph-ds, .ph-ds--pilot) *::after {
      scroll-behavior: auto !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
  }
}

/* ==========================================================================
   COMPONENTES EDITORIAIS CONSOLIDADOS E ALIASES DE COMPATIBILIDADE
   ========================================================================== */
@layer ph-components {
  :where(.ph-ds, .ph-ds--pilot) .ph-prose {
    color: var(--ph-color-text-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-prose p:last-child {
    margin-bottom: 0;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-highlight,
  :where(.ph-ds, .ph-ds--pilot) .ph-panel,
  :where(.ph-ds, .ph-ds--pilot) .ph-warning,
  :where(.ph-ds, .ph-ds--pilot) .ph-callout {
    margin-top: var(--ph-space-6);
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: var(--ph-radius-md);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-highlight {
    border-left: 4px solid var(--ph-color-brand-turquoise);
    background: var(--ph-gradient-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-panel {
    border: 1px solid var(--ph-color-border);
    background: #FFFFFF;
    box-shadow: var(--ph-shadow-sm);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-warning {
    border: 1px solid rgba(0,160,176,.3);
    background: #E8F8F8;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-warning__label {
    margin-bottom: .5rem;
    color: var(--ph-color-blue);
    font-family: var(--ph-font-heading);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-callout {
    background: var(--ph-gradient-dark);
    color: #FFFFFF;
    box-shadow: var(--ph-shadow-md);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-checklist,
  :where(.ph-ds, .ph-ds--pilot) .ph-care-list {
    display: grid;
    gap: .75rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-checklist li,
  :where(.ph-ds, .ph-ds--pilot) .ph-care-list li {
    display: grid;
    grid-template-columns: 1rem 1fr;
    gap: .7rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-checklist li::before,
  :where(.ph-ds, .ph-ds--pilot) .ph-care-list li::before {
    content: "✓";
    color: var(--ph-color-brand-turquoise);
    font-weight: 800;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-link-card,
  :where(.ph-ds, .ph-ds--pilot) .ph-related {
    padding: 1.35rem;
    border: 1px dashed var(--ph-color-border-strong);
    border-radius: var(--ph-radius-md);
    background: var(--ph-color-surface-soft);
    color: var(--ph-color-text-muted);
    cursor: default;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-link-card span {
    display: inline-block;
    margin-bottom: .6rem;
    color: var(--ph-color-brand-turquoise);
    font-family: var(--ph-font-heading);
    font-size: .78rem;
    font-weight: 800;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-professionals {
    background: var(--ph-color-surface-tint);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-professionals__inner {
    display: grid;
    grid-template-columns: minmax(14rem, .75fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-editorial {
    padding-block: 2.5rem;
    border-top: 1px solid var(--ph-color-border);
    background: #FFFFFF;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-editorial dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-editorial dt {
    color: var(--ph-color-text-muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-editorial dd {
    margin: .25rem 0 0;
    color: var(--ph-color-text);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-editorial > .ph-container > p {
    margin-bottom: 0;
    color: var(--ph-color-text-muted);
    font-size: .86rem;
  }

  @media (max-width: 47.9375rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-professionals__inner,
    :where(.ph-ds, .ph-ds--pilot) .ph-editorial dl {
      grid-template-columns: 1fr;
    }

    /* Harmonização final do alinhamento mobile */
    :where(.ph-ds, .ph-ds--pilot) h2,
    :where(.ph-ds, .ph-ds--pilot) .ph-card h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-highlight h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-panel h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-warning h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-callout h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-warning__label,
    :where(.ph-ds, .ph-ds--pilot) .ph-summary__label {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-eyebrow {
      display: flex;
      width: fit-content;
      justify-content: center;
      margin-inline: auto;
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-card__icon {
      display: grid;
      margin-inline: auto;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-card p,
    :where(.ph-ds, .ph-ds--pilot) .ph-card ul,
    :where(.ph-ds, .ph-ds--pilot) .ph-card ol,
    :where(.ph-ds, .ph-ds--pilot) .ph-highlight p,
    :where(.ph-ds, .ph-ds--pilot) .ph-highlight ul,
    :where(.ph-ds, .ph-ds--pilot) .ph-highlight ol,
    :where(.ph-ds, .ph-ds--pilot) .ph-panel p,
    :where(.ph-ds, .ph-ds--pilot) .ph-panel ul,
    :where(.ph-ds, .ph-ds--pilot) .ph-panel ol,
    :where(.ph-ds, .ph-ds--pilot) .ph-warning p,
    :where(.ph-ds, .ph-ds--pilot) .ph-warning ul,
    :where(.ph-ds, .ph-ds--pilot) .ph-warning ol,
    :where(.ph-ds, .ph-ds--pilot) .ph-callout p,
    :where(.ph-ds, .ph-ds--pilot) .ph-callout ul,
    :where(.ph-ds, .ph-ds--pilot) .ph-callout ol {
      text-align: left;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-hero__intro h1,
    :where(.ph-ds, .ph-ds--pilot) .ph-hero__lead {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-summary {
      justify-self: center;
      margin-inline: auto;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-button,
    :where(.ph-ds, .ph-ds--pilot) a.ph-button:link,
    :where(.ph-ds, .ph-ds--pilot) a.ph-button:visited {
      display: flex;
      margin-inline: auto;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-cta__content,
    :where(.ph-ds, .ph-ds--pilot) .ph-contact-actions {
      align-items: center;
      justify-content: center;
    }
  }
}

/* ==========================================================================
   COMPONENTES CONSOLIDADOS PARA ESCALA
   ========================================================================== */
@layer ph-components {
  /* Contêineres e composição */
  :where(.ph-ds, .ph-ds--pilot) .ph-container--wide {
    width: min(100% - 2rem, var(--ph-width-wide));
    margin-inline: auto;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: var(--ph-grid-gap);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-stack {
    display: flex;
    flex-direction: column;
    gap: var(--ph-space-5);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ph-space-3);
  }

  /* Breadcrumb */
  :where(.ph-ds, .ph-ds--pilot) .ph-breadcrumb {
    padding-block: var(--ph-space-4);
    color: var(--ph-color-text-muted);
    font-size: var(--ph-font-size-small);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-breadcrumb li:not(:last-child)::after {
    content: "/";
    color: var(--ph-color-border-strong);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-breadcrumb a {
    color: var(--ph-color-blue);
    font-weight: 600;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-breadcrumb [aria-current="page"] {
    color: var(--ph-color-text);
    font-weight: 700;
  }

  /* Cabeçalho editorial */
  :where(.ph-ds, .ph-ds--pilot) .ph-article-header {
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
    border-bottom: 1px solid var(--ph-color-border);
    background: var(--ph-color-surface-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-article-header__inner {
    max-width: var(--ph-width-reading);
    margin-inline: auto;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-article-header__summary {
    margin-bottom: var(--ph-space-5);
    color: var(--ph-color-text-soft);
    font-size: var(--ph-font-size-lead);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1rem;
    margin: 0;
    padding: 0;
    color: var(--ph-color-text-muted);
    font-size: var(--ph-font-size-small);
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-meta li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
  }

  /* Hero reutilizável */
  :where(.ph-ds, .ph-ds--pilot) .ph-hero--light {
    background:
      radial-gradient(circle at 86% 12%, rgba(45, 204, 211, .18), transparent 28rem),
      var(--ph-color-surface-soft);
    color: var(--ph-color-text);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--light h1,
  :where(.ph-ds, .ph-ds--pilot) .ph-hero--light h2,
  :where(.ph-ds, .ph-ds--pilot) .ph-hero--light h3 {
    color: var(--ph-color-brand-navy);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--light .ph-hero__lead,
  :where(.ph-ds, .ph-ds--pilot) .ph-hero--light .ph-hero__body > p:not(.ph-notice) {
    color: var(--ph-color-text-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--compact {
    padding-block: clamp(2.5rem, 5vw, 4rem);
  }

  /* Botões oficiais */
  :where(.ph-ds, .ph-ds--pilot) .ph-button--secondary,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--secondary:link,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--secondary:visited {
    border-color: var(--ph-color-brand-navy);
    background: #FFFFFF;
    color: var(--ph-color-brand-navy) !important;
    box-shadow: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button--secondary:hover,
  :where(.ph-ds, .ph-ds--pilot) .ph-button--secondary:focus,
  :where(.ph-ds, .ph-ds--pilot) .ph-button--secondary:focus-visible,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--secondary:visited:hover,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--secondary:visited:focus,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--secondary:visited:focus-visible {
    background: var(--ph-color-surface-tint);
    color: var(--ph-color-brand-navy) !important;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button--tertiary,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--tertiary:link,
  :where(.ph-ds, .ph-ds--pilot) a.ph-button--tertiary:visited {
    min-height: var(--ph-touch-target);
    padding-inline: .7rem;
    border-color: transparent;
    background: transparent;
    color: var(--ph-color-blue) !important;
    box-shadow: none;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .2em;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button--tertiary:hover,
  :where(.ph-ds, .ph-ds--pilot) .ph-button--tertiary:focus,
  :where(.ph-ds, .ph-ds--pilot) .ph-button--tertiary:focus-visible {
    background: var(--ph-color-surface-tint);
    color: var(--ph-color-brand-navy) !important;
    box-shadow: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button--contact,
  :where(.ph-ds, .ph-ds--pilot) .ph-button--whatsapp {
    background: var(--ph-color-brand-navy);
    color: #FFFFFF !important;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button__icon {
    display: inline-grid;
    width: 1.15rem;
    height: 1.15rem;
    place-items: center;
    flex: 0 0 auto;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-button[aria-disabled="true"],
  :where(.ph-ds, .ph-ds--pilot) .ph-button:disabled {
    opacity: .62;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
  }

  /* Cards: uma família, variantes documentadas */
  :where(.ph-ds, .ph-ds--pilot) .ph-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .7rem;
    margin-bottom: var(--ph-space-3);
    color: var(--ph-color-text-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card__title {
    margin-bottom: var(--ph-space-3);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card__excerpt {
    color: var(--ph-color-text-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card__actions {
    margin-top: auto;
    padding-top: var(--ph-space-3);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--content,
  :where(.ph-ds, .ph-ds--pilot) .ph-card--navigation,
  :where(.ph-ds, .ph-ds--pilot) .ph-card--material,
  :where(.ph-ds, .ph-ds--pilot) .ph-card--related,
  :where(.ph-ds, .ph-ds--pilot) .ph-card--static {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--navigation {
    border-top: 4px solid var(--ph-color-brand-turquoise);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--material {
    background: var(--ph-color-surface-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--static {
    cursor: default;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card--static:hover {
    transform: none;
    border-color: var(--ph-color-border);
    box-shadow: var(--ph-shadow-sm);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-card__link {
    color: var(--ph-color-brand-navy);
    font-weight: 700;
  }

  /* Avisos e estados */
  :where(.ph-ds, .ph-ds--pilot) .ph-alert {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--ph-space-4);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid var(--ph-color-border);
    border-left-width: 4px;
    border-radius: var(--ph-radius-md);
    background: var(--ph-color-surface);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert__icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: currentColor;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert__icon svg {
    width: 1rem;
    height: 1rem;
    fill: #FFFFFF;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert h3 {
    margin-bottom: var(--ph-space-2);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert p:last-child {
    margin-bottom: 0;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert--info {
    border-left-color: var(--ph-color-info);
    background: var(--ph-color-info-bg);
    color: var(--ph-color-info);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert--attention {
    border-left-color: var(--ph-color-warning);
    background: var(--ph-color-warning-bg);
    color: var(--ph-color-warning);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert--clinical {
    border-left-color: var(--ph-color-brand-navy);
    background: var(--ph-color-surface-tint);
    color: var(--ph-color-brand-navy);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert--success {
    border-left-color: var(--ph-color-success);
    background: var(--ph-color-success-bg);
    color: var(--ph-color-success);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert--error {
    border-left-color: var(--ph-color-danger);
    background: var(--ph-color-danger-bg);
    color: var(--ph-color-danger);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-alert__content,
  :where(.ph-ds, .ph-ds--pilot) .ph-alert__content p,
  :where(.ph-ds, .ph-ds--pilot) .ph-alert__content li {
    color: var(--ph-color-text);
  }

  /* Listas especiais */
  :where(.ph-ds, .ph-ds--pilot) .ph-list {
    display: grid;
    gap: var(--ph-space-3);
    margin: var(--ph-space-4) 0 0;
    padding: 0;
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-list li {
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    gap: .7rem;
    align-items: start;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-list--check li::before {
    content: "✓";
    color: var(--ph-color-brand-turquoise);
    font-weight: 900;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-list--arrow li::before {
    content: "→";
    color: var(--ph-color-blue);
    font-weight: 900;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-list--steps {
    counter-reset: ph-step;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-list--steps li {
    counter-increment: ph-step;
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-list--steps li::before {
    content: counter(ph-step);
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--ph-color-brand-navy);
    color: #FFFFFF;
    font-family: var(--ph-font-heading);
    font-size: .8rem;
    font-weight: 800;
  }

  /* Comparação */
  :where(.ph-ds, .ph-ds--pilot) .ph-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ph-grid-gap);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-comparison__item {
    padding: var(--ph-card-padding);
    border: 1px solid var(--ph-color-border);
    border-radius: var(--ph-radius-md);
    background: var(--ph-color-surface);
    box-shadow: var(--ph-shadow-sm);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-comparison__label {
    display: inline-flex;
    margin-bottom: var(--ph-space-3);
    color: var(--ph-color-blue);
    font-family: var(--ph-font-heading);
    font-size: var(--ph-font-size-eyebrow);
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  /* Bloco narrativo */
  :where(.ph-ds, .ph-ds--pilot) .ph-narrative {
    display: grid;
    gap: var(--ph-space-5);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-narrative__item {
    position: relative;
    padding: var(--ph-card-padding);
    border-left: 4px solid var(--ph-color-brand-turquoise);
    border-radius: 0 var(--ph-radius-md) var(--ph-radius-md) 0;
    background: var(--ph-color-surface-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-narrative__item p:last-child {
    margin-bottom: 0;
  }

  /* Citação */
  :where(.ph-ds, .ph-ds--pilot) .ph-quote {
    margin: var(--ph-space-6) 0;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border-left: 4px solid var(--ph-color-brand-turquoise);
    border-radius: 0 var(--ph-radius-md) var(--ph-radius-md) 0;
    background: var(--ph-color-surface-soft);
    color: var(--ph-color-brand-navy);
    font-family: var(--ph-font-heading);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 600;
    line-height: 1.5;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-quote cite {
    display: block;
    margin-top: var(--ph-space-4);
    color: var(--ph-color-text-muted);
    font-family: var(--ph-font-body);
    font-size: var(--ph-font-size-small);
    font-style: normal;
    font-weight: 600;
  }

  /* Tabelas */
  :where(.ph-ds, .ph-ds--pilot) .ph-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    margin-block: var(--ph-space-6);
    border: 1px solid var(--ph-color-border);
    border-radius: var(--ph-radius-md);
    background: #FFFFFF;
    box-shadow: var(--ph-shadow-sm);
    -webkit-overflow-scrolling: touch;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-table-wrap:focus-visible {
    outline: 3px solid var(--ph-color-focus);
    outline-offset: 3px;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-table {
    width: 100%;
    min-width: 38rem;
    border-collapse: collapse;
    color: var(--ph-color-text);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-table caption {
    padding: var(--ph-space-4);
    color: var(--ph-color-brand-navy);
    font-family: var(--ph-font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-table th,
  :where(.ph-ds, .ph-ds--pilot) .ph-table td {
    padding: .9rem 1rem;
    border-top: 1px solid var(--ph-color-border);
    text-align: left;
    vertical-align: top;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-table th {
    background: var(--ph-color-surface-tint);
    color: var(--ph-color-brand-navy);
    font-family: var(--ph-font-heading);
    font-weight: 700;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-table tbody tr:nth-child(even) {
    background: var(--ph-color-surface-soft);
  }

  /* Cronologia */
  :where(.ph-ds, .ph-ds--pilot) .ph-timeline {
    position: relative;
    display: grid;
    gap: var(--ph-space-5);
    margin: 0;
    padding: 0 0 0 2.25rem;
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-timeline::before {
    content: "";
    position: absolute;
    top: .5rem;
    bottom: .5rem;
    left: .65rem;
    width: 2px;
    background: var(--ph-color-border-strong);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-timeline__item {
    position: relative;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-timeline__item::before {
    content: "";
    position: absolute;
    top: .45rem;
    left: -1.95rem;
    width: .8rem;
    height: .8rem;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    background: var(--ph-color-brand-turquoise);
    box-shadow: 0 0 0 2px var(--ph-color-brand-navy);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-timeline__date {
    display: block;
    margin-bottom: .25rem;
    color: var(--ph-color-blue);
    font-size: var(--ph-font-size-small);
    font-weight: 800;
  }

  /* Fluxo simples */
  :where(.ph-ds, .ph-ds--pilot) .ph-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: var(--ph-space-4);
    margin: 0;
    padding: 0;
    counter-reset: ph-flow;
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-flow__step {
    position: relative;
    min-height: 8rem;
    padding: var(--ph-card-padding);
    border: 1px solid var(--ph-color-border);
    border-radius: var(--ph-radius-md);
    background: var(--ph-color-surface);
    counter-increment: ph-flow;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-flow__step::before {
    content: counter(ph-flow);
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    margin-bottom: var(--ph-space-3);
    border-radius: 50%;
    background: var(--ph-color-brand-navy);
    color: #FFFFFF;
    font-family: var(--ph-font-heading);
    font-size: .78rem;
    font-weight: 800;
  }

  /* Figura */
  :where(.ph-ds, .ph-ds--pilot) .ph-figure {
    margin: var(--ph-space-6) 0;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--ph-radius-md);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-figure figcaption {
    margin-top: var(--ph-space-3);
    color: var(--ph-color-text-muted);
    font-size: var(--ph-font-size-small);
  }

  /* Referências */
  :where(.ph-ds, .ph-ds--pilot) .ph-references {
    display: grid;
    gap: var(--ph-space-3);
    padding-left: 1.4rem;
    color: var(--ph-color-text-soft);
    font-size: var(--ph-font-size-small);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-references li::marker {
    color: var(--ph-color-blue);
    font-weight: 800;
  }

  /* Autoria e revisão */
  :where(.ph-ds, .ph-ds--pilot) .ph-byline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ph-space-4);
    padding: var(--ph-card-padding);
    border: 1px solid var(--ph-color-border);
    border-radius: var(--ph-radius-md);
    background: var(--ph-color-surface-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-byline__item {
    min-width: 0;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-byline__label {
    display: block;
    margin-bottom: .25rem;
    color: var(--ph-color-text-muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-byline__value {
    color: var(--ph-color-text);
    font-weight: 700;
  }

  /* Conteúdos relacionados */
  :where(.ph-ds, .ph-ds--pilot) .ph-related-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ph-grid-gap);
  }

  /* CTA */
  :where(.ph-ds, .ph-ds--pilot) .ph-cta--academy {
    background: var(--ph-color-surface-tint);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-cta--contact {
    border: 1px solid var(--ph-color-border);
    background: var(--ph-color-surface-soft);
  }

  /* Botão flutuante de WhatsApp: componente preparado, não aplicado */
  :where(.ph-ds, .ph-ds--pilot) .ph-whatsapp-float {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: var(--ph-z-floating);
    display: inline-flex;
    min-width: var(--ph-touch-target);
    min-height: var(--ph-touch-target);
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--ph-radius-pill);
    background: var(--ph-color-brand-navy);
    color: #FFFFFF !important;
    font-family: var(--ph-font-heading);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--ph-shadow-md);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-whatsapp-float:hover,
  :where(.ph-ds, .ph-ds--pilot) .ph-whatsapp-float:focus-visible,
  :where(.ph-ds, .ph-ds--pilot) .ph-whatsapp-float:visited {
    background: var(--ph-color-blue);
    color: #FFFFFF !important;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-whatsapp-float--preview {
    position: static;
  }

  /* Paginação e anterior/próximo */
  :where(.ph-ds, .ph-ds--pilot) .ph-pagination,
  :where(.ph-ds, .ph-ds--pilot) .ph-prev-next {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--ph-space-3);
    margin-top: var(--ph-space-6);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-pagination a,
  :where(.ph-ds, .ph-ds--pilot) .ph-pagination span,
  :where(.ph-ds, .ph-ds--pilot) .ph-prev-next a {
    display: inline-flex;
    min-width: var(--ph-touch-target);
    min-height: var(--ph-touch-target);
    align-items: center;
    justify-content: center;
    padding: .65rem .85rem;
    border: 1px solid var(--ph-color-border);
    border-radius: var(--ph-radius-sm);
    background: #FFFFFF;
    color: var(--ph-color-brand-navy);
    font-weight: 700;
    text-decoration: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-pagination [aria-current="page"] {
    border-color: var(--ph-color-brand-navy);
    background: var(--ph-color-brand-navy);
    color: #FFFFFF;
  }

  /* Glossário e definições */
  :where(.ph-ds, .ph-ds--pilot) .ph-definition-list {
    display: grid;
    gap: var(--ph-space-5);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-definition-list > div {
    padding-bottom: var(--ph-space-5);
    border-bottom: 1px solid var(--ph-color-border);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-definition-list dt {
    color: var(--ph-color-brand-navy);
    font-family: var(--ph-font-heading);
    font-size: var(--ph-font-size-h3);
    font-weight: 700;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-definition-list dd {
    margin: .5rem 0 0;
    color: var(--ph-color-text-soft);
  }

  /* Formulários básicos */
  :where(.ph-ds, .ph-ds--pilot) .ph-form {
    display: grid;
    gap: var(--ph-space-5);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-field {
    display: grid;
    gap: .45rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-label {
    color: var(--ph-color-text);
    font-weight: 700;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-input,
  :where(.ph-ds, .ph-ds--pilot) .ph-select,
  :where(.ph-ds, .ph-ds--pilot) .ph-textarea {
    width: 100%;
    min-height: var(--ph-touch-target);
    padding: .78rem .9rem;
    border: 1px solid var(--ph-color-border-strong);
    border-radius: var(--ph-radius-sm);
    background: #FFFFFF;
    color: var(--ph-color-text);
    font: inherit;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-textarea {
    min-height: 8rem;
    resize: vertical;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-input:focus,
  :where(.ph-ds, .ph-ds--pilot) .ph-select:focus,
  :where(.ph-ds, .ph-ds--pilot) .ph-textarea:focus {
    border-color: var(--ph-color-blue);
    outline: 3px solid rgba(45, 204, 211, .36);
    outline-offset: 2px;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-field__help,
  :where(.ph-ds, .ph-ds--pilot) .ph-field__error {
    font-size: var(--ph-font-size-small);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-field__help {
    color: var(--ph-color-text-muted);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-field__error {
    color: var(--ph-color-danger);
    font-weight: 700;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-input[aria-invalid="true"],
  :where(.ph-ds, .ph-ds--pilot) .ph-select[aria-invalid="true"],
  :where(.ph-ds, .ph-ds--pilot) .ph-textarea[aria-invalid="true"] {
    border-color: var(--ph-color-danger);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-checkbox {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: .65rem;
    align-items: start;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-checkbox input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .2rem;
    accent-color: var(--ph-color-brand-navy);
  }

  /* Estados do sistema */
  :where(.ph-ds, .ph-ds--pilot) .ph-state-message {
    padding: var(--ph-card-padding);
    border: 1px solid var(--ph-color-border);
    border-radius: var(--ph-radius-md);
    background: var(--ph-color-surface-soft);
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-state-message h2,
  :where(.ph-ds, .ph-ds--pilot) .ph-state-message h3 {
    margin-bottom: var(--ph-space-3);
  }

  @media (max-width: 62rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-related-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-byline {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 47.9375rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-container--wide {
      width: min(100% - 1.5rem, var(--ph-width-wide));
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-comparison,
    :where(.ph-ds, .ph-ds--pilot) .ph-related-list,
    :where(.ph-ds, .ph-ds--pilot) .ph-byline {
      grid-template-columns: 1fr;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-article-header__inner,
    :where(.ph-ds, .ph-ds--pilot) .ph-article-header h1,
    :where(.ph-ds, .ph-ds--pilot) .ph-article-header__summary,
    :where(.ph-ds, .ph-ds--pilot) .ph-article-header .ph-meta {
      text-align: center;
      justify-content: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-alert {
      grid-template-columns: 1fr;
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-alert__icon {
      margin-inline: auto;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-alert__content p,
    :where(.ph-ds, .ph-ds--pilot) .ph-alert__content ul,
    :where(.ph-ds, .ph-ds--pilot) .ph-alert__content ol {
      text-align: left;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-comparison__item h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-comparison__label,
    :where(.ph-ds, .ph-ds--pilot) .ph-narrative__item h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-flow__step h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-timeline__item h3,
    :where(.ph-ds, .ph-ds--pilot) .ph-byline__item {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-comparison__item p,
    :where(.ph-ds, .ph-ds--pilot) .ph-narrative__item p,
    :where(.ph-ds, .ph-ds--pilot) .ph-flow__step p,
    :where(.ph-ds, .ph-ds--pilot) .ph-timeline__item p {
      text-align: left;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-table caption {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-whatsapp-float {
      right: max(.75rem, env(safe-area-inset-right));
      bottom: max(.75rem, env(safe-area-inset-bottom));
    }
  }
}

/* ==========================================================================
   UTILITÁRIOS OFICIAIS
   ========================================================================== */
@layer ph-utilities {
  :where(.ph-ds, .ph-ds--pilot) .ph-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-text-center {
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-text-left {
    text-align: left;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-mt-0 {
    margin-top: 0 !important;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-mb-0 {
    margin-bottom: 0 !important;
  }
}

/* ==========================================================================
   DIAGRAMA — COMPONENTE OFICIAL
   ========================================================================== */
@layer ph-components {
  :where(.ph-ds, .ph-ds--pilot) .ph-diagram {
    width: min(100%, var(--ph-width-wide));
    margin-block: var(--ph-space-7);
    margin-inline: auto;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__title {
    margin-bottom: var(--ph-space-4);
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ph-space-5);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 20.625rem;
    flex-direction: column;
    align-items: center;
    padding: var(--ph-space-6);
    border: 1px solid var(--ph-color-border);
    border-radius: var(--ph-radius-md);
    background: var(--ph-color-surface);
    box-shadow: var(--ph-shadow-sm);
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3.75rem;
    right: calc(var(--ph-space-5) * -1);
    width: var(--ph-space-5);
    border-top: var(--ph-illustration-stroke-sm) dashed var(--ph-color-brand-navy);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:not(:last-child)::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: calc(3.75rem - .25rem);
    right: calc(var(--ph-space-5) * -1);
    width: .5rem;
    height: .5rem;
    border-top: var(--ph-illustration-stroke-sm) solid var(--ph-color-brand-navy);
    border-right: var(--ph-illustration-stroke-sm) solid var(--ph-color-brand-navy);
    transform: rotate(45deg);
    background: var(--ph-color-surface-soft);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__badge {
    display: grid;
    width: 4.75rem;
    height: 4.75rem;
    place-items: center;
    margin-bottom: var(--ph-space-4);
    border-radius: 50%;
    background: var(--ph-color-brand-navy);
    color: #FFFFFF;
    font-family: var(--ph-font-body);
    font-size: .8125rem;
    font-weight: 700;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    margin-bottom: var(--ph-space-4);
    color: var(--ph-color-brand-navy);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon svg {
    width: 3rem;
    height: 3rem;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: var(--ph-illustration-stroke-lg);
    stroke-linecap: round;
    stroke-linejoin: round;
  }

:where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon img {
  display: block;
  width: 3rem;
  height: 3rem;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__eyebrow {
    margin: 0 0 var(--ph-space-2);
    color: var(--ph-color-blue);
    font-family: var(--ph-font-body);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step-title {
    margin: 0 0 var(--ph-space-3);
    color: var(--ph-color-brand-navy);
    font-family: var(--ph-font-body);
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    line-height: 1.3;
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step p:last-child {
    margin-bottom: 0;
    color: var(--ph-color-text-muted);
    font-family: var(--ph-font-body);
    font-size: .875rem;
    line-height: 1.55;
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__caption {
    max-width: var(--ph-width-reading);
    margin: var(--ph-space-4) auto 0;
    color: var(--ph-color-text-muted);
    font-size: var(--ph-font-size-small);
    line-height: 1.6;
    text-align: center;
  }

  @media (max-width: 62rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:nth-child(2)::after,
    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:nth-child(2)::before {
      display: none;
    }
  }

  @media (max-width: 47.9375rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-diagram {
      margin-block: var(--ph-space-6);
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__list {
      grid-template-columns: 1fr;
      gap: var(--ph-space-6);
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step {
      min-height: 0;
      padding: var(--ph-card-padding);
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:not(:last-child)::after {
      top: auto;
      right: auto;
      bottom: calc(var(--ph-space-6) * -1);
      left: 50%;
      width: 0;
      height: var(--ph-space-6);
      border-top: 0;
      border-left: var(--ph-illustration-stroke-sm) dashed var(--ph-color-brand-navy);
      transform: translateX(-50%);
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:not(:last-child)::before {
      display: block;
      top: auto;
      right: auto;
      bottom: calc(var(--ph-space-6) * -1);
      left: 50%;
      transform: translate(-50%, 45%) rotate(135deg);
      background: var(--ph-color-surface-soft);
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:nth-child(2)::after,
    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:nth-child(2)::before {
      display: block;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__badge {
      margin-inline: auto;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-diagram__caption {
      text-align: left;
    }
  }
}


/* ==========================================================================
   AJUSTE MOBILE — FAQ COMPACTA v1.0.3.2
   Escopo: somente mobile
   Objetivo: compactar altura, reduzir espaços verticais e centralizar o botão "+"
   ========================================================================== */
@media (max-width: 47.9375rem) {
  :where(.ph-ds, .ph-ds--pilot) .ph-faq {
    gap: .7rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details {
    border-radius: .95rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary {
    grid-template-columns: minmax(0, 1fr) 2.35rem;
    gap: .9rem;
    align-items: center;
    min-height: 4.1rem;
    padding: .82rem 1rem .82rem 1rem;
    line-height: 1.32;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary::after {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.28rem;
    line-height: 1;
    align-self: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details p {
    padding: 0 1rem .95rem 1rem;
    line-height: 1.56;
  }
}

/* ==========================================================================
   CORREÇÃO MOBILE — FAQ + ÍCONES DA TIMELINE v1.0.3.3
   Escopo: somente mobile, até 47.9375rem
   ========================================================================== */
@media (max-width: 47.9375rem) {
  /* FAQ: instrução baixa e discreta */
  :where(.ph-ds, .ph-ds--pilot) .ph-heading--faq {
    margin-bottom: 1rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq__instruction {
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: .5rem;
    width: 100%;
    margin: .1rem 0 0;
    padding: .35rem .7rem .35rem .4rem;
    border-radius: .85rem;
    font-size: .825rem;
    line-height: 1.25;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq__instruction-icon {
    width: 1.75rem;
    height: 1.75rem;
    flex-basis: 1.75rem;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 160, 176, .18);
  }

  /* FAQ: cartões compactos, sem altura fixa */
  :where(.ph-ds, .ph-ds--pilot) .ph-faq {
    gap: .75rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details {
    border-radius: .85rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary {
    grid-template-columns: minmax(0, 1fr) 2.25rem;
    gap: 1rem;
    align-items: center;
    min-height: 3.75rem;
    padding: .65rem 1rem;
    font-size: 1rem;
    line-height: 1.28;
    text-align: left;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary::after {
    width: 2.25rem;
    height: 2.25rem;
    justify-self: end;
    align-self: center;
    font-size: 1.08rem;
    line-height: 1;
    box-shadow: 0 5px 12px rgba(0, 160, 176, .18);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details p {
    padding: 0 1rem .8rem;
    line-height: 1.52;
  }

  /* Timeline: ícone principal e badge secundário */
  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step {
    padding: 1.5rem 1.25rem 1.8rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__badge {
    width: 2.875rem;
    height: 2.875rem;
    margin-bottom: 1.375rem;
    font-size: .75rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon {
    width: 8.75rem;
    height: 8.75rem;
    margin: 0 auto 1.375rem;
    overflow: hidden;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    transform-origin: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:nth-child(1) .ph-diagram__icon img {
    transform: scale(1.3);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:nth-child(2) .ph-diagram__icon img {
    transform: scale(1.2);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:nth-child(3) .ph-diagram__icon img {
    transform: scale(1.06);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step:nth-child(4) .ph-diagram__icon img {
    transform: scale(1.08);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__eyebrow {
    margin-bottom: 1.25rem;
  }
}

/* ==========================================================================
   TIMELINE + FAQ WORDPRESS — CONSOLIDAÇÃO v1.0.3.5
   Escopo: componente .ph-diagram e FAQ mobile da página Halitose
   ========================================================================== */

/* Timeline — um único padrão para os quatro arquivos */
:where(.ph-ds, .ph-ds--pilot) .ph-diagram__badge {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  font-size: 12px;
}

:where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon-wrap {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  margin: 0 auto 22px;
  overflow: visible;
}

:where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: none;
}

:where(.ph-ds, .ph-ds--pilot) .ph-diagram__eyebrow {
  margin-bottom: 20px;
}

/* Tablet — mantém dois cards por linha e a mesma hierarquia */
@media (min-width: 48rem) and (max-width: 62rem) {
  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon-wrap {
    width: 104px;
    height: 104px;
  }
}

/* Mobile — ícone principal e FAQ inspirada na proporção da referência Halitus */
@media (max-width: 47.9375rem) {
  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__step {
    min-height: 0;
    padding: 24px 20px 30px;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__badge {
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    font-size: 12px;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon-wrap {
    width: 140px;
    height: 140px;
    margin-bottom: 22px;
    overflow: visible;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none !important;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-diagram__eyebrow {
    margin-bottom: 20px;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-heading--faq {
    margin-bottom: 18px;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq__instruction {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.32;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq__instruction-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 160, 176, .18);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq {
    gap: 12px;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details {
    border-radius: 18px;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 16px;
    align-items: center;
    min-height: 96px;
    padding: 20px;
    font-size: 16px;
    line-height: 1.35;
    text-align: left;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq summary::after {
    width: 48px;
    height: 48px;
    place-items: center;
    justify-self: end;
    align-self: center;
    font-size: 21px;
    line-height: 1;
    box-shadow: 0 5px 12px rgba(0, 160, 176, .18);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-faq details p {
    padding: 0 20px 18px;
    line-height: 1.55;
  }
}

/* ==========================================================================
   PÁGINA-PILOTO HALITOSE — LINKS EDITORIAIS v1.0.3.6
   ========================================================================== */

:where(.ph-ds, .ph-ds--pilot) .ph-card--link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: var(--ph-color-text);
  text-decoration: none;
  cursor: pointer;
}

:where(.ph-ds, .ph-ds--pilot) .ph-card--link .ph-card__icon {
  margin-inline: auto;
}

:where(.ph-ds, .ph-ds--pilot) .ph-card--link h3 {
  margin-bottom: 0;
  text-align: center;
}

:where(.ph-ds, .ph-ds--pilot) .ph-card--link:focus-visible {
  outline: 3px solid var(--ph-color-focus);
  outline-offset: 4px;
  border-radius: var(--ph-radius-md);
}

:where(.ph-ds, .ph-ds--pilot) .ph-editorial dd[data-state="blocking"] {
  color: var(--ph-color-text-soft);
  font-style: italic;
}

@media (max-width: 47.9375rem) {
  :where(.ph-ds, .ph-ds--pilot) .ph-card--link {
    min-height: 8.5rem;
    justify-content: center;
  }
}

/* ==========================================================================
   COMPONENTE GLOBAL DE AUTORIA — .ph-author-profile v1.0.0
   Integrado ao Design System v1.1.0
   ========================================================================== */

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--ph-color-border);
  background:
    radial-gradient(circle at 92% 8%, rgba(45, 204, 211, .13), transparent 24rem),
    var(--ph-color-surface-soft);
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__card {
  display: grid;
  grid-template-columns: minmax(11rem, 13rem) minmax(0, 1fr) minmax(13rem, .62fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--ph-color-border);
  border-radius: var(--ph-radius-lg);
  background: var(--ph-color-surface);
  box-shadow: var(--ph-shadow-sm);
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__photo {
  width: min(100%, 13rem);
  margin: 0 auto;
  aspect-ratio: 9 / 10;
  overflow: hidden;
  border: 1px solid var(--ph-color-border);
  border-radius: var(--ph-radius-lg);
  background: var(--ph-color-surface-soft);
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__identity {
  min-width: 0;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__identity h2 {
  margin-bottom: .45rem;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__qualification {
  margin-bottom: 1rem;
  color: var(--ph-color-blue);
  font-weight: 700;
  line-height: 1.4;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__bio {
  margin-bottom: 1.25rem;
  color: var(--ph-color-text);
  line-height: 1.65;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__institutional {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--ph-color-brand-turquoise);
  border-radius: 0 var(--ph-radius-sm) var(--ph-radius-sm) 0;
  background: var(--ph-color-surface-soft);
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__institutional p {
  margin-bottom: 0;
  color: var(--ph-color-text);
  font-size: .95rem;
  line-height: 1.55;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__social {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 1025px) {
  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__social {
    justify-content: center;
  }
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__social-link {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  flex: 0 0 2.75rem;
  border: 1px solid var(--ph-color-border-strong);
  border-radius: var(--ph-radius-pill);
  background: var(--ph-color-surface);
  color: var(--ph-color-brand-navy);
  text-decoration: none;
  transition:
    transform var(--ph-transition),
    background-color var(--ph-transition),
    border-color var(--ph-transition);
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__social-link:hover {
  transform: translateY(-2px);
  border-color: var(--ph-color-brand-turquoise);
  background: var(--ph-color-surface-soft);
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__social-link:focus-visible,
:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__clinic-link:focus-visible {
  outline: 3px solid var(--ph-color-brand-navy);
  outline-offset: 3px;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__social-link svg {
  width: 1.35rem;
  height: 1.35rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__social-link .ph-author-profile__icon-fill {
  fill: currentColor;
  stroke: none;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__clinic {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--ph-color-border);
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__clinic p {
  margin: 0;
  color: var(--ph-color-text-muted);
  font-size: .9rem;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__clinic-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border: 1px solid var(--ph-color-blue);
  border-radius: var(--ph-radius-pill);
  color: var(--ph-color-blue);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__clinic-link:hover {
  background: var(--ph-color-surface-soft);
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__meta {
  min-width: 0;
}

:where(.ph-ds, .ph-ds--pilot) .ph-editorial-dates {
  display: grid;
  gap: .85rem;
  margin: 0;
}

:where(.ph-ds, .ph-ds--pilot) .ph-editorial-dates > div {
  padding: 1rem;
  border: 1px solid var(--ph-color-border);
  border-radius: var(--ph-radius-md);
  background: var(--ph-color-surface-soft);
}

:where(.ph-ds, .ph-ds--pilot) .ph-editorial-dates dt {
  margin-bottom: .3rem;
  color: var(--ph-color-text-muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:where(.ph-ds, .ph-ds--pilot) .ph-editorial-dates dd {
  margin: 0;
  color: var(--ph-color-text);
  font-weight: 700;
  line-height: 1.4;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__notice {
  margin: 1rem 0 0;
  color: var(--ph-color-text-muted);
  font-size: .875rem;
  line-height: 1.5;
}

:where(.ph-ds, .ph-ds--pilot) .ph-author-profile__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 62rem) {
  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__card {
    grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__meta {
    grid-column: 1 / -1;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-editorial-dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 47.9375rem) {
  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile {
    padding-block: 2.5rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__card {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 1.25rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__photo {
    width: min(72vw, 12rem);
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__identity .ph-eyebrow,
  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__identity h2,
  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__qualification {
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__bio,
  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__institutional {
    text-align: left;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__social {
    justify-content: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__clinic {
    justify-content: center;
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__meta {
    grid-column: auto;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-editorial-dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 22rem) {
  :where(.ph-ds, .ph-ds--pilot) .ph-editorial-dates {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TEMPLATE GLOBAL ART v1.3 — ritmo, largura e autoria
   Escopo: somente elementos dentro de .ph-art-template.
   Nota técnica: regras finais usam exclusivamente @layer ph-utilities,
   camada válida e posterior às camadas base/layout/components.
   ========================================================================== */
@layer ph-utilities {
  .ph-art-template .ph-article-header {
    padding-block: 2.25rem;
  }

  .ph-art-template .ph-article-header__inner,
  .ph-art-template .ph-reading,
  .ph-art-template .ph-heading {
    max-width: 62rem;
  }

  .ph-art-template .ph-art-body > section.ph-section {
    margin: 0;
    padding-block: 1.25rem;
  }

  .ph-art-template .ph-art-body > section.ph-section .ph-heading {
    margin-top: 0;
    margin-bottom: .75rem;
  }

  .ph-art-template .ph-art-body > section.ph-section h2 {
    margin-top: 0;
    margin-bottom: .75rem;
  }

  .ph-art-template .ph-art-body > section.ph-section .ph-prose p {
    margin-bottom: .8rem;
  }

  .ph-art-template .ph-art-body > section.ph-section .ph-prose p:last-child {
    margin-bottom: 0;
  }

  .ph-art-template .ph-art-body > section.ph-section .ph-figure {
    width: min(100%, 62rem);
    margin: 1rem auto .25rem;
  }

  .ph-art-template .ph-art-body > section.ph-section .ph-figure picture,
  .ph-art-template .ph-art-body > section.ph-section .ph-figure img {
    display: block;
    width: 100%;
  }

  .ph-art-template .ph-art-body > section.ph-section .ph-figure img {
    height: auto;
  }

  /* Alternância visual global, sem ph-section--soft no body. */
  .ph-art-template .ph-art-body > section.ph-section {
    background: var(--ph-color-surface);
  }

  .ph-art-template .ph-art-body > section.ph-section:nth-of-type(even) {
    background: var(--ph-color-surface-soft);
  }

  .ph-art-template .ph-art-body > section.ph-section:nth-of-type(4n) {
    background: var(--ph-color-surface-tint);
  }

  /* Botões da autoria não herdam sublinhado de links editoriais. */
  .ph-art-template .ph-author-profile a.ph-button,
  .ph-art-template .ph-author-profile a.ph-button:link,
  .ph-art-template .ph-author-profile a.ph-button:visited,
  .ph-art-template .ph-author-profile a.ph-button:hover,
  .ph-art-template .ph-author-profile a.ph-button:focus,
  .ph-art-template .ph-author-profile a.ph-button:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
  }

  @media (max-width: 47.9375rem) {
    .ph-art-template .ph-article-header {
      padding-block: 1.75rem 2rem;
    }

    .ph-art-template .ph-art-body > section.ph-section {
      padding-block: .85rem;
    }

    .ph-art-template .ph-art-body > section.ph-section .ph-heading {
      margin-bottom: .6rem;
    }

    .ph-art-template .ph-art-body > section.ph-section .ph-prose p {
      margin-bottom: .7rem;
    }

    .ph-art-template .ph-art-body > section.ph-section .ph-figure {
      margin-top: .8rem;
    }
  }
}

/* ==========================================================================
   HERO — VARIANTE BALANCEADA PARA PÁGINAS-PILAR
   v1.2.5
   - Reutilizável; só atua quando o HTML usa .ph-hero--balanced.
   - Mantém o conteúdo textual em uma única coluna contínua e reduz
     espaço ocioso quando o mapa lateral é mais alto.
   ========================================================================== */
@layer ph-components {
  :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(23rem, 29rem);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-hero__intro {
    max-width: 52rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-hero__lead {
    margin-bottom: 1.6rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-hero__body {
    max-width: 52rem;
    margin-top: 1.4rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-hero__body > p {
    margin: 0 0 1rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-hero__body > p + p {
    margin-top: 1rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-notice {
    margin-top: 1.4rem;
  }

  :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-summary {
    align-self: center;
  }

  @media (max-width: 62rem) {
    :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-hero__grid {
      grid-template-columns: 1fr;
      gap: var(--ph-space-5);
      align-items: start;
    }

    :where(.ph-ds, .ph-ds--pilot) .ph-hero--balanced .ph-summary {
      align-self: auto;
    }
  }
}

/* ==========================================================================
   PIL — REFINO MOBILE DE CABEÇALHOS, CARDS NUMERADOS E AUTORIA
   v1.2.7
   - Corrige expansão horizontal do badge numérico causada por display:grid.
   - Mantém o badge compacto como no desktop / PIL Saliva.
   - Centraliza a foto do componente global de autoria no mobile.
   ========================================================================== */
@layer ph-components {
  @media (max-width: 47.9375rem) {
    :where(.ph-ds, .ph-ds--pilot).ph-pillar .ph-hero__intro,
    :where(.ph-ds, .ph-ds--pilot).ph-pillar .ph-heading,
    :where(.ph-ds, .ph-ds--pilot).ph-pillar .ph-heading--left {
      text-align: center;
    }

    :where(.ph-ds, .ph-ds--pilot).ph-pillar .ph-eyebrow {
      justify-content: center;
      margin-inline: auto;
    }

    /*
     * IMPORTANTE:
     * Há uma regra mobile global anterior que troca .ph-card__icon para
     * display:grid. Como grid é block-level, width:auto ocupa a largura
     * disponível do card. Aqui restauramos inline-grid e largura intrínseca.
     */
    :where(.ph-ds, .ph-ds--pilot).ph-pillar .ph-card--numbered .ph-card__icon {
      display: inline-grid;
      width: fit-content;
      min-width: 3.15rem;
      max-width: 4.25rem;
      height: 3.15rem;
      padding-inline: .7rem;
      margin-inline: auto;
      border-radius: 1rem;
      font-size: .9rem;
      justify-self: center;
    }

    :where(.ph-ds, .ph-ds--pilot).ph-pillar .ph-card--numbered h3 {
      text-align: center;
    }

    /*
     * Componente global de autoria:
     * no mobile a grade vira uma coluna; a figure precisa de margem
     * automática para não permanecer encostada à esquerda.
     */
    :where(.ph-ds, .ph-ds--pilot) .ph-author-profile__photo {
      margin-inline: auto;
    }
  }
}

/* ==========================================================================
   AUTORIA — CENTRALIZAÇÃO ROBUSTA DA FOTO NO MOBILE
   v1.2.8
   - Aplicação direta ao componente global de autoria.
   - Funciona mesmo quando o shortcode está em widget Elementor separado
     e, portanto, fora do wrapper .ph-ds da página.
   ========================================================================== */
@layer ph-components {
  @media (max-width: 47.9375rem) {
    .ph-author-profile .ph-author-profile__photo {
      width: min(72vw, 12rem);
      margin-left: auto !important;
      margin-right: auto !important;
      justify-self: center !important;
    }

    .ph-author-profile__card > .ph-author-profile__photo {
      justify-self: center !important;
    }
  }
}

/* Autoria — centralização das ações no desktop */
@media (min-width: 1025px) {

  :where(.ph-ds, .ph-ds--pilot)
  .ph-author-profile__identity > .ph-cluster {
    justify-content: center;
  }

  :where(.ph-ds, .ph-ds--pilot)
  .ph-author-profile__social {
    justify-content: center;
  }

}

/* Autoria — centralização do bloco da Clínica no desktop */
@media (min-width: 1025px) {

  :where(.ph-ds, .ph-ds--pilot)
  .ph-author-profile__clinic {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot)
  .ph-author-profile__clinic p {
    text-align: center;
  }

  :where(.ph-ds, .ph-ds--pilot)
  .ph-author-profile__clinic .ph-button {
    margin-inline: auto;
  }

}

/* =========================================================
   ART — FIGURAS EDITORIAIS
   Limita imagens técnicas entregues pelo Publisher
   ========================================================= */

.ph-content-art .ph-figure {
  margin: 2rem auto;
  text-align: center;
}

.ph-content-art .ph-figure img {
  display: block;
  width: auto;
  max-width: min(100%, 400px);
  height: auto;
  margin-inline: auto;
}

.ph-content-art .ph-figure figcaption {
  max-width: 60ch;
  margin: .65rem auto 0;
  font-size: .875rem;
  line-height: 1.5;
}


/* =========================================================
   ART — CONTEÚDOS RELACIONADOS
   Ajusta tipografia dos cards "Leia também"
   ========================================================= */

.ph-content-art .ph-related-list .ph-card--related h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
}

.ph-content-art .ph-related-list .ph-card--related .ph-card__link {
  font-size: inherit;
  line-height: inherit;
}

@media (max-width: 767px) {
  .ph-content-art .ph-related-list .ph-card--related h3 {
    font-size: 1rem;
  }
}