/* ==========================================================================
   DMPC Bâtiment : feuille de style unique.
   Aucune ressource externe : la police est dans /polices, les photos dans /photos.
   Couleurs reprises du logo (rouge, blanc, bleu) sur une base marine et papier.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../polices/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Fonds sombres */
  --encre: #0A1322;
  --marine: #111E35;
  --marine-2: #182A49;
  --filet-s: #2A3B5E;
  /* Fonds clairs */
  --papier: #F5F3EE;
  --sable: #ECE8DF;
  --blanc: #FFFFFF;
  --filet: #D9D4C8;
  /* Textes */
  --texte: #111A2B;      /* sur fond clair : 16:1 sur papier */
  --texte-2: #4A5466;    /* secondaire sur fond clair : 6,9:1 sur papier */
  --clair: #F1F4F9;      /* sur fond sombre */
  --clair-2: #BAC6DA;    /* secondaire sur fond sombre : 10:1 sur encre */
  /* Couleurs du logo */
  --rouge: #C4121F;      /* fond de bouton, texte blanc dessus : 6,1:1 */
  --rouge-f: #9F0D18;
  --rouge-c: #FF7A82;    /* rouge lisible SUR FOND SOMBRE : 7:1 sur encre */
  --bleu: #1B3F99;       /* sur fond clair */
  --bleu-c: #8FB4FF;     /* bleu lisible sur fond sombre */

  --r: 6px;
  --ombre: 0 24px 48px -24px rgba(10, 19, 34, .38);
  --large: 1200px;
  --marge: clamp(20px, 4vw, 40px);
  --entete: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--encre);
}

body {
  margin: 0;
  font-family: "Archivo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 3px;
}
.sombre :focus-visible,
.entete :focus-visible,
.pied :focus-visible,
.barre-mobile :focus-visible,
.temps-suite :focus-visible,
.visionneuse :focus-visible { outline-color: var(--bleu-c); }
.formulaire :focus-visible { outline-color: var(--bleu); }
.wa-flottant:focus-visible { outline: 3px solid #fff; outline-offset: 0; box-shadow: 0 0 0 6px var(--encre); }

.cadre {
  width: 100%;
  max-width: calc(var(--large) + 2 * var(--marge));
  margin-inline: auto;
  padding-inline: var(--marge);
}

.lien-evitement {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  background: var(--blanc);
  color: var(--texte);
  padding: 12px 18px;
  border-radius: var(--r);
  font-weight: 700;
}
.lien-evitement:focus { top: 12px; }

.masque {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Titres ---------- */

h1, h2, h3 { font-weight: 750; letter-spacing: -.02em; text-wrap: balance; }
h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
  line-height: 1.03;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -.03em;
}
h2 {
  font-size: clamp(1.85rem, 3.7vw, 3rem);
  line-height: 1.08;
  font-stretch: 106%;
}
h3 { font-size: 1.25rem; line-height: 1.25; }
p { text-wrap: pretty; }

.surtitre {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rouge);
}
.surtitre::before {
  content: "";
  width: 28px; height: 3px;
  margin-top: .68em;
  background: currentColor;
  flex: none;
}
.sombre .surtitre { color: var(--rouge-c); }
.ligne-surtitre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
@media (max-width: 480px) {
  .surtitre { font-size: .75rem; letter-spacing: .1em; gap: 10px; }
  .surtitre::before { width: 20px; }
}

