/* ═══════════════════════════════════════════
   FRENTE 24h · Pantanal Saúde
   Tipografia: Inter Heavy (sans-serif bold)
═══════════════════════════════════════════ */

[data-variant="plantao"] {
  --p24-green: var(--pn-blue, #0a4681);        /* Azul Destaque → botões/links */
  --p24-green-darker: var(--pn-navy, #0c2b52); /* Azul Principal → fundos escuros */
  --p24-green-soft: var(--pn-blue, #0a4681);
  --p24-mint: rgba(242, 197, 47, 0.22);         /* tint amarelo → detalhes */
  --p24-mint-soft: rgba(242, 197, 47, 0.10);
  --p24-cream: var(--pn-offwhite, #f7f4ef);    /* Off-white oficial */
  --p24-bone: var(--pn-offwhite, #f7f4ef);
  --p24-text: var(--pn-navy, #0c2b52);         /* Azul Principal → texto */
  --p24-text-mute: rgba(12, 43, 82, 0.55);
  --p24-text-soft: rgba(12, 43, 82, 0.40);
  --p24-border: rgba(12, 43, 82, 0.12);
  --p24-yellow: var(--pn-yellow, #f2c52f);     /* Amarelo Plantão — CORRIGIDO */
  --p24-yellow-soft: var(--pn-yellow-soft, rgba(242, 197, 47, .16));
  --p24-display: var(--font-display);
}

html[data-variant="plantao"],
body:has([data-variant="plantao"]) {
  background: var(--p24-bone, #fdfaf3);
}

[data-variant="plantao"] .nav { background: rgba(253, 250, 243, 0.85); }
[data-variant="plantao"] .nav.is-scrolled { background: rgba(253, 250, 243, 0.95); }

/* ═══════════════════════════════════════════
   MANCHAS DECORATIVAS
═══════════════════════════════════════════ */
.p24-blob {
  position: absolute;
  background-image: url("../assets/nr1-blob-mint.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  filter: blur(0.3px);
}

.p24-blob--hero-1 {
  top: -10%;
  right: -8%;
  width: 540px;
  height: 540px;
  opacity: 0.4;
  transform: rotate(-15deg);
}
.p24-blob--hero-2 {
  bottom: -15%;
  left: -10%;
  width: 360px;
  height: 360px;
  opacity: 0.25;
  transform: rotate(80deg) scale(0.9);
}
.p24-blob--ac-1 {
  top: 20%;
  right: -8%;
  width: 320px;
  height: 320px;
  opacity: 0.3;
  transform: rotate(45deg);
}
.p24-blob--fluxo-1 {
  top: 8%;
  left: -10%;
  width: 380px;
  height: 380px;
  opacity: 0.25;
  transform: rotate(-30deg);
}
.p24-blob--psi-1 {
  top: -5%;
  right: -6%;
  width: 420px;
  height: 420px;
  opacity: 0.3;
  transform: rotate(20deg);
}
.p24-blob--psi-2 {
  bottom: 5%;
  left: -8%;
  width: 280px;
  height: 280px;
  opacity: 0.2;
  transform: rotate(-50deg);
}
.p24-blob--prof-1 {
  top: 15%;
  right: -6%;
  width: 400px;
  height: 400px;
  opacity: 0.25;
  transform: rotate(60deg);
}
.p24-blob--close-1 {
  top: -20%;
  right: -10%;
  width: 540px;
  height: 540px;
  opacity: 0.15;
  transform: rotate(-25deg);
}
.p24-blob--close-2 {
  bottom: -10%;
  left: -8%;
  width: 360px;
  height: 360px;
  opacity: 0.12;
  transform: rotate(70deg);
}

/* ═══════════════════════════════════════════
   00 · Banner topo
═══════════════════════════════════════════ */
.p24-banner {
  background: var(--p24-green-darker);
  color: rgba(255, 255, 255, 0.85);
  padding: 11px 0;
  font-family: var(--p24-display);
  font-size: 12.5px;
  font-weight: 500;
}
.p24-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.p24-banner-text { letter-spacing: 0.01em; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.p24-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--p24-display);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.005em;
}
.p24-btn--primary {
  background: var(--p24-green-darker);
  color: #fff;
}
.p24-btn--primary:hover {
  background: var(--p24-green);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -10px rgba(15, 39, 71, 0.35);
}
.p24-btn--ghost {
  background: transparent;
  color: var(--p24-green-darker);
  border-color: var(--p24-border);
}
.p24-btn--ghost:hover {
  border-color: var(--p24-green-darker);
  background: rgba(15, 39, 71, 0.04);
}
.p24-btn--yellow {
  background: var(--p24-yellow);
  color: var(--p24-green-darker);
}
.p24-btn--yellow:hover {
  background: #f2c52f;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -10px rgba(244, 200, 66, 0.45);
}
.p24-btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.p24-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}
.p24-btn--lg {
  padding: 17px 30px;
  font-size: 15px;
}

/* ═══════════════════════════════════════════
   PHOTO PLACEHOLDER
═══════════════════════════════════════════ */
.p24-photo {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
/* Variante com foto real */
.p24-photo--real {
  background: var(--p24-cream);
  border: 1px solid var(--p24-border);
  box-shadow: 0 24px 56px -22px rgba(15, 39, 71, 0.28);
}
.p24-photo--real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p24-photo-blob {
  position: absolute;
  inset: -20%;
  background-image: url("../assets/nr1-blob-mint.webp");
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.7;
  transform: rotate(-15deg) scale(1.2);
  filter: blur(2px);
}
.p24-photo--dark .p24-photo-blob {
  filter: blur(2px) hue-rotate(160deg) saturate(0.5) brightness(0.55);
  opacity: 0.85;
}
.p24-photo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.0) 0%, rgba(15, 39, 71, 0.04) 100%),
    repeating-linear-gradient(135deg,
      rgba(15, 39, 71, 0.025) 0,
      rgba(15, 39, 71, 0.025) 8px,
      transparent 8px,
      transparent 16px);
  border: 1px dashed rgba(15, 39, 71, 0.25);
  border-radius: inherit;
}
.p24-photo--dark .p24-photo-frame {
  background:
    linear-gradient(180deg, rgba(15, 39, 71, 0.55) 0%, rgba(8, 40, 32, 0.75) 100%),
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 8px,
      transparent 8px,
      transparent 16px);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: #fff;
}
.p24-photo-icon {
  width: 38px;
  height: 38px;
  color: var(--p24-green-darker);
  opacity: 0.7;
}
.p24-photo--dark .p24-photo-icon {
  color: var(--p24-mint);
  opacity: 0.9;
}
.p24-photo-label {
  font-family: var(--p24-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--p24-green-darker);
  line-height: 1.3;
  max-width: 24ch;
  letter-spacing: -0.005em;
}
.p24-photo--dark .p24-photo-label { color: #fff; }
.p24-photo-hint {
  font-family: var(--p24-display);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--p24-text-mute);
  text-transform: uppercase;
  font-weight: 600;
}
.p24-photo--dark .p24-photo-hint { color: rgba(255, 255, 255, 0.55); }

/* ═══════════════════════════════════════════
   01 · HERO
═══════════════════════════════════════════ */
.p24-hero {
  position: relative;
  padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.p24-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

.p24-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.p24-hero-title {
  font-family: var(--p24-display);
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--p24-text);
  margin: 0;
}
.p24-hero-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}
.p24-hero-lead {
  font-family: var(--p24-display);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.62;
  color: var(--p24-text);
  font-weight: 400;
  margin: 0;
  max-width: 56ch;
}
.p24-hero-lead--muted {
  color: var(--p24-text-mute);
  font-size: clamp(14px, 1.2vw, 15.5px);
  padding-left: 18px;
  border-left: 2px solid var(--p24-mint);
}
.p24-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.p24-hero-visual { position: relative; }

/* ═══════════════════════════════════════════
   SCHEDULE BOARD (quadro de plantonistas)
═══════════════════════════════════════════ */
.p24-board {
  position: relative;
  background: #fff;
  border: 1px solid var(--p24-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 70px -28px rgba(15, 39, 71, 0.28);
  isolation: isolate;
}
.p24-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/nr1-blob-mint.webp");
  background-size: 200px;
  background-repeat: no-repeat;
  background-position: 110% -15%;
  opacity: 0.12;
  z-index: -1;
  border-radius: inherit;
}

.p24-board-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.p24-board-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 11px;
  background: rgba(15, 39, 71, 0.06);
  color: var(--p24-green-darker);
  border-radius: 999px;
  font-family: var(--p24-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.p24-board-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: p24LivePulse 1.6s infinite;
}
@keyframes p24LivePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.p24-board-title {
  font-family: var(--p24-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--p24-text);
  margin: 0;
  line-height: 1.15;
}
.p24-board-sub {
  font-family: var(--p24-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--p24-text-mute);
  margin: 0;
  line-height: 1.4;
}

/* Grid: 1 coluna p/ turno-label + 7 dias */
.p24-board-grid {
  display: grid;
  grid-template-columns: 78px repeat(7, 1fr);
  gap: 4px;
  background: var(--p24-cream);
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--p24-border);
}
.p24-board-corner { /* canto vazio top-left */ }

.p24-board-dia {
  font-family: var(--p24-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--p24-green-darker);
  opacity: 0.6;
  text-align: center;
  padding: 6px 2px 8px;
}

.p24-board-turno {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 4px 8px 4px 2px;
}
.p24-board-turno strong {
  font-family: var(--p24-display);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--p24-text);
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.p24-board-turno span {
  font-family: var(--p24-display);
  font-size: 9.5px;
  font-weight: 500;
  color: var(--p24-text-mute);
  letter-spacing: 0.02em;
}

.p24-board-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--p24-display);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--p24-text-mute);
  line-height: 1.15;
  text-align: center;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  min-height: 38px;
  overflow: hidden;
}
.p24-board-cell-name {
  position: relative;
  z-index: 1;
}
.p24-board-cell.is-active {
  background: var(--p24-green-darker);
  color: #fff;
  border-color: var(--p24-green-darker);
  font-weight: 700;
  transform: scale(1.06);
  z-index: 2;
  box-shadow: 0 8px 22px -8px rgba(15, 39, 71, 0.5);
}
.p24-board-cell-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  border: 2px solid var(--p24-mint);
  animation: p24CellPulse 1.4s infinite;
  pointer-events: none;
}
@keyframes p24CellPulse {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); }
}

