/* ==========================================================
   Climat Dorais inc. : feuille de style v2
   Couleurs tirées du logo : rouge (chaud) et bleu (froid)
   ========================================================== */

/* ---------- Polices hébergées sur le site (aucun appel à Google : Loi 25) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../polices/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../polices/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../polices/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../polices/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 800; font-display: swap; src: url("../polices/barlow-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../polices/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../polices/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Cookie"; font-style: normal; font-weight: 400; font-display: swap; src: url("../polices/cookie-400.woff2") format("woff2"); }

:root {
    --rouge: #d42a30;
    --rouge-fonce: #b01e24;
    --rouge-v1: #c8002a;
    --bleu: #1f4e9c;
    --bleu-fonce: #163a77;
    --marine: #0d1b33;
    --marine-2: #14264a;
    --texte: #1d2433;
    --texte-doux: #5a6475;
    --gris: #f3f5f8;
    --bordure: #e2e6ec;
    --blanc: #fff;

    --police: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    --police-titre: "Barlow Condensed", "Barlow", system-ui, sans-serif;

    --rayon: 0;
    --ombre: 0 1px 2px rgb(13 27 51 / .06), 0 8px 24px rgb(13 27 51 / .08);
    --largeur: 1180px;
    --gouttiere: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--police);
    font-size: 17px;
    line-height: 1.65;
    color: var(--texte);
    background: var(--blanc);
    -webkit-font-smoothing: antialiased;
    /* Le pied de page reste collé au bas de l'écran, même sur les pages courtes (404, merci) */
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rouge); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.icone { flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 0; }

.conteneur {
    width: 100%;
    max-width: var(--largeur);
    margin-inline: auto;
    padding-inline: var(--gouttiere);
}

.sauter {
    position: absolute; left: -999px; top: 8px; z-index: 100;
    background: var(--marine); color: #fff; padding: 8px 14px; border-radius: 0;
}
.sauter:focus { left: 8px; }