.chapo { font-size: 1.125rem; color: var(--texte-2); max-width: 60ch; }
.sombre .chapo { color: var(--clair-2); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 26px;
  border: 1px solid transparent;
  text-align: center;
  text-wrap: balance;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 1rem;
  font-stretch: 104%;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-rouge { background: var(--rouge); color: #fff; }
.btn-rouge:hover { background: var(--rouge-f); }
.btn-encre { background: var(--encre); color: #fff; }
.btn-encre:hover { background: var(--marine-2); }
.btn-ligne { border-color: rgba(255, 255, 255, .38); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ligne:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--bleu);
  text-decoration: none;
}
.lien-fleche svg { width: 18px; height: 18px; transition: transform .2s; }
.lien-fleche:hover svg { transform: translateX(4px); }
.sombre .lien-fleche { color: var(--bleu-c); }

/* ---------- En-tête ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--encre);
  color: var(--clair);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .25s;
}
.entete.defile { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.entete-in {
  min-height: var(--entete);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.marque { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.marque img { width: auto; height: 42px; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--clair);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r);
  transition: color .2s, background-color .2s;
}
.menu a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.menu .tel { gap: 8px; white-space: nowrap; margin-left: 8px; }
.menu .tel svg { width: 16px; height: 16px; color: var(--rouge-c); }
.menu .btn { min-height: 46px; padding: 0 20px; font-size: .9375rem; margin-left: 8px; white-space: nowrap; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--r);
  font-weight: 700;
  cursor: pointer;
}
.menu-btn-traits { position: relative; width: 20px; height: 14px; }
.menu-btn-traits::before, .menu-btn-traits::after, .menu-btn-traits i {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .2s, opacity .2s, top .2s;
}
.menu-btn-traits::before { top: 0; }
.menu-btn-traits i { top: 6px; }
.menu-btn-traits::after { top: 12px; }
.menu-btn[aria-expanded="true"] .menu-btn-traits::before { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-traits i { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn-traits::after { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1239px) {
  .menu a.tel { display: none; }
}
@media (max-width: 1099px) {
  .menu-btn { display: inline-flex; }
  /* Sans script, le bouton ne servirait à rien : les rubriques restent dans le pied de page */
  html:not(.js) .menu-btn { display: none; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--marge) 24px;
    background: var(--encre);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .7);
    max-height: calc(100vh - var(--entete));
    overflow-y: auto;
  }
  .menu.ouvert { display: flex; }
  .menu a:not(.btn) {
    min-height: 54px;
    padding: 0 4px;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
  }
  .menu a.tel { display: inline-flex; margin-left: 0; }
  .menu .btn { margin: 16px 0 0; min-height: 54px; }
}
@media (max-width: 480px) {
  :root { --entete: 68px; }
  .marque img { height: 36px; }
}

/* ---------- Accueil ---------- */

.sombre { background: var(--encre); color: var(--clair); }

.accueil {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(27, 63, 153, .42), transparent 68%),
    radial-gradient(700px 420px at -8% 108%, rgba(196, 18, 31, .16), transparent 70%),
    var(--encre);
}
/* Trame de plan, estompée vers le bas */
.accueil::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 180, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 180, 255, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 100%);
  pointer-events: none;
}
.accueil-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 4vw, 56px) clamp(96px, 11vw, 148px);
}
.accueil h1 { margin-top: 22px; color: #fff; }
.accueil h1 em { font-style: normal; color: var(--rouge-c); }
.accueil .chapo { margin-top: 20px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 56ch; }
.accueil-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.accueil-reperes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clair-2);
}
.accueil-reperes li { padding-left: 14px; border-left: 2px solid var(--rouge-c); line-height: 1.3; }

/* Mosaïque de trois photos, avec repères d'angle façon plan */
.mosaique {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.18fr 1fr;
  gap: 12px;
  aspect-ratio: 1 / .98;
}
.mosaique::before, .mosaique::after {
  content: "";
  position: absolute;
  width: 46px; height: 46px;
  pointer-events: none;
}
.mosaique::before { top: -14px; left: -14px; border-top: 3px solid var(--rouge); border-left: 3px solid var(--rouge); }
.mosaique::after { bottom: -14px; right: -14px; border-bottom: 3px solid var(--bleu-c); border-right: 3px solid var(--bleu-c); }
.mosaique figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--marine);
  min-height: 0;
}
.mosaique figure:first-child { grid-column: 1 / -1; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; }
.mosaique figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  color: #fff;
  background: rgba(6, 12, 24, .86);
  border-radius: 3px;
}

