/* ========================================
   Canal de Denúncias - Instituto Dom Barreto
   Design System - Padrão Corporativo Limpo
   ======================================== */

:root {
    /* Cores principais */
    --primary: #1e2861;
    --primary-dark: #151d47;
    --primary-light: #2a3570;
    --accent: #10b981;
    --accent-dark: #059669;
    --accent-light: #34d399;
    
    /* Backgrounds */
    --bg-base: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-elevated: #ffffff;
    --surface: #f1f5f9;
    
    /* Textos */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Borders */
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    
    /* Estados */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Shadows modernas - mais suaves e elevadas */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.12);
    
    /* Transitions suaves */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-size: 16px;
}

/* ========================================
   UTILITÁRIOS
   ======================================== */

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.small {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.muted {
    color: var(--text-muted);
}

.kbd {
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: 0.85rem;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   TIPOGRAFIA
   ======================================== */

h1, h2, h3, h4 {
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0 0 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin: 0 0 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

a:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ========================================
   BOTÕES
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(30, 40, 97, 0.25);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 40, 97, 0.35);
    color: white;
}

.btn:active {
    transform: translateY(-1px);
}

.btn.alt {
    background: white;
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn.alt:hover {
    background: var(--bg-base);
    border-color: var(--primary);
    color: var(--primary);
}

.btn.success {
    background: var(--success);
}

.btn.success:hover {
    background: var(--accent-dark);
}

.btn.danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
}

.btn.danger::before {
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.25) 100%);
}

.btn.danger:hover {
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.45);
    transform: translateY(-3px);
}

/* ========================================
   CHIPS / BADGES
   ======================================== */

.chip {
    display: inline-flex;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    letter-spacing: 0.025em;
}

/* ========================================
   HEADER / NAVBAR
   ======================================== */

.header {
    position: sticky;
    top: 0;
    background: #1e2861;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 0.5rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.brand:hover {
    transform: translateY(-2px);
}

.brand img {
    height: 48px;
    width: auto;
    filter: drop-shadow(var(--shadow-sm));
    transition: var(--transition);
}

.brand span {
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.menu a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.menu a:not(.btn):hover {
    color: white;
}

.menu a:not(.btn):hover::after {
    width: 100%;
}

/* Botão Fazer Denúncia no menu */
.menu .btn.danger {
    position: relative;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4), 0 0 0 0 rgba(220, 38, 38, 0.5);
    animation: menuBtnPulse 2.5s ease-in-out infinite;
}

@keyframes menuBtnPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4), 0 0 0 0 rgba(220, 38, 38, 0.5);
    }
    50% {
        box-shadow: 0 4px 28px rgba(220, 38, 38, 0.5), 0 0 0 8px rgba(220, 38, 38, 0);
    }
}

.menu .btn.danger::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.6;
}

.menu .btn.danger:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 32px rgba(220, 38, 38, 0.6), 0 0 0 0 rgba(220, 38, 38, 0);
    animation: none;
}

.menu .btn.danger:active {
    transform: translateY(0) scale(0.98);
}

/* Mobile menu */
.hamb {
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    padding: 0.6rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.hamb:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.bars,
.bars::before,
.bars::after {
    content: "";
    display: block;
    height: 3px;
    width: 26px;
    background: white;
    position: relative;
    border-radius: 3px;
    transition: var(--transition);
}

.bars::before {
    position: absolute;
    top: -8px;
}

.bars::after {
    position: absolute;
    top: 8px;
}

.menu.open + .hamb .bars {
    background: transparent;
}

.menu.open + .hamb .bars::before {
    transform: translateY(8px) rotate(45deg);
}

.menu.open + .hamb .bars::after {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 880px) {
    .menu {
        display: none;
        position: absolute;
        inset: 80px 0 auto 0;
        background: #1e2861;
        backdrop-filter: blur(12px);
        padding: 1.5rem 4%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-lg);
    }

    .menu.open {
        display: flex;
    }

    .hamb {
        display: inline-flex;
    }

    .menu .btn {
        width: 100%;
    }
    
    .menu .btn.danger {
        margin-top: 0.5rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
        box-shadow: 0 6px 24px rgba(220, 38, 38, 0.5);
    }
    
    .menu .btn.danger:hover {
        transform: translateY(-2px);
    }
    
    .menu a {
        color: white;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.87) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(31, 34, 33, 0.849) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.kicker {
    margin-bottom: 0.8rem;
}

.title {
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    font-size: 1.15rem;
    max-width: 60ch;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.hero-visual {
    display: block;
    width: 100%;
    height: auto;
    max-height: 450px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    transition: var(--transition-smooth);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    cursor: pointer;
}

.hero-visual:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.expand-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeIn 0.3s ease-out 0.8s forwards;
}

.expand-btn svg {
    stroke: var(--primary);
    transition: transform 0.3s ease;
}

.expand-btn:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.expand-btn:hover svg {
    transform: scale(1.1);
}

.expand-btn:active {
    transform: scale(0.95);
}

/* Image Modal Lightbox */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-modal.open {
    opacity: 1;
    pointer-events: all;
}

.image-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    cursor: pointer;
}