/* Footer "Em plantão agora" */
.p24-board-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--p24-green-darker);
  border-radius: 14px;
  color: #fff;
}
.p24-board-foot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: p24Pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes p24Pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.p24-board-foot-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.p24-board-foot-label {
  font-family: var(--p24-display);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--p24-mint);
  opacity: 0.8;
}
.p24-board-foot-name {
  font-family: var(--p24-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-top: 2px;
  transition: opacity .25s ease;
}
.p24-board-foot-when {
  font-family: var(--p24-display);
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* Premissa band */
.p24-premissa {
  position: relative;
  z-index: 1;
  margin-top: clamp(60px, 8vw, 100px);
}
.p24-premissa-inner {
  position: relative;
  background: var(--p24-green-darker);
  color: #fff;
  padding: clamp(40px, 5vw, 60px);
  border-radius: 24px;
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
}
.p24-premissa-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/nr1-blob-mint.webp");
  background-size: 380px;
  background-repeat: no-repeat;
  background-position: 110% -20%;
  opacity: 0.08;
  transform: rotate(-20deg);
  pointer-events: none;
}
.p24-premissa-quote {
  width: 32px;
  height: 32px;
  color: var(--p24-mint);
  opacity: 0.6;
  margin-bottom: 14px;
}
.p24-premissa-text {
  font-family: var(--p24-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
}
.p24-premissa-text em {
  font-style: italic;
  color: var(--p24-mint);
  font-weight: 700;
}
.p24-premissa-sig {
  font-family: var(--p24-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--p24-mint);
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   SECTION HEAD
═══════════════════════════════════════════ */
.p24-section-head {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.p24-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}
.p24-section-title {
  font-family: var(--p24-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--p24-text);
  margin: 0;
}
.p24-section-title em {
  font-style: italic;
  color: var(--p24-green-darker);
  font-weight: 800;
}
.p24-section-lead {
  font-family: var(--p24-display);
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--p24-text-mute);
  margin: 0;
}

/* ═══════════════════════════════════════════
   02 · ACIONAMENTO
═══════════════════════════════════════════ */
.p24-acionamento {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--p24-cream);
  overflow: hidden;
}
.p24-acionamento .container { position: relative; z-index: 1; }

.p24-ac-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.p24-ac-card {
  position: relative;
  padding: 32px 30px;
  background: var(--p24-bone);
  border: 1px solid var(--p24-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all .3s ease;
}
.p24-ac-card:hover {
  transform: translateY(-3px);
  border-color: var(--p24-green);
  box-shadow: 0 24px 50px -24px rgba(15, 39, 71, 0.22);
}
.p24-ac-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.p24-ac-card-num {
  font-family: var(--p24-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--p24-text-soft);
  letter-spacing: 0.06em;
}
.p24-ac-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--p24-mint-soft);
  color: var(--p24-green-darker);
  border-radius: 12px;
}
.p24-ac-card-icon svg { width: 22px; height: 22px; }
.p24-ac-card-title {
  font-family: var(--p24-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--p24-text);
  margin: 0;
}
.p24-ac-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p24-ac-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--p24-display);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--p24-text-mute);
}
.p24-ac-card-list svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 6px;
  color: var(--p24-green);
  opacity: 0.6;
}

