/* ==========================================================================
   Multiplan — Programa de Estágio 2026
   CSS residual (animações + estados controlados por JS)
   ========================================================================== */

:root {
    --mp-red:        #C4151C;
    --mp-red-dark:   #8C1309;
    --mp-graphite:   #42494E;
    --mp-ink:        #4A4A4A;
    --mp-ink-soft:   #717171;
    --mp-border:     #E7E7E7;
    --mp-soft:       #F5F5F5;
    --mp-mid:        #C7C7C7;
    --mp-white:      #FFFFFF;
    --mp-ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

/* Smooth scroll global, com offset do header fixo */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background-color: var(--mp-red);
    color: #fff;
}

/* ==========================================================================
   Botões — assinatura visual Multiplan
   border-radius: 8px 8px 0 8px (3 cantos arredondados, 1 reto)
   Idêntico ao .btn-5 do site institucional
   ========================================================================== */
.btn-mp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border-radius: 8px 8px 0 8px;
    padding: 0.875rem 1.75rem;
    font-family: 'Jost', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: all 0.4s var(--mp-ease);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-mp::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: currentColor;
    opacity: 0;
    transition: opacity 0.4s var(--mp-ease);
    pointer-events: none;
}

/* Variantes */
.btn-mp-primary {
    background-color: var(--mp-red);
    color: #fff;
}
.btn-mp-primary:hover {
    background-color: var(--mp-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(196, 21, 28, 0.45);
}

.btn-mp-outline {
    background-color: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 2px #fff;
}
.btn-mp-outline:hover {
    background-color: #fff;
    color: var(--mp-graphite);
    transform: translateY(-2px);
}

.btn-mp-ghost {
    background-color: transparent;
    color: var(--mp-graphite);
    box-shadow: inset 0 0 0 2px var(--mp-graphite);
}
.btn-mp-ghost:hover {
    background-color: var(--mp-graphite);
    color: #fff;
    transform: translateY(-2px);
}

.btn-mp-dark {
    background-color: var(--mp-graphite);
    color: #fff;
}
.btn-mp-dark:hover {
    background-color: #2c3033;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(66, 73, 78, 0.5);
}

/* ==========================================================================
   Header — transparente no topo, sólido (branco com blur) ao scrollar
   ========================================================================== */
#header {
    background-color: transparent;
    backdrop-filter: blur(0);
}

#header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Texto da nav + ícone hambúrguer trocam de branco para grafite ao scrollar */
#header.is-scrolled nav a,
#header.is-scrolled #nav-toggle,
#header.is-scrolled .logo-text {
    color: var(--mp-graphite) !important;
}

/* Logo Multiplan: branca quando o header é transparente (sobre o gradiente),
   colorida quando o header vira branco (após scroll). */
.logo-img {
    filter: brightness(0) invert(1);   /* branca no topo */
    transition: filter 0.5s var(--mp-ease);
}
#header.is-scrolled .logo-img {
    filter: none;                       /* cores originais ao scrollar */
}

/* Divisor entre logo e selo "Programa de Estágio" */
#header.is-scrolled .logo-divider {
    background-color: var(--mp-border) !important;
}
#header.is-scrolled .logo-text {
    color: var(--mp-ink-soft) !important;
}

/* Links de navegação — underline animado em hover/active */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.3s var(--mp-ease);
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--mp-red);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s var(--mp-ease);
}
.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left center;
}
.nav-link:hover,
.nav-link.is-active {
    color: var(--mp-red) !important;
}

/* Toggle mobile — vira X quando aberto */
#nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
#nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay mobile — abre suave */
#nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    height: min(100vh, 768px);
    min-height: 600px;
    background-color: var(--mp-graphite); /* fallback enquanto carrega */
}

/* Camada 1 — gradiente de fundo (visível enquanto não há KV oficial) */
.hero-bg {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(196, 21, 28, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(140, 19, 9, 0.45) 0%, transparent 50%),
        linear-gradient(135deg, #2a2e31 0%, #42494E 55%, #1a1d1f 100%);
    z-index: 1;
}

.hero-kv {
    z-index: 2;
}

/* Vinheta para garantir contraste do texto sobre a imagem */
.hero-vignette {
    z-index: 3;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%),
        linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 50%);
}

