/* ============================================
   DDSMS | SAFETY PRESENTATION — REVITALIZED UI
   Sistema de Design Moderno para Apresentações
   ============================================ */

/* ============================================
   VARIÁVEIS CSS - DESIGN SYSTEM
   ============================================ */
:root {
    /* Cores Principais - Petrobras Identity */
    --color-primary: #008542;
    --color-secondary: #FFCC29;
    --color-accent: #00a552;

    /* Cores de Status */
    --color-danger: #ef4444;
    --color-warning: #FFCC29;
    --color-success: #008542;

    /* Cores de Superfície */
    --color-background: #f0f4f8;
    --color-surface: #ffffff;
    --color-surface-alt: #f8fafc;

    /* Glass */
    --glass-bg: rgba(255,255,255,0.6);
    --glass-border: rgba(255,255,255,0.35);
    --glass-blur: 18px;

    /* Cores de Texto */
    --color-text-primary: #1e293b;
    --color-text-secondary: #64748b;
    --color-text-tertiary: #94a3b8;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,.07);
    --shadow-lg: 0 10px 28px rgba(0,0,0,.09);
    --shadow-xl: 0 20px 40px rgba(0,0,0,.11);
    --shadow-2xl: 0 28px 56px rgba(0,0,0,.16);
    --shadow-colored: 0 8px 24px rgba(0,133,66,.18);

    /* Transições */
    --transition-fast: 150ms cubic-bezier(.4,0,.2,1);
    --transition-base: 300ms cubic-bezier(.4,0,.2,1);
    --transition-slow: 500ms cubic-bezier(.4,0,.2,1);
    --transition-bounce: 600ms cubic-bezier(.68,-.55,.265,1.55);

    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 0.875rem;
    --radius-xl: 1.125rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ============================================
   RESET E BASE
   ============================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-background);
    color: var(--color-text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    overflow: hidden;
    position: relative;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #008542 0%, #00a552 50%, #FFCC29 100%);
    transition: opacity .6s ease, visibility .6s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-spinner {
    width: 48px; height: 48px;
    border: 4px solid rgba(255,255,255,.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
.loader-text {
    margin-top: 1.25rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .04em;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   PARTICLES CANVAS
   ============================================ */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .45;
}

/* ============================================
   PRESENTATION CARD
   ============================================ */
#presentationCard {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
    height: 700px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}
#presentationCard:hover {
    box-shadow: var(--shadow-2xl), inset 0 1px 0 rgba(255,255,255,.5);
}

/* ============================================
   SLIDES CONTAINER
   ============================================ */
.slides-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 0 1.25rem;
}
.slides-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary), var(--color-primary));
    background-size: 300% 100%;
    z-index: 2;
    border-radius: 4px 4px 0 0;
    opacity: .7;
    animation: topBarFlow 8s linear infinite;
}
@keyframes topBarFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ============================================
   SLIDE BASE
   ============================================ */
.slide {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 3rem;
    opacity: 0;
    transition: opacity var(--transition-slow);
}
.slide.active {
    display: flex;
    opacity: 1;
}

/* ============================================
   HEADER HUD
   ============================================ */
.presentation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1.5rem;
    background: rgba(255,255,255,.45);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.header-left, .header-right { display: flex; align-items: center; gap: .75rem; }