@media (max-width: 899px) {
  /* Sur telephone et tablette, la mosaique remonte entre le titre et le texte :
     une photo est visible des le premier ecran. */
  .accueil-in { grid-template-columns: 1fr; row-gap: 0; padding-top: 32px; }
  .accueil-in > div:first-child { display: contents; }
  .accueil .surtitre { order: 1; justify-self: start; }
  .accueil h1 { order: 2; }
  .mosaique { order: 3; margin-top: 28px; aspect-ratio: 1 / .9; max-width: 620px; }
  .accueil .chapo { order: 4; margin-top: 28px; }
  .accueil-actions { order: 5; }
  .accueil-reperes { order: 6; }
}
@media (max-width: 480px) {
  .accueil-actions .btn { width: 100%; }
  .mosaique { gap: 8px; }
  .mosaique::before { top: -8px; left: -8px; }
  .mosaique::after { bottom: -8px; right: -8px; }
}

/* ---------- Atouts (bandeau à cheval sur l'accueil) ---------- */

.atouts { position: relative; z-index: 2; margin-top: -56px; }
.atouts-carte {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
  background: var(--blanc);
  border-radius: var(--r);
  box-shadow: var(--ombre);
  overflow: hidden;
}
.atout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-right: 1px solid var(--filet);
}
.atout strong { display: block; font-size: 1.125rem; font-weight: 750; line-height: 1.25; font-stretch: 104%; }
.atout span { display: block; margin-top: 6px; font-size: .9375rem; color: var(--texte-2); line-height: 1.45; }
.atout-chiffre { background: var(--rouge); color: #fff; border-right: 0; }
.atout-chiffre strong { font-size: 1rem; font-weight: 700; }
.atout-chiffre b {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.atout-chiffre span { color: #fff; }
@media (max-width: 999px) {
  .atouts-carte { grid-template-columns: 1fr 1fr; }
  .atout:nth-child(2) { border-right: 0; }
  .atout:nth-child(-n+2) { border-bottom: 1px solid var(--filet); }
}
@media (max-width: 599px) {
  .atouts-carte { grid-template-columns: 1fr; }
  .atout { border-right: 0; border-bottom: 1px solid var(--filet); padding: 22px 22px 24px; }
  .atout-chiffre { border-bottom: 0; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 9vw, 128px); }
.section-blanche { background: var(--blanc); }
.section-sable { background: var(--sable); }

.tete {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 20px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.tete h2 { margin-top: 16px; }
.tete .chapo { justify-self: end; }
@media (max-width: 899px) {
  .tete { grid-template-columns: 1fr; }
  .tete .chapo { justify-self: start; }
}

/* ---------- Prestations : trois temps ---------- */

.temps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.temps-carte {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-top: 4px solid var(--texte);
  border-radius: var(--r);
  padding: 0 0 14px;
  overflow: hidden;
}
.temps-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.temps-carte > :not(.temps-photo) { margin-inline: 28px; }
.temps-carte:nth-child(1) { border-top-color: var(--rouge); }
.temps-carte:nth-child(3) { border-top-color: var(--bleu); }
.temps-num {
  margin-top: 26px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texte-2);
}
.temps-carte h3 { margin-top: 10px; font-size: 1.75rem; font-weight: 800; font-stretch: 108%; letter-spacing: -.025em; }
.temps-intro { margin-top: 10px; color: var(--texte-2); font-size: 1rem; min-height: 3.2em; }
.temps-liste { margin-top: 20px; }
.temps-liste li { padding: 18px 0; border-top: 1px solid var(--filet); }
.temps-liste h4 { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.temps-liste p { margin-top: 5px; font-size: .9375rem; line-height: 1.5; color: var(--texte-2); }
.temps-suite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--encre);
  color: var(--clair);
  border-radius: var(--r);
}
.temps-suite p { font-size: 1.125rem; font-weight: 600; max-width: 52ch; }
@media (max-width: 999px) {
  .temps { grid-template-columns: 1fr; }
  .temps-intro { min-height: 0; }
}

/* ---------- Avant / après ---------- */

.avap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.avap h2 { margin-top: 16px; }
.avap .chapo { margin-top: 20px; }
.avap-points { margin-top: 24px; display: grid; gap: 10px; }
.avap-points li { position: relative; padding-left: 30px; }
.avap-points li::before {
  content: "";
  position: absolute;
  left: 2px; top: .42em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--rouge);
  border-bottom: 3px solid var(--rouge);
  transform: rotate(-45deg);
}
.avap-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.avap-photos figure { position: relative; overflow: hidden; border-radius: var(--r); background: var(--filet); }
.avap-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.avap-suite { margin-top: 72px; }
.avap-photos-larges { grid-template-columns: 1fr; }
.avap-photos-larges img { aspect-ratio: 3 / 2; }
.etiquette {
  position: absolute;
  top: 14px; left: 14px;
  padding: 7px 14px;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--encre);
  border-radius: 3px;
}
.etiquette-rouge { background: var(--rouge); }
@media (max-width: 899px) {
  .avap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .avap-photos { gap: 8px; }
  .etiquette { top: 8px; left: 8px; padding: 5px 9px; font-size: .6875rem; }
}