/* Grid decorativo */
.hero-grid {
    z-index: 4;
    background-image:
        linear-gradient(rgba(255,255,255,0.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.55) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: -1px -1px;
    mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%);
}

/* Tipografia do hero */
.hero-title {
    font-size: clamp(2.75rem, 7.5vw, 6rem);
}
.hero-title-accent {
    background: linear-gradient(180deg, #fff 0%, #fff 65%, rgba(255,255,255,0.55) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Estados de revelação adicionais */
.reveal-delay-4 { transition-delay: 0.55s; }
.reveal-delay-5 { transition-delay: 0.70s; }

/* Indicador de scroll com micro-bounce */
.hero-scroll-arrow {
    animation: scrollHint 2.4s var(--mp-ease) infinite;
}
@keyframes scrollHint {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* Mobile: ajusta padding e meta */
@media (max-width: 767px) {
    .hero { min-height: 560px; }
    .hero-meta { position: static !important; margin-top: 3rem; flex-direction: column; align-items: flex-start; }
    .hero-grid { background-size: 48px 48px; }
}

/* ==========================================================================
   Placeholders de imagem (até receber as fotos reais do cliente)
   ========================================================================== */
.placeholder {
    position: relative;
    border-radius: 20px 20px 0 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px -16px rgba(74,74,74,0.25);
}
.placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,0.05) 16px 17px);
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   FASE 3 — Cards "por que se inscrever"
   ========================================================================== */
.card-mp {
    background: var(--mp-white);
    border: 1px solid var(--mp-border);
    border-radius: 14px 14px 0 14px;
    padding: 1.75rem;
    transition: all 0.4s var(--mp-ease);
    position: relative;
}
.card-mp:hover {
    border-color: var(--mp-red);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -12px rgba(196, 21, 28, 0.18);
}
.card-mp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px 12px 0 12px;
    background: linear-gradient(135deg, var(--mp-red) 0%, var(--mp-red-dark) 100%);
    color: #fff;
    margin-bottom: 1.25rem;
}
.card-mp-icon svg { width: 26px; height: 26px; }
.card-mp-title {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
    color: var(--mp-graphite);
    margin-bottom: 0.6rem;
}
.card-mp-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--mp-ink-soft);
}

/* ==========================================================================
   FASE 4 — Pré-Requisitos (cards sobre fundo escuro)
   ========================================================================== */
.prereq-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    border-radius: 14px 14px 0 14px;
    padding: 1.75rem 1.75rem 1.5rem;
    color: #fff;
    transition: all 0.4s var(--mp-ease);
    position: relative;
    overflow: hidden;
}
.prereq-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--mp-red) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s var(--mp-ease);
}
.prereq-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(196, 21, 28, 0.45);
    transform: translateY(-3px);
}
.prereq-card:hover::before { opacity: 1; }
.prereq-num {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--mp-red);
    margin-bottom: 0.6rem;
    display: inline-block;
}
.prereq-title {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    color: #fff;
}
.prereq-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

.benefit-pill {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px 12px 0 12px;
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.3;
    transition: all 0.3s var(--mp-ease);
}
.benefit-pill svg {
    width: 22px;
    height: 22px;
    color: var(--mp-red);
    flex-shrink: 0;
}
.benefit-pill:hover {
    background: rgba(196, 21, 28, 0.12);
    border-color: rgba(196, 21, 28, 0.35);
    transform: translateY(-2px);
}

/* ==========================================================================
   FASE 5 — Áreas de Atuação
   ========================================================================== */
