/* L'heure, généreusement : grands chiffres, ton solennel, couleurs du logo */

.gen {
    display: grid;
    gap: 22px;
}

.gen-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--violet);
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gen-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
}

.gen-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.gen-intro h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(2rem, 4.1vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.gen-intro h1 em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gen-note {
    flex-shrink: 0;
    max-width: 220px;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.gen-panel {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.gen-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--rainbow);
}

.gen-top,
.gen-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 24px 30px;
}

.gen-place {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gen-place .ui-icon {
    width: 18px;
    height: 18px;
    color: var(--violet);
}

.gen-stage {
    padding: 0 24px 20px;
    text-align: center;
}

.gen-caption,
.gen-labels {
    margin: 6px 0 16px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.gen-digital {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: clamp(2px, 1vw, 18px);
    font-family: var(--mono);
    font-size: clamp(3rem, 10.5vw, 9rem);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.06em;
    line-height: 1.1;
    white-space: nowrap;
}

.gen-h {
    color: var(--violet);
}

.gen-m {
    color: var(--magenta);
}

.gen-s {
    color: var(--cyan);
}

.gen-sep {
    position: relative;
    top: -0.12em;
    color: var(--muted);
    font-size: 0.62em;
    font-weight: 400;
}

.gen-labels {
    display: flex;
    justify-content: space-around;
    max-width: 760px;
    margin: 12px auto 24px;
    font-size: 0.68rem;
}

.gen-date {
    margin: 0;
    font-size: 1.05rem;
}

.gen-bottom {
    padding: 18px 30px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
}

.gen-status {
    display: flex;
    align-items: center;
    gap: 9px;
}

.gen-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--hc);
}

.gen-lines {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
    color: var(--violet);
}

.gen-lines i {
    width: 3px;
    height: 6px;
    background: currentColor;
    animation: gen-signal 2s infinite ease-in-out;
}

.gen-lines i:nth-child(2) {
    height: 12px;
    animation-delay: 0.3s;
}

.gen-lines i:nth-child(3) {
    height: 8px;
    animation-delay: 0.6s;
}

.gen-mono,
.gen-day-label strong,
.gen-day-foot {
    font-family: var(--mono);
}

.gen-below {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.gen-day-label,
.gen-day-foot {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.82rem;
}

.gen-day-label {
    margin-bottom: 10px;
}

.gen-day-label strong {
    color: var(--magenta);
    font-weight: 500;
}

.gen-day > span {
    background: var(--rainbow);
}

.gen-day-foot {
    margin-top: 8px;
    font-size: 0.72rem;
}

.gen-gratitude {
    margin: 0;
    padding-left: 24px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.65;
}

.gen-gratitude strong {
    color: var(--text);
    font-weight: 500;
}

.gen-science {
    color: var(--text-2);
    font-size: 0.9rem;
}

.gen-science summary {
    cursor: pointer;
    color: var(--text);
}

.gen-disclaimer {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.gen-disclaimer span {
    margin-right: 6px;
    color: var(--violet);
    font-family: var(--mono);
}

@keyframes gen-signal {
    50% { opacity: 0.35; transform: scaleY(0.6); }
}

@media (max-width: 800px) {
    .gen-note {
        display: none;
    }

    .gen-below {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .gen-gratitude {
        padding-left: 16px;
    }

    .gen-top,
    .gen-bottom {
        padding: 18px;
    }
}
