:root {
    --navy-950: #020812;
    --navy-900: #04101f;
    --navy-850: #07182b;
    --navy-800: #0a2038;

    --blue: #248cff;
    --blue-light: #71b8ff;

    --white: #ffffff;
    --off-white: #f7f9fb;

    --text-soft: #c4d0dc;
    --text-muted: #8599ad;

    --light-text: #152a42;
    --light-muted: #687e94;

    --red: #d71920;

    --dark-border: rgba(255,255,255,0.09);
    --light-border: rgba(20,45,72,0.10);

    --radius-large: 24px;
    --radius-medium: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--navy-950);
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    color: white;
    background: var(--navy-950);
}

button,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* HEADER */

.topbar {
    height: 76px;
    left: 0;
    right: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: white;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;

    position: relative;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,0.88);
}

.brand-mark::before,
.brand-mark::after {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    background: white;

    transform-origin: 50% 100%;
}

.brand-mark::before {
    width: 2px;
    height: 9px;

    transform:
        translate(-50%, -100%)
        rotate(20deg);
}

.brand-mark::after {
    width: 2px;
    height: 12px;

    transform:
        translate(-50%, -100%)
        rotate(100deg);
}

.brand-mark span {
    position: absolute;

    width: 5px;
    height: 5px;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    background: var(--red);

    transform: translate(-50%, -50%);
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    font-size: 0.94rem;
    letter-spacing: -0.015em;
}

.brand-copy small {
    margin-top: 2px;

    font-size: 0.66rem;
    color: var(--text-muted);
}

.main-nav {
    justify-self: center;

    display: flex;
    align-items: center;

    gap: clamp(20px, 3vw, 40px);
}

.main-nav a {
    color: var(--text-soft);
    text-decoration: none;

    font-size: 0.79rem;

    transition: color 140ms ease;
}

.main-nav a:hover {
    color: white;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.language-label {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;
    clip: rect(0 0 0 0);
}

.language-select {
    height: 38px;

    padding: 0 12px;

    color: white;

    border: 1px solid var(--dark-border);
    border-radius: 999px;

    background: rgba(255,255,255,0.055);

    outline: none;
}

.language-select option {
    color: #111;
}


/* HERO */

.hero {
    min-height: 720px;

    position: relative;
    overflow: hidden;

    padding:
        130px
        clamp(24px,4vw,64px)
        145px;

    background:
        radial-gradient(
            circle at 63% 28%,
            rgba(37,134,255,0.14),
            transparent 31%
        ),
        radial-gradient(
            circle at 27% 40%,
            rgba(15,97,185,0.11),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            var(--navy-950) 0%,
            var(--navy-900) 46%,
            var(--navy-800) 100%
        );
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.20;

    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,0.65) 0 0.7px,
            transparent 0.9px
        );

    background-size: 100px 100px;
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(70px);

    opacity: 0.20;

    pointer-events: none;
}

.hero-glow-one {
    width: 400px;
    height: 400px;

    top: 100px;
    right: 24%;

    background: #1485ff;
}

.hero-glow-two {
    width: 300px;
    height: 300px;

    top: 300px;
    left: 8%;

    background: #0054a8;
}

.hero-inner {
    max-width: 1480px;
    margin: 0 auto;

    position: relative;
    z-index: 4;

    display: grid;

    grid-template-columns:
        minmax(270px, 0.9fr)
        minmax(370px, 1.25fr)
        minmax(330px, 0.9fr);

    gap: clamp(34px, 5vw, 76px);

    align-items: center;
}


/* HERO COPY */

.hero-copy {
    max-width: 430px;
}

.eyebrow {
    margin-bottom: 16px;

    color: var(--blue-light);

    font-size: 0.68rem;
    font-weight: 750;

    letter-spacing: 0.16em;
}

.hero-copy h1 {
    margin: 0;

    display: inline-flex;
    flex-direction: column;
    align-items: center;

    font-size: clamp(2.4rem, 4vw, 4.25rem);

    line-height: 0.98;

    letter-spacing: -0.052em;
}

.headline-accent {
    display: block;

    margin-top: 11px;

    color: var(--blue);

    font-size: 0.65em;

    line-height: 1.05;
}

.hero-description {
    max-width: 390px;

    margin: 25px 0 0;

    color: var(--text-soft);

    line-height: 1.65;

    font-size: 0.96rem;
}

.status-grid {
    margin-top: 29px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 11px;
}

.status-card {
    min-height: 86px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 15px;

    border: 1px solid var(--dark-border);
    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.050),
            rgba(255,255,255,0.018)
        );

    backdrop-filter: blur(14px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.035);
}

.status-card strong {
    display: block;

    font-size: 0.78rem;
}

.status-card small {
    display: block;

    margin-top: 5px;

    color: var(--text-muted);

    font-size: 0.66rem;

    line-height: 1.35;
}

.status-icon {
    width: 31px;
    height: 31px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 0.85rem;
}

.status-icon-blue {
    color: #80bfff;
    background: rgba(36,140,255,0.14);
}

.status-icon-green {
    color: #5de59b;
    background: rgba(44,196,116,0.13);
}

.sync-line {
    margin-top: 17px;

    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--text-muted);

    font-size: 0.70rem;
}

.sync-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #37d77d;

    box-shadow:
        0 0 0 4px rgba(55,215,125,0.08),
        0 0 13px rgba(55,215,125,0.25);
}


/* DIGITAL TIME */

.time-panel {
    text-align: center;
}

.digital-time {
    font-size: clamp(5rem, 8.3vw, 9rem);

    line-height: 0.86;

    font-weight: 350;

    letter-spacing: -0.072em;

    font-variant-numeric: tabular-nums;

    text-shadow:
        0 15px 45px rgba(0,0,0,0.27);
}

.digital-date {
    margin-top: 25px;

    font-size: clamp(1.12rem,1.6vw,1.55rem);

    font-weight: 630;

    letter-spacing: -0.02em;
}

.timezone-pill {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 17px;

    padding: 8px 13px;

    border: 1px solid var(--dark-border);

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            rgba(25,54,87,0.86),
            rgba(8,29,52,0.86)
        );

    color: #d6e6f7;

    font-size: 0.74rem;
}

.timezone-pill span {
    color: #8fb7dd;
}

.hero-buttons {
    margin-top: 24px;

    display: flex;
    justify-content: center;

    gap: 10px;
}

.button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 17px;

    border-radius: 11px;

    color: white;

    font-size: 0.78rem;
    font-weight: 650;

    transition:
        transform 140ms ease,
        box-shadow 140ms ease,
        background 140ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    border: 1px solid rgba(91,175,255,0.30);

    background:
        linear-gradient(
            180deg,
            #2894ff,
            #0d78e8
        );

    box-shadow:
        0 10px 26px rgba(5,111,224,0.27);
}

.button-primary:hover {
    box-shadow:
        0 14px 32px rgba(5,111,224,0.36);
}

.button-secondary {
    border: 1px solid var(--dark-border);

    background: rgba(255,255,255,0.048);
}

.button-secondary:hover {
    background: rgba(255,255,255,0.08);
}


/* CLOCK */

