/* Polices auto-hébergées (licence SIL OFL, voir fonts/OFL-*.txt) :
   aucune requête vers Google, donc aucune adresse IP transmise à un tiers. */
@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/bebas-neue-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Couleurs reprises du logo : bleu marine + jaune « mètre ruban ».
   Le motif du mètre (graduations) est la signature visuelle du site :
   il n'apparaît qu'en bas du hero et en haut de la bande d'appel. */
:root {
    --bleu:       #0F2640;
    --bleu-nuit:  #0A1C30;   /* pied de page */
    --bleu-mid:   #1B3A5C;
    --bleu-light: #2C4A70;
    --or:         #F4A825;
    --or-dark:    #DC8F12;
    --or-texte:   #8A5A00;   /* or foncé lisible sur fond clair (5.3:1) */
    --fond:       #EEF1F4;   /* gris « enduit », froid */
    --blanc:      #FFFFFF;
    --texte:      #16202C;
    --muted:      #525D6B;   /* 6.1:1 sur --fond */
    --border:     #D3D9E0;
    --border-champ: #7D8794; /* bordure des champs : 3.6:1 (WCAG 1.4.11) */
    --sur-bleu:   #D5DAE1;   /* texte secondaire sur --bleu (11:1) */
    --focus:      #F4A825;
    --ombre:      0 1px 2px rgba(15,38,64,0.08);
    --ombre-md:   0 12px 32px rgba(15,38,64,0.16);
    --font-titre: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-corps: 'Inter', system-ui, sans-serif;
    --radius:     4px;
    --transition: 0.2s cubic-bezier(.4,0,.2,1);
    --largeur:    1200px;
    --marge:      clamp(20px, 5vw, 60px);
    --bord:       clamp(16px, 2.5vw, 32px); /* marge des éléments collés aux bords : logo, hero, pied de page */
    --largeur-max: calc(var(--largeur) + 2 * var(--marge)); /* blocs dont le padding latéral est inclus */
    /* Graduations du mètre ruban : petites tous les 10 px, grandes tous les 50 px */
    --regle: repeating-linear-gradient(90deg, var(--bleu) 0 2px, transparent 2px 50px) top left / 100% 14px no-repeat,
             repeating-linear-gradient(90deg, var(--bleu) 0 1px, transparent 1px 10px) top left / 100% 7px no-repeat,
             var(--or);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

img { max-width: 100%; height: auto; }

/* Focus visible au clavier sur tous les éléments interactifs */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--bleu);
    outline-offset: 2px;
}

header a:focus-visible,
header button:focus-visible,
footer a:focus-visible,
.hero a:focus-visible,
.cta_bande a:focus-visible,
.about_hero a:focus-visible,
.contact_coordonnees a:focus-visible,
.lightbox button:focus-visible {
    outline-color: var(--focus);
}

main:focus { outline: none; }

/* Lien d'évitement : visible uniquement quand il reçoit le focus */
.lien_evitement {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--blanc);
    color: var(--bleu);
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--radius);
}

.lien_evitement:focus { top: 12px; }

/* Texte réservé aux lecteurs d'écran */
.sr_only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

body {
    font-family: var(--font-corps);
    background-color: var(--fond);
    color: var(--texte);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Titres de section : Bebas Neue en grand, aligné à gauche */
.prestations h2,
.demarche h2,
.apercu h2,
.temoignages_header h2,
.engagements h2,
.realisations h2,
.expertise h2 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 0.95;
    letter-spacing: 0.5px;
    color: var(--bleu);
    margin-bottom: 24px;
}

/* ===========================
   HEADER / NAV
=========================== */
header {
    background-color: var(--bleu);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--bleu-light);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px var(--bord);
}

.nav_logo { display: inline-flex; }

header nav img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius);
}

