/* Ressources locales : ce dossier peut être déployé sans le site principal. */
@import url("fonts.css");

/* =========================================================
   PAGE D’ATTENTE — LSP VTC
   Liberté • Simplicité • Proximité
   ========================================================= */

:root {
    --bg: #f7fafc;
    --surface: #ffffff;

    --text: #17212b;
    --muted: #5b6773;

    --border: #d5dfe8;

    --primary: #123b67;
    --primary-strong: #123b67;

    --accent: #1f6feb;
    --accent-strong: #1557b0;

    --shadow-soft: 0 2px 8px rgba(18,59,103,0.04);
    --radius: 8px;
    --container: 1180px;
}

/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

button, input, select, textarea {
    font-family: inherit;
}

body {
    margin: 0;
    font-family: Jost, sans-serif;
    color: var(--text);
    line-height: 1.5;
    background: var(--bg);
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(
        var(--container),
        calc(100% - 32px)
    );
    margin: 0 auto;
}

/* =========================================================
   HEADER — reste visible pendant le défilement, y compris sur mobile
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 20;

    padding: 18px 24px;

    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.site-header-inner {
    width: min(
        1280px,
        calc(100% - 24px)
    );
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
.header-call-btn:hover { background: var(--accent-strong); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-branding {
    display: flex;
    align-items: center;

    margin-left: -18px;

    text-decoration: none;
    flex-shrink: 0;
}

.site-logo-img {
    width: 200px;
    height: auto;
}

/* =========================================================
   HERO
   ========================================================= */



.hero {
    position: relative;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url('../images/hero-panoramique-lsp-vtc.webp') center / cover no-repeat;
}

/* Même bleu que l’accueil : dense sous le texte, puis transparent vers la photo. */
.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to right,
        var(--primary) 0%,
        rgba(18, 59, 103, .97) 20%,
        rgba(18, 59, 103, .9) 38%,
        rgba(18, 59, 103, .68) 52%,
        rgba(18, 59, 103, .2) 70%,
        rgba(18, 59, 103, 0) 90%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 125px 0 44px;
}

.hero-text {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.hero .hero-text h1 {
    margin: 0 0 18px;
    font-family: inherit;
    font-size: clamp(30px, 3.7vw, 46px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
    text-wrap: balance;
    color: #fff;
}

.hero p {
    margin: 0 0 24px;
    font-size: 17px;
    color: #fff;
    font-weight: 500;
    line-height: 1.6;
}

.hero p.hero-location {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 20px;
    margin-bottom: 28px;
}

.hero-point {
    padding: 6px 0;
    border-radius: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.hero-point::first-letter {
    color: #fff;
}

/* =========================================================
   CARTE D’OUVERTURE
   ========================================================= */

/* La carte conserve un fond clair et du texte sombre pour distinguer le contact
   du texte blanc du hero et préserver la lisibilité du numéro de téléphone. */
.opening-notice {
    max-width: 520px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}
.opening-notice h2 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 20px;
}
.opening-notice p { margin: 0; font-size: 16px; color: var(--text); }
.opening-notice a { color: var(--primary); font-weight: 700; }
/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    margin-top: 20px;
    padding: 32px 16px 40px;
    text-align: center;
    color: #eaf2fb;
    background: var(--primary);
    border-top: 1px solid var(--primary);
}



/* =========================================================
   RESPONSIVE
   ========================================================= */


/* Le voile et les points du hero reprennent les règles du site principal. */
/* Adaptations identiques au site local ; le contact remplace le menu mobile. */
@media (max-width: 980px) {
    .site-logo-img { width: 128px; }
    .site-branding { margin-left: 0; }
}
@media (max-width: 560px) {
    .site-header { padding: 14px 16px; }
    .site-header-inner { width: 100%; gap: 12px; }
    .site-logo-img { width: 112px; }
    .header-call-btn { min-height: 38px; padding: 0 12px; font-size: 13px; }
}
@media (max-width: 720px) {
    /* Le texte recouvre la photo sur mobile : maintenir le contraste sur toute la largeur. */
    .hero-overlay {
        background: linear-gradient(to right, rgba(18, 59, 103, .97), rgba(18, 59, 103, .84));
    }
    .site-header { padding: 16px 0; }
    .hero-content { padding: 100px 0 32px; }
    .hero-points { grid-template-columns: 1fr; }
    .opening-notice { width: 100%; }
}