.p24-ac-criterio {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: clamp(36px, 4vw, 52px);
  padding: 28px 32px;
  background: var(--p24-yellow-soft);
  border-left: 4px solid var(--p24-yellow);
  border-radius: 6px 18px 18px 6px;
}
.p24-ac-criterio-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--p24-yellow);
  color: var(--p24-green-darker);
  border-radius: 50%;
}
.p24-ac-criterio-icon svg { width: 22px; height: 22px; }
.p24-ac-criterio strong {
  display: block;
  font-family: var(--p24-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--p24-text);
  margin-bottom: 8px;
}
.p24-ac-criterio p {
  font-family: var(--p24-display);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--p24-text);
  margin: 0;
}
.p24-ac-criterio em {
  font-style: italic;
  color: var(--p24-green-darker);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   03 · FLUXO
═══════════════════════════════════════════ */
.p24-fluxo {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  overflow: hidden;
}
.p24-fluxo .container { position: relative; z-index: 1; }

.p24-fluxo-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: flex-start;
}
.p24-fluxo-side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.p24-fluxo-photo { width: 100%; }

.p24-fluxo-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}
.p24-fluxo-timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--p24-green) 0%, var(--p24-mint) 100%);
  opacity: 0.3;
}
.p24-fluxo-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}
.p24-fluxo-step-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--p24-green-darker);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--p24-display);
  font-size: 17px;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--p24-bone);
}
.p24-fluxo-step-body {
  flex: 1;
  padding: 24px 28px;
  background: var(--p24-cream);
  border: 1px solid var(--p24-border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p24-fluxo-step-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--p24-mint-soft);
  color: var(--p24-green-darker);
  border-radius: 10px;
  margin-bottom: 4px;
}
.p24-fluxo-step-icon svg { width: 18px; height: 18px; }
.p24-fluxo-step-title {
  font-family: var(--p24-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--p24-text);
  margin: 0;
}
.p24-fluxo-step-timing {
  font-family: var(--p24-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--p24-green);
  opacity: 0.75;
}
.p24-fluxo-step-desc {
  font-family: var(--p24-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--p24-text-mute);
  margin: 4px 0 0;
}