.brand-pill {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(0,133,66,.08);
    border: 1px solid rgba(0,133,66,.15);
    padding: .3rem .9rem;
    border-radius: var(--radius-full);
    animation: brandPulse 4s ease-in-out infinite;
}
@keyframes brandPulse {
    0%, 100% { border-color: rgba(0,133,66,.15); box-shadow: none; }
    50%      { border-color: rgba(0,133,66,.35); box-shadow: 0 0 10px rgba(0,133,66,.08); }
}
.slide-indicator {
    font-size: .75rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
}
.hud-chip {
    font-size: .75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--color-text-secondary);
    background: rgba(255,255,255,.6);
    border: 1px solid rgba(0,0,0,.06);
    padding: .35rem .85rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.hud-chip:hover {
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

/* ============================================
   ANIMATIONS — fadeInUp + delays 1-6
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.animated-item {
    opacity: 0;
    animation: fadeInUp .65s cubic-bezier(.22,1,.36,1) forwards;
}
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }
.delay-4 { animation-delay: .48s; }
.delay-5 { animation-delay: .60s; }
.delay-6 { animation-delay: .72s; }

/* ============================================
   GRADIENTS & BACKGROUNDS
   ============================================ */
.gradient-bg {
    background: linear-gradient(160deg, rgba(0,133,66,.08) 0%, rgba(255,204,41,.06) 100%);
}
.low-opacity-gradient-bg {
    background: linear-gradient(160deg, rgba(0,133,66,.04) 0%, rgba(255,204,41,.03) 100%);
}
.subtle-bg {
    background: linear-gradient(180deg, rgba(248,250,252,1) 0%, rgba(241,245,249,.6) 100%);
}

/* ============================================
   TIMER
   ============================================ */
#timer { min-width: 56px; text-align: center; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-kicker {
    font-size: clamp(.65rem,.7vw,.8rem);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.slide.active .section-kicker {
    animation: kickerShimmer 4s ease-in-out infinite;
}
@keyframes kickerShimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.section-title {
    font-size: clamp(1.5rem,3vw,2.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--color-text-primary);
}
.slide.active .section-title {
    animation: titleBreathe 5s ease-in-out infinite;
}
@keyframes titleBreathe {
    0%, 100% { letter-spacing: -.02em; }
    50%      { letter-spacing: .01em; }
}
.section-lead {
    font-size: clamp(.95rem,1.3vw,1.25rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.slide.active .section-lead {
    animation: leadFade 6s ease-in-out infinite;
}
@keyframes leadFade {
    0%, 100% { opacity: .85; }
    50%      { opacity: 1; }
}
.title-line { display: block; }
.title-accent {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), #10b981, var(--color-primary));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.slide.active .title-accent {
    animation: accentFlow 6s ease-in-out infinite;
}
@keyframes accentFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ============================================
   ICON SYSTEM
   ============================================ */
.icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    transform-origin: center;
}
.icon-img.sm {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

/* Harmonização global para ícones em cards */
.card > .icon-img {
    margin: 0 auto .9rem;
    padding: .55rem;
    border-radius: .9rem;
    background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(248,250,252,.9));
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

/* Variações por tema de card */
.card--success > .icon-img {
    background: linear-gradient(135deg, rgba(209,250,229,.95), rgba(167,243,208,.9));
    border-color: rgba(16,185,129,.25);
}
.card--warning > .icon-img {
    background: linear-gradient(135deg, rgba(255,237,213,.95), rgba(254,215,170,.9));
    border-color: rgba(245,158,11,.25);
}
.card--danger > .icon-img {
    background: linear-gradient(135deg, rgba(254,226,226,.95), rgba(254,202,202,.9));
    border-color: rgba(239,68,68,.25);
}
.card--soft > .icon-img {
    background: linear-gradient(135deg, rgba(236,253,245,.95), rgba(220,252,231,.9));
    border-color: rgba(0,133,66,.2);
}
.icon-pill {
    width: 56px; height: 56px;
    border-radius: var(--radius-xl);
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.icon-pill:hover { transform: scale(1.08); }
.icon-pill--emerald { background: linear-gradient(135deg, #d1fae5, #a7f3d0); box-shadow: 0 4px 12px rgba(16,185,129,.15); }
.icon-pill--blue    { background: linear-gradient(135deg, #dbeafe, #bfdbfe); box-shadow: 0 4px 12px rgba(59,130,246,.15); }
.icon-pill--yellow  { background: linear-gradient(135deg, #fef9c3, #fde68a); box-shadow: 0 4px 12px rgba(234,179,8,.15); }
.icon-pill--purple  { background: linear-gradient(135deg, #ede9fe, #ddd6fe); box-shadow: 0 4px 12px rgba(139,92,246,.15); }
.icon-pill--orange  { background: linear-gradient(135deg, #ffedd5, #fed7aa); box-shadow: 0 4px 12px rgba(249,115,22,.15); }
.icon-pill--teal    { background: linear-gradient(135deg, #ccfbf1, #99f6e4); box-shadow: 0 4px 12px rgba(20,184,166,.15); }

/* Icon pills looping float */
.slide.active .icon-pill {
    animation: iconFloat 4s ease-in-out infinite;
}
.slide.active .delay-2 .icon-pill { animation-delay: .5s; }
.slide.active .delay-3 .icon-pill { animation-delay: 1s; }
.slide.active .delay-4 .icon-pill { animation-delay: 1.5s; }
.slide.active .delay-5 .icon-pill { animation-delay: 2s; }
.slide.active .delay-6 .icon-pill { animation-delay: 2.5s; }
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* Ícones de cards com micro movimento dedicado */
.slide.active .card > .icon-img {
    animation: cardIconFloat 4.2s ease-in-out infinite;
}
.slide.active .delay-2.card > .icon-img { animation-delay: .5s; }
.slide.active .delay-3.card > .icon-img { animation-delay: 1s; }
.slide.active .delay-4.card > .icon-img { animation-delay: 1.5s; }
.slide.active .delay-5.card > .icon-img { animation-delay: 2s; }
.slide.active .delay-6.card > .icon-img { animation-delay: 2.5s; }
@keyframes cardIconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-3px) scale(1.03); }
}

/* ============================================
   BADGES / CHIPS
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .7rem;
    font-weight: 600;
    padding: .25rem .7rem;
    border-radius: var(--radius-full);
    letter-spacing: .03em;
}
.badge--success { background: rgba(0,133,66,.1); color: var(--color-primary); }
.badge--danger  { background: rgba(239,68,68,.1);  color: var(--color-danger); }
.badge--warning { background: rgba(255,204,41,.15); color: #92400e; }

/* ============================================
   CARD SYSTEM  (glass-morphism refresh)
   ============================================ */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,0,0,.08);
}
.hover-lift:hover { transform: translateY(-4px); }

/* Card subtle glow loop */
.slide.active .card {
    animation: cardGlow 5s ease-in-out infinite;
}
.slide.active .delay-2.card,
.slide.active .delay-2 > .card { animation-delay: .8s; }
.slide.active .delay-3.card,
.slide.active .delay-3 > .card { animation-delay: 1.6s; }
@keyframes cardGlow {
    0%, 100% { box-shadow: var(--shadow-sm); }
    50%      { box-shadow: var(--shadow-md), 0 0 16px rgba(0,133,66,.06); }
}

.card--soft {
    background: rgba(248,250,252,.85);
    border-top: 4px solid var(--color-primary);
}
.card--success {
    background: rgba(240,253,244,.75);
    border-top: 4px solid #10b981;
}
.card--warning {
    background: rgba(255,251,235,.75);
    border-top: 4px solid #f59e0b;
}
.card--danger {
    background: rgba(254,242,242,.75);
    border-top: 4px solid #ef4444;
}

/* Animated top border on themed cards */
.slide.active .card--success { animation: cardGlowSuccess 5s ease-in-out infinite; }
.slide.active .card--warning { animation: cardGlowWarning 5s ease-in-out infinite; }
.slide.active .card--danger  { animation: cardGlowDanger  5s ease-in-out infinite; }
.slide.active .card--soft    { animation: cardGlowSoft    5s ease-in-out infinite; }
@keyframes cardGlowSuccess {
    0%, 100% { box-shadow: var(--shadow-sm); border-top-color: #10b981; }
    50%      { box-shadow: 0 0 18px rgba(16,185,129,.12); border-top-color: #059669; }
}
@keyframes cardGlowWarning {
    0%, 100% { box-shadow: var(--shadow-sm); border-top-color: #f59e0b; }
    50%      { box-shadow: 0 0 18px rgba(245,158,11,.12); border-top-color: #d97706; }
}
@keyframes cardGlowDanger {
    0%, 100% { box-shadow: var(--shadow-sm); border-top-color: #ef4444; }
    50%      { box-shadow: 0 0 18px rgba(239,68,68,.12); border-top-color: #dc2626; }
}
@keyframes cardGlowSoft {
    0%, 100% { box-shadow: var(--shadow-sm); border-top-color: var(--color-primary); }
    50%      { box-shadow: 0 0 18px rgba(0,133,66,.08); border-top-color: var(--color-accent); }
}
.card-title {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: .5rem;
}
.card-heading {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: .5rem;
    letter-spacing: -.01em;
}
.card-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
}
.card-list li {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: .5rem;
    font-size: .9rem;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
}

/* Staggered list item entrance + subtle pulse */
.slide.active .card-list li {
    animation: listItemIn .5s cubic-bezier(.22,1,.36,1) forwards,
               listPulse 4s 1.5s ease-in-out infinite;
}
.slide.active .card-list li:nth-child(1) { animation-delay: .3s, 1.8s; }
.slide.active .card-list li:nth-child(2) { animation-delay: .45s, 1.95s; }
.slide.active .card-list li:nth-child(3) { animation-delay: .6s, 2.1s; }
.slide.active .card-list li:nth-child(4) { animation-delay: .75s, 2.25s; }
.slide.active .card-list li:nth-child(5) { animation-delay: .9s, 2.4s; }
.slide.active .card-list li:nth-child(6) { animation-delay: 1.05s, 2.55s; }
@keyframes listItemIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes listPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .75; }
}

/* ============================================
   MICRO INTERACTIONS
   ============================================ */
button, .nav-button { cursor: pointer; }

/* Card title sparkle */
.slide.active .card-title {
    animation: cardTitleShimmer 6s ease-in-out infinite;
    background: linear-gradient(90deg, var(--color-text-secondary) 0%, var(--color-primary) 50%, var(--color-text-secondary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes cardTitleShimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ============================================
   NAVIGATION BAR  (glass-nav)
   ============================================ */
.navigation-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .65rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,.04);
}
.navigation-bar.glass {
    background: rgba(255,255,255,.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-button {
    font-family: inherit;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .55rem 1.4rem;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.7);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.nav-button:hover {
    background: #fff;
    border-color: rgba(0,0,0,.12);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}
.nav-button:active { transform: translateY(0); }
.nav-button.primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    background-size: 200% 200%;
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-colored);
    animation: nextBtnGlow 3s ease-in-out infinite;
}
.nav-button.primary:hover {
    box-shadow: 0 10px 28px rgba(0,133,66,.28);
    transform: translateY(-2px);
}
@keyframes nextBtnGlow {
    0%, 100% { background-position: 0% 50%; box-shadow: var(--shadow-colored); }
    50%      { background-position: 100% 50%; box-shadow: 0 6px 20px rgba(0,133,66,.25); }
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-container { flex: 1; padding: 0 .5rem; }
.progress-track {
    height: 5px;
    background: rgba(0,0,0,.06);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
    transition: width .5s cubic-bezier(.22,1,.36,1);
    position: relative;
}
.progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
    animation: shimmer 2s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.progress-fill {
    animation: progressPulse 3s ease-in-out infinite;
}
@keyframes progressPulse {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.15); }
}

/* ============================================
   LOGOS
   ============================================ */
.logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.logos-container img { height: 60px; object-fit: contain; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    #presentationCard { height: 620px; max-width: 100%; }
    .slide { padding: 2rem 2.25rem; }
}
@media (max-width: 768px) {
    body { padding: var(--spacing-md); }
    #presentationCard { height: 540px; border-radius: var(--radius-xl); }
    .slide { padding: 1.75rem 1.5rem; }
    .section-title { font-size: clamp(1.2rem,4vw,1.8rem); }
    .section-lead  { font-size: clamp(.85rem,2.5vw,1rem); }
    .presentation-header { padding: .55rem 1rem; }
    .logos-container img { height: 40px; }
    .card { padding: 1.1rem; }
}
@media (max-width: 480px) {
    body { padding: var(--spacing-sm); }
    #presentationCard { height: 460px; border-radius: var(--radius-lg); }
    .slide { padding: 1.25rem 1rem; }
    .navigation-bar { padding: .5rem .75rem; gap: .5rem; }
    .nav-button { font-size: .7rem; padding: .45rem 1rem; }
    .brand-pill { font-size: .6rem; padding: .2rem .6rem; }
    .hud-chip { font-size: .65rem; padding: .25rem .6rem; }
}

/* ============================================
   FULLSCREEN MODE
   ============================================ */
#presentationCard:fullscreen,
#presentationCard:-webkit-full-screen,
#presentationCard:-moz-full-screen,
#presentationCard:-ms-fullscreen,
#presentationCard.fullscreen {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
#presentationCard:fullscreen .presentation-header,
#presentationCard:-webkit-full-screen .presentation-header,
#presentationCard.fullscreen .presentation-header {
    background: rgba(255,255,255,.95);
    backdrop-filter: none;
}
#presentationCard:fullscreen .slides-container,
#presentationCard:-webkit-full-screen .slides-container,
#presentationCard.fullscreen .slides-container {
    margin: 0 1rem;
}
#presentationCard:fullscreen .slides-container::before,
#presentationCard:-webkit-full-screen .slides-container::before,
#presentationCard.fullscreen .slides-container::before {
    opacity: .5;
}
#presentationCard:fullscreen .slide,
#presentationCard:-webkit-full-screen .slide,
#presentationCard.fullscreen .slide {
    padding: 2.5rem 4rem;
}
#presentationCard:fullscreen .navigation-bar,
#presentationCard:-webkit-full-screen .navigation-bar,
#presentationCard.fullscreen .navigation-bar {
    background: rgba(255,255,255,.95);
    backdrop-filter: none;
    padding: .75rem 2rem;
}
#presentationCard:fullscreen .card,
#presentationCard:-webkit-full-screen .card,
#presentationCard.fullscreen .card {
    background: rgba(248,250,252,.9);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
#presentationCard:fullscreen .card--soft,
#presentationCard.fullscreen .card--soft {
    background: rgba(248,250,252,.95);
}
#presentationCard:fullscreen .card--success,
#presentationCard.fullscreen .card--success {
    background: rgba(240,253,244,.9);
}
#presentationCard:fullscreen .card--warning,
#presentationCard.fullscreen .card--warning {
    background: rgba(255,251,235,.9);
}
#presentationCard:fullscreen .card--danger,
#presentationCard.fullscreen .card--danger {
    background: rgba(254,242,242,.9);
}
#presentationCard:fullscreen .subtle-bg,
#presentationCard:-webkit-full-screen .subtle-bg,
#presentationCard.fullscreen .subtle-bg {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
#presentationCard:fullscreen .gradient-bg,
#presentationCard:-webkit-full-screen .gradient-bg,
#presentationCard.fullscreen .gradient-bg {
    background: linear-gradient(160deg, rgba(0,133,66,.06) 0%, rgba(255,204,41,.04) 100%);
}
#presentationCard:fullscreen .low-opacity-gradient-bg,
#presentationCard:-webkit-full-screen .low-opacity-gradient-bg,
#presentationCard.fullscreen .low-opacity-gradient-bg {
    background: linear-gradient(160deg, rgba(0,133,66,.03) 0%, rgba(255,204,41,.02) 100%);
}
/* Override browser default fullscreen background (black/gray) */
#presentationCard::backdrop {
    background: #ffffff;
}

/* ============================================
   SLIDE ILLUSTRATIONS — Base
   ============================================ */
.slide-illust {
    display: flex;
    justify-content: center;
    margin: .5rem auto .75rem;
    opacity: 0;
    transform: translateY(10px);
}
.slide.active .slide-illust {
    animation: illustIn .6s .25s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes illustIn {
    to { opacity: 1; transform: translateY(0); }
}
.illust-svg { width: 110px; height: 72px; overflow: visible; }
.illust-svg--sm { width: 70px; height: 55px; }
.illust-svg--wide { width: 160px; height: 45px; }
.slide-illust--sm { margin: .25rem auto .5rem; }

/* — Slide 1: Breathing lungs + weather — */
.slide.active .s1-lung-l,
.slide.active .s1-lung-r {
    animation: s1Breathe 3.5s ease-in-out infinite;
}
.slide.active .s1-lung-r { animation-delay: .15s; }
@keyframes s1Breathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.07); }
}
.slide.active .s1-sun {
    animation: s1Sun 6s ease-in-out infinite;
}
.slide.active .s1-snow {
    animation: s1Snow 6s ease-in-out infinite;
}
@keyframes s1Sun {
    0%, 45%  { opacity: 1; }
    50%, 95% { opacity: 0; }
    100%     { opacity: 1; }
}
@keyframes s1Snow {
    0%, 45%  { opacity: 0; }
    50%, 95% { opacity: 1; }
    100%     { opacity: 0; }
}