.nav_liens {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav_liens a {
    color: var(--sur-bleu);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.nav_liens a:hover,
.nav_liens a[aria-current="page"] {
    color: var(--blanc);
    border-bottom-color: var(--or);
}

.nav_liens .nav_cta {
    background: var(--or);
    color: var(--bleu);
    font-weight: 700;
    padding: 10px 18px;
    border-radius: var(--radius);
    border-bottom: none;
}

.nav_liens .nav_cta:hover,
.nav_liens .nav_cta[aria-current="page"] {
    background: var(--blanc);
    color: var(--bleu);
}

/* Bouton burger (caché sur desktop) */
.nav_burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav_burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--blanc);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav_burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav_burger.active span:nth-child(2) { opacity: 0; }
.nav_burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
=========================== */
.hero {
    position: relative;
    background-color: var(--bleu);
    padding: 48px var(--bord) 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

/* Le mètre ruban, posé sur le bord bas du hero */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22px;
    background: var(--regle);
}

.hero_texte {
    justify-self: start;
    width: 100%;
}

.hero h1 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: clamp(3rem, 7.5vw, 7.2rem);
    line-height: 0.88;
    letter-spacing: 0.5px;
    color: var(--blanc);
    margin-bottom: 20px;
    animation: monter 0.7s cubic-bezier(.2,.7,.2,1) both;
}

.hero_texte > p {
    font-size: 1.1rem;
    color: var(--sur-bleu);
    line-height: 1.65;
    max-width: 30em;
    margin-bottom: 20px;
    animation: monter 0.7s 0.1s cubic-bezier(.2,.7,.2,1) both;
}

.hero_services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    list-style: none;
    animation: monter 0.7s 0.18s cubic-bezier(.2,.7,.2,1) both;
}

.hero_services li {
    color: var(--blanc);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 14px;
    border: 1px solid var(--bleu-light);
    border-radius: var(--radius);
}

.hero_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    animation: monter 0.7s 0.26s cubic-bezier(.2,.7,.2,1) both;
}

.hero_cta {
    display: inline-flex;
    align-items: center;
    background: var(--or);
    color: var(--bleu);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background-color var(--transition);
}

.hero_cta:hover { background: var(--blanc); }

.hero_tel {
    color: var(--blanc);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--or);
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

.hero_tel:hover { color: var(--or); }

/* Photo avant / après : cadre blanc et bloc jaune décalé, comme une photo de chantier épinglée */
.hero_photo {
    justify-self: end;
    animation: devoiler 0.9s 0.15s cubic-bezier(.6,0,.2,1) backwards;
}

.hero_photo img {
    display: block;
    height: min(66vh, 540px);
    width: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border: 6px solid var(--blanc);
    border-radius: var(--radius);
    box-shadow: 16px 16px 0 var(--or);
}

.hero_photo figcaption {
    margin-top: 22px;
    font-size: 0.85rem;
    color: var(--sur-bleu);
}

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

@keyframes devoiler {
    from { clip-path: inset(100% 0 0 0); }
    to   { clip-path: inset(-24px); }
}

.insecable { white-space: nowrap; }

/* ===========================
   PRESTATIONS
=========================== */
.prestations {
    max-width: var(--largeur-max);
    margin: 56px auto;
    padding: 0 var(--marge);
}

.cards_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 32px;
}

.card_prestation {
    border-top: 3px solid var(--bleu);
    padding-top: 20px;
}

.card_prestation h3 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: 0.5px;
    color: var(--bleu);
    margin-bottom: 12px;
}

.card_prestation p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ===========================
   DÉMARCHE (3 étapes)
=========================== */
.demarche {
    background: var(--blanc);
    padding: 56px var(--marge);
}

.demarche h2,
.demarche_etapes {
    max-width: var(--largeur);
    margin-left: auto;
    margin-right: auto;
}

.demarche_etapes {
    list-style: none;
    counter-reset: etape;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.demarche_etapes li {
    counter-increment: etape;
    position: relative;
    padding-top: 64px;
}

.demarche_etapes li::before {
    content: counter(etape);
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-titre);
    font-size: 3.8rem;
    line-height: 1;
    color: var(--or);
}