/* ═══════════════════════════════════════════
   04 · PRESENÇA EM CAMPO
═══════════════════════════════════════════ */
.p24-presenca {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  overflow: hidden;
}
.p24-presenca .container { position: relative; z-index: 1; }

.p24-blob--presenca-1 {
  top: -8%;
  left: -8%;
  width: 380px;
  height: 380px;
  opacity: 0.22;
  transform: rotate(40deg);
}
.p24-blob--presenca-2 {
  bottom: -15%;
  right: -8%;
  width: 340px;
  height: 340px;
  opacity: 0.18;
  transform: rotate(-25deg);
}

.p24-presenca-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.p24-presenca-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 28px 32px;
  background: var(--p24-cream);
  border: 1px solid var(--p24-border);
  border-radius: 20px;
  transition: all .3s ease;
  overflow: hidden;
}
.p24-presenca-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--p24-green-darker) 0%, var(--p24-green) 50%, var(--p24-mint) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.p24-presenca-card:hover {
  transform: translateY(-4px);
  border-color: var(--p24-green);
  box-shadow: 0 24px 50px -22px rgba(15, 39, 71, 0.25);
  background: #fff;
}
.p24-presenca-card:hover::before { opacity: 1; }

.p24-presenca-card-num {
  font-family: var(--p24-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--p24-mint);
  letter-spacing: 0.06em;
}
.p24-presenca-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--p24-green-darker);
  color: #fff;
  border-radius: 14px;
}
.p24-presenca-card-icon svg { width: 24px; height: 24px; }