/* — Slide 2: Thermometer + viruses — */
.slide.active .s2-mercury {
    animation: s2Mercury 4s ease-in-out infinite;
}
@keyframes s2Mercury {
    0%, 100% { height: 26px; y: 22; }
    50%      { height: 16px; y: 32; }
}
.slide.active .s2-v1 { animation: s2Float 3s ease-in-out infinite; }
.slide.active .s2-v2 { animation: s2Float 3s .8s ease-in-out infinite; }
.slide.active .s2-v3 { animation: s2Float 3s 1.6s ease-in-out infinite; }
@keyframes s2Float {
    0%, 100% { transform: translateY(0); opacity: .5; }
    50%      { transform: translateY(-6px); opacity: .8; }
}

/* — Slide 3: Season cycle — */
.slide.active .s3-arrow {
    animation: s3Rotate 5s linear infinite;
    transform-origin: 30px 30px;
}
@keyframes s3Rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.slide.active .s3-sun {
    animation: s1Sun 5s ease-in-out infinite;
}
.slide.active .s3-cold {
    animation: s1Snow 5s ease-in-out infinite;
}

/* — Slide 4: Particles falling into airway — */
.slide.active .s4-p1 { animation: s4Fall 3s ease-in infinite; }
.slide.active .s4-p2 { animation: s4Fall 3s .6s ease-in infinite; }
.slide.active .s4-p3 { animation: s4Fall 3s 1.2s ease-in infinite; }
@keyframes s4Fall {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { opacity: .6; }
    100% { transform: translateY(52px); opacity: 0; }
}