.analog-panel {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-halo {
    position: absolute;

    width: 86%;
    aspect-ratio: 1;

    border-radius: 50%;

    background:
        rgba(31,123,235,0.22);

    filter: blur(48px);
}

.clock-shell {
    width: min(31vw, 420px);

    aspect-ratio: 1;

    position: relative;

    padding: 9px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.17);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.23),
            rgba(255,255,255,0.035)
        );

    box-shadow:
        0 30px 70px rgba(0,0,0,0.38),
        0 0 0 1px rgba(255,255,255,0.025),
        inset 0 1px 0 rgba(255,255,255,0.28);
}

.clock {
    width: 100%;
    height: 100%;

    display: block;

    filter:
        drop-shadow(
            0 6px 12px rgba(0,0,0,0.14)
        );
}

.dial {
    fill: #fdfdfc;
}

.index {
    fill: #111111;
}

.hour-hand,
.minute-hand {
    stroke: #111111;
    stroke-linecap: butt;
}

.hour-hand {
    stroke-width: 7;
}

.minute-hand {
    stroke-width: 5;
}

.second-hand line {
    stroke: var(--red);
    stroke-width: 2.2;
}

.second-hand circle {
    fill: var(--red);
}

.center-cap {
    fill: #111111;
}


/* CSS LANDSCAPE */

.landscape {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 180px;

    overflow: hidden;

    opacity: 0.48;
}

.mountains {
    position: absolute;

    left: -5%;
    right: -5%;

    bottom: 0;
}

.mountain-back {
    height: 120px;

    opacity: 0.42;

    background:
        linear-gradient(
            135deg,
            transparent 0 12%,
            #173d63 12% 22%,
            transparent 22% 28%,
            #123759 28% 40%,
            transparent 40% 45%,
            #163d62 45% 61%,
            transparent 61% 66%,
            #173a5c 66% 82%,
            transparent 82%
        );
}

.mountain-front {
    height: 90px;

    opacity: 0.58;

    background:
        linear-gradient(
            150deg,
            transparent 0 15%,
            #0d2b49 15% 29%,
            transparent 29% 34%,
            #0b2946 34% 52%,
            transparent 52% 57%,
            #0c2d4c 57% 75%,
            transparent 75%
        );
}

.skyline {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 62px;

    background:
        linear-gradient(
            180deg,
            rgba(13,42,70,0),
            rgba(4,20,36,0.78)
        );
}

.city-block,
.tower {
    position: absolute;

    bottom: 0;

    display: block;

    background: #071b30;
}

.block-one {
    left: 9%;
    width: 13%;
    height: 31px;
}

.block-two {
    left: 28%;
    width: 17%;
    height: 42px;
}

.block-three {
    right: 28%;
    width: 19%;
    height: 33px;
}

.block-four {
    right: 8%;
    width: 14%;
    height: 39px;
}

.tower-one {
    left: 23%;
    width: 9px;
    height: 77px;
}

.tower-two {
    left: 48%;
    width: 7px;
    height: 92px;
}

.tower-three {
    right: 22%;
    width: 9px;
    height: 70px;
}


/* ZONES */

.zones-section {
    position: relative;

    z-index: 8;

    margin-top: -57px;

    padding:
        0
        clamp(18px,3vw,46px);
}

.zones-card {
    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0,1fr));

    color: var(--light-text);

    background:
        rgba(255,255,255,0.975);

    border:
        1px solid rgba(20,45,72,0.08);

    border-radius:
        var(--radius-large);

    overflow: hidden;

    box-shadow:
        0 28px 75px rgba(0,12,28,0.25);

    backdrop-filter: blur(20px);
}

.zone {
    min-height: 125px;

    position: relative;

    padding: 22px 25px;
}

.zone + .zone::before {
    content: "";

    position: absolute;

    left: 0;

    top: 23px;
    bottom: 23px;

    width: 1px;

    background:
        rgba(20,45,72,0.085);
}

.zone-active::after {
    content: "";

    position: absolute;

    left: 17%;
    right: 17%;
    bottom: 0;

    height: 3px;

    background: var(--blue);

    border-radius: 4px 4px 0 0;
}

.zone-heading {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #557087;

    font-size: 0.72rem;
}

.zone-clock {
    display: block;

    margin-top: 10px;

    font-size:
        clamp(1.30rem,1.7vw,1.70rem);

    font-weight: 520;

    letter-spacing: -0.025em;

    font-variant-numeric:
        tabular-nums;
}

.zone-date {
    display: block;

    margin-top: 6px;

    color: #7e91a3;

    font-size: 0.66rem;
}


/* INFORMATION */

.information-section {
    padding:
        35px
        clamp(18px,3vw,46px)
        44px;

    background:
        linear-gradient(
            180deg,
            #f3f6f9,
            #eaf0f5
        );

    color:
        var(--light-text);
}

.information-grid {
    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr))
        minmax(280px,1.38fr);

    gap: 15px;
}

.info-card {
    min-height: 215px;

    padding: 23px;

    border:
        1px solid var(--light-border);

    border-radius:
        var(--radius-medium);

    background:
        rgba(255,255,255,0.95);

    box-shadow:
        0 11px 32px rgba(14,37,62,0.08);

    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
}

.info-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 17px 38px rgba(14,37,62,0.12);
}

.info-icon {
    width: 45px;
    height: 45px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: var(--blue);

    background: #e9f4ff;

    box-shadow:
        inset 0 0 0 1px
        rgba(36,140,255,0.08);
}

.info-card h2 {
    margin: 19px 0 0;

    font-size: 0.96rem;

    letter-spacing: -0.015em;
}

.info-card p {
    margin: 11px 0 0;

    color: var(--light-muted);

    font-size: 0.78rem;

    line-height: 1.62;
}

.about-card {
    position: relative;
}

.swiss-symbol {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    color: white;

    background: #dc2229;

    font-size: 1.35rem;

    font-weight: 300;
}

.future-label {
    display: block;

    margin-top: 20px;

    color: var(--blue);

    font-size: 0.73rem;

    font-weight: 650;
}


/* FOOTER */

.footer {
    min-height: 77px;

    padding:
        18px
        clamp(24px,4vw,60px);

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    background:
        linear-gradient(
            180deg,
            #051628,
            #030e1a
        );

    border-top:
        1px solid var(--dark-border);

    color: var(--text-muted);

    font-size: 0.70rem;
}

.footer strong {
    color: white;
}

.footer-status {
    display: flex;
    align-items: center;

    gap: 7px;
}

.footer-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #38d77e;
}


/* FULL SCREEN */

html:fullscreen .topbar,
html:fullscreen .hero-copy,
html:fullscreen .zones-section,
html:fullscreen .information-section,
html:fullscreen .footer,
html:fullscreen .landscape {
    display: none;
}

html:fullscreen .hero {
    min-height: 100vh;

    padding: 4vh 4vw;

    display: flex;
    align-items: center;
}

html:fullscreen .hero-inner {
    width: 100%;

    grid-template-columns:
        1fr 0.85fr;
}

html:fullscreen .time-panel {
    grid-column: 1;
}

html:fullscreen .analog-panel {
    grid-column: 2;
}

html:fullscreen .clock-shell {
    width: min(43vw,82vh);
}