/* Trait qui relie les étapes */
.demarche_etapes li::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 44px;
    right: -40px;
    height: 2px;
    background: var(--border);
}

.demarche_etapes li:last-child::after { display: none; }

.demarche_etapes h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bleu);
    margin-bottom: 8px;
}

.demarche_etapes p {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 28em;
}

/* ===========================
   APERÇU RÉALISATIONS (accueil)
=========================== */
.apercu {
    max-width: var(--largeur-max);
    margin: 56px auto;
    padding: 0 var(--marge);
}

.apercu_entete {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.apercu_entete h2 { margin-bottom: 0; }

.lien_fleche {
    color: var(--bleu);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--or);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.lien_fleche:hover { color: var(--or-texte); }

.apercu_grille {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.apercu_grille img {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ===========================
   TÉMOIGNAGES
=========================== */
.temoignages {
    background: var(--blanc);
    padding: 56px var(--marge);
}

.temoignages_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin: 0 auto 24px;
    max-width: var(--largeur);
}

.temoignages_header h2 { margin-bottom: 0; }

.avis_info {
    max-width: var(--largeur);
    margin: 0 auto 28px;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}

.temoignages_vide {
    color: var(--muted);
    font-size: 0.95rem;
    grid-column: 1 / -1;
    padding: 24px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
}

.btn_avis_toggle {
    background: var(--bleu);
    color: var(--blanc);
    border: none;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-family: var(--font-corps);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--transition);
}

.btn_avis_toggle:hover { background: var(--bleu-light); }

.temoignages_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 32px;
    max-width: var(--largeur);
    margin: 0 auto;
}

.temoignage {
    border-left: 3px solid var(--or);
    padding: 4px 0 4px 22px;
    display: flex;
    flex-direction: column;
}

.temoignage_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.temoignage_etoiles {
    color: var(--or-texte);
    font-size: 1rem;
    letter-spacing: 2px;
}

.temoignage_date {
    font-size: 0.8rem;
    color: var(--muted);
}

.temoignage p {
    font-size: 1.02rem;
    color: var(--texte);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

/* Commentaire saisi par un client : retours à la ligne conservés,
   et un mot très long (ou une adresse web) ne déborde pas de la colonne. */
.temoignage_texte {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.temoignage_auteur {
    overflow-wrap: anywhere;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bleu);
}

.temoignage_ville {
    font-weight: 400;
    color: var(--muted);
}

/* ===========================
   MESSAGES FORMULAIRES
=========================== */
.message_succes,
.message_erreur {
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.message_succes {
    color: #14532D;
    background: #ECFDF3;
    border: 1px solid #86EFAC;
    border-left: 4px solid #16A34A;
}

.message_erreur {
    color: #9B1C1C;
    background: #FFF5F5;
    border: 1px solid #FCA5A5;
    border-left: 4px solid #DC2626;
}

/* ===========================
   FORMULAIRE AVIS
=========================== */
.avis_formulaire {
    background: var(--fond);
    border-radius: var(--radius);
    padding: 28px;
    margin: 32px auto 0;
    max-width: 780px;
    animation: deplier 0.25s cubic-bezier(.4,0,.2,1);
}

@keyframes deplier {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.avis_formulaire h3 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: 2rem;
    color: var(--bleu);
    margin-bottom: 16px;
}

.avis_form_row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.avis_form_actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.btn_annuler {
    background: transparent;
    color: var(--texte);
    border: 1.5px solid var(--border-champ);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font-corps);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition);
}

.btn_annuler:hover { background: var(--blanc); }

.btn_soumettre {
    background: var(--or);
    color: var(--bleu);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-corps);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition);
}

.btn_soumettre:hover { background: var(--or-dark); }

/* Compteur de caractères */
.compteur_chars {
    font-weight: 600;
    margin-left: auto;
    white-space: nowrap;
}

