/* Heure Suisse — finition commune des pages outils */

:root {
    --tool-max-width: 980px;
    --tool-radius: 22px;
    --tool-gap: 18px;
}

main,
.page {
    width: min(var(--tool-max-width), 92vw);
    margin-left: auto;
    margin-right: auto;
}

.hero {
    margin-top: 34px;
    margin-bottom: 30px;
}

.hero h1 {
    margin-top: 6px;
    margin-bottom: 8px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1;
    letter-spacing: -.035em;
}

.hero p {
    max-width: 680px;
    line-height: 1.6;
    opacity: .68;
}

main section,
.page section {
    box-sizing: border-box;
}

button,
input,
select {
    font: inherit;
}

button {
    min-height: 42px;
}

button.primary,
.primary {
    font-weight: 700;
}

input,
select {
    min-height: 42px;
}

.section-heading,
.profile-heading,
.schedule-heading {
    gap: 16px;
}

.controls,
.program-actions,
.profile-actions,
.alarm-actions {
    gap: 10px;
}

.heure-tools-nav {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

@media (max-width: 760px) {
    main,
    .page {
        width: min(94vw, var(--tool-max-width));
    }

    .hero {
        margin-top: 24px;
        margin-bottom: 22px;
    }

    .hero h1 {
        font-size: clamp(32px, 11vw, 48px);
    }

    .section-heading,
    .profile-heading,
    .schedule-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .controls,
    .program-actions,
    .profile-actions,
    .alarm-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .controls button,
    .program-actions button,
    .profile-actions button,
    .alarm-actions button {
        width: 100%;
    }
}

/* SEO visible mais discret — contenu utile et maillage interne */

.seo-explanation {
    margin-top: 34px;
    padding: 20px 0;
}

.seo-explanation h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

.seo-explanation p {
    max-width: 760px;
    margin: 0;
    line-height: 1.7;
    opacity: .68;
}

.seo-tool-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 32px;
    padding: 18px 0 12px;
    font-size: 12px;
    opacity: .66;
}

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

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

.current-period-title {
    margin-top: 8px;
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 700;
    line-height: 1.05;
}