.p24-presenca-card-title {
  font-family: var(--p24-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--p24-text);
  margin: 4px 0 0;
}
.p24-presenca-card-desc {
  font-family: var(--p24-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--p24-text-mute);
  margin: 0;
}

/* Note de rodapé */
.p24-presenca-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--p24-green-darker);
  color: #fff;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.p24-presenca-note::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 280px;
  height: 280px;
  background-image: url("../assets/nr1-blob-mint.webp");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.08;
  transform: rotate(25deg);
  pointer-events: none;
}
.p24-presenca-note svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--p24-mint);
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.p24-presenca-note p {
  margin: 0;
  font-family: var(--p24-display);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}
.p24-presenca-note strong {
  color: var(--p24-mint);
  font-weight: 700;
}

@media (max-width: 900px) {
  .p24-presenca-grid {
    grid-template-columns: 1fr;
  }
  .p24-presenca-note {
    flex-direction: column;
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════
   05 · PSICOLOGIA
═══════════════════════════════════════════ */
.p24-psi {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--p24-cream);
  overflow: hidden;
}
.p24-psi .container { position: relative; z-index: 1; }

.p24-psi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}
.p24-psi-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p24-psi-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--p24-bone);
  border: 1px solid var(--p24-border);
  border-radius: 14px;
  font-family: var(--p24-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--p24-text);
  letter-spacing: -0.005em;
}
.p24-psi-list svg {
  width: 20px;
  height: 20px;
  color: var(--p24-green);
  flex-shrink: 0;
}

.p24-psi-story {
  position: relative;
  padding: clamp(36px, 4vw, 52px);
  background: var(--p24-green-darker);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
}
.p24-psi-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/nr1-blob-mint.webp");
  background-size: 460px;
  background-repeat: no-repeat;
  background-position: 130% -30%;
  opacity: 0.1;
  transform: rotate(15deg);
  pointer-events: none;
}
.p24-psi-story-tag {
  display: inline-block;
  font-family: var(--p24-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--p24-mint);
  padding: 6px 12px;
  background: rgba(159, 211, 192, 0.12);
  border-radius: 999px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.p24-psi-story-text {
  margin: 0;
  font-family: var(--p24-display);
  position: relative;
  z-index: 1;
  border: none;
  padding: 0;
}
.p24-psi-story-text p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 14px;
}
.p24-psi-story-text p em {
  font-style: italic;
  color: var(--p24-mint);
  font-weight: 600;
}
.p24-psi-story-text p:last-child { margin-bottom: 0; }
.p24-psi-story-quote {
  font-family: var(--p24-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  font-style: italic;
  line-height: 1.32 !important;
  color: #fff !important;
  padding: 14px 0 14px 22px;
  border-left: 3px solid var(--p24-mint);
  letter-spacing: -0.01em;
}
.p24-psi-story-cite {
  display: block;
  margin-top: 22px;
  font-family: var(--p24-display);
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(159, 211, 192, 0.7);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   05 · PROFISSIONAL
═══════════════════════════════════════════ */
.p24-prof {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  overflow: hidden;
}
.p24-prof .container { position: relative; z-index: 1; }

.p24-prof-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: flex-start;
}
.p24-prof-photo {
  width: 100%;
  position: sticky;
  top: 100px;
}
.p24-prof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p24-prof-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--p24-border);
}
.p24-prof-item:first-child { border-top: none; padding-top: 0; }
.p24-prof-item-num {
  flex-shrink: 0;
  font-family: var(--p24-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--p24-mint);
  line-height: 1;
  width: 60px;
  letter-spacing: -0.02em;
}
.p24-prof-item h3 {
  font-family: var(--p24-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--p24-text);
  margin: 4px 0 10px;
}
.p24-prof-item p {
  font-family: var(--p24-display);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--p24-text-mute);
  margin: 0;
}

/* ═══════════════════════════════════════════
   06 · CLOSING
═══════════════════════════════════════════ */
.p24-closing {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  background: linear-gradient(155deg, var(--p24-green-darker) 0%, var(--p24-green) 100%);
  color: #fff;
  overflow: hidden;
}
.p24-closing .container { position: relative; z-index: 1; }