.area-card {
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: 14px 14px 0 14px;
    padding: 1.75rem;
    transition: all 0.4s var(--mp-ease);
    position: relative;
    display: flex;
    flex-direction: column;
}
.area-card:hover {
    border-color: var(--mp-red);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -12px rgba(196, 21, 28, 0.18);
}
.area-card-featured {
    background: var(--mp-graphite);
    border-color: var(--mp-graphite);
    color: #fff;
}
.area-card-featured:hover {
    border-color: var(--mp-red);
    background: #2c3033;
}
.area-tag {
    display: inline-block;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--mp-red);
    background: rgba(196, 21, 28, 0.08);
    padding: 0.3rem 0.7rem;
    border-radius: 8px 8px 0 8px;
    margin-bottom: 0.9rem;
    align-self: flex-start;
}
.area-card-featured .area-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.area-tag-hot {
    background: var(--mp-red) !important;
    color: #fff !important;
}
.area-title {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.15;
    color: var(--mp-graphite);
    margin-bottom: 0.25rem;
}
.area-card-featured .area-title { color: #fff; }
.area-state {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mp-ink-soft);
    margin-bottom: 1.2rem;
}
.area-card-featured .area-state { color: rgba(255,255,255,0.6); }
.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border-top: 1px solid var(--mp-border);
    padding-top: 1.1rem;
}
.area-card-featured .area-list { border-top-color: rgba(255, 255, 255, 0.1); }
.area-list li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.9rem;
    color: var(--mp-ink);
    line-height: 1.4;
}
.area-card-featured .area-list li { color: rgba(255,255,255,0.85); }
.area-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    background-color: var(--mp-red);
    border-radius: 50%;
}

/* ==========================================================================
   FASE 6 — Timeline (Etapas)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
.timeline-track {
    position: absolute;
    top: 24px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--mp-border);
    overflow: hidden;
    border-radius: 1px;
}
.timeline-progress {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--mp-red) 0%, var(--mp-red-dark) 100%);
    transition: width 1.4s var(--mp-ease);
}
.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    position: relative;
}
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.timeline-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--mp-soft);
    border: 2px solid var(--mp-border);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s var(--mp-ease);
}
.timeline-dot > span {
    width: 16px;
    height: 16px;
    background-color: var(--mp-mid);
    border-radius: 50%;
    transition: all 0.5s var(--mp-ease);
}
.timeline-step.is-visible .timeline-dot {
    border-color: var(--mp-red);
    background-color: #fff;
    box-shadow: 0 0 0 6px rgba(196, 21, 28, 0.08);
}
.timeline-step.is-visible .timeline-dot > span {
    background-color: var(--mp-red);
}
.timeline-dot-final {
    border-color: var(--mp-red) !important;
    background: var(--mp-red) !important;
}
.timeline-dot-final > span {
    background-color: #fff !important;
}
.timeline-content {
    max-width: 160px;
}
.timeline-num {
    display: block;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--mp-red);
    margin-bottom: 0.4rem;
}
.timeline-title {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.25;
    color: var(--mp-graphite);
    margin-bottom: 0.35rem;
}
.timeline-meta {
    font-size: 0.8rem;
    color: var(--mp-ink-soft);
    line-height: 1.3;
    min-height: 1em;
}

/* Mobile: timeline vertical */
@media (max-width: 767px) {
    .timeline-track {
        top: 0;
        bottom: 0;
        left: 24px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .timeline-progress {
        width: 100%;
        height: 0;
        transition: height 1.4s var(--mp-ease);
    }
    .timeline-list {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1.25rem;
    }
    .timeline-dot {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .timeline-content { max-width: none; flex: 1; padding-top: 0.5rem; }
}

/* ==========================================================================
   FASE 7 — Stats
   ========================================================================== */
.stat-num {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}
.stat-label {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
}

/* ==========================================================================
   FASE 8 — Valores (Missão / Visão / Valores)
   ========================================================================== */
.value-card {
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: 18px 18px 0 18px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--mp-ease);
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -16px rgba(74,74,74,0.18);
    border-color: var(--mp-red);
}
.value-card-featured {
    background: linear-gradient(165deg, #C4151C 0%, #8C1309 100%);
    color: #fff;
    border-color: transparent;
}
.value-card-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -16px rgba(196,21,28,0.45);
}
.value-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--mp-red) 0%, var(--mp-red-dark) 100%);
    color: #fff;
    border-radius: 16px 16px 0 16px;
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}
.value-card-featured .value-num {
    background: rgba(255, 255, 255, 0.18);
}
.value-title {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--mp-graphite);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.value-card-featured .value-title { color: #fff; }
.value-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--mp-ink-soft);
}
.value-card-featured .value-text { color: rgba(255, 255, 255, 0.92); }