html:fullscreen .digital-time {
    font-size: min(12vw,18vh);
}


/* RESPONSIVE */

@media (max-width: 1120px) {



    .hero-inner {
        grid-template-columns:
            1fr 1fr;
    }

    .hero-copy {
        grid-column:
            1 / -1;

        max-width: 720px;
    }

    .clock-shell {
        width:
            min(42vw,390px);
    }

    .information-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .about-card {
        grid-column:
            1 / -1;
    }

}


@media (max-width: 760px) {

    .topbar {
        height: 65px;
    }


    .hero {
        min-height: auto;

        padding:
            100px
            18px
            115px;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;

        gap: 38px;
    }

    .time-panel {
        order: 1;

        width: 100%;
    }

    .analog-panel {
        order: 2;
        flex-direction: column;
    }

    .hero-copy {
        order: 3;
    }

    .digital-time {
        font-size:
            clamp(4.1rem,20vw,6.8rem);
    }

    #fullscreen-button {
        display: none;
    }

    .clock-shell {
        width:
            min(80vw,360px);
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .zones-section {
        margin-top: -48px;
    }

    .zones-card {
        grid-template-columns: 1fr;
    }

    .zone {
        min-height: 94px;
    }

    .zone + .zone::before {
        left: 20px;
        right: 20px;

        top: 0;
        bottom: auto;

        width: auto;
        height: 1px;
    }

    .information-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        grid-column: auto;
    }

    .footer {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

}


/* =========================================================
   V5 — FINITION VISUELLE
   Aucun changement structurel HTML / aucun changement clock.js
   ========================================================= */


/* --- meilleure finesse générale --- */

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


/* --- header plus fin --- */

.topbar {
    background:
        linear-gradient(
            180deg,
            rgba(1, 8, 17, 0.88) 0%,
            rgba(2, 11, 22, 0.48) 100%
        );

    box-shadow:
        0 1px 0 rgba(255,255,255,0.025);
}


.main-nav a {
    position: relative;
    padding: 29px 0 27px;
}

.main-nav a::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    border-radius: 999px;

    background: var(--blue);

    transform: translateX(-50%);

    transition: width 160ms ease;
}

.main-nav a:hover::after {
    width: 100%;
}


/* --- hero plus profond --- */

.hero {
    background:
        radial-gradient(
            ellipse at 68% 20%,
            rgba(49, 143, 255, 0.20) 0%,
            rgba(23, 95, 180, 0.08) 32%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 16% 52%,
            rgba(16, 90, 175, 0.12),
            transparent 50%
        ),
        linear-gradient(
            150deg,
            #020812 0%,
            #061426 42%,
            #0a2037 100%
        );
}

.hero::before {
    opacity: 0.11;
}

.hero-inner {
    min-height: 440px;
}


/* --- titre plus raffiné --- */

.hero-copy h1 {
    font-weight: 620;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.04),
        0 18px 50px rgba(0,0,0,0.24);
}

.headline-accent {
    font-weight: 560;
}

.hero-description {
    color: #b8c7d6;
}


/* --- cartes statut plus haut de gamme --- */

.status-card {
    border-color: rgba(255,255,255,0.075);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.065),
            rgba(255,255,255,0.018)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 12px 28px rgba(0,0,0,0.08);

    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
}

.status-card:hover {
    transform: translateY(-2px);

    border-color: rgba(255,255,255,0.13);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.085),
            rgba(255,255,255,0.025)
        );
}


/* --- heure numérique --- */

.digital-time {
    font-weight: 300;

    letter-spacing: -0.065em;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.08),
        0 18px 50px rgba(0,0,0,0.34),
        0 0 70px rgba(36,140,255,0.07);
}

.digital-date {
    color: #f1f6fb;
}

.timezone-pill {
    border-color: rgba(128,187,242,0.14);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.055),
        0 8px 24px rgba(0,0,0,0.08);
}


/* --- boutons --- */

.button {
    letter-spacing: -0.01em;
}

.button-primary {
    background:
        linear-gradient(
            180deg,
            #319aff 0%,
            #0d77e6 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.20),
        0 10px 28px rgba(7,111,219,0.28);
}

.button-secondary {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.065),
            rgba(255,255,255,0.025)
        );
}


/* --- horloge analogique : aspect objet --- */

.clock-halo {
    width: 98%;

    background:
        radial-gradient(
            circle,
            rgba(42, 139, 255, 0.26) 0%,
            rgba(42, 139, 255, 0.10) 42%,
            transparent 72%
        );

    filter: blur(34px);
}

.clock-shell {
    padding: 11px;

    border:
        1px solid rgba(255,255,255,0.22);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.28) 0%,
            rgba(255,255,255,0.08) 22%,
            rgba(0,0,0,0.10) 100%
        );

    box-shadow:
        0 36px 85px rgba(0,0,0,0.42),
        0 7px 20px rgba(0,0,0,0.22),
        0 0 0 1px rgba(255,255,255,0.035),
        inset 0 2px 1px rgba(255,255,255,0.30),
        inset 0 -2px 4px rgba(0,0,0,0.15);
}

.dial {
    fill: #fffefa;
}


/* léger renforcement de la trotteuse */

.second-hand line {
    stroke-width: 2.35;
}

.second-hand circle {
    filter:
        drop-shadow(
            0 2px 2px rgba(120,0,0,0.18)
        );
}


/* --- paysage plus naturel --- */

.landscape {
    opacity: 0.58;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(6,28,50,0.08) 30%,
            rgba(2,15,27,0.42) 100%
        );
}

.skyline {
    filter:
        drop-shadow(
            0 -5px 16px rgba(19,82,139,0.08)
        );
}


/* --- bande fuseaux horaires --- */

.zones-card {
    border-color: rgba(20,45,72,0.07);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.985),
            rgba(247,250,253,0.975)
        );

    box-shadow:
        0 32px 75px rgba(1,15,31,0.22),
        0 2px 5px rgba(5,28,51,0.07);
}

.zone {
    transition:
        background 150ms ease;
}

.zone:hover {
    background:
        rgba(36,140,255,0.035);
}

.zone-clock {
    font-weight: 490;
}


/* --- cartes contenu --- */

.information-section {
    background:
        linear-gradient(
            180deg,
            #f4f7fa 0%,
            #edf2f6 58%,
            #e8eef3 100%
        );
}

.info-card {
    border-color:
        rgba(20,45,72,0.075);

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfd 100%
        );

    box-shadow:
        0 12px 32px rgba(15,42,70,0.065);
}

.info-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 22px 45px rgba(15,42,70,0.11);
}

.info-icon {
    background:
        linear-gradient(
            145deg,
            #eef7ff,
            #e4f2ff
        );
}


/* --- carte suisse --- */

.swiss-symbol {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.24),
        0 8px 18px rgba(220,34,41,0.16);
}


/* --- footer --- */

.footer {
    background:
        linear-gradient(
            180deg,
            #05172a,
            #020c17
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.025);
}


/* --- écran large --- */

@media (min-width: 1500px) {

    .hero-inner,
    .zones-card,
    .information-grid {
        max-width: 1540px;
    }

    .clock-shell {
        width: 440px;
    }

}


