/* ----------------------- tela inicial (hero CRONOS) ---------------------- */
/* Estilos exclusivos da tela de apresentação (views/home/index.php via
   views/layouts/landing.php). Não é carregado por nenhuma outra página. */

.landing-body { background: var(--z-bg); }

.landing-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    overflow: hidden;
}

.landing-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(rgba(5,5,5,.38), rgba(5,5,5,.55)),
        radial-gradient(ellipse 1000px 560px at 50% -8%, rgba(249, 157, 40, 0.20), transparent 62%),
        radial-gradient(ellipse 700px 480px at 100% 105%, rgba(249, 157, 40, 0.08), transparent 55%),
        url('../images/hero-bg.jpg') center / cover fixed no-repeat,
        var(--z-bg);
}

.landing-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 15%, #000, transparent);
}

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    position: relative;
    z-index: 2;
}

.landing-brand img { height: 34px; width: auto; object-fit: contain; }

.landing-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.landing-user-name { font-size: 13px; font-weight: 500; color: var(--z-muted); }

.landing-login-btn {
    padding: 9px 20px;
    font-size: 13px;
    box-shadow: var(--glow-gold);
}

.landing-hero {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 24px 110px;
}

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

.landing-badge,
.landing-title,
.landing-lede,
.landing-manifesto,
.landing-cta-row,
.landing-pillars {
    animation: landingRise .6s cubic-bezier(.16, 1, .3, 1) both;
}
.landing-badge { animation-delay: .02s; }
.landing-title { animation-delay: .08s; }
.landing-lede { animation-delay: .16s; }
.landing-manifesto { animation-delay: .24s; }
.landing-cta-row { animation-delay: .32s; }
.landing-pillars { animation-delay: .4s; }

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--z-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.landing-title {
    font-size: clamp(56px, 9vw, 112px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 25%, var(--z-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 46px rgba(249, 157, 40, 0.28));
}

.landing-lede {
    margin: 22px 0 0;
    font-size: clamp(18px, 2.6vw, 24px);
    font-weight: 500;
    line-height: 1.35;
    color: #f4f4f4;
    max-width: 590px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.landing-manifesto {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.62;
    color: #d4d4d4;
    max-width: 530px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.landing-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-top: 36px;
}

.btn-hero {
    padding: 12px 25px;
    font-size: 14px;
}
.btn-hero.btn-primary { box-shadow: var(--glow-gold); }
.btn-hero.btn-ghost {
    color: #eee;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-hero.btn-ghost:hover {
    border-color: rgba(249, 157, 40, 0.5);
    color: var(--z-orange);
}

.landing-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
}

.landing-pillar {
    padding: 22px 18px;
    border-radius: var(--z-radius);
    background: var(--z-panel-soft);
    border: 1px solid var(--z-line-soft);
    text-align: left;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.landing-pillar:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 157, 40, 0.35);
}

.landing-pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: #0a0a0a;
    font-size: 17px;
    margin-bottom: 14px;
}

.landing-pillar-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--z-white);
    margin-bottom: 6px;
}

.landing-pillar-text {
    font-size: 12.5px;
    line-height: 1.52;
    color: var(--z-muted);
    margin: 0;
}

@media (max-width: 780px) {
    .landing-pillars { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 680px) {
    .landing-header { padding: 16px 18px; }
    .landing-hero { padding: 40px 18px 72px; }
    .landing-lede-break { display: inline; }
}