.image-modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
    animation: modalZoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.image-modal__content img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.image-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-modal__close svg {
    stroke: white;
}

.image-modal__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 960px) {
    .hero .wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-visual-wrapper {
        max-width: 100%;
    }
    
    .hero-visual {
        max-height: 350px;
    }
    
    .expand-btn {
        width: 44px;
        height: 44px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .image-modal__content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .image-modal__close {
        top: -45px;
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 6rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 2px;
}

/* Why section */
.why {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 6rem 0;
}

.why__wrap {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.why__image {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.why__image:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.why__content h2 span {
    color: var(--primary);
}

/* Hero & Why Section Buttons */
.hero .btn.danger,
.why .btn.danger {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.45), 0 0 0 0 rgba(220, 38, 38, 0.6);
    animation: heroBtnPulse 2.5s ease-in-out infinite;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}

@keyframes heroBtnPulse {
    0%, 100% {
        box-shadow: 0 6px 24px rgba(220, 38, 38, 0.45), 0 0 0 0 rgba(220, 38, 38, 0.6);
    }
    50% {
        box-shadow: 0 6px 32px rgba(220, 38, 38, 0.6), 0 0 0 12px rgba(220, 38, 38, 0);
    }
}

.hero .btn.danger::after,
.why .btn.danger::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.6), rgba(185, 28, 28, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hero .btn.danger:hover,
.why .btn.danger:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.55), 0 0 0 0 rgba(220, 38, 38, 0);
    animation: none;
}

.hero .btn.danger:hover::after,
.why .btn.danger:hover::after {
    opacity: 1;
}

.hero .btn.danger:active,
.why .btn.danger:active {
    transform: translateY(-2px) scale(1.02);
}

.hero .btn.danger svg,
.why .btn.danger svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .why__wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   CARDS
   ======================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow);
    position: relative;
    overflow: visible;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card h3 {
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
}

.card footer {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* Icon cards */
.card.icon {
    position: relative;
    padding-top: 3.5rem;
    margin-top: 2.5rem;
}

.card__icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 0.75rem;
    box-shadow: 0 8px 32px rgba(30, 40, 97, 0.15);
    border: 3px solid var(--bg-secondary);
    transition: var(--transition-smooth);
    z-index: 2;
}

.card.icon:hover .card__icon {
    transform: translateX(-50%) translateY(-5px) scale(1.08);
    box-shadow: 0 12px 40px rgba(30, 40, 97, 0.2);
    border-color: var(--accent);
}

/* Icon card top gradient bar */
.card.icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.card.icon:hover::before {
    transform: scaleX(1);
}

/* Canais section adjustments */
#canais .cards {
    margin-top: 4.2rem;
}

@media (max-width: 960px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   STEPS (Como funciona)
   ======================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow);
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.step .num {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(30, 40, 97, 0.25);
}

@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ
   ======================================== */

.faq {
    display: grid;
    gap: 1.25rem;
    margin-top: 3rem;
}

details {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow);
}

details:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

details[open] {
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--accent);
}

summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

summary::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
    flex-shrink: 0;
}

details[open] summary::before {
    content: '−';
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    transform: rotate(90deg);
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    margin-top: 1rem;
    padding-left: 3rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   BENEFITS 2
   ======================================== */

.benefits2 {
    background: linear-gradient(135deg, #1e2861 0%, #2a3570 50%, #0f172a 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.benefits2::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite;
}

.benefits2__wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.benefits2__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    object-fit: cover;
    max-height: 420px;
}

.benefits2__image:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.benefits2__content h2 {
    color: white;
    text-align: left;
    margin-bottom: 2rem;
}

.benefits2__content h2::after {
    display: none;
}

.benefits2__content h2 span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checks li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.checks li:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(8px);
    border-color: var(--accent);
}