/* --- tablette --- */

@media (max-width: 1120px) {

    .hero-inner {
        gap: 42px;
    }

}


/* --- smartphone --- */

@media (max-width: 760px) {

    .hero {
        padding-bottom: 105px;
    }

    .time-panel {
        padding-top: 12px;
    }

    .hero-copy h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-description {
        max-width: 100%;
    }

    .zones-card {
        border-radius: 18px;
    }

    .zone {
        padding-left: 22px;
        padding-right: 22px;
    }

}


/* =========================================================
   V6 — THEME + FUSEAUX CONFIGURABLES
   ========================================================= */


/* ---------- thème ---------- */

.theme-button {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 0 12px;

    border: 1px solid var(--dark-border);
    border-radius: 999px;

    background: rgba(255,255,255,0.055);
    color: white;

    font-size: 0.72rem;

    transition:
        background 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

.theme-button:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.17);
    transform: translateY(-1px);
}


/* ---------- thème clair ---------- */

html[data-theme="light"] {
    background: #f3f6f8;
}

html[data-theme="light"] body {
    color: #13283f;
    background: #eef3f7;
}

html[data-theme="light"] .topbar {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.94),
            rgba(247,250,252,0.78)
        );

    border-bottom-color: rgba(16,42,68,0.10);

    box-shadow:
        0 1px 12px rgba(20,48,77,0.06);
}

html[data-theme="light"] .brand,
html[data-theme="light"] .brand-copy strong {
    color: #13283f;
}

html[data-theme="light"] .brand-copy small,
html[data-theme="light"] .main-nav a {
    color: #647a90;
}

html[data-theme="light"] .main-nav a:hover {
    color: #0b1d30;
}

html[data-theme="light"] .brand-mark {
    border-color: #183653;
}

html[data-theme="light"] .brand-mark::before,
html[data-theme="light"] .brand-mark::after {
    background: #183653;
}

html[data-theme="light"] .language-select,
html[data-theme="light"] .theme-button {
    color: #17314d;

    background: rgba(255,255,255,0.76);

    border-color: rgba(20,48,76,0.13);
}

html[data-theme="light"] .hero {
    background:
        radial-gradient(
            ellipse at 67% 20%,
            rgba(63,155,255,0.17),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 15% 55%,
            rgba(91,169,239,0.11),
            transparent 45%
        ),
        linear-gradient(
            150deg,
            #f9fbfd 0%,
            #edf4f9 48%,
            #dbe9f3 100%
        );
}

html[data-theme="light"] .hero::before {
    opacity: 0.04;
}

html[data-theme="light"] .hero-copy h1,
html[data-theme="light"] .digital-time,
html[data-theme="light"] .digital-date {
    color: #10253c;

    text-shadow:
        0 12px 40px rgba(38,83,126,0.08);
}

html[data-theme="light"] .hero-description {
    color: #526c83;
}

html[data-theme="light"] .status-card {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.82),
            rgba(245,249,252,0.60)
        );

    border-color: rgba(19,47,74,0.09);

    box-shadow:
        0 13px 32px rgba(29,63,94,0.07),
        inset 0 1px 0 rgba(255,255,255,0.85);
}

html[data-theme="light"] .status-card strong {
    color: #17314b;
}

html[data-theme="light"] .status-card small,
html[data-theme="light"] .sync-line {
    color: #657d93;
}

html[data-theme="light"] .timezone-pill {
    color: #274763;

    background:
        rgba(255,255,255,0.72);

    border-color:
        rgba(30,67,102,0.11);

    box-shadow:
        0 8px 25px rgba(34,75,113,0.07);
}

html[data-theme="light"] .timezone-pill span {
    color: #587c9d;
}

html[data-theme="light"] .button-secondary {
    color: #17314b;

    background:
        rgba(255,255,255,0.66);

    border-color:
        rgba(24,57,87,0.12);
}

html[data-theme="light"] .clock-halo {
    opacity: 0.52;
}

html[data-theme="light"] .clock-shell {
    border-color: rgba(33,65,95,0.14);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.92),
            rgba(219,230,239,0.70)
        );

    box-shadow:
        0 32px 75px rgba(35,72,107,0.20),
        inset 0 2px 1px rgba(255,255,255,0.90);
}

html[data-theme="light"] .landscape {
    opacity: 0.24;
}


/* ---------- contrôles fuseaux ---------- */

.zones-controls {
    max-width: 1450px;

    margin: 15px auto 0;

    display: flex;
    justify-content: flex-end;
}

.zones-settings-button {
    min-height: 39px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 0 14px;

    border-radius: 999px;

    border:
        1px solid rgba(25,52,80,0.11);

    background:
        rgba(255,255,255,0.88);

    color:
        #39546e;

    font-size:
        0.72rem;

    box-shadow:
        0 5px 16px rgba(22,49,77,0.06);

    transition:
        transform 140ms ease,
        box-shadow 140ms ease;
}

.zones-settings-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(22,49,77,0.10);
}


/* ---------- dialogue ---------- */

.zones-dialog {
    width:
        min(640px, calc(100vw - 30px));

    padding: 0;

    border: 0;

    border-radius: 22px;

    background: transparent;

    box-shadow:
        0 35px 100px rgba(0,0,0,0.38);
}

.zones-dialog::backdrop {
    background:
        rgba(1,8,17,0.64);

    backdrop-filter:
        blur(8px);
}

.zones-dialog-inner {
    padding: 27px;

    color:
        #172e47;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f6f9fb
        );

    border:
        1px solid rgba(25,53,82,0.08);

    border-radius:
        22px;
}

.zones-dialog-header {
    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;
}

.zones-dialog-header h2 {
    margin: 0;

    font-size:
        1.18rem;
}

.zones-dialog-header p {
    margin:
        7px 0 0;

    color:
        #687f95;

    font-size:
        0.78rem;
}

.dialog-close {
    width:
        36px;

    height:
        36px;

    border:
        0;

    border-radius:
        50%;

    background:
        #edf2f6;

    color:
        #35506b;

    font-size:
        1.3rem;
}

.zone-selectors {
    display:
        grid;

    gap:
        10px;

    margin-top:
        24px;
}

.zone-selector-row {
    display:
        grid;

    grid-template-columns:
        76px 1fr;

    gap:
        12px;

    align-items:
        center;
}

.zone-selector-row label {
    color:
        #637a90;

    font-size:
        0.72rem;
}

.zone-selector-row select {
    width: 100%;
    min-height: 42px;

    padding:
        0 12px;

    border:
        1px solid #d7e0e8;

    border-radius:
        10px;

    background:
        white;

    color:
        #18314a;
}

.zones-dialog-actions {
    margin-top:
        24px;

    display:
        flex;

    justify-content:
        space-between;

    gap:
        12px;
}

.dialog-button {
    min-height:
        42px;

    padding:
        0 16px;

    border-radius:
        10px;

    font-size:
        0.76rem;

    font-weight:
        650;
}

.dialog-button-secondary {
    border:
        1px solid #d6e0e8;

    background:
        #ffffff;

    color:
        #39546e;
}