/* ---------- Palissades ---------- */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.duo h2 { margin-top: 16px; }
.duo .chapo { margin-top: 20px; }
.duo .btn { margin-top: 30px; }
.coches { margin-top: 26px; display: grid; gap: 0; }
.coches li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-top: 1px solid var(--filet);
  font-weight: 600;
}
.coches li:last-child { border-bottom: 1px solid var(--filet); }
.coches li::before {
  content: "";
  position: absolute;
  left: 4px; top: 1.25em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--rouge);
  border-bottom: 3px solid var(--rouge);
  transform: rotate(-45deg);
}
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collage figure { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sable); }
.collage figure:first-child { grid-column: 1 / -1; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figure:first-child img { aspect-ratio: 16 / 10; }
.collage figure:not(:first-child) img { aspect-ratio: 1 / 1; }
.collage figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  color: #fff;
  background: rgba(6, 12, 24, .86);
  border-radius: 3px;
}
@media (max-width: 899px) {
  .duo { grid-template-columns: 1fr; }
}

/* ---------- Démolition et curage ---------- */

.curage {
  position: relative;
  background:
    radial-gradient(800px 480px at 100% 0%, rgba(27, 63, 153, .28), transparent 70%),
    var(--encre);
}
.curage-tete {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.curage-tete h2 { margin-top: 16px; color: #fff; }
.curage-tete .chapo { margin-top: 20px; }
.curage-photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--marine); }
.curage-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.curage-photo figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  color: #fff;
  background: rgba(6, 12, 24, .86);
  border-radius: 3px;
}
.panneaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.panneau {
  background: var(--marine);
  border: 1px solid var(--filet-s);
  border-top: 4px solid var(--rouge);
  border-radius: var(--r);
  padding: 28px;
}
.panneau .panneau-num {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bleu-c);
}
.panneau h3 { margin-top: 12px; font-size: 1.375rem; color: #fff; }
.panneau p { margin-top: 12px; color: var(--clair-2); font-size: 1rem; }
.curage-pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 28px;
}
.note {
  display: flex;
  gap: 14px;
  max-width: 68ch;
  padding: 18px 20px;
  border: 1px solid var(--filet-s);
  border-left: 4px solid var(--bleu-c);
  border-radius: var(--r);
  font-size: .9375rem;
  color: var(--clair-2);
}
.note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--bleu-c); }
@media (max-width: 899px) {
  .curage-tete { grid-template-columns: 1fr; }
  .panneaux { grid-template-columns: 1fr; }
}

/* ---------- Électricité et bornes ---------- */