.checks li::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

@media (max-width: 960px) {
    .benefits2__wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .benefits2__image {
        max-height: 300px;
    }
}

/* ========================================
   NEWS
   ======================================== */

.news {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.news h2 {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.news h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 2px;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card__cover {
    height: 220px;
    background: var(--cover) center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.news-card__cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.news-card:hover .news-card__cover::after {
    opacity: 1;
}

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 40, 97, 0.3);
    z-index: 2;
}

.news-card__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.news-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.news-card__desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    flex: 1;
}

.more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    margin-top: auto;
    padding-top: 0.5rem;
    transition: var(--transition);
}

.more::after {
    content: '\2192';
    transition: transform 0.3s;
}

.more:hover {
    color: var(--accent);
    gap: 0.75rem;
}

.more:hover::after {
    transform: translateX(4px);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-light);
}

.footer .brand img {
    height: 42px;
    filter: brightness(0) invert(1);
}

/* ========================================
   MODAL
   ======================================== */

.modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    z-index: 9999;
    padding: 1rem;
}

.modal.open {
    display: grid;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal .panel {
    width: min(520px, 100%);
    background: white;
    border-radius: 28px;
    padding: 0;
    border: none;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: modalSlideUp 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    position: relative;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close button */
.modal .close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    line-height: 1;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.modal .close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

/* Modal Hero top section */
.modal-hero {
    background: linear-gradient(135deg, #880000 0%, #000000 100%);
    padding: 2.5rem 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modal-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60%;
    height: 160%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.modal-hero__icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: white;
    border-radius: 20px;
    margin: 0 auto 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-hero h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.modal-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.modal-hero p strong {
    color: var(--accent-light);
}

/* Channels section */
.modal-channels {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.modal-channel {
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    transition: var(--transition);
}

.modal-channel:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(30, 40, 97, 0.1);
}

.modal-channel__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.modal-channel__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-channel__icon--wpp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.modal-channel__icon--mail {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.modal-channel__header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.15rem;
    line-height: 1.2;
}

.modal-channel__number {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.modal-channel__actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.modal-channel__actions .btn {
    font-size: 0.875rem;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    gap: 0.5rem;
}

.modal-channel__actions .btn.alt {
    background: white;
    border: 1.5px solid var(--border);
}

.btn.btn--wpp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn.btn--wpp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Divider */
.modal-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Footer note */
.modal-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 2.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-dark);
}

.modal-footer-note svg {
    color: var(--accent);
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .modal .panel {
        border-radius: 20px;
    }

    .modal-hero {
        padding: 2rem 1.5rem 1.5rem;
    }

    .modal-hero h3 {
        font-size: 1.35rem;
    }

    .modal-channels {
        padding: 1.5rem;
    }

    .modal-channel__actions {
        flex-direction: column;
    }

    .modal-channel__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .modal-footer-note {
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet and small desktop */
@media (max-width: 960px) {
    .section {
        padding: 4rem 0;
    }
    
    .container {
        width: min(1200px, 92%);
    }
    
    .hero h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .steps {
        gap: 1.5rem;
    }
    
    .benefits2 {
        padding: 4rem 0;
    }
    
    .news {
        padding: 4rem 0;
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
    
    .hero {
        min-height: 70vh;
        padding: 4rem 0;
    }
    
    .why__content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .why__image {
        order: -1;
        max-height: 300px;
    }
    
    .news__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-card__cover {
        height: 200px;
    }
    
    .benefits2 {
        padding: 3.5rem 0;
    }
}

/* Mobile portrait */
@media (max-width: 600px) {
    .section {
        padding: 2.5rem 0;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .card {
        padding: 2rem 1.5rem;
    }
    
    .card.icon {
        padding-top: 3rem;
    }
    
    .card__icon {
        width: 64px;
        height: 64px;
        top: -32px;
    }
    
    .step {
        padding: 2rem 1.5rem;
    }
    
    .step .num {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .news-card__cover {
        height: 180px;
    }
    
    .news-card__body {
        padding: 1.5rem;
    }
    
    .benefits2 {
        padding: 3rem 0;
    }
    
    .checks li {
        font-size: 1rem;
        padding: 0.85rem 1.25rem;
    }
    
    details {
        padding: 1.25rem 1.5rem;
    }
    
    summary {
        font-size: 1rem;
    }
    
    .footer {
        padding: 3rem 0;
    }
}

@media (min-width: 881px) {
    .hamb {
        display: none !important;
    }
}