.dialog-button-primary {
    border:
        1px solid #1481ef;

    color:
        white;

    background:
        linear-gradient(
            180deg,
            #2d98ff,
            #1179e3
        );
}


/* ---------- thème sombre explicite ---------- */

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
}


/* ---------- mobile ---------- */

@media (max-width: 760px) {

    #theme-label {
        display: none;
    }

    .theme-button {
        width: 38px;

        padding: 0;

        justify-content: center;
    }

    .zones-controls {
        justify-content: center;
    }

    .zone-selector-row {
        grid-template-columns:
            58px 1fr;
    }

}


/* ==========================================================
   Langue, région et représentation des nombres
   ========================================================== */

.regional-language-panel {
    width: min(980px, 92vw);
    margin: 34px auto 20px;
    padding: 24px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;

    background: rgba(255,255,255,.035);
}

.regional-language-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 22px;
}

.regional-eyebrow {
    margin: 0 0 6px;

    opacity: .55;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.regional-language-heading h2 {
    margin: 0;
    font-size: 20px;
}

.regional-language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.regional-language-grid label {
    display: grid;
    gap: 7px;
}

.regional-language-grid label > span {
    opacity: .7;
    font-size: 12px;
}

.regional-language-grid select {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;

    background: rgba(0,0,0,.18);
    color: inherit;

    font: inherit;
}

.regional-language-note {
    margin: 16px 0 0;

    opacity: .55;

    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 720px) {
    .regional-language-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .regional-language-grid {
        grid-template-columns: 1fr;
    }
}

/* Connexion dans le header */
.header-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 0 14px;

    margin-left: 6px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;

    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.90);

    font-size: 12px;
    font-weight: 600;
    text-decoration: none;

    white-space: nowrap;
}

.header-login-link:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.20);
}

@media (max-width: 700px) {
    .header-login-link {
        min-height: 32px;
        padding: 0 10px;
        font-size: 11px;
    }
}

/* ==========================================================
   PLEIN ECRAN — montre analogique contenue dans le viewport
   ========================================================== */

:fullscreen .analog-clock,
:fullscreen .clock-face,
:fullscreen .analog-wrap {
    max-width: min(38vw, 46vh) !important;
    max-height: min(38vw, 46vh) !important;

    width: min(38vw, 46vh) !important;
    height: min(38vw, 46vh) !important;

    flex: 0 0 auto !important;
}

:fullscreen .hero,
:fullscreen .hero-inner,
:fullscreen .clock-layout,
:fullscreen .clock-main {
    max-width: 100vw !important;
    overflow: hidden !important;
}

:fullscreen .analog-wrap {
    margin-right: clamp(18px, 3vw, 48px) !important;
}

@media (max-aspect-ratio: 4/3) {
    :fullscreen .analog-clock,
    :fullscreen .clock-face,
    :fullscreen .analog-wrap {
        width: min(32vw, 38vh) !important;
        height: min(32vw, 38vh) !important;
    }

    :fullscreen .analog-wrap {
        margin-right: 16px !important;
    }
}

/* Numéro de semaine près de l'heure/date principale */
.main-week-number {
    display: inline-flex;
    align-items: center;

    margin-left: 8px;
    padding: 3px 8px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;

    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.52);

    font-size: 11px;
    font-weight: 650;
    letter-spacing: .03em;

    vertical-align: middle;
}

@media (max-width: 600px) {
    .main-week-number {
        margin-left: 5px;
        padding: 2px 6px;
        font-size: 10px;
    }
}

/* Fraîcheur observable de la synchronisation METAS */
.metas-live-detail {
    margin-top: 5px;

    color: rgba(255,255,255,.48);

    font-size: 10px;
    line-height: 1.35;

    font-variant-numeric: tabular-nums;
}

.metas-live-detail[data-state="ok"] {
    color: rgba(130,220,175,.72);
}

.metas-live-detail[data-state="warning"] {
    color: rgba(255,185,100,.82);
}

/* Écart estimé entre l'appareil et la référence temporelle */
.device-offset-card {
    margin-top: 10px;
    padding: 12px 14px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;

    background: rgba(255,255,255,.025);
}

.device-offset-title {
    margin-bottom: 5px;

    color: rgba(255,255,255,.58);

    font-size: 10px;
    font-weight: 650;

    letter-spacing: .04em;
    text-transform: uppercase;
}

.device-offset-value {
    color: rgba(255,255,255,.90);

    font-size: 13px;
    font-weight: 620;

    font-variant-numeric: tabular-nums;
}

.device-offset-detail {
    margin-top: 3px;

    color: rgba(255,255,255,.40);

    font-size: 9px;

    font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
    .device-offset-card {
        padding: 10px 12px;
    }

    .device-offset-value {
        font-size: 12px;
    }
}

/* Écart appareil — version compacte */
.device-offset-inline {
    margin-top: 5px;

    color: rgba(255,255,255,.42);

    font-size: 9px;
    line-height: 1.35;

    font-variant-numeric: tabular-nums;
}

/* neutralise l'ancienne carte si elle existe encore */
.device-offset-card {
    display: none !important;
}

/* Écart appareil — version compacte */
.device-offset-inline {
    margin-top: 5px;

    color: rgba(255,255,255,.42);

    font-size: 9px;
    line-height: 1.35;

    font-variant-numeric: tabular-nums;
}

/* neutralise l'ancienne carte si elle existe encore */
.device-offset-card {
    display: none !important;
}

/* Accent suisse */
:root {
    --swiss-red: #FF0000;
}

/* Mot "Suisse" dans le hero */
.hero h1 + *,
.hero .hero-country,
.hero .country-highlight {
    color: var(--swiss-red);
}

:root {
    --swiss-red: #FF0000;
}

/* Identité de marque */
.brand-copy strong {
    color: var(--swiss-red);
}

/* Signature visuelle suisse */
:root {
    --swiss-red: #FF0000;
}

/* Heure Suisse — marque en haut à gauche */
.brand-copy strong {
    color: var(--swiss-red) !important;
}

/* Suisse — sous L'heure exacte */
[data-i18n="headline2"] {
    color: var(--swiss-red) !important;
}

/* Texte descriptif du hero : blanc */
.hero-description,
[data-i18n="heroDescription"] {
    color: #ffffff !important;
}

/* Bandeau de confiance */
.trust-band {
    margin-top: 72px;
    padding: 30px 0 18px;

    border-top: 1px solid rgba(255,255,255,.08);
}

.trust-band-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
}

.trust-item {
    min-width: 0;
}

.trust-symbol {
    margin-bottom: 12px;

    color: var(--swiss-red, #FF0000);

    font-size: 16px;
    line-height: 1;
}

.trust-item h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 650;
    letter-spacing: .01em;
}

.trust-item p {
    margin: 0;

    color: rgba(255,255,255,.52);

    font-size: 11px;
    line-height: 1.55;
}

.trust-reference {
    margin-top: 26px;
    padding-top: 14px;

    border-top: 1px solid rgba(255,255,255,.05);

    color: rgba(255,255,255,.34);

    font-size: 10px;
    letter-spacing: .02em;
}

@media (max-width: 900px) {
    .trust-band-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-item-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .trust-band {
        margin-top: 48px;
    }

    .trust-band-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .trust-item-about {
        grid-column: auto;
    }
}

