/* Vexy — marque principale (logistique) : écran partagé, titre fixe à gauche, contenu qui défile à droite. Police Switzer. */
:root {
  --bg: #fafafa;
  --blanc: #ffffff;
  --gris: #f1f1f0;
  --ligne: #e8e8e8;
  --texte: #111111;
  --doux: #6f6f6f;
  --pale: #a3a3a3;
  --sans: "Switzer", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--texte); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; font-weight: inherit; font-size: inherit; }
b, strong { font-weight: 500; }
button { font: inherit; color: inherit; }
.souligne { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.souligne:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Mise en page ---------- */
.ecran { display: grid; grid-template-columns: 1fr 1fr; }
.gauche { position: sticky; top: 0; height: 100vh; height: 100dvh; padding: 32px var(--pad); border-right: 1px solid var(--ligne); display: grid; grid-template-rows: auto 1fr auto; }
.droite { padding: 0 var(--pad); min-width: 0; }

/* Colonne gauche */
.marque { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 17px; letter-spacing: -.01em; justify-self: start; }
.marque i { width: 9px; height: 9px; border-radius: 50%; background: var(--texte); }
.titre-fixe { align-self: center; }
.titre-fixe .h { font-weight: 300; font-size: clamp(38px, 5vw, 74px); line-height: 1.03; letter-spacing: -.045em; max-width: 13ch; }
.titre-fixe p { margin-top: 24px; color: var(--doux); font-size: 15px; max-width: 380px; }
.titre-fixe .bloc { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.titre-fixe .bloc.sort { opacity: 0; transform: translateY(-10px); }
.bas-gauche { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sommaire { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13px; color: var(--pale); }
.sommaire a { display: flex; align-items: center; gap: 10px; transition: color .3s; }
.sommaire a::before { content: ""; width: 12px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.sommaire a:hover, .sommaire a.actif { color: var(--texte); }
.sommaire a.actif::before { width: 28px; }
.contact-rapide { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 15px; }

/* Colonne droite : sections */
.bloc-d { padding: 120px 0; }
.bloc-d:first-child { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0; }
.num { display: block; font-size: 13px; color: var(--pale); margin-bottom: 28px; }
.titre-mobile { display: none; }
.intro { color: var(--doux); max-width: 520px; margin-bottom: 40px; }

/* Listes à filets */
.liste { border-top: 1px solid var(--ligne); }
.ligne { border-bottom: 1px solid var(--ligne); }
.ligne > .tete { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.ligne h3 { font-weight: 400; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.025em; line-height: 1.15; }
.ligne .sous { display: block; color: var(--pale); font-size: 14px; letter-spacing: 0; margin-top: 5px; }
.rond { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #dcdcdc; display: grid; place-items: center; flex: none; font-size: 16px; transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.ligne:hover .rond, .ligne.ouvert .rond { background: var(--texte); border-color: var(--texte); color: #fff; }
.ligne.ouvert .rond { transform: rotate(90deg); }
.detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.detail > div { overflow: hidden; }
.ligne.ouvert .detail { grid-template-rows: 1fr; }
.detail ul { list-style: none; margin: 0; padding: 0 0 30px; display: grid; gap: 8px; color: var(--doux); font-size: 15px; }
.detail li { display: flex; gap: 12px; }
.detail li::before { content: ""; width: 10px; height: 1px; margin-top: 12px; background: var(--pale); flex: none; }

/* Étapes : le fil se remplit au défilement */
.etapes { position: relative; padding-left: 52px; }
.etapes::before, .etapes .fil { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--ligne); }
.etapes .fil { background: var(--texte); bottom: auto; height: 0; }
.etape { position: relative; padding: 0 0 52px; }
.etape:last-child { padding-bottom: 0; }
.etape::before { content: ""; position: absolute; left: -52px; top: 9px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid #cfcfcf; transition: background .4s, border-color .4s; z-index: 1; }
.etape.atteinte::before { background: var(--texte); border-color: var(--texte); }
.etape h3 { font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; }
.etape p { color: var(--doux); margin-top: 6px; max-width: 460px; }
.etape small { display: block; color: var(--pale); font-size: 13px; margin-top: 10px; }

/* Réalisations */
.demos { display: grid; gap: 72px; }
.demo-cadre { background: var(--gris); padding: clamp(32px, 5vw, 60px) 20px; display: grid; place-items: center; }
.demo-legende { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; }
.demo-legende h3 { font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.demo-legende p { color: var(--doux); font-size: 15px; margin-top: 4px; max-width: 420px; }
.demo-legende span { color: var(--pale); font-size: 13px; white-space: nowrap; }
.mini { width: 100%; max-width: 320px; background: var(--blanc); padding: 20px; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 40px -20px rgba(0,0,0,.18); }
.mini .t { font-weight: 500; margin-bottom: 12px; }
.mini .l { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--ligne); }
.mini .l:last-of-type { border-bottom: 0; }
.qte { display: inline-flex; align-items: center; gap: 10px; }
.qte button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--ligne); background: var(--blanc); cursor: pointer; line-height: 1; transition: border-color .2s; }
.qte button:hover { border-color: var(--texte); }
.qte b { min-width: 14px; text-align: center; }
.mini .go { margin-top: 14px; width: 100%; padding: 12px; border: 0; background: var(--texte); color: #fff; font-size: 13px; cursor: pointer; }
.jours { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 8px; }
.heures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.jours span, .heures span { text-align: center; padding: 8px 0; border: 1px solid var(--ligne); cursor: pointer; transition: .2s; font-size: 13px; }
.jours small { display: block; color: var(--pale); font-size: 11px; }
.heures span.pris { color: #c4c4c4; text-decoration: line-through; cursor: default; background: var(--bg); }
.choisi { background: var(--texte) !important; border-color: var(--texte) !important; color: #fff; }
.choisi small { color: #aaa !important; }
.progres { height: 3px; background: var(--ligne); margin: 14px 0 8px; }
.progres i { display: block; height: 100%; width: 0; background: var(--texte); transition: width .4s var(--ease); }
.note { color: var(--doux); font-size: 12px; }
.voiture { width: 100%; max-width: 340px; display: block; }
.voiture .zone { fill: var(--blanc); stroke: #bdbdbd; stroke-width: 1; cursor: pointer; transition: fill .25s; }
.voiture .zone:hover { fill: #e4e4e4; }
.voiture .zone.touche { fill: var(--texte); }
.voiture-info { margin-top: 14px; text-align: center; font-size: 13px; color: var(--doux); min-height: 1.4em; }

/* Prix */
.prix-l { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--ligne); }
.prix-l h3 { font-weight: 400; font-size: clamp(22px, 2.3vw, 28px); letter-spacing: -.025em; }
.prix-l h3 em { font-style: normal; font-size: 11px; letter-spacing: .03em; color: #fff; background: var(--texte); padding: 3px 8px; border-radius: 99px; margin-left: 10px; vertical-align: 5px; }
.prix-l .montant { font-weight: 300; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.04em; white-space: nowrap; }
.prix-l .montant small { font-size: 14px; color: var(--pale); letter-spacing: 0; }
.prix-l p { grid-column: 1 / -1; color: var(--doux); font-size: 15px; max-width: 560px; }
.sous-titre { font-size: 13px; color: var(--pale); margin: 72px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--ligne); }
.petits .prix-l { padding: 18px 0; }
.petits .prix-l h3 { font-size: 18px; }
.petits .prix-l .montant { font-size: 22px; }
.mention { margin-top: 28px; color: var(--pale); font-size: 13px; max-width: 560px; }

/* Engagements */
.deux { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ligne); }
.deux > div { padding: 30px 30px 34px 0; border-bottom: 1px solid var(--ligne); }
.deux > div:nth-child(odd) { border-right: 1px solid var(--ligne); }
.deux > div:nth-child(even) { padding-left: 30px; padding-right: 0; }
.deux h3 { font-weight: 400; font-size: 21px; letter-spacing: -.02em; }
.deux p { color: var(--doux); font-size: 15px; margin-top: 6px; }

/* Questions */
details { border-bottom: 1px solid var(--ligne); }
details:first-of-type { border-top: 1px solid var(--ligne); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-size: 19px; letter-spacing: -.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--doux); padding: 0 40px 26px 0; }

/* Contact */
.form { display: grid; }
.champ { display: block; border-bottom: 1px solid var(--ligne); transition: border-color .3s; }
.champ:focus-within { border-color: var(--texte); }
.champ span { display: block; font-size: 12px; color: var(--pale); padding-top: 18px; }
.champ input, .champ select, .champ textarea { width: 100%; border: 0; background: transparent; padding: 6px 0 12px; font: 400 17px var(--sans); color: var(--texte); outline: none; border-radius: 0; -webkit-appearance: none; appearance: none; }
.champ textarea { min-height: 96px; resize: vertical; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.envoyer { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 0 0; background: none; border: 0; cursor: pointer; font-size: 22px; letter-spacing: -.02em; text-align: left; }
.envoyer .rond { width: 48px; height: 48px; background: var(--texte); color: #fff; border-color: var(--texte); }
.envoyer:hover .rond { transform: translateX(6px); }
.etat { font-size: 14px; color: var(--doux); min-height: 1.4em; margin-top: 12px; }
.piege { position: absolute; left: -9999px; }
.coord { display: grid; gap: 4px; margin-top: 44px; font-size: 15px; color: var(--doux); }

.pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 0 32px; border-top: 1px solid var(--ligne); font-size: 13px; color: var(--pale); }
.pied a:hover { color: var(--texte); }

.texte-long h2 { font-weight: 500; font-size: 17px; margin: 40px 0 8px; }
.texte-long p { color: var(--doux); margin-bottom: 8px; }

/* ---------- Spécifique Vexalia ---------- */
.marque img { height: 26px; width: auto; display: block; }
.petit-titre { font-size: 13px; color: var(--pale); margin-bottom: 18px; }
.corps { color: var(--doux); margin-top: 18px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.lien-fort { display: inline-flex; align-items: center; gap: 14px; font-size: 20px; letter-spacing: -.02em; }
.lien-fort .rond { background: var(--texte); border-color: var(--texte); color: #fff; }
.lien-fort:hover .rond { transform: translateX(6px); }
/* Avant / après : la barre se réduit quand elle apparaît */
.avant-apres { border-top: 1px solid var(--ligne); }
.aa { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.aa-tache { font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -.02em; }
.aa-temps { font-size: 15px; color: var(--doux); white-space: nowrap; }
.aa-temps s { color: var(--pale); }
.aa-temps b { color: var(--texte); }
.aa-barre { grid-column: 1 / -1; height: 3px; background: var(--ligne); }
.aa-barre i { display: block; height: 100%; width: var(--avant); background: var(--texte); transition: width 1.6s var(--ease) .4s; }
.vu .aa-barre i { width: var(--apres); }
/* Chantiers */
.chantier { display: grid; gap: 12px; padding-bottom: 30px; color: var(--doux); font-size: 15px; max-width: 600px; }
.chantier b { color: var(--texte); }
.chantier .mesure { color: var(--pale); font-size: 14px; }
/* Vigil */
.video { background: var(--gris); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #e9e9e7; }
.chiffre { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ligne); }
.chiffre .grand { display: block; font-weight: 300; font-size: clamp(54px, 7vw, 96px); letter-spacing: -.05em; line-height: 1; }
.chiffre p { color: var(--doux); margin-top: 14px; max-width: 520px; }
.chiffre .mention { margin-top: 10px; }
/* Méthode : vous / nous */
.vn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; font-size: 14px; color: var(--doux); }
.vn span { padding-top: 10px; border-top: 1px solid var(--ligne); }
.vn b { display: block; color: var(--texte); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
/* Qui sommes-nous */
.portrait { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.portrait img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.portrait h3 { font-weight: 400; font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.03em; }
.portrait .souligne { display: inline-block; margin-top: 20px; }
/* Formulaire : accord */
.accord { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 13px; color: var(--doux); cursor: pointer; }
.accord input { margin-top: 2px; accent-color: var(--texte); width: 16px; height: 16px; flex: none; }
@media (max-width: 860px) {
  .portrait { grid-template-columns: 1fr; }
  .portrait img { max-width: 260px; }
  .vn { grid-template-columns: 1fr; gap: 8px; }
}

/* Apparitions */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.vu { opacity: 1; transform: none; }

/* ---------- Mobile : une seule colonne ---------- */
@media (max-width: 860px) {
  .ecran { grid-template-columns: 1fr; }
  .gauche { position: static; height: auto; min-height: 88vh; min-height: 88dvh; border-right: 0; border-bottom: 1px solid var(--ligne); padding: 22px 16px 28px; }
  .sommaire { display: none; }
  .bas-gauche { justify-content: flex-start; }
  .contact-rapide { flex-direction: row; gap: 20px; }
  .droite { padding: 0 16px; }
  .bloc-d, .bloc-d:first-child { min-height: 0; padding: 72px 0; }
  .titre-mobile { display: block; font-weight: 300; font-size: 36px; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 28px; }
  .duo, .deux { grid-template-columns: 1fr; }
  .demo-legende { flex-direction: column-reverse; gap: 6px; }
  .deux > div, .deux > div:nth-child(even) { padding: 24px 0; border-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
}