/* — Slide 5: Symptom dots blinking — */
.slide.active .s5-d1 { animation: s5Blink 4s .0s ease-in-out infinite; }
.slide.active .s5-d2 { animation: s5Blink 4s .5s ease-in-out infinite; }
.slide.active .s5-d3 { animation: s5Blink 4s 1.0s ease-in-out infinite; }
.slide.active .s5-d4 { animation: s5Blink 4s 1.5s ease-in-out infinite; }
@keyframes s5Blink {
    0%, 20%  { opacity: 0; transform: scale(.5); }
    30%, 70% { opacity: .9; transform: scale(1); }
    80%, 100%{ opacity: 0; transform: scale(.5); }
}

/* — Slide 6: ECG scrolling — */
.s6-ecg {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
}
.slide.active .s6-ecg {
    animation: s6Draw 2.5s linear infinite;
}
@keyframes s6Draw {
    to { stroke-dashoffset: 0; }
}

/* — Slide 7: O2 bar dropping — */
.slide.active .s7-bar {
    animation: s7Drop 5s ease-in-out infinite;
}
@keyframes s7Drop {
    0%, 10%  { height: 24px; y: 24; fill: #22c55e; }
    50%      { height: 8px; y: 40; fill: #ef4444; }
    90%, 100%{ height: 24px; y: 24; fill: #22c55e; }
}
.slide.active .s7-lung-l,
.slide.active .s7-lung-r {
    animation: s7Flush 5s ease-in-out infinite;
}
@keyframes s7Flush {
    0%, 10%  { fill: #fecaca; }
    50%      { fill: #ef4444; }
    90%, 100%{ fill: #fecaca; }
}

/* — Slide 9: Balance scale tilting — */
.s9-beam { transform-origin: 60px 26px; }
.slide.active .s9-beam {
    animation: s9Tilt 4s ease-in-out infinite;
}
@keyframes s9Tilt {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(8deg); }
    75%      { transform: rotate(-8deg); }
}

/* — Slide 10: Escalation steps lighting up — */
.slide.active .s10-dot {
    animation: s10Move 4s ease-in-out infinite;
}
@keyframes s10Move {
    0%, 10%  { cx: 22; cy: 30; opacity: 1; fill: #22c55e; }
    40%, 50% { cx: 60; cy: 15; opacity: 1; fill: #eab308; }
    80%, 90% { cx: 98; cy: 0; opacity: 1; fill: #ef4444; }
    95%, 100%{ opacity: 0; }
}
.slide.active .s10-bar1 { animation: s10Glow1 4s ease-in-out infinite; }
.slide.active .s10-bar2 { animation: s10Glow2 4s ease-in-out infinite; }
.slide.active .s10-bar3 { animation: s10Glow3 4s ease-in-out infinite; }
@keyframes s10Glow1 {
    0%, 5%   { opacity: .4; }
    12%, 35% { opacity: 1; }
    42%, 100%{ opacity: .4; }
}
@keyframes s10Glow2 {
    0%, 35%  { opacity: .4; }
    42%, 65% { opacity: 1; }
    72%, 100%{ opacity: .4; }
}
@keyframes s10Glow3 {
    0%, 65%  { opacity: .4; }
    72%, 92% { opacity: 1; }
    95%, 100%{ opacity: .4; }
}

/* — Slide 11: Shield pulsing — */
.slide.active .s11-shield {
    animation: s11Pulse 3s ease-in-out infinite;
}
@keyframes s11Pulse {
    0%, 100% { fill: rgba(0,133,66,.12); filter: drop-shadow(0 0 0 transparent); }
    50%      { fill: rgba(0,133,66,.22); filter: drop-shadow(0 0 8px rgba(0,133,66,.3)); }
}

/* — Slide 12: Syringe + shield fill — */
.slide.active .s12-plunger {
    animation: s12Push 5s ease-in-out infinite;
}
@keyframes s12Push {
    0%, 15%  { x: 2; }
    45%, 100%{ x: 32; }
}
.slide.active .s12-shield {
    animation: s12Fill 5s ease-in-out infinite;
}
@keyframes s12Fill {
    0%, 40%  { fill: rgba(0,133,66,.1); }
    60%, 85% { fill: rgba(0,133,66,.3); }
    95%, 100%{ fill: rgba(0,133,66,.1); }
}
.slide.active .s12-check {
    animation: s12Check 5s ease-in-out infinite;
}
@keyframes s12Check {
    0%, 55%  { opacity: 0; transform: scale(.5); }
    65%, 85% { opacity: 1; transform: scale(1); }
    95%, 100%{ opacity: 0; transform: scale(.5); }
}

/* — Slide 13: Handwash drops + sparkle — */
.slide.active .s13-d1 { animation: s13Drop 3s ease-in infinite; }
.slide.active .s13-d2 { animation: s13Drop 3s .4s ease-in infinite; }
.slide.active .s13-d3 { animation: s13Drop 3s .8s ease-in infinite; }
@keyframes s13Drop {
    0%   { transform: translateY(0); opacity: 1; }
    80%  { opacity: .4; }
    100% { transform: translateY(18px); opacity: 0; }
}
.slide.active .s13-sparkle {
    animation: s13Sparkle 3s 1s ease-in-out infinite;
}
@keyframes s13Sparkle {
    0%, 30%  { opacity: 0; }
    50%, 70% { opacity: 1; }
    90%, 100%{ opacity: 0; }
}

/* — Slide 14: Air flow + particles exiting — */
.slide.active .s14-f1 { animation: s14Flow 3s ease-in-out infinite; }
.slide.active .s14-f2 { animation: s14Flow 3s .3s ease-in-out infinite; }
.slide.active .s14-f3 { animation: s14Flow 3s .6s ease-in-out infinite; }
@keyframes s14Flow {
    0%   { opacity: .3; transform: translateX(0); }
    50%  { opacity: .7; }
    100% { opacity: .3; transform: translateX(8px); }
}
.slide.active .s14-px1 { animation: s14Exit 2.5s ease-in infinite; }
.slide.active .s14-px2 { animation: s14Exit 2.5s .5s ease-in infinite; }
.slide.active .s14-px3 { animation: s14Exit 2.5s 1s ease-in infinite; }
@keyframes s14Exit {
    0%   { transform: translateX(0); opacity: .8; }
    100% { transform: translateX(70px); opacity: 0; }
}

/* — Slide 15: Mask blocking particles — */
.slide.active .s15-barrier {
    animation: s15Barrier 4s ease-in-out infinite;
}
@keyframes s15Barrier {
    0%, 25%  { opacity: 0; }
    35%, 75% { opacity: .7; }
    85%, 100%{ opacity: 0; }
}
.slide.active .s15-p1 { animation: s15Block 4s ease-in-out infinite; }
.slide.active .s15-p2 { animation: s15Block 4s .3s ease-in-out infinite; }
.slide.active .s15-p3 { animation: s15Block 4s .6s ease-in-out infinite; }
@keyframes s15Block {
    0%, 10%  { transform: translateX(0); opacity: .8; }
    40%      { transform: translateX(-14px); opacity: .9; }
    55%, 70% { transform: translateX(-10px); opacity: .5; }
    85%, 100%{ transform: translateX(0); opacity: .8; }
}

/* — Slide 16: Alert beacon rings — */
.slide.active .s16-r1 { animation: s16Ring 2.5s ease-out infinite; }
.slide.active .s16-r2 { animation: s16Ring 2.5s .4s ease-out infinite; }
.slide.active .s16-r3 { animation: s16Ring 2.5s .8s ease-out infinite; }
@keyframes s16Ring {
    0%   { opacity: .8; transform: scale(.8); }
    100% { opacity: 0; transform: scale(1.2); }
}

/* — Slide 17: Team circle connecting — */
.s17-l1, .s17-l2, .s17-l3, .s17-l4, .s17-l5 { opacity: 0; }
.s17-d1, .s17-d2, .s17-d3, .s17-d4, .s17-d5 { opacity: 0; }
.slide.active .s17-d1 { animation: s17Pop 6s .0s ease-in-out infinite; }
.slide.active .s17-d2 { animation: s17Pop 6s .4s ease-in-out infinite; }
.slide.active .s17-d3 { animation: s17Pop 6s .8s ease-in-out infinite; }
.slide.active .s17-d4 { animation: s17Pop 6s 1.2s ease-in-out infinite; }
.slide.active .s17-d5 { animation: s17Pop 6s 1.6s ease-in-out infinite; }
@keyframes s17Pop {
    0%, 5%   { opacity: 0; transform: scale(.3); }
    15%, 80% { opacity: 1; transform: scale(1); }
    90%, 100%{ opacity: 0; transform: scale(.3); }
}
.slide.active .s17-l1 { animation: s17Line 6s .2s ease-in-out infinite; }
.slide.active .s17-l2 { animation: s17Line 6s .6s ease-in-out infinite; }
.slide.active .s17-l3 { animation: s17Line 6s 1.0s ease-in-out infinite; }
.slide.active .s17-l4 { animation: s17Line 6s 1.4s ease-in-out infinite; }
.slide.active .s17-l5 { animation: s17Line 6s 1.8s ease-in-out infinite; }
@keyframes s17Line {
    0%, 8%   { opacity: 0; }
    18%, 80% { opacity: 1; }
    90%, 100%{ opacity: 0; }
}

/* — Slide 18: Heartbeat scroll — */
.s18-beat {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
}
.slide.active .s18-beat {
    animation: s18Scroll 3s linear infinite;
}
@keyframes s18Scroll {
    to { stroke-dashoffset: 0; }
}

/* ============================================
   ANIMATED RISK EQUATION (Slide 8)
   ============================================ */
.equation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.6rem 1.2rem;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(8px);
    border-radius: 1.2rem;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
    margin-top: 1rem;
}
.equation-term {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.equation-icon {
    width: 60px;
    height: 60px;
}
.eq-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.equation-label {
    font-size: clamp(.65rem, 1vw, .8rem);
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}
.equation-label--danger {
    color: #dc2626 !important;
    font-weight: 800 !important;
    font-size: clamp(.7rem, 1.1vw, .85rem);
}
.equation-operator {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #6B7280;
    margin-top: -1rem;
    user-select: none;
}
.eq-equals {
    color: var(--color-primary);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* Looping timeline reveal of each equation element */
.eq-anim {
    opacity: 0;
    transform: translateY(18px) scale(.85);
}
.slide.active .eq-step-1 { animation: eqStep1 8s cubic-bezier(.22,1,.36,1) infinite; }
.slide.active .eq-step-2 { animation: eqStep2 8s cubic-bezier(.22,1,.36,1) infinite; }
.slide.active .eq-step-3 { animation: eqStep3 8s cubic-bezier(.22,1,.36,1) infinite; }
.slide.active .eq-step-4 { animation: eqStep4 8s cubic-bezier(.22,1,.36,1) infinite; }
.slide.active .eq-step-5 { animation: eqStep5 8s cubic-bezier(.22,1,.36,1) infinite; }
.slide.active .eq-step-6 { animation: eqStep6 8s cubic-bezier(.22,1,.36,1) infinite; }
.slide.active .eq-step-7 { animation: eqStep7 8s cubic-bezier(.22,1,.36,1) infinite; }

@keyframes eqStep1 {
    0%, 5%   { opacity: 0; transform: translateY(18px) scale(.85); }
    10%, 85% { opacity: 1; transform: translateY(0) scale(1); }
    92%, 100%{ opacity: 0; transform: translateY(18px) scale(.85); }
}
@keyframes eqStep2 {
    0%, 12%  { opacity: 0; transform: translateY(18px) scale(.85); }
    18%, 85% { opacity: 1; transform: translateY(0) scale(1); }
    92%, 100%{ opacity: 0; transform: translateY(18px) scale(.85); }
}
@keyframes eqStep3 {
    0%, 20%  { opacity: 0; transform: translateY(18px) scale(.85); }
    26%, 85% { opacity: 1; transform: translateY(0) scale(1); }
    92%, 100%{ opacity: 0; transform: translateY(18px) scale(.85); }
}
@keyframes eqStep4 {
    0%, 30%  { opacity: 0; transform: translateY(18px) scale(.85); }
    36%, 85% { opacity: 1; transform: translateY(0) scale(1); }
    92%, 100%{ opacity: 0; transform: translateY(18px) scale(.85); }
}
@keyframes eqStep5 {
    0%, 40%  { opacity: 0; transform: translateY(18px) scale(.85); }
    46%, 85% { opacity: 1; transform: translateY(0) scale(1); }
    92%, 100%{ opacity: 0; transform: translateY(18px) scale(.85); }
}
@keyframes eqStep6 {
    0%, 52%  { opacity: 0; transform: translateY(18px) scale(.85); }
    58%, 85% { opacity: 1; transform: translateY(0) scale(1); }
    92%, 100%{ opacity: 0; transform: translateY(18px) scale(.85); }
}
@keyframes eqStep7 {
    0%, 62%  { opacity: 0; transform: translateY(18px) scale(.85); }
    68%      { opacity: 1; transform: translateY(0) scale(1.16); }
    74%, 85% { opacity: 1; transform: translateY(0) scale(1); }
    92%, 100%{ opacity: 0; transform: translateY(18px) scale(.85); }
}

/* People silhouettes appearing one by one on each loop */
.person { opacity: 0; }
.slide.active .person-1 { animation: personPop1 8s cubic-bezier(.22,1,.36,1) infinite; }
.slide.active .person-2 { animation: personPop2 8s cubic-bezier(.22,1,.36,1) infinite; }
.slide.active .person-3 { animation: personPop3 8s cubic-bezier(.22,1,.36,1) infinite; }
@keyframes personPop1 {
    0%, 9%   { opacity: 0; transform: scale(.5); }
    13%, 85% { opacity: 1; transform: scale(1); }
    92%, 100%{ opacity: 0; transform: scale(.5); }
}
@keyframes personPop2 {
    0%, 11%  { opacity: 0; transform: scale(.5); }
    15%, 85% { opacity: 1; transform: scale(1); }
    92%, 100%{ opacity: 0; transform: scale(.5); }
}
@keyframes personPop3 {
    0%, 13%  { opacity: 0; transform: scale(.5); }
    17%, 85% { opacity: 1; transform: scale(1); }
    92%, 100%{ opacity: 0; transform: scale(.5); }
}

/* Clock hands spinning */
.clock-minute-hand,
.clock-hour-hand {
    transform-origin: 40px 40px;
}
.slide.active .clock-minute-hand {
    animation: clockSpin 3s linear infinite;
}
.slide.active .clock-hour-hand {
    animation: clockSpin 36s linear infinite;
}
@keyframes clockSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Wind lines dim and X slashes in on each loop */
.wind-lines { opacity: 1; }
.slide.active .wind-lines {
    animation: windFadeLoop 8s ease-out infinite;
}
@keyframes windFadeLoop {
    0%, 45%  { opacity: 1; }
    50%, 85% { opacity: .25; }
    92%, 100%{ opacity: 1; }
}
.vent-x-mark {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
    transform-origin: 40px 40px;
}
.slide.active .vent-x-mark {
    animation: xSlashLoop 8s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes xSlashLoop {
    0%, 50%  { opacity: 0; transform: scale(0) rotate(-90deg); }
    56%, 85% { opacity: 1; transform: scale(1) rotate(0deg); }
    92%, 100%{ opacity: 0; transform: scale(0) rotate(-90deg); }
}

/* Risk triangle pulsing glow */
.slide.active .risk-triangle {
    animation: riskPulse 1.4s ease-in-out infinite;
}
@keyframes riskPulse {
    0%, 100% { fill: #fbbf24; filter: drop-shadow(0 0 0 transparent); }
    50%      { fill: #f59e0b; filter: drop-shadow(0 0 10px rgba(245,158,11,.55)); }
}

/* Result term uses eqStep7 bounce timing in the loop */

/* Responsive adjustments for equation */
@media (max-width: 768px) {
    .equation-container { gap: .35rem; padding: 1rem .6rem; }
    .equation-icon { width: 44px; height: 44px; }
    .equation-operator { font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .equation-container { flex-wrap: wrap; gap: .5rem; }
    .equation-icon { width: 36px; height: 36px; }
}

/* ============================================
   ALERT PILLS (Slide 6) — alive feel
   ============================================ */
.slide.active .rounded-full.shadow-lg {
    animation: alertPillBreathe 3.5s ease-in-out infinite;
    position: relative;
}
.slide.active .delay-2.rounded-full.shadow-lg { animation-delay: .4s; }
.slide.active .delay-3.rounded-full.shadow-lg { animation-delay: .8s; }
.slide.active .delay-4.rounded-full.shadow-lg { animation-delay: 1.2s; }
.slide.active .delay-5.rounded-full.shadow-lg { animation-delay: 1.6s; }
@keyframes alertPillBreathe {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
    50%      { transform: scale(1.04); box-shadow: 0 10px 25px -3px rgba(0,0,0,.18); }
}

/* ============================================
   SLIDE HEADER ICONS — pulse ring
   ============================================ */
.slide.active .w-12.h-12.rounded-full {
    animation: headerIconPulse 3s ease-in-out infinite;
}
@keyframes headerIconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,133,66,.25); }
    50%      { box-shadow: 0 0 0 6px rgba(0,133,66,0); }
}

/* ============================================
   LOGOS — gentle float
   ============================================ */
.slide.active .logos-container img {
    animation: logoFloat 5s ease-in-out infinite;
}
.slide.active .logos-container img:nth-child(2) {
    animation-delay: 1s;
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

/* ============================================
   GRADIENT BACKGROUNDS — slow shift
   ============================================ */
.slide.active.gradient-bg,
.slide.active.subtle-bg,
.slide.active.low-opacity-gradient-bg {
    animation: bgShift 12s ease-in-out infinite;
    background-size: 200% 200%;
}
@keyframes bgShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ============================================
   CONTENT MOTION — text, cards and lists
   ============================================ */
.slide.active .card p {
    animation: textBreathe 6s ease-in-out infinite;
}
@keyframes textBreathe {
    0%, 100% { opacity: .9; }
    50%      { opacity: 1; }
}

/* Headings com brilho suave em loop */
.slide.active .card-heading {
    background: linear-gradient(90deg, var(--color-text-primary) 0%, var(--color-primary) 45%, var(--color-text-primary) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: headingFlow 6.5s ease-in-out infinite;
}
@keyframes headingFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Realce dinâmico nas caixas sem alterar estrutura */
.slide.active .card {
    position: relative;
    overflow: hidden;
}
.slide.active .card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.15) 45%, transparent 90%);
    transform: translateX(-120%);
    animation: cardSweep 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes cardSweep {
    0%, 20%   { transform: translateX(-120%); opacity: 0; }
    28%, 52%  { transform: translateX(120%); opacity: 1; }
    60%, 100% { transform: translateX(120%); opacity: 0; }
}

/* Marcadores das listas com micro movimento */
.slide.active .card-list li span:first-child {
    animation: bulletPulse 2.8s ease-in-out infinite;
}
.slide.active .card-list li:nth-child(2) span:first-child { animation-delay: .25s; }
.slide.active .card-list li:nth-child(3) span:first-child { animation-delay: .5s; }
.slide.active .card-list li:nth-child(4) span:first-child { animation-delay: .75s; }
.slide.active .card-list li:nth-child(5) span:first-child { animation-delay: 1s; }
@keyframes bulletPulse {
    0%, 100% { transform: scale(1); opacity: .85; }
    50%      { transform: scale(1.25); opacity: 1; }
}

/* Listas textuais fora de cards (ex.: slide 4) */
.slide.active ul.list-inside li {
    animation: outsideListWave 5.5s ease-in-out infinite;
}
.slide.active ul.list-inside li:nth-child(2) { animation-delay: .3s; }
.slide.active ul.list-inside li:nth-child(3) { animation-delay: .6s; }
.slide.active ul.list-inside li:nth-child(4) { animation-delay: .9s; }
@keyframes outsideListWave {
    0%, 100% { opacity: .9; transform: translateX(0); }
    50%      { opacity: 1; transform: translateX(3px); }
}

/* Parágrafos de bloco principal ganham respiração sutil */
.slide.active .m-auto > p,
.slide.active .slide-content > p {
    animation: bodyTextBreathe 6.2s ease-in-out infinite;
}
@keyframes bodyTextBreathe {
    0%, 100% { opacity: .88; }
    50%      { opacity: 1; }
}

/* ============================================
   UTILITY HELPERS
   ============================================ */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================
   PRINT
   ============================================ */
@media print {
    body { background: #fff; padding: 0; }
    #particles-canvas, #loading-screen, .navigation-bar, .presentation-header { display: none !important; }
    #presentationCard {
        box-shadow: none;
        border: 1px solid #ddd;
        height: auto;
        page-break-inside: avoid;
    }
    .slide { position: relative !important; display: flex !important; opacity: 1 !important; page-break-after: always; }
}