.pastille {
  display: inline-block;
  padding: 5px 12px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--bleu);
  border-radius: 100px;
  vertical-align: middle;
}
.elec { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.elec-carte {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--r);
  padding: clamp(26px, 3.4vw, 40px);
}
.elec-icone {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--r);
  background: var(--encre);
  color: #fff;
}
.elec-icone svg { width: 32px; height: 32px; }
.elec-carte:nth-child(2) .elec-icone { background: var(--bleu); }
.elec-carte .elec-type {
  margin-top: 24px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rouge);
}
.elec-carte h3 { margin-top: 8px; font-size: 1.625rem; font-weight: 800; font-stretch: 106%; }
.elec-carte p { margin-top: 12px; color: var(--texte-2); }
.elec-carte .lien-fleche { margin-top: auto; padding-top: 18px; }
@media (max-width: 799px) {
  .elec { grid-template-columns: 1fr; }
}

/* ---------- Réalisations ---------- */

.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filtre {
  min-height: 46px;
  padding: 0 18px;
  background: var(--blanc);
  color: var(--texte);
  border: 1px solid var(--filet);
  border-radius: 100px;
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filtre:hover { border-color: var(--texte); }
.filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.filtre small { margin-left: 6px; font-size: .8125rem; font-weight: 600; opacity: .7; }

.galerie {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}
.tuile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--sable);
  /* La largeur vient de la colonne, la hauteur de la rangée : toutes les tuiles
     d'une même rangée ont ainsi la même hauteur, qu'elles soient simples ou larges. */
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  color: #fff;
  text-decoration: none;
  cursor: zoom-in;
}
.tuile-large { grid-column: span 2; aspect-ratio: 3 / 2; }
.tuile[hidden] { display: none; }
.galerie.repliee .en-plus { display: none; }
.galerie-plus { margin: 22px 0 0; text-align: center; }
.bouton-plus {
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: 13px 26px; border-radius: 999px;
  border: 1.5px solid currentColor; background: transparent; color: inherit;
}
.bouton-plus:hover { background: rgba(255, 255, 255, .1); }
.bouton-plus[hidden] { display: none; }
.tuile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
/* Legende en etiquette : elle ne masque que sa propre surface et reste lisible sur photo claire */
.tuile-leg {
  position: absolute;
  left: 10px; bottom: 10px;
  z-index: 1;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
  background: rgba(6, 12, 24, .86);
  border-radius: 3px;
}
@media (hover: hover) {
  .tuile:hover img { transform: scale(1.05); }
}
@media (max-width: 699px) {
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tuile-leg { left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 5px 8px; font-size: .75rem; }
}