/* ---------- Boutons ---------- */
.bouton {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .7em 1.25em;
    border: 2px solid transparent; border-radius: 0;
    font: 600 1rem/1.2 var(--police); letter-spacing: .01em;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.bouton:hover { transform: translateY(-1px); }
.bouton--grand { padding: .9em 1.6em; font-size: 1.05rem; }
.bouton--rouge { background: var(--rouge); color: #fff; }
.bouton--rouge:hover { background: var(--rouge-fonce); color: #fff; }
.bouton--clair { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .55); backdrop-filter: blur(4px); }
.bouton--clair:hover { background: #fff; color: var(--marine); }
.bouton--blanc { background: #fff; color: var(--bleu-fonce); }
.bouton--blanc:hover { background: var(--marine); color: #fff; }
.bouton--contour { color: #fff; border-color: rgb(255 255 255 / .7); }
.bouton--contour:hover { background: #fff; color: var(--bleu-fonce); }
.bouton--contour-bleu { color: var(--bleu); border-color: var(--bleu); }
.bouton--contour-bleu:hover { background: var(--bleu); color: #fff; }
.bouton--gris { background: var(--gris); color: var(--texte-doux); }
.bouton--gris:hover { background: var(--bordure); color: var(--texte); }

/* ---------- Barre d'info ---------- */
.barre-info { background: var(--marine); color: #c9d3e6; font-size: .875rem; }
.barre-info__int { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.barre-info__slogan { font-weight: 500; letter-spacing: .04em; }
.barre-info__liens { display: flex; align-items: center; gap: 18px; }
.barre-info a { color: #c9d3e6; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.barre-info a:hover { color: #fff; }
.barre-info__langue {
    font-weight: 700; border: 1px solid rgb(255 255 255 / .35); border-radius: 0; padding: 1px 8px;
}

/* ---------- En-tête ---------- */
.entete {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / .96); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--bordure);
    transition: box-shadow .2s;
}
.entete.est-defile { box-shadow: 0 4px 20px rgb(13 27 51 / .08); }
.entete__int { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.entete__logo img { width: 128px; height: auto; transition: width .2s; }
.entete.est-defile .entete__logo img { width: 104px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
    display: block; padding: 10px 16px;
    font: 600 1.05rem var(--police); text-transform: uppercase; letter-spacing: .06em;
    color: var(--texte); text-decoration: none; border-radius: 0;
    position: relative;
}
.nav a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; border-radius: 0;
    background: linear-gradient(90deg, var(--rouge), var(--bleu));
    transform: scaleX(0); transition: transform .25s;
}
.nav a:hover { color: var(--bleu); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--bleu); }
.nav__langue-mobile { display: none; }

.nav__bouton {
    display: none; margin-left: auto;
    background: none; border: 0; padding: 8px; color: var(--marine); cursor: pointer;
}

/* ---------- Héros (accueil) ---------- */
.heros {
    background: var(--marine);
    position: relative; isolation: isolate; overflow: hidden;
    color: #fff; min-height: min(78vh, 680px);
    display: flex; align-items: center;
}
.heros__fond, .bandeau__fond {
    position: absolute; inset: 0; z-index: -1;
    background-size: cover; background-position: center;
}
.heros__fond::after, .bandeau__fond::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(100deg, rgb(13 27 51 / .92) 0%, rgb(13 27 51 / .75) 45%, rgb(31 78 156 / .35) 100%);
}
.heros__int { padding-block: 96px; }
.surtitre {
    font: 600 .9rem var(--police); text-transform: uppercase; letter-spacing: .14em;
    color: #9fb4da; margin-bottom: 14px;
}
.surtitre--rouge { color: var(--rouge); }
.surtitre--bleu { color: var(--bleu); }
.heros__titre-groupe { margin: 0; font-weight: inherit; line-height: inherit; }
.heros__titre { display: block;
    font-size: clamp(3.4rem, 9vw, 6.5rem); margin-bottom: 18px;
    text-shadow: 0 2px 18px rgb(0 0 0 / .35);
}
/* Slogan « Consultez des Experts! » : même police et couleur que la v1.
   La police Cookie est RÉSERVÉE à ce slogan : ne l'utiliser nulle part ailleurs sur le site. */
.slogan-v1 {
    font-family: "Cookie", cursive; font-weight: 400; font-style: italic;
    color: var(--rouge-v1); line-height: 1.05; letter-spacing: 0; text-transform: none;
}
.heros__domaines {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 500; margin-bottom: 36px;
}
.chaud, .froid { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 0; }
.chaud { background: var(--rouge); }
.froid { background: var(--bleu); }
.heros__boutons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Bande de confiance ---------- */
.confiance { background: var(--blanc); border-bottom: 1px solid var(--bordure); }
.confiance__grille { display: grid; grid-template-columns: repeat(4, 1fr); }
.confiance__item {
    display: flex; align-items: center; gap: 14px; padding: 26px 18px;
    border-left: 1px solid var(--bordure);
}
.confiance__item:first-child { border-left: 0; padding-left: 0; }
.confiance__item .icone { color: var(--rouge); }
.confiance__item:nth-child(even) .icone { color: var(--bleu); }
.confiance__item strong { display: block; font-size: 1rem; line-height: 1.3; }
.confiance__item span { display: block; color: var(--texte-doux); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--gris { background: var(--gris); }
.section--sombre { background: var(--marine); color: #dbe3f1; }
.titre-section {
    font-family: var(--police-titre); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 2.75rem); color: var(--marine); letter-spacing: .01em;
}
.titre-section--clair { color: #fff; margin: 0; }
.titre-section--centre { text-align: center; margin-bottom: 36px; }
.entete-section { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.lien-fleche { color: #c9d3e6; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.lien-fleche:hover { color: #fff; }

.deux-colonnes { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.deux-colonnes--large { grid-template-columns: 2fr 1fr; align-items: start; }
.texte p { color: #3a4354; }

.image-cadre { margin: 0; position: relative; isolation: isolate; }
.image-cadre img { width: 100%; border-radius: 0; box-shadow: var(--ombre); object-fit: cover; aspect-ratio: 3 / 4; }
.image-cadre::before {
    content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
    border-radius: 0;
    background: linear-gradient(135deg, var(--rouge), var(--bleu));
}
.image-cadre--collant { position: sticky; top: 120px; }

/* ---------- Cartes ---------- */
.cartes { display: grid; gap: 24px; }
.cartes--4 { grid-template-columns: repeat(4, 1fr); }
.cartes--2 { grid-template-columns: repeat(2, 1fr); }
.cartes--serre { gap: 18px; }
.carte {
    background: var(--blanc); border: 1px solid var(--bordure); border-radius: 0;
    padding: 28px; box-shadow: var(--ombre);
}
.carte__icone {
    display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 0;
    background: #e9eef8; color: var(--bleu); flex-shrink: 0;
}
.carte--activite { text-align: center; padding: 34px 20px; }
.carte--activite h3 { font-size: 1.15rem; margin: 16px 0 0; color: var(--marine); }
.carte--activite:nth-child(odd) .carte__icone { background: #fbe9ea; color: var(--rouge); }

.carte__entete { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.carte__entete h2 { font-size: 1.25rem; margin: 0; color: var(--marine); }

.carte--produits { border-top: 5px solid var(--bleu); padding: 34px; }
.carte--rouge { border-top-color: var(--rouge); }
.carte--rouge .carte__icone { background: #fbe9ea; color: var(--rouge); }

.liste-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.liste-check li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--bordure); }
.liste-check li:last-child { border-bottom: 0; }
.liste-check .icone { color: var(--bleu); margin-top: 4px; }
.carte--rouge .liste-check .icone { color: var(--rouge); }

.carte--qualif { padding: 24px; }
.carte--qualif .carte__icone { width: 44px; height: 44px; border-radius: 0; }
.carte--qualif h2 { font-size: 1.1rem; }
.carte--vedette { grid-column: 1 / -1; background: linear-gradient(120deg, var(--marine), var(--bleu-fonce)); color: #fff; border: 0; }
.carte--vedette h2 { color: #fff; }
.carte--vedette .carte__icone { background: rgb(255 255 255 / .12); color: #fff; }
.carte--vedette .liste-simple li { color: #dbe3f1; }
.carte--vedette .liste-simple li::before { background: var(--rouge); }

.liste-simple { list-style: none; margin: 0; padding: 0; }
.liste-simple li { position: relative; padding: 7px 0 7px 18px; color: #3a4354; font-size: .97rem; line-height: 1.5; }
.liste-simple li::before {
    content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 0;
    background: var(--bleu);
}

/* ---------- Produits ---------- */
.intro { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.intro__texte { font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 500; color: var(--marine); }
.pastille {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fbe9ea; color: var(--rouge-fonce); font-weight: 700;
    padding: 8px 18px; border-radius: 0; margin: 0;
}
.marques { text-align: center; margin-top: 64px; }
.marques__titre { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--texte-doux); font-weight: 600; }
.marques__logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 56px; margin-top: 20px; }
.marques__logos img { height: 30px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.marques__logos img:hover { filter: none; opacity: 1; }

/* ---------- Mission ---------- */
.mission { text-align: center; }
.mission__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; margin-top: 8px; }
.mission__bloc { padding: 32px; border-radius: 0; background: var(--gris); border-left: 5px solid var(--bleu); }
.mission__bloc--rouge { border-left-color: var(--rouge); }
.mission__bloc p { margin: 0; font-size: 1.05rem; color: #3a4354; }

/* ---------- Clients ---------- */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.clients__item {
    background: var(--blanc); border: 1px solid var(--bordure); border-radius: 0;
    padding: 22px 24px; display: flex; flex-direction: column;
}
.clients__item strong { font-family: var(--police-titre); font-size: 1.4rem; color: var(--marine); text-transform: uppercase; letter-spacing: .02em; }
.clients__item span { color: var(--texte-doux); font-size: .95rem; }

/* ---------- Diaporama (fond du haut de page) ---------- */
.diaporama__diapo {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.6s ease;
}
.diaporama__diapo.est-active {
    opacity: 1;
    animation: zoom-lent 9s ease-out forwards;
}
.heros__fond::after, .bandeau__fond::after { z-index: 1; }
@keyframes zoom-lent {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.diaporama-points {
    position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2;
    display: flex; justify-content: center; gap: 8px;
}
.diaporama-points button {
    width: 34px; height: 4px; padding: 0; border: 0; cursor: pointer;
    background: rgb(255 255 255 / .35); transition: background-color .3s;
}
.diaporama-points button[aria-current="true"] { background: #fff; }

/* ---------- Bande défilante ---------- */
.defilant {
    background: var(--marine); color: #fff; overflow: hidden;
    border-top: 4px solid var(--rouge); border-bottom: 4px solid var(--bleu);
}
.defilant__piste { display: flex; width: max-content; animation: defiler 45s linear infinite; }
.defilant:hover .defilant__piste { animation-play-state: paused; }
.defilant__liste { display: flex; list-style: none; margin: 0; padding: 0; }
.defilant__liste li {
    display: flex; align-items: center; gap: 28px; padding: 22px 28px 22px 0;
    font-family: var(--police-titre); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: .03em; white-space: nowrap;
}
.defilant__puce { width: 12px; height: 12px; flex-shrink: 0; transform: rotate(45deg); }
.defilant__puce--rouge { background: var(--rouge); }
.defilant__puce--bleu { background: #4f86e0; }
@keyframes defiler {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Apparition au défilement ---------- */
.apparait { opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out, transform .5s ease-out; }
.apparait.est-visible { opacity: 1; transform: none; }

/* ---------- Appel à l'action ---------- */
.appel { background: var(--blanc); color: var(--texte); border-top: 1px solid var(--bordure); }
.appel__int { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: 56px; }
.appel--camion .appel__int { flex-wrap: nowrap; padding-block: 40px; }
.appel__camion {
    width: 340px; flex-shrink: 0;
    filter: drop-shadow(0 14px 14px rgb(13 27 51 / .18));
}
.appel--camion .appel__texte { flex: 1; }
.appel__titre { font-size: clamp(2.8rem, 6vw, 4rem); margin: 0; }
.appel p { margin: 0; color: var(--texte-doux); }
.appel__boutons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Bandeau des pages intérieures ---------- */
.bandeau { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--marine); }
.bandeau__int { padding-block: clamp(64px, 10vw, 112px); }
.bandeau__titre {
    font-family: var(--police-titre); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 8px;
}
.bandeau__sous { color: #c9d3e6; margin: 0; font-weight: 500; }
.bandeau--simple { background: linear-gradient(110deg, var(--marine), var(--bleu-fonce)); }
.bandeau--simple .bandeau__int { padding-block: 56px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__proprio { color: var(--texte-doux); }
.contact__proprio strong { color: var(--texte); font-size: 1.1rem; }
.contact__liste { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__liste li { display: flex; gap: 16px; align-items: flex-start; }
.contact__icone {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 0;
    background: #e9eef8; color: var(--bleu); flex-shrink: 0;
}
.contact__liste li:nth-child(odd) .contact__icone { background: #fbe9ea; color: var(--rouge); }
.contact__liste small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 600; color: var(--texte-doux); }
.contact__liste a { font-weight: 600; text-decoration: none; }
.contact__liste em { display: block; font-size: .85rem; color: var(--texte-doux); }

.contact__formulaire { padding: clamp(24px, 4vw, 40px); border-top: 5px solid var(--rouge); }
.contact__formulaire h2 { font-family: var(--police-titre); text-transform: uppercase; font-size: 2rem; color: var(--marine); margin-bottom: 4px; }
.contact__avertissement {
    display: inline-block; background: #fff4e0; color: #8a5a00; font-weight: 600; font-size: .85rem;
    text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 0; margin-bottom: 24px;
}

.formulaire { display: grid; gap: 18px; }
.formulaire__rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: grid; gap: 6px; }
.champ span { font-weight: 600; font-size: .92rem; }
.champ input, .champ textarea {
    width: 100%; font: inherit; color: var(--texte);
    padding: 12px 14px; border: 1.5px solid var(--bordure); border-radius: 0; background: #fbfcfd;
    transition: border-color .2s, box-shadow .2s;
}
.champ input:focus, .champ textarea:focus { outline: 0; border-color: var(--bleu); box-shadow: 0 0 0 4px rgb(31 78 156 / .15); background: #fff; }
.champ textarea { resize: vertical; min-height: 140px; }
.champ--court { max-width: 220px; }
.formulaire__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__note { font-size: .85rem; color: var(--texte-doux); margin: 0; }
.formulaire__boutons { display: flex; gap: 12px; flex-wrap: wrap; }

.message { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 0; margin-bottom: 18px; font-weight: 500; }
.message--ok { background: #e7f6ec; color: #17663a; }
.message--erreur { background: #fdecec; color: #a3181e; }

.carte-geo { background: var(--gris); border-top: 1px solid var(--bordure); }
.carte-geo iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.3); }
.carte-geo__attente {
    min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    padding: 40px var(--gouttiere); text-align: center;
    background-image: linear-gradient(rgb(31 78 156 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(31 78 156 / .06) 1px, transparent 1px);
    background-size: 32px 32px;
}
.carte-geo__icone { display: grid; place-items: center; width: 64px; height: 64px; background: #fbe9ea; color: var(--rouge); }
.carte-geo__adresse { margin: 0; font-weight: 600; color: var(--marine); font-size: 1.1rem; }
.carte-geo__boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.carte-geo__note { margin: 4px 0 0; max-width: 520px; font-size: .85rem; color: var(--texte-doux); }

/* ---------- Texte légal ---------- */
.texte-legal { max-width: 820px; margin-inline: auto; }
.texte-legal h2 { font-size: 1.45rem; color: var(--marine); margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--bordure); }
.texte-legal h3 { font-size: .95rem; letter-spacing: .08em; color: var(--bleu); margin-top: 1.6em; }
.texte-legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.texte-legal li { margin-bottom: .3em; }
.texte-legal p, .texte-legal li { color: #3a4354; }

/* ---------- Fil d'Ariane ---------- */
.ariane ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: #c9d3e6; }
.ariane li + li::before { content: "›"; margin-right: 6px; color: #8392b0; }
.ariane a { color: #fff; text-decoration: none; }
.ariane a:hover { text-decoration: underline; color: #fff; }

/* ---------- FAQ ---------- */
.faq__liste { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--bordure); }
.faq__item {
    border-bottom: 1px solid var(--bordure); overflow: hidden;
    border-left: 4px solid transparent;
    transition: border-color .35s ease, background-color .35s ease;
}
.faq__item.est-ouvert { border-left-color: var(--rouge); background: var(--gris); }
.faq__item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 18px; font-weight: 600; font-size: 1.08rem; color: var(--marine);
    transition: color .25s ease;
}
.faq__item summary:hover, .faq__item.est-ouvert summary { color: var(--rouge); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__signe { position: relative; width: 14px; height: 14px; flex-shrink: 0; transition: transform .38s cubic-bezier(.4, 0, .2, 1); }
.faq__item.est-ouvert .faq__signe { transform: rotate(180deg); }
.faq__signe::before, .faq__signe::after { content: ""; position: absolute; background: var(--rouge); }
.faq__signe::before { left: 0; right: 0; top: 6px; height: 2px; }
.faq__signe::after { top: 0; bottom: 0; left: 6px; width: 2px; transition: transform .38s cubic-bezier(.4, 0, .2, 1); }
.faq__item.est-ouvert .faq__signe::after { transform: scaleY(0); }
.faq__item p { margin: 0; padding: 0 18px 22px; color: #3a4354; max-width: 70ch; }

/* ---------- Avis clients ---------- */
.cartes--3 { grid-template-columns: repeat(3, 1fr); }
.avis { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.avis__etoiles { color: #f2a900; letter-spacing: 2px; font-size: 1.1rem; }
.avis blockquote { margin: 0; color: #3a4354; flex: 1; }
.avis figcaption { color: var(--texte-doux); font-size: .92rem; }
.avis figcaption strong { color: var(--texte); }

/* ---------- Itinéraire ---------- */
.lien-itineraire { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: .92rem; }

/* ---------- Pages simples (404, merci) ---------- */
.page-simple { background: var(--gris); }
/* Pages courtes : la zone grise remplit l'espace et le message est centré verticalement */
main:has(> .page-simple:only-child) { display: flex; flex-direction: column; }
main > .page-simple:only-child { flex: 1; display: flex; align-items: center; }
.page-simple__int { text-align: center; padding-block: clamp(64px, 12vw, 128px); max-width: 720px; }
.page-simple__code {
    font-family: var(--police-titre); font-weight: 700; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; margin: 0;
    background: linear-gradient(90deg, var(--rouge), var(--bleu)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-simple__icone { display: inline-grid; place-items: center; width: 80px; height: 80px; margin-bottom: 12px; }
.page-simple__icone--ok { background: #e7f6ec; color: #17663a; }
.page-simple__titre {
    font-family: var(--police-titre); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--marine); margin-bottom: 8px;
}
.page-simple__texte { font-size: 1.15rem; color: #3a4354; }
.page-simple__petit { color: var(--texte-doux); margin: 28px 0 10px; }
.page-simple__boutons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.page-simple__liens { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }

/* ---------- Barre d'appel collante (mobile seulement) ---------- */
.barre-mobile { display: none; }


/* ---------- Clients existants seulement ---------- */
.mention-existants {
    display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0;
    font-size: .92rem; line-height: 1.5; color: var(--texte-doux); max-width: 640px;
}
.mention-existants .icone { color: var(--rouge); margin-top: 2px; }
.mention-existants strong { color: var(--texte); }
.mention-existants--clair { color: #dbe3f1; margin-top: 24px; }
.mention-existants--clair strong { color: #fff; }
.mention-existants--clair .icone { color: #fff; }

.avis-existants {
    display: flex; gap: 18px; align-items: flex-start;
    background: #fff8e8; border-left: 5px solid #e0a100; padding: 22px 26px; margin-bottom: 48px;
}
.avis-existants__icone { color: #a87400; }
.avis-existants strong { display: block; font-size: 1.15rem; color: var(--marine); margin-bottom: 2px; }
.avis-existants p { margin: 0; color: #4a4030; }

/* ---------- Bannière de témoins (cookies) ---------- */
.temoins {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
    max-width: 920px; margin-inline: auto;
    display: flex; align-items: center; gap: 24px;
    background: #fff; border-top: 4px solid var(--bleu); padding: 18px 22px;
    box-shadow: 0 10px 40px rgb(13 27 51 / .25);
}
.temoins[hidden] { display: none; }
.temoins__texte { flex: 1; font-size: .92rem; color: #3a4354; }
.temoins__texte p { margin: 0; }
.temoins__titre { font-weight: 700; color: var(--marine); margin-bottom: 2px !important; }
.temoins__boutons { display: flex; gap: 10px; flex-shrink: 0; }
.pied__lien-bouton {
    background: none; border: 0; padding: 0; cursor: pointer;
    font: inherit; color: #d4dcec; text-align: left;
}
.pied__lien-bouton:hover { color: #fff; text-decoration: underline; }

/* ---------- Chargement en douceur ---------- */
/* Le texte et les photos du haut de page apparaissent en fondu une fois les polices prêtes */
.js .heros__int, .js .bandeau__int, .js .diaporama { transition: opacity .6s ease-out; }
.js:not(.polices-pretes) .heros__int,
.js:not(.polices-pretes) .bandeau__int,
.js:not(.polices-pretes) .diaporama { opacity: 0; }

/* Fondu enchaîné entre les pages (Chrome, Edge, Safari récents) ; la barre du haut reste en place */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; animation-timing-function: ease; }
.barre-info { view-transition-name: barre-info; }
.entete { view-transition-name: entete; }
.barre-mobile { view-transition-name: barre-mobile; }

/* ---------- Pied de page ---------- */
.pied { background: var(--marine); color: #aeb9cf; font-size: .95rem; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding-block: 64px 48px; }
.pied__marque img { width: 170px; height: auto; margin-bottom: 18px; }
.pied__rbq { font-size: .85rem; color: #8392b0; }
.pied__titre { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.pied__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied__liste--icones li { display: flex; gap: 10px; align-items: flex-start; }
.pied__liste--icones .icone { margin-top: 3px; color: #6f86b5; }
.pied a { color: #d4dcec; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied__bas { border-top: 1px solid rgb(255 255 255 / .08); font-size: .85rem; }
.pied__bas-int { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 20px; }
.pied__credits { color: #8392b0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .heros__domaines .chaud, .heros__domaines .froid { display: none; }
    .cartes--4 { grid-template-columns: repeat(2, 1fr); }
    .confiance__grille { grid-template-columns: repeat(2, 1fr); }
    .confiance__item { border-left: 0; padding-left: 0; }
    .pied__grille { grid-template-columns: 1fr 1fr; }
    .entete__tel span { display: none; }
    .entete__tel { padding: .7em; }
}

@media (max-width: 1024px) {
    .appel--camion .appel__int { flex-wrap: wrap; }
    .appel__camion { width: 280px; }
}

@media (max-width: 860px) {
    .barre-mobile {
        display: grid; grid-template-columns: 1fr 1fr;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        box-shadow: 0 -6px 20px rgb(13 27 51 / .15);
    }
    .barre-mobile__bouton {
        display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px;
        background: var(--bleu); color: #fff; font-weight: 700; text-decoration: none;
    }
    .barre-mobile__bouton--rouge { background: var(--rouge); }
    .barre-mobile__mention {
        grid-column: 1 / -1; margin: 0; padding: 4px 8px; text-align: center;
        background: var(--marine); color: #dbe3f1; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    }
    .barre-mobile__bouton:hover { color: #fff; }
    body { padding-bottom: 82px; }
    .temoins { flex-direction: column; align-items: stretch; gap: 14px; bottom: 92px; left: 10px; right: 10px; }
    .temoins__boutons .bouton { flex: 1; }
    .cartes--3 { grid-template-columns: 1fr; }
    .heros__int { padding-block: 64px 56px; }
    .appel__camion { margin-inline: auto; }
    .nav__bouton { display: block; margin-left: 0; }
    .entete__tel { margin-left: auto; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0; margin: 0;
        background: #fff; border-bottom: 1px solid var(--bordure); box-shadow: 0 12px 24px rgb(13 27 51 / .1);
        display: none;
    }
    .nav.est-ouvert { display: block; }
    .nav ul { flex-direction: column; padding: 8px var(--gouttiere) 16px; }
    .nav a { padding: 14px 4px; border-bottom: 1px solid var(--bordure); }
    .nav a::after { display: none; }
    .nav__langue-mobile { display: block; }
    .nav__langue-mobile a { text-transform: none; color: var(--texte-doux); border-bottom: 0; }

    .deux-colonnes, .deux-colonnes--large, .contact, .mission__grille, .cartes--2 { grid-template-columns: 1fr; }
    .image-cadre { max-width: 420px; margin-inline: auto; }
    .image-cadre--collant { position: relative; top: 0; }
    .clients { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .barre-info__slogan, .barre-info__liens a span { display: none; }
    .barre-info__int { justify-content: flex-end; }
    .entete__int { min-height: 70px; }
    .entete__logo img { width: 96px; }
    .confiance__grille, .cartes--4, .clients, .pied__grille { grid-template-columns: 1fr; }
    .confiance__item { padding: 16px 0; border-top: 1px solid var(--bordure); }
    .confiance__item:first-child { border-top: 0; }
    .formulaire__rangee { grid-template-columns: 1fr; }
    .heros__boutons .bouton, .appel__boutons .bouton { width: 100%; }
    .image-cadre::before { inset: 12px -10px -10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    .diaporama__diapo.est-active, .defilant__piste { animation: none; }
    .apparait { opacity: 1; transform: none; }
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