/* ==========================================================================
   FASE 9 — Depoimentos (carrossel)
   ========================================================================== */
.depo-carousel {
    background: var(--mp-soft);
    border-radius: 24px 24px 0 24px;
    padding: 2.5rem 2rem;
    position: relative;
}
@media (min-width: 768px) {
    .depo-carousel { padding: 3.5rem 4rem; }
}
.depo-track {
    position: relative;
    min-height: 380px;
}
.depo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--mp-ease), transform 0.6s var(--mp-ease);
    transform: translateY(20px);
    pointer-events: none;
}
.depo-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}
.depo-photo {
    aspect-ratio: 1 / 1;
    border-radius: 20px 20px 0 20px;
    background:
        radial-gradient(at 30% 20%, rgba(196,21,28,0.5) 0%, transparent 60%),
        linear-gradient(135deg,#42494E 0%,#1f2326 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.depo-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
}
.depo-init {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 5rem);
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.02em;
    z-index: 1;
}
.depo-quote {
    width: 36px;
    height: 36px;
    color: var(--mp-red);
    margin-bottom: 1.25rem;
    opacity: 0.85;
}
.depo-text {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--mp-ink);
    margin-bottom: 1.75rem;
}
@media (min-width: 1024px) {
    .depo-text { font-size: 1.05rem; }
}
.depo-author {
    border-left: 3px solid var(--mp-red);
    padding-left: 1rem;
}
.depo-name {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--mp-graphite);
}
.depo-role {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mp-ink-soft);
    margin-top: 0.25rem;
}
.depo-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.depo-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px 10px 0 10px;
    border: 1px solid var(--mp-border);
    background: #fff;
    color: var(--mp-graphite);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--mp-ease);
}
.depo-btn svg { width: 18px; height: 18px; }
.depo-btn:hover {
    border-color: var(--mp-red);
    background: var(--mp-red);
    color: #fff;
}
.depo-dots {
    display: flex;
    gap: 0.5rem;
}
.depo-dot {
    width: 30px;
    height: 4px;
    background: var(--mp-border);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--mp-ease);
    padding: 0;
}
.depo-dot.is-active {
    background: var(--mp-red);
    width: 48px;
}

/* ==========================================================================
   FASE 10 — CTA Final + Footer
   ========================================================================== */
.btn-mp-cta-final {
    background: #fff;
    color: var(--mp-red);
    font-weight: 700;
}
.btn-mp-cta-final:hover {
    background: var(--mp-graphite);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(0,0,0,0.35);
}

/* Footer social icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px 10px 0 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s var(--mp-ease);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
    background: var(--mp-red);
    border-color: var(--mp-red);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Reveal on scroll
   Triggered via IntersectionObserver em main.js
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--mp-ease), transform 0.8s var(--mp-ease);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ==========================================================================
   Animações utilitárias
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowRotate {
    0%   { transform: rotate(0deg); opacity: 0.3; }
    50%  { opacity: 0.55; }
    100% { transform: rotate(360deg); opacity: 0.3; }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* Skeleton/loading */
.is-loading {
    background: linear-gradient(90deg, #f5f5f5 0%, #e7e7e7 50%, #f5f5f5 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

/* ==========================================================================
   Tipografia
   ========================================================================== */
.font-heading {
    font-family: 'Jost', Helvetica, Arial, sans-serif;
    font-feature-settings: 'ss01', 'ss02';
}

.font-narrow {
    font-family: 'PT Sans Narrow', Helvetica, Arial, sans-serif;
}

/* Acessibilidade — reduce motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