/* Visionneuse */
.visionneuse {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(5, 10, 20, .96);
  color: #fff;
}
.visionneuse::backdrop { background: rgba(5, 10, 20, .96); }
.visionneuse:not([open]) { display: none; }
.vis-in {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: 14px clamp(12px, 3vw, 32px) 18px;
  gap: 12px;
}
.vis-haut { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vis-compte { font-size: .875rem; font-weight: 700; letter-spacing: .1em; color: var(--clair-2); }
.vis-btn {
  display: inline-grid;
  place-items: center;
  min-width: 48px; min-height: 48px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--r);
  font-weight: 700;
  cursor: pointer;
}
.vis-btn:hover { background: rgba(255, 255, 255, .18); }
.vis-btn svg { width: 22px; height: 22px; }
.vis-fermer { display: inline-flex; align-items: center; gap: 8px; }
.vis-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  min-height: 0;
}
.vis-scene img { max-width: 100%; max-height: min(100%, calc(100dvh - 150px)); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.vis-prec, .vis-suiv { position: absolute; top: 50%; transform: translateY(-50%); }
.vis-prec { left: 0; }
.vis-suiv { right: 0; }
.vis-legende { text-align: center; font-weight: 600; min-height: 1.6em; }

/* ---------- Méthode ---------- */

.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: etape; }
.etape { position: relative; padding: 0 28px 0 0; }
.etape .etape-num {
  margin-top: 0;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 3rem;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--texte);
}
.etape-num::after { content: ""; flex: 1; height: 2px; background: var(--texte); opacity: .18; }
.etape:last-child .etape-num::after { display: none; }
.etape:first-child .etape-num { color: var(--rouge); }
.etape h3 { margin-top: 20px; font-size: 1.375rem; }
.etape p { margin-top: 8px; color: var(--texte-2); max-width: 28ch; }
@media (max-width: 899px) {
  .etapes { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .etape:nth-child(2) .etape-num::after { display: none; }
}
@media (max-width: 520px) {
  .etapes { grid-template-columns: 1fr; gap: 28px; }
  .etape { padding-right: 0; }
  .etape-num::after { display: none; }
  .etape p { max-width: none; }
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(27, 63, 153, .35), transparent 68%),
    var(--encre);
}
.contact-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact h2 { margin-top: 16px; color: #fff; }
.contact .chapo { margin-top: 20px; }
.contact-tel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  min-height: 56px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.contact-tel svg { width: 30px; height: 30px; color: var(--rouge-c); flex: none; }
.contact-tel:hover { color: var(--rouge-c); }
.contact-liens { margin-top: 20px; border-top: 1px solid var(--filet-s); }
.contact-liens a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border-bottom: 1px solid var(--filet-s);
  font-weight: 600;
  color: var(--clair);
  text-decoration: none;
  transition: color .2s, padding-left .2s;
  overflow-wrap: anywhere;
}
.contact-liens a:hover { color: #fff; padding-left: 6px; }
.contact-liens svg { width: 20px; height: 20px; flex: none; color: var(--bleu-c); }
.contact-zone { margin-top: 26px; font-size: .9375rem; color: var(--clair-2); }
.contact-zone strong { color: #fff; }

.formulaire {
  display: grid;
  gap: 18px;
  background: var(--blanc);
  color: var(--texte);
  border-radius: var(--r);
  padding: clamp(22px, 3.4vw, 40px);
  box-shadow: var(--ombre);
}
.formulaire h3 { font-size: 1.5rem; font-weight: 800; }
.formulaire .aide { font-size: .9375rem; color: var(--texte-2); margin-top: -10px; }
.rang { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: grid; gap: 7px; }
.champ label { font-size: .9375rem; font-weight: 700; }
.champ .opt { font-weight: 500; color: var(--texte-2); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--papier);
  color: var(--texte);
  border: 1px solid #857F72;
  border-radius: var(--r);
  font-size: 1rem;
}
.champ textarea { min-height: 132px; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: #5F6675; opacity: 1; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 1px;
  border-color: var(--bleu);
}
.depot {
  padding: 16px 18px;
  border: 2px dashed #857F72;
  border-radius: var(--r);
  background: var(--papier);
}
.depot input[type="file"] { min-height: 0; padding: 0; border: 0; background: transparent; font-size: .9375rem; }
.depot input[type="file"]::file-selector-button {
  min-height: 44px;
  margin-right: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r);
  background: var(--encre);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.depot .aide { margin-top: 8px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .btn { width: 100%; min-height: 58px; font-size: 1.0625rem; }
.formulaire .mention { font-size: .875rem; color: var(--texte-2); line-height: 1.5; }
.formulaire .mention a { color: var(--bleu); font-weight: 600; }
.message {
  padding: 14px 16px;
  border-radius: var(--r);
  border-left: 4px solid var(--bleu);
  background: #E9EEF9;
  font-weight: 600;
  font-size: .9375rem;
}
.message[hidden] { display: none; }
.message-alerte { border-left-color: var(--rouge); background: #FBEAEB; }
@media (max-width: 899px) {
  .contact-in { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .rang { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .depot input[type="file"]::file-selector-button { display: block; margin: 0 0 8px; }
}

/* ---------- Pied de page ---------- */

.pied { background: #060C18; color: var(--clair-2); padding-block: clamp(48px, 6vw, 72px) 28px; }
.pied-haut {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .9fr);
  gap: 36px clamp(32px, 5vw, 72px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.pied-marque img { height: 48px; width: auto; }
.pied-devise {
  margin-top: 22px;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
}
.pied-devise em { font-style: normal; color: var(--rouge-c); white-space: nowrap; }
.pied-desc { margin-top: 14px; max-width: 44ch; font-size: .9375rem; }
.pied h2 {
  font-size: .8125rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.pied-liste a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--clair-2);
  text-decoration: none;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.pied-liste a:hover { color: #fff; text-decoration: underline; }
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 28px;
  padding-top: 18px;
  font-size: .875rem;
}
.pied-bas a { display: inline-flex; align-items: center; min-height: 44px; color: var(--clair-2); }
.pied-bas a:hover { color: #fff; }
.pied-bas nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
@media (max-width: 799px) {
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .pied-haut { grid-template-columns: 1fr; }
}

/* ---------- Barre d'action sur mobile, bouton WhatsApp sur ordinateur ---------- */

.barre-mobile { display: none; }
.wa-flottant {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: #0E6B41;       /* blanc dessus : 6,5:1 */
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45);
  transition: transform .2s, background-color .2s;
}
.wa-flottant:hover { transform: translateY(-2px); background: #0A5533; }
.wa-flottant svg { width: 26px; height: 26px; }
@media (min-width: 768px) {
  /* Laisse la place au bouton WhatsApp en bas à droite du pied de page */
  .avec-barre .pied-bas { padding-right: 84px; }
}
/* Colonne de contact collante : seulement quand il y a deux colonnes et assez de hauteur */
@media (min-width: 900px) and (min-height: 740px) {
  .contact-in > div:first-child { position: sticky; top: calc(var(--entete) + 32px); }
}

@media (max-width: 767px) {
  html { scroll-padding-bottom: calc(81px + env(safe-area-inset-bottom, 0px)); }
  .avec-barre { padding-bottom: 68px; }
  .wa-flottant { display: none; }
  .barre-mobile {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    background: var(--encre);
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .barre-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 68px;
    color: #fff;
    font-weight: 700;
    font-size: .9375rem;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, .12);
  }
  .barre-mobile a:last-child { border-right: 0; background: var(--rouge); }
  .barre-mobile svg { width: 20px; height: 20px; flex: none; }
}

/* ---------- Pages de texte (mentions légales, confidentialité) ---------- */

.page-texte { padding-block: clamp(48px, 7vw, 96px); }
.page-texte .cadre { max-width: calc(820px + 2 * var(--marge)); }
.page-texte h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: 16px; }
.page-texte .maj { margin-top: 14px; color: var(--texte-2); font-size: .9375rem; }
.page-texte h2 { font-size: 1.5rem; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--filet); }
.page-texte h3 { font-size: 1.125rem; margin-top: 26px; }
.page-texte p, .page-texte ul, .page-texte dl { margin-top: 14px; }
.page-texte ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.page-texte a { color: var(--bleu); font-weight: 600; }
.page-texte dl { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 0; border-top: 1px solid var(--filet); }
.page-texte dt, .page-texte dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.page-texte dt { font-weight: 700; padding-right: 16px; }
.page-texte .retour { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 44px; text-decoration: none; }
.page-texte .retour svg { width: 18px; height: 18px; }
/* Éléments encore à fournir par l'entreprise : visibles sur la maquette, à faire disparaître avant la mise en ligne */
.a-fournir { background: #FFF1C2; color: #4A3600; padding: 1px 6px; border-radius: 3px; font-size: .9375rem; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.page-texte .avis-maquette { margin-top: 22px; padding: 14px 18px; background: #FFF1C2; color: #4A3600; border-left: 4px solid #B07A00; border-radius: var(--r); font-weight: 600; }
/* En-tête réduit des pages de texte : pas de menu déroulant */
.menu-simple { display: flex !important; position: static !important; flex-direction: row !important; align-items: center !important; gap: 4px !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; overflow: visible !important; }
.menu-simple a:not(.btn) { border-bottom: 0 !important; min-height: 44px !important; padding: 0 12px !important; font-size: .9375rem !important; }
.menu-simple .btn { margin: 0 0 0 8px !important; min-height: 46px !important; }
.pied-bas-seul { padding-top: 0; }
@media (max-width: 480px) {
  .entete-in { gap: 12px; }
  .menu-simple a:not(.btn) { display: none !important; }
  .menu-simple .btn { margin-left: 0 !important; padding: 4px 12px; font-size: .875rem; white-space: normal; max-width: 6.5em; }
}
@media (max-width: 560px) {
  .page-texte dl { grid-template-columns: 1fr; }
  .page-texte dt { border-bottom: 0; padding-bottom: 0; }
  .page-texte dd { padding-top: 4px; }
}

/* ---------- Apparition au défilement ----------
   Le masquage n'existe que si le script a posé la classe .js sur <html>.
   Un minuteur de secours dans site.js affiche tout si l'observateur ne part pas. */

.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .apparait.vu { opacity: 1; transform: none; }
.js .accueil .apparait { opacity: 1; transform: none; animation: entree .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }
@keyframes entree { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
  .js .accueil .apparait { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .entete, .barre-mobile, .wa-flottant, .filtres, .visionneuse { display: none !important; }
  .js .apparait { opacity: 1; transform: none; }
  .avec-barre { padding-bottom: 0; }
}

/* ==========================================================================
   Theme marine (choisi par le dirigeant le 15/11/2026) : plus aucun fond blanc.
   Pour revenir au theme clair, supprimer tout ce bloc.
   ========================================================================== */

:root { --papier:#0E1930; --sable:#12203A; --blanc:#17284A; --filet:#2C3F66;
  --texte:#F1F4F9; --texte-2:#BAC6DA; }
body { background: var(--papier); }
.champ input, .champ select, .champ textarea, .depot { background: #0E1930; color: #F1F4F9; }
.formulaire .mention a { color: var(--bleu-c); }

 .surtitre,  .elec-carte .elec-type,  .etape:first-child .etape-num { color: var(--rouge-c); }
 .lien-fleche { color: var(--bleu-c); }
 .filtre[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0A1322; }
 .temps-suite { background: #17284A; }
 .btn-encre { background: #fff; color: #0A1322; }

:focus-visible, .formulaire :focus-visible { outline-color: var(--bleu-c); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline-color: var(--bleu-c); border-color: var(--bleu-c); }
.champ input::placeholder, .champ textarea::placeholder { color: #9AA8C0; }
.champ input, .champ select, .champ textarea { border-color: #7C8BA8; }
.depot { border-color: #7C8BA8; }
.depot input[type="file"]::file-selector-button { background: #fff; color: #0A1322; }
.message { color: #111A2B; }
.btn-encre:hover { background: #DCE3EF; }
.page-texte a { color: var(--bleu-c); }
.atouts-carte, .formulaire { box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); }
.elec-icone { background: var(--rouge); }

/* ---------- Courant faible (ajout du 15/11/2026) ---------- */
.faible-tete { margin-top: clamp(40px, 5vw, 64px); max-width: 64ch; }
.faible-tete h3 { margin-top: 14px; font-size: 1.625rem; font-weight: 800; font-stretch: 106%; }
.faible-tete p:last-child { margin-top: 10px; color: var(--texte-2); }
.faible { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.faible-carte { background: var(--blanc); border: 1px solid var(--filet); border-top: 4px solid var(--bleu-c); border-radius: var(--r); padding: 24px 22px; }
.faible-carte h4 { margin: 0; font-size: 1.125rem; font-weight: 750; line-height: 1.3; }
.faible-carte p { margin-top: 10px; font-size: .9375rem; line-height: 1.5; color: var(--texte-2); }
.faible-suite { margin-top: 26px; }
@media (max-width: 999px) { .faible { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .faible { grid-template-columns: 1fr; } }

/* ---------- Formulaire : deux envois possibles (ajout du 15/11/2026) ---------- */
.envois { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formulaire .btn { font-size: 1rem; }
.btn-ligne-form { border-color: #7C8BA8; color: var(--texte); background: transparent; }
.btn-ligne-form:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
@media (max-width: 599px) { .envois { grid-template-columns: 1fr; } }