.compteur_chars.compteur_limite { color: #B42318; }

.form_aide {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 6px;
}

.form_legende {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.form_ligne {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form_consentement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.form_consentement input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--bleu);
}

.form_consentement label {
    font-size: 0.875rem;
    color: var(--texte);
    line-height: 1.5;
}

.form_rgpd {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 22px;
}

.form_rgpd a,
.form_consentement a {
    color: var(--bleu);
    font-weight: 600;
}

/* Champ piège anti-spam : hors écran (pas display:none, que certains robots détectent) */
.champ_piege {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ===========================
   CHAMPS (devis, avis, admin)
=========================== */
.form_groupe {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form_groupe label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bleu);
    margin-bottom: 6px;
}

.form_groupe input,
.form_groupe select,
.form_groupe textarea {
    font-family: var(--font-corps);
    font-size: 1rem;
    color: var(--texte);
    background: var(--blanc);
    border: 1.5px solid var(--border-champ);
    border-radius: var(--radius);
    padding: 12px 14px;
    width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form_groupe input:focus,
.form_groupe select:focus,
.form_groupe textarea:focus {
    border-color: var(--bleu);
    box-shadow: 0 0 0 3px rgba(244,168,37,0.35);
}

.form_groupe textarea {
    resize: vertical;
    min-height: 150px;
}

.avis_formulaire .form_groupe textarea { min-height: 110px; }

.form_groupe button {
    font-family: var(--font-corps);
    font-size: 1rem;
    font-weight: 700;
    color: var(--bleu);
    background: var(--or);
    border: none;
    border-radius: var(--radius);
    padding: 15px;
    cursor: pointer;
    transition: background-color var(--transition);
}

.form_groupe button:hover { background: var(--or-dark); }

/* ===========================
   BANDE CTA
=========================== */
.cta_bande {
    position: relative;
    background: var(--bleu);
    padding: 64px var(--marge) 52px;
    text-align: center;
}

.cta_bande::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 22px;
    background: var(--regle);
}

.cta_bande h1,
.cta_bande h2 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 0.95;
    color: var(--blanc);
    margin-bottom: 14px;
}

.cta_bande p {
    font-size: 1.05rem;
    color: var(--sur-bleu);
    margin-bottom: 24px;
}

.cta_actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 28px;
}

.cta_bande a {
    display: inline-flex;
    align-items: center;
    background: var(--or);
    color: var(--bleu);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background-color var(--transition);
}

.cta_bande a:hover { background: var(--blanc); }

.cta_bande .cta_tel {
    background: none;
    padding: 0;
    color: var(--blanc);
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

.cta_bande .cta_tel:hover {
    background: none;
    color: var(--or);
}

/* ===========================
   CONTACT
=========================== */
.contact {
    max-width: var(--largeur-max);
    margin: 48px auto 64px;
    padding: 0 var(--marge);
}

.contact h1 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 0.9;
    color: var(--bleu);
    margin-bottom: 14px;
}

.contact > p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 34em;
}

.contact_contenu {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px;
    align-items: start;
}

.formulaire_devis {
    background: var(--blanc);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.formulaire_titre,
.coordonnees_titre {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1;
    color: var(--bleu);
    margin-bottom: 10px;
}

/* ===========================
   COORDONNÉES (panneau bleu)
=========================== */
.contact_coordonnees {
    background: var(--bleu);
    color: var(--sur-bleu);
    padding: 36px 32px;
    border-radius: var(--radius);
    position: sticky;
    top: 96px;
}

.contact_coordonnees .coordonnees_titre {
    color: var(--blanc);
    margin-bottom: 12px;
}

.contact_coordonnees p {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 14px 0;
    border-bottom: 1px solid var(--bleu-light);
}

.contact_coordonnees p:last-of-type { border-bottom: none; }

.contact_coordonnees a {
    color: var(--or);
    font-weight: 700;
    text-decoration: none;
}

.contact_coordonnees a:hover { text-decoration: underline; }

/* ===========================
   HERO À PROPOS
=========================== */
.about_hero {
    position: relative;
    background-color: var(--bleu);
    padding: 48px var(--marge);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(32px, 6vw, 72px);
}

.about_photo img {
    display: block;
    width: 220px;
    height: 280px;
    object-fit: cover;
    border: 6px solid var(--blanc);
    border-radius: var(--radius);
    box-shadow: 12px 12px 0 var(--or);
}

.about_info { max-width: 640px; }

.about_info h1 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 5.2rem);
    line-height: 0.9;
    color: var(--blanc);
    margin-bottom: 10px;
}