/* Hero simplifié : L'heure exacte Suisse sur une seule ligne */
.hero .eyebrow {
    display: none !important;
}

.hero h1 {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .22em;
}

[data-i18n="headline2"] {
    display: inline !important;
    color: var(--swiss-red, #FF0000) !important;
}

@media (max-width: 650px) {
    .hero h1 {
        gap: .16em;
    }
}

/* Réparation bandeau confiance */
.trust-band {
    width: 100%;
    margin-top: 72px;
    padding: 30px 0 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.trust-band-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: start;
}

.trust-item {
    display: block !important;
    min-width: 0;
}

.trust-symbol {
    display: block;
    margin-bottom: 12px;
    color: var(--swiss-red, #FF0000);
    font-size: 16px;
    line-height: 1;
}

.trust-item h2 {
    margin: 0 0 8px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.25;
}

.trust-item p {
    margin: 0 !important;
    color: rgba(255,255,255,.52) !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
}

.trust-reference {
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: rgba(255,255,255,.34);
    font-size: 10px;
    letter-spacing: .02em;
}

@media (max-width: 900px) {
    .trust-band-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .trust-item-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .trust-band-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .trust-item-about {
        grid-column: auto;
    }
}

/* Hero : retour à une formulation française naturelle */
.hero h1 {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
}

[data-i18n="headline2"] {
    display: block !important;
    margin-top: .08em;
    color: var(--swiss-red, #FF0000) !important;
}

/* Bandeau de confiance : largeur contenue et centrée */
.trust-band {
    width: min(1120px, calc(100% - 48px));
    margin: 72px auto 0 !important;
    padding: 30px 0 18px;
    box-sizing: border-box;
}

.trust-band-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: start;
}

.trust-item {
    min-width: 0;
}

.trust-item h2 {
    margin: 0 0 8px !important;
}

.trust-item p {
    margin: 0 !important;
}

.trust-reference {
    width: 100%;
    margin-top: 24px;
    padding-top: 14px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .trust-band {
        width: min(760px, calc(100% - 36px));
    }

    .trust-band-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .trust-item-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .trust-band {
        width: calc(100% - 28px);
        margin-top: 48px !important;
    }

    .trust-band-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .trust-item-about {
        grid-column: auto;
    }
}

/* Bandeau de confiance : fond légèrement détaché */
.trust-band {
    background: rgba(255,255,255,.025) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 18px;
    padding: 26px 28px 18px !important;
}

@media (max-width: 560px) {
    .trust-band {
        padding: 22px 18px 16px !important;
    }
}

/* Bandeau de confiance : lisibilité renforcée */
.trust-band {
    background: rgba(18, 34, 51, .82) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
}

.trust-item h2 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.trust-item p {
    color: rgba(255,255,255,.78) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.trust-symbol {
    font-size: 18px !important;
    margin-bottom: 10px !important;
}

.trust-reference {
    color: rgba(255,255,255,.62) !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

/* Métadonnées METAS du bandeau : lisibilité */
.trust-reference {
    color: rgba(255,255,255,.82) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}

/* Écart de l'appareil affiché dans le bandeau */
.trust-reference .device-offset-inline,
.trust-reference + .device-offset-inline,
.device-offset-inline {
    color: rgba(255,255,255,.72) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    margin-top: 3px !important;
}

/* =========================
   MODE CLAIR — modules
   ========================= */

html[data-theme="light"] #today-panel,
html[data-theme="light"] #world-cities,
body[data-theme="light"] #today-panel,
body[data-theme="light"] #world-cities,
[data-theme="light"] #today-panel,
[data-theme="light"] #world-cities {
    background: #f8fafc !important;
    color: #0f172a !important;

    border: 1px solid rgba(15, 23, 42, .10) !important;

    box-shadow:
        0 16px 40px rgba(15, 23, 42, .08) !important;
}

/* Titres principaux */
html[data-theme="light"] #today-panel h1,
html[data-theme="light"] #today-panel h2,
html[data-theme="light"] #world-cities h1,
html[data-theme="light"] #world-cities h2,
[data-theme="light"] #today-panel h1,
[data-theme="light"] #today-panel h2,
[data-theme="light"] #world-cities h1,
[data-theme="light"] #world-cities h2 {
    color: #0f172a !important;
}

/* Petits surtitres */
html[data-theme="light"] #today-panel .eyebrow,
html[data-theme="light"] #world-cities .eyebrow,
[data-theme="light"] #today-panel .eyebrow,
[data-theme="light"] #world-cities .eyebrow {
    color: #475569 !important;
}

/* Cartes intérieures */
html[data-theme="light"] #today-panel article,
html[data-theme="light"] #today-panel .today-card,
html[data-theme="light"] #world-cities .world-city-card,
[data-theme="light"] #today-panel article,
[data-theme="light"] #today-panel .today-card,
[data-theme="light"] #world-cities .world-city-card {
    background: #ffffff !important;

    border-color:
        rgba(15, 23, 42, .12) !important;

    color: #0f172a !important;
}

/* Texte principal */
html[data-theme="light"] #today-panel strong,
html[data-theme="light"] #today-panel .today-value,
html[data-theme="light"] #world-cities strong,
html[data-theme="light"] #world-cities .world-city-name,
html[data-theme="light"] #world-cities .world-city-time,
[data-theme="light"] #today-panel strong,
[data-theme="light"] #today-panel .today-value,
[data-theme="light"] #world-cities strong,
[data-theme="light"] #world-cities .world-city-name,
[data-theme="light"] #world-cities .world-city-time {
    color: #0f172a !important;
}

/* Informations secondaires */
html[data-theme="light"] #today-panel small,
html[data-theme="light"] #today-panel p,
html[data-theme="light"] #world-cities small,
html[data-theme="light"] #world-cities p,
html[data-theme="light"] #world-cities .world-city-meta,
html[data-theme="light"] #world-cities .world-city-difference,
[data-theme="light"] #today-panel small,
[data-theme="light"] #today-panel p,
[data-theme="light"] #world-cities small,
[data-theme="light"] #world-cities p,
[data-theme="light"] #world-cities .world-city-meta,
[data-theme="light"] #world-cities .world-city-difference {
    color: #475569 !important;
}

/* Champ de recherche */
html[data-theme="light"] #world-cities input,
[data-theme="light"] #world-cities input {
    background: #ffffff !important;
    color: #0f172a !important;

    border-color:
        rgba(15, 23, 42, .18) !important;
}

html[data-theme="light"] #world-cities input::placeholder,
[data-theme="light"] #world-cities input::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

/* Boutons rapides */
html[data-theme="light"] #world-cities button,
[data-theme="light"] #world-cities button {
    background: #f1f5f9 !important;
    color: #1e293b !important;

    border-color:
        rgba(15, 23, 42, .12) !important;
}

html[data-theme="light"] #world-cities button:hover,
[data-theme="light"] #world-cities button:hover {
    background: #e2e8f0 !important;
}