.p24-closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.p24-closing-title {
  font-family: var(--p24-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
  max-width: 32ch;
}
.p24-closing-title em {
  font-style: italic;
  color: var(--p24-mint);
  font-weight: 700;
}
.p24-closing-sig {
  font-family: var(--p24-display);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.p24-closing-sig strong {
  color: var(--p24-yellow);
  font-weight: 700;
}
.p24-closing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.p24-closing-foot {
  margin: 28px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  font-family: var(--p24-display);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  color: var(--p24-mint);
  letter-spacing: 0.005em;
}
.p24-closing-foot em { font-style: italic; }

/* ═══════════════════════════════════════════
   RESPONSIVO
═══════════════════════════════════════════ */
@media (max-width: 1000px) {
  .p24-hero-grid,
  .p24-fluxo-grid,
  .p24-psi-grid,
  .p24-prof-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .p24-fluxo-side,
  .p24-prof-photo {
    position: static;
  }
  .p24-ac-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .p24-board-grid {
    grid-template-columns: 60px repeat(7, 1fr);
    gap: 3px;
  }
  .p24-board-cell { padding: 8px 4px; font-size: 9.5px; min-height: 34px; }
  .p24-board-turno strong { font-size: 10.5px; }
  .p24-board-turno span { font-size: 8.5px; }
  .p24-board-dia { font-size: 9.5px; }
}

@media (max-width: 640px) {
  .p24-hero-actions,
  .p24-closing-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .p24-btn { justify-content: center; }
  .p24-ac-criterio {
    flex-direction: column;
    padding: 24px 22px;
  }
  .p24-fluxo-step { gap: 16px; }
  .p24-fluxo-step-body { padding: 20px 22px; }
  .p24-prof-item {
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
  }
  .p24-prof-item-num { width: auto; }
  .p24-board-grid {
    grid-template-columns: 56px repeat(7, 1fr);
    padding: 8px;
  }
  .p24-board-cell { padding: 6px 2px; font-size: 9px; min-height: 30px; }
  .p24-board-foot { flex-wrap: wrap; gap: 10px; }
  .p24-board-foot-when { width: 100%; padding-left: 24px; }
  .p24-blob { display: none; }
}

/* ═══ POLISH · quadro de plantonistas ═══ */

/* Célula ativa: glow verde em vez de só escala */
.p24-board-cell.is-active {
  box-shadow:
    0 0 0 2px rgba(61, 169, 53, 0.55),
    0 0 22px rgba(61, 169, 53, 0.35),
    0 8px 22px -8px rgba(15, 39, 71, 0.45);
}

/* Avatar com iniciais no rodapé */
.p24-board-foot-avatar {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--p24-mint) 0%, #6fbfa4 100%);
  color: var(--p24-green-darker);
  font-family: var(--p24-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.p24-board-foot-avatar .p24-board-foot-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--p24-green-darker);
}

/* Mais presença no desktop */
@media (min-width: 1100px) {
  .p24-board { padding: 30px; }
  .p24-board-cell { min-height: 44px; font-size: 11px; }
  .p24-board-title { font-size: 24px; }
}

/* CTA principal do hero em amarelo (padrão do site) */
.p24-hero .p24-btn--primary {
  background: var(--p24-yellow);
  color: var(--p24-green-darker);
}
.p24-hero .p24-btn--primary:hover {
  background: #f2c52f;
  box-shadow: 0 10px 28px -10px rgba(244, 184, 42, 0.5);
}

/* ═══ Vídeo explainer (Remotion) ═══ */
.p24-video {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--p24-cream);
  overflow: hidden;
}
.p24-video .container { position: relative; z-index: 1; }
.p24-blob--video-1 {
  top: 10%;
  right: -8%;
  width: 360px;
  height: 360px;
  opacity: 0.22;
  transform: rotate(35deg);
}
.p24-video-frame {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: var(--p24-green-darker);
  box-shadow:
    0 32px 70px -28px rgba(15, 39, 71, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.p24-video-el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ═══ Espaçamento entre seções · mais enxuto ═══ */
.p24-acionamento,
.p24-fluxo,
.p24-presenca,
.p24-psi,
.p24-prof,
.p24-video,
.p24-closing {
  padding-top: clamp(52px, 6vw, 84px) !important;
  padding-bottom: clamp(52px, 6vw, 84px) !important;
}