.about_subtitle {
    font-size: 1rem;
    color: var(--or);
    font-weight: 600;
    margin-bottom: 18px;
}

.about_bio {
    font-size: 1.05rem;
    color: var(--sur-bleu);
    line-height: 1.7;
}

/* ===========================
   EXPERTISE
=========================== */
.expertise {
    max-width: var(--largeur-max);
    margin: 56px auto;
    padding: 0 var(--marge);
}

.expertise_liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 48px;
}

.expertise_item {
    border-top: 3px solid var(--bleu);
    padding-top: 18px;
}

.expertise_item h3 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1;
    color: var(--bleu);
    margin-bottom: 10px;
}

.expertise_item p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ===========================
   ENGAGEMENTS
=========================== */
.engagements {
    background: var(--blanc);
    padding: 56px var(--marge);
}

.engagements h2,
.engagements_grid {
    max-width: var(--largeur);
    margin-left: auto;
    margin-right: auto;
}

.engagements_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.engagement_card {
    border-left: 3px solid var(--or);
    padding-left: 22px;
}

.engagement_card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bleu);
    margin-bottom: 8px;
}

.engagement_card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ===========================
   RÉALISATIONS
=========================== */
.realisations {
    max-width: var(--largeur-max);
    margin: 56px auto;
    padding: 0 var(--marge);
}

.realisations h2 { margin-bottom: 14px; }

.realisations_intro {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 20px;
}

/* ===========================
   CARROUSEL RÉALISATIONS
=========================== */
.galerie_carousel {
    display: flex;
    align-items: center;
    gap: 16px;
}

.galerie_viewport {
    overflow: hidden;
    flex: 1;
}

.galerie_track {
    display: flex;
    gap: 16px;
    list-style: none;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.galerie_item {
    flex: 0 0 calc((100% - 32px) / 3);
    overflow: hidden;
    border-radius: var(--radius);
}

.galerie_bouton {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
}

.galerie_item img {
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    object-fit: cover;
    display: block;
}

.galerie_prev,
.galerie_next {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--bleu);
    color: var(--blanc);
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition), color var(--transition);
}

.galerie_prev:hover,
.galerie_next:hover {
    background: var(--or);
    color: var(--bleu);
}

.galerie_prev:disabled,
.galerie_next:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    background: var(--bleu);
    color: var(--blanc);
}

/* ===========================
   LIGHTBOX
=========================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,28,48,0.94);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active { display: flex; }

body.lightbox_ouverte { overflow: hidden; }

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox_fermer {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: var(--blanc);
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 12px;
}

/* ===========================
   FOOTER
=========================== */
footer {
    background: var(--bleu-nuit);
    padding: 40px var(--bord) 0;
}

.footer_inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--bleu-mid);
}

.footer_gauche {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer_liens {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_nav_lien {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--sur-bleu);
    text-decoration: none;
    transition: color var(--transition);
}

.footer_nav_lien:hover { color: var(--or); }

.footer_logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius);
}

.footer_droite p {
    font-size: 0.9rem;
    color: var(--sur-bleu);
    margin-bottom: 8px;
}

.footer_droite .footer_nom {
    font-weight: 600;
    color: var(--blanc);
}

.footer_droite a {
    color: var(--blanc);
    text-decoration: none;
    transition: color var(--transition);
}

.footer_droite a:hover { color: var(--or); }