/* Mode clair — gris perle, contraste renforcé */
html[data-theme="light"] #today-panel,
html[data-theme="light"] #world-cities,
body[data-theme="light"] #today-panel,
body[data-theme="light"] #world-cities,
[data-theme="light"] #today-panel,
[data-theme="light"] #world-cities {
    background: #E9EEF3 !important;
    border-color: #CBD5E1 !important;
}

/* Cartes internes */
html[data-theme="light"] #today-panel article,
html[data-theme="light"] #today-panel .today-card,
html[data-theme="light"] #world-cities .world-city-card,
[data-theme="light"] #today-panel article,
[data-theme="light"] #today-panel .today-card,
[data-theme="light"] #world-cities .world-city-card {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
}

/* Titres et valeurs */
html[data-theme="light"] #today-panel h1,
html[data-theme="light"] #today-panel h2,
html[data-theme="light"] #world-cities h1,
html[data-theme="light"] #world-cities h2,
html[data-theme="light"] #today-panel strong,
html[data-theme="light"] #world-cities strong,
html[data-theme="light"] #world-cities .world-city-name,
html[data-theme="light"] #world-cities .world-city-time,
[data-theme="light"] #today-panel h1,
[data-theme="light"] #today-panel h2,
[data-theme="light"] #world-cities h1,
[data-theme="light"] #world-cities h2,
[data-theme="light"] #today-panel strong,
[data-theme="light"] #world-cities strong,
[data-theme="light"] #world-cities .world-city-name,
[data-theme="light"] #world-cities .world-city-time {
    color: #0F172A !important;
}

/* Métadonnées et petits libellés */
html[data-theme="light"] #today-panel small,
html[data-theme="light"] #today-panel p,
html[data-theme="light"] #world-cities small,
html[data-theme="light"] #world-cities p,
html[data-theme="light"] #world-cities .world-city-meta,
html[data-theme="light"] #world-cities .world-city-difference,
[data-theme="light"] #today-panel small,
[data-theme="light"] #today-panel p,
[data-theme="light"] #world-cities small,
[data-theme="light"] #world-cities p,
[data-theme="light"] #world-cities .world-city-meta,
[data-theme="light"] #world-cities .world-city-difference {
    color: #475569 !important;
}

/* Recherche et boutons */
html[data-theme="light"] #world-cities input,
[data-theme="light"] #world-cities input {
    background: #F8FAFC !important;
    border-color: #94A3B8 !important;
    color: #0F172A !important;
}

html[data-theme="light"] #world-cities button,
[data-theme="light"] #world-cities button {
    background: #E2E8F0 !important;
    border-color: #CBD5E1 !important;
    color: #1E293B !important;
}

/* =========================================================
   MODE CLAIR — correctif exact Aujourd'hui + Mes villes
   ========================================================= */

/* ---------- AUJOURD'HUI ---------- */

[data-theme="light"] #today-panel {
    background: #E9EEF3 !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

[data-theme="light"] #today-panel .today-main-card,
[data-theme="light"] #today-panel .today-small-card {
    background: #F8FAFC !important;
    border: 1px solid #C7D1DC !important;
}

[data-theme="light"] #today-panel .today-label {
    color: #334155 !important;
    opacity: 1 !important;
}

[data-theme="light"] #today-panel .today-value {
    color: #0F172A !important;
    opacity: 1 !important;
}

[data-theme="light"] #today-panel .today-small-label {
    color: #475569 !important;
    opacity: 1 !important;
}

[data-theme="light"] #today-panel .today-small-value {
    color: #1E293B !important;
    opacity: 1 !important;
    font-weight: 650 !important;
}

[data-theme="light"] #today-panel .today-foot {
    color: #64748B !important;
    opacity: 1 !important;
}

/* ---------- MES VILLES ---------- */

[data-theme="light"] #world-cities {
    background: #E9EEF3 !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

[data-theme="light"] #world-cities .city-card {
    background: #F8FAFC !important;
    border: 1px solid #C7D1DC !important;
}

[data-theme="light"] #world-cities .city-name {
    color: #0F172A !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

[data-theme="light"] #world-cities .city-zone {
    color: #475569 !important;
    opacity: 1 !important;
}

[data-theme="light"] #world-cities .city-time {
    color: #0F172A !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

[data-theme="light"] #world-cities .city-difference {
    color: #475569 !important;
    opacity: 1 !important;
}

[data-theme="light"] #world-cities .city-search {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border-color: #94A3B8 !important;
}

[data-theme="light"] #world-cities .city-search::placeholder {
    color: #64748B !important;
    opacity: 1 !important;
}

[data-theme="light"] #world-cities .city-quick button {
    background: #E2E8F0 !important;
    color: #1E293B !important;
    border-color: #CBD5E1 !important;
}

[data-theme="light"] #world-cities .city-remove {
    background: #E2E8F0 !important;
    color: #334155 !important;
    border-color: #CBD5E1 !important;
}

[data-theme="light"] #world-cities .city-remove:hover {
    background: #CBD5E1 !important;
    color: #0F172A !important;
}

/* Mode clair — chiffres plus fins et plus aérés */
[data-theme="light"] #today-panel .today-value {
    font-weight: 600 !important;
    letter-spacing: .01em !important;
}

[data-theme="light"] #today-panel .today-small-value {
    font-weight: 600 !important;
    letter-spacing: .01em !important;
}

[data-theme="light"] #world-cities .city-time {
    font-weight: 600 !important;
    letter-spacing: .015em !important;
}

/* Navigation interne : éviter que la barre fixe masque les sections */
#top,
#world-cities,
#precision,
#about {
    scroll-margin-top: 92px;
}

html {
    scroll-behavior: smooth;
}

/* À propos / Proreta */
.proreta-link,
.footer-proreta a {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.35);
    text-underline-offset: 3px;
}

.proreta-link:hover,
.footer-proreta a:hover {
    color: #FFFFFF;
    text-decoration-color: #FF0000;
}

.footer-proreta {
    color: rgba(255,255,255,.58);
}

/* À propos — lien compact */
.about-more {
    display: inline-block;
    margin-top: 8px;

    color: #FFFFFF !important;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;
}

.about-more:hover {
    text-decoration: underline;
    text-decoration-color: #FF0000;
    text-underline-offset: 3px;
}

/* Logo Heure Suisse — aiguilles dynamiques */
.brand-mark {
    --brand-hour-angle: 0deg;
    --brand-minute-angle: 0deg;
}

.brand-mark::before {
    transform:
        translate(-50%, -100%)
        rotate(var(--brand-hour-angle)) !important;
}

.brand-mark::after {
    transform:
        translate(-50%, -100%)
        rotate(var(--brand-minute-angle)) !important;
}

/* =========================================================
   Ajustements accueil après unification du header
   ========================================================= */

/* Header plus compact */
.shared-topbar,
.topbar.shared-topbar {
    min-height: 68px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Bloc de marque */
.shared-brand-copy small,
.brand-copy small {
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
    color: rgba(255,255,255,0.88) !important;
    opacity: 1 !important;
    letter-spacing: 0 !important;
}

/* Réduit l'espace vide sous le header */
.hero {
    padding-top: 44px !important;
}

/* Sécurise le scroll anchor */
#top {
    scroll-margin-top: 88px;
}

/* =========================================================
   Accueil — dimensions du header partagé
   La disposition est pilotée par tools-nav.css.
   ========================================================= */

.topbar.shared-topbar {
    min-height: 68px !important;

    padding:
        8px
        clamp(22px, 4vw, 64px) !important;
}




/* Signature de marque plus lisible */
.topbar.shared-topbar .shared-brand-copy small {
    color: rgba(255,255,255,.78) !important;

    font-size: .72rem !important;
    font-weight: 500 !important;

    line-height: 1.15 !important;
}

/* Le hero commence immédiatement sous le header */
.topbar.shared-topbar + main .hero {
    padding-top: 44px !important;
}


/* Écrans intermédiaires */
@media (max-width: 1150px) {
    .topbar.shared-topbar {
        column-gap: 14px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .topbar.shared-topbar .shared-main-nav {
        gap: 2px;
    }

    .topbar.shared-topbar .shared-main-nav a {
        padding-left: 7px !important;
        padding-right: 7px !important;
        font-size: 12px !important;
    }
}


/* Réduit aussi légèrement l'espace vertical général du hero */


/* Accueil — composition plus compacte */
#top .hero-inner {
    gap: clamp(12px, 1.8vw, 28px) !important;
}



/* Accueil — supprime le grand vide avant les fuseaux */
#top .hero {
    min-height: 0 !important;
    height: auto !important;

    padding-top: 32px !important;
    padding-bottom: 28px !important;
}

/* Bandeau fuseaux rapproché du contenu principal */
#top .zones-section {
    margin-top: 18px !important;
}

/* Home — contenu SEO utile et discret */

.home-seo {
    width: min(1100px, 92vw);
    margin: 46px auto 90px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.home-seo h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.home-seo p {
    max-width: 820px;
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    opacity: .62;
}

.home-seo .seo-tool-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 22px;
    font-size: 12px;
    opacity: .68;
}

.home-seo .seo-tool-links a {
    color: inherit;
    text-decoration: none;
}

.home-seo .seo-tool-links a:hover {
    text-decoration: underline;
}

[data-theme="light"] .home-seo {
    border-top-color: rgba(15,23,42,.10);
}

@media (max-width: 700px) {
    .home-seo {
        margin-top: 34px;
        margin-bottom: 110px;
    }

    .home-seo .seo-tool-links {
        gap: 10px 14px;
    }
}


/* SHARE MENU HEURE EXACTE */

.share-menu {
    position: fixed;
    z-index: 10000;

    min-width: 220px;

    padding: 7px;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 13px;

    background:
        rgba(9, 25, 43, 0.97);

    box-shadow:
        0 18px 50px rgba(0,0,0,0.34);

    backdrop-filter:
        blur(18px);
}

.share-menu[hidden] {
    display: none;
}

.share-menu button {
    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 0 12px;

    border: 0;
    border-radius: 9px;

    color: #eef7ff;

    background: transparent;

    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;

    text-align: left;
    cursor: pointer;
}

.share-menu button:hover,
.share-menu button:focus-visible {
    background:
        rgba(255,255,255,0.09);

    outline: none;
}

.share-menu button span:first-child {
    width: 20px;

    color: #8fc6f8;

    text-align: center;
}

html[data-theme="light"] .share-menu {
    border-color:
        rgba(24,57,87,0.14);

    background:
        rgba(255,255,255,0.97);

    box-shadow:
        0 18px 50px rgba(27,58,88,0.18);
}

html[data-theme="light"] .share-menu button {
    color: #17314b;
}

html[data-theme="light"] .share-menu button:hover,
html[data-theme="light"] .share-menu button:focus-visible {
    background:
        rgba(24,57,87,0.07);
}



/* REFERENCE STRIP 3 COLUMNS */

@media (min-width: 761px) {
    .zones-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* COMPACT REFERENCE STRIP */

@media (min-width: 761px) {
    .zones-section {
        display: flex;
        justify-content: center;
    }

    .zones-card {
        width: min(920px, calc(100% - 72px));
        max-width: 920px;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .zone {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .zone:not(:last-child) {
        border-right:
            1px solid rgba(24,57,87,0.10);
    }
}

html[data-theme="dark"] .zone:not(:last-child) {
    border-right-color:
        rgba(255,255,255,0.08);
}

/* CLOCK_ALUMINIUM_THIN_V1_START */

/*
 * Horloge ronde :
 * cerclage aluminium clair, fin et discret.
 */

.clock-shell {
    padding: 4px;

    border:
        1px solid rgba(255,255,255,0.78);

    background:
        linear-gradient(
            135deg,
            #f4f5f5 0%,
            #c6cacc 18%,
            #f8f8f7 36%,
            #aeb4b7 58%,
            #eceeed 78%,
            #c4c8ca 100%
        );

    box-shadow:
        0 22px 48px rgba(0,0,0,0.30),
        0 5px 14px rgba(0,0,0,0.18),
        inset 0 1px 1px rgba(255,255,255,0.95),
        inset 0 -1px 1px rgba(80,86,90,0.30);
}

.clock {
    filter:
        drop-shadow(
            0 3px 7px rgba(0,0,0,0.12)
        );
}

.dial {
    fill: #fffefa;
}

.clock-halo {
    background:
        radial-gradient(
            circle,
            rgba(42,139,255,0.16) 0%,
            rgba(42,139,255,0.055) 44%,
            transparent 72%
        );

    filter: blur(30px);
}

/* CLOCK_ALUMINIUM_THIN_V1_END */

/* CLOCK_DESKTOP_SIZE_V2_START */

/*
 * Horloge légèrement plus petite sur écran large.
 * Mobile et petits écrans inchangés.
 */
@media (min-width: 900px) {
    .clock-shell {
        width: min(28.5vw, 385px);
    }
}

/* CLOCK_DESKTOP_SIZE_V2_END */

/* MOBILE_FULLSCREEN_CLOCK_V1_START */

/*
 * Sur téléphone en portrait, le plein écran doit réellement
 * agrandir l'horloge par rapport au mode normal.
 */
@media (max-width: 760px) {

    html:fullscreen .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5vh;
    }

    html:fullscreen .time-panel,
    html:fullscreen .analog-panel {
        grid-column: 1;
    }

    html:fullscreen .analog-panel {
        width: 100%;
    }

    html:fullscreen .clock-shell {
        width: min(86vw, 42vh, 430px);
    }
}

/* MOBILE_FULLSCREEN_CLOCK_V1_END */

/* HIDE_LANGUAGE_REGION_PANEL_V1_START */

/*
 * Les contrôles restent présents dans le DOM
 * pour le moteur i18n, mais ne sont plus visibles.
 */
section:has(#regional-language) {
    display: none !important;
}

/* HIDE_LANGUAGE_REGION_PANEL_V1_END */
/* HOME_MOBILE_HERO_CENTER_FINAL_V1 */
@media (max-width: 760px) {

    .hero .hero-copy {
        width: 100% !important;
        max-width: none !important;
        text-align: center !important;
    }

    .hero .hero-copy h1 {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero .hero-description {
        text-align: left !important;
    }
}
/* HOME_MOBILE_HERO_CENTER_FINAL_V1_END */