.footer_bas {
    padding: 20px 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer_legal {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer_legal a {
    font-size: 0.82rem;
    color: var(--sur-bleu);
}

.footer_legal a:hover { color: var(--or); }

.footer_copyright {
    font-size: 0.82rem;
    color: var(--sur-bleu);
}

/* ===========================
   PAGES LÉGALES
=========================== */
.page_legale {
    max-width: 860px;
    margin: 48px auto 64px;
    padding: 0 var(--marge);
}

.page_legale h1 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: clamp(2.6rem, 6vw, 4rem);
    line-height: 0.95;
    color: var(--bleu);
    margin-bottom: 10px;
}

.page_legale .page_maj {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 28px;
}

.page_legale h2 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1;
    color: var(--bleu);
    margin: 36px 0 12px;
    scroll-margin-top: 96px;
}

.page_legale h3 {
    font-size: 1rem;
    color: var(--bleu);
    margin: 20px 0 8px;
}

.page_legale p,
.page_legale li {
    font-size: 1rem;
    color: var(--texte);
    line-height: 1.7;
}

.page_legale p { margin-bottom: 12px; }

.page_legale ul {
    padding-left: 22px;
    margin-bottom: 12px;
}

.page_legale a {
    color: var(--bleu);
    font-weight: 600;
}

.page_legale table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: 0.9rem;
    background: var(--blanc);
}

.page_legale th,
.page_legale td {
    text-align: left;
    vertical-align: top;
    padding: 10px 12px;
    border: 1px solid var(--border);
}

.page_legale th {
    background: var(--fond);
    color: var(--bleu);
}

.tableau_defilant { overflow-x: auto; }

/* ===========================
   TABLETTE (max 1024px)
=========================== */
@media (max-width: 1024px) {

    .cards_grid { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }

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

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

    .galerie_item { flex: 0 0 calc((100% - 16px) / 2); }

    .contact_contenu { grid-template-columns: 1fr; }
    .contact_coordonnees { position: static; }
}

/* ===========================
   TÉLÉPHONE (max 768px)
=========================== */
@media (max-width: 768px) {

    header nav { position: relative; }

    .nav_burger { display: flex; }

    .nav_liens {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bleu);
        padding: 8px var(--bord) 20px;
        gap: 4px;
        border-bottom: 1px solid var(--bleu-light);
        z-index: 100;
    }

    .nav_liens.active { display: flex; }

    .nav_liens a { padding: 12px 0; font-size: 1.05rem; }
    .nav_liens .nav_cta { margin-top: 8px; padding: 14px 18px; text-align: center; }

    .hero {
        grid-template-columns: 1fr;
        padding: 32px var(--marge) 56px;
    }

    .hero_texte { justify-self: stretch; }

    .hero_photo { justify-self: center; }
    .hero_photo img { height: min(70vh, 480px); }

    .prestations,
    .apercu,
    .expertise,
    .realisations { margin: 40px auto; }

    .demarche,
    .temoignages,
    .engagements { padding: 40px var(--marge); }

    .cards_grid,
    .demarche_etapes,
    .temoignages_grid,
    .engagements_grid,
    .expertise_liste,
    .avis_form_row,
    .form_ligne { grid-template-columns: 1fr; }

    .form_ligne { gap: 0; }

    .demarche_etapes li::after { display: none; }

    .apercu_grille { grid-template-columns: repeat(3, 1fr); gap: 8px; }

    .temoignages_header {
        flex-direction: column;
        align-items: flex-start;
    }

    .galerie_item { flex: 0 0 100%; }
    .galerie_prev, .galerie_next { width: 40px; height: 40px; font-size: 1.3rem; }

    .about_hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px var(--marge) 40px;
    }

    .about_photo img { width: 160px; height: 200px; }

    .formulaire_devis { padding: 24px; }
    .contact_coordonnees { padding: 26px 22px; }

    .avis_formulaire { padding: 22px; }
    .avis_form_actions { flex-direction: column-reverse; }
    .avis_form_actions button { width: 100%; }

    .cta_bande { padding: 52px var(--marge) 44px; }

    .footer_inner { flex-direction: column; }
}

/* Mouvement réduit : pas d'animation d'entrée ni de défilement doux */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
