/* Site vitrine SPS (27/10/2026), d'après la maquette « bleu ciel » validée par Romain.
   Couleurs et réglages communs en haut : les changer ici change tout le site. */
/* Police Nunito (SIL Open Font License, Google Fonts), hébergée avec le site : aucun appel à Google (RGPD).
   Police « variable » : un fichier couvre toutes les graisses (400 à 900). */
@font-face { font-family: Nunito; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/nunito-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/nunito-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --fond: #f7fbfe;
  --blanc: #ffffff;
  /* Bleu du logo (02/11/2026) : #1998c1 pour les grandes surfaces (en-tête, cartes) ; une version plus foncée de la
     même teinte pour les textes et boutons (lisibilité du blanc et sur fond blanc). */
  --bleu-logo: #1998c1;
  --ciel: #e3f3f9;
  --ciel-fonce: #c4e6f2;
  --bleu: #137291;
  --bleu-fonce: #0e5770;
  --bleu-texte: #1d5568;
  --brique: #b5482a;
  --sable: #fbf6ef;
  --texte: #2b2a28;
  --texte-doux: #5a564e;
  --texte-moyen: #4a4740;
  --bord: #e6dccd;
  --largeur: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: Nunito, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; }
a { color: var(--bleu); }
a:hover { color: var(--bleu-fonce); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 900; }
/* Accroche plus longue (03/11/2026) : titre un peu plus petit pour rester lisible en 4-6 lignes. */
h1 { font-size: clamp(25px, 4.6vw, 36px); line-height: 1.2; }
/* Accroche justifiée, en bloc « carré » comme dans Word (03/11/2026) ; coupures de mots pour éviter les trous. */
h1 { text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 5 5; }
h2 { font-size: clamp(26px, 4.5vw, 36px); }
h3 { font-size: 21px; font-weight: 800; }
p { margin: 0; }
.doux { color: var(--texte-doux); }
.grand { font-size: 19px; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; gap: 28px; }
.colonnes { display: flex; flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: center; }
.colonnes > * { flex: 1 1 420px; min-width: 0; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.grille.large { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pile { display: flex; flex-direction: column; gap: 14px; }
.intro { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
/* Introduction sur toute la largeur (phrase d'une ligne sur ordinateur, 03/11/2026). */
.intro.pleine { max-width: none; }
.liste { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--texte-moyen); }
.fond-blanc { background: var(--blanc); }
.fond-ciel { background: var(--ciel); }

/* Lien d'évitement (clavier) */
.aller-contenu { position: absolute; left: -9999px; }
.aller-contenu:focus { left: 16px; top: 16px; z-index: 10; background: var(--blanc); padding: 10px 16px; border-radius: 12px; }

/* En-tête */
.entete .conteneur { padding: 16px 24px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texte); font-weight: 800; font-size: 16px; line-height: 1.2; }
.marque img { height: 64px; width: auto; flex-shrink: 0; }
/* Le logo détouré (02/11/2026) porte déjà « Solutions Post Sinistres » : le texte à côté n est plus affiché. */
.marque span { display: none; }
.entete { background: var(--bleu-logo); }
.menu { display: flex; flex-wrap: wrap; gap: 6px 20px; flex: 1 1 420px; font-weight: 700; font-size: 16px; }
.menu a { color: var(--blanc); text-decoration: none; font-weight: 800; }
.menu a:hover { color: var(--blanc); text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Téléphone et tablette en portrait : en-tête réduit au logo et au bouton d'appel (le reste se trouve en faisant défiler). */
@media (max-width: 900px) {
  .menu, .actions .bouton-clair { display: none; }
  .entete .conteneur { flex-wrap: nowrap; justify-content: space-between; }
  .marque img { height: 52px; }
  .actions .bouton-appel { padding: 0 16px; }
}
@media (max-width: 420px) { .marque span { display: none; } }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 16px; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap; }
.bouton.grand { min-height: 56px; padding: 0 26px; font-size: 18px; }
.bouton-appel { background: var(--brique); color: var(--blanc); }
.bouton-appel:hover { background: #9c3d23; color: var(--blanc); }
.bouton-bleu { background: var(--bleu); color: var(--blanc); }
.bouton-bleu:hover { background: var(--bleu-fonce); color: var(--blanc); }
.bouton-clair { background: var(--blanc); color: var(--texte); border: 2px solid #d9cfc0; font-weight: 700; font-size: 15px; }
.bouton-blanc { background: var(--blanc); color: var(--bleu-fonce); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Accueil */
.accroche { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--blanc); color: var(--bleu); font-weight: 800; font-size: 15px; }
.accueil .conteneur { padding-top: 40px; padding-bottom: 64px; }
/* 16/11/2026 : vidéo plus grande (la colonne de droite prend plus de place) ; bulle centrée sous la vidéo. */
.accueil .colonnes > .pile { flex: 1 1 380px; }
.accueil h1 { font-size: clamp(25px, 4.6vw, 30px); }
/* Vidéo en haut, à hauteur du titre (ordinateur) ; les deux boutons restent côte à côte. */
.accueil .colonnes { align-items: flex-start; }
@media (min-width: 1000px) { .accueil-visuel { margin-top: var(--decalage-titre, 62px); } }
.accueil .boutons .bouton.grand { padding: 0 18px; font-size: 17px; }
@media (min-width: 1000px) and (max-width: 1260px) { .accueil .boutons .bouton.grand { padding: 0 13px; font-size: 15px; } }
.accueil-visuel { position: relative; flex: 1.8 1 560px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.accueil-visuel .bulle { position: static; max-width: none; }
.bulle { position: absolute; left: -12px; bottom: -18px; background: var(--blanc); border-radius: 22px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(80, 60, 30, 0.12); display: flex; align-items: center; gap: 12px; max-width: 280px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.bulle .rond { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--ciel); display: flex; align-items: center; justify-content: center; }
.arrondi-haut { border-radius: 48px 48px 0 0; }

/* Photos : emplacement provisoire tant que la photo n'est pas fournie (remplacer le <div class="photo"> par une <img class="photo">) */
.photo { width: 100%; height: 300px; object-fit: cover; border-radius: 32px; background: var(--ciel-fonce); color: var(--bleu-texte); display: flex; align-items: center; justify-content: center; text-align: center; padding: 28px; font-weight: 700; font-size: 16px; }
.photo.haute { height: 380px; border-radius: 40px 40px 140px 40px; }
.photo.gauche { border-radius: 140px 40px 40px 40px; }
.photo.droite { border-radius: 40px 140px 40px 40px; }
.photo.carte { height: 150px; border-radius: 0; font-size: 15px; }
.photo.avant { height: 210px; border-radius: 24px 6px 6px 24px; background: #ece6d4; color: #5f5a44; }
.photo.apres { height: 210px; border-radius: 6px 24px 24px 6px; }
/* Photo fournie : remplit tout son cadre (pas de marge intérieure, recadrée sans déformation). */
img.photo { display: block; padding: 0; min-width: 0; }
/* Vidéo de l'accueil : montrée en entier (format 16/9, rien de coupé), sur fond bleu comme la vidéo. */
video.photo.video { display: block; padding: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #4a90c2; border-radius: 20px; }
.sable { background: #f3e3cf; color: #6b5a44; }

/* Cartes */
.carte { background: var(--blanc); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.carte .corps { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.carte .corps p { color: var(--texte-doux); font-size: 16px; line-height: 1.55; }
/* Titres des cartes « Ce que nous faisons » centrés (03/11/2026). */
.carte .corps h3, .carte .corps p { text-align: center; }
/* Étapes « Comment ça se passe » : « ÉTAPE n » et le titre centrés, comme les cartes (03/11/2026). */
.etapes .case, .etapes .etape, .etapes .titre { text-align: center; }
.case { background: var(--sable); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.case.ciel { background: var(--ciel); }
.case.blanche { background: var(--blanc); }
.case .titre { font-weight: 800; font-size: 18px; }
.case.ciel .titre { color: var(--bleu-fonce); }
.case.ciel p:not(.titre) { color: var(--bleu-texte); }
.case p:not(.titre) { color: var(--texte-doux); font-size: 16px; line-height: 1.5; }
.numero { width: 44px; height: 44px; border-radius: 50%; background: var(--brique); color: var(--blanc); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 19px; }
.numero.bleu { background: var(--bleu-logo); }
/* Premiers gestes (03/11/2026) : le titre en gras à côté du numéro, le texte dessous. */
.gestes .case { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
.gestes .case > p:not(.titre) { grid-column: 1 / -1; }
.gestes .numero { flex: none; }
.etape { font-weight: 900; font-size: 15px; color: var(--brique); }
.chiffre { font-size: 42px; font-weight: 900; color: var(--brique); line-height: 1.1; }
.chiffre.bleu { color: var(--bleu); }
/* Cadres des chiffres : chiffre et texte centrés (03/11/2026). */
.chiffres .case { align-items: center; justify-content: flex-start; text-align: center; }
.avant-apres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
figcaption { font-size: 16px; color: var(--texte-moyen); font-weight: 700; }

/* Espace clients */
.espace { background: var(--bleu-logo); color: var(--blanc); border-radius: 36px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.espace p { color: var(--blanc); }
.pastille { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: #f6d58e; color: #4a3a12 !important; font-size: 14px; font-weight: 900; }

/* Contact */
.telephone { font-size: 30px; font-weight: 900; color: var(--brique); text-decoration: none; }
.formulaire { background: var(--blanc); border-radius: 36px; padding: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.formulaire label { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 700; color: var(--texte-moyen); }
.formulaire .entier { grid-column: 1 / -1; }
.formulaire input, .formulaire select, .formulaire textarea { min-height: 48px; border: 2px solid var(--bord); border-radius: 16px; padding: 0 14px; font-size: 16px; font-family: inherit; background: var(--sable); color: var(--texte); }
.formulaire textarea { padding: 12px 14px; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 3px solid var(--ciel-fonce); border-color: var(--bleu); }
.formulaire .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .note { font-size: 14px; font-weight: 400; color: var(--texte-doux); }
@media (max-width: 560px) { .formulaire { grid-template-columns: 1fr; padding: 22px; } }

/* Pied de page */
.pied { background: var(--texte); color: var(--bord); }
.pied .conteneur { padding: 28px 24px; flex-direction: row; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.pied a { color: var(--blanc); }

/* Textes encore à compléter : bien visibles tant qu'ils restent (à retirer avant la mise en ligne) */
.a-completer { background: #fff3a8; color: #5a4300; border-radius: 6px; padding: 0 4px; }

/* Pages de texte (mentions légales) */
.texte-long { max-width: 820px; }
.texte-long h2 { font-size: 26px; margin-top: 18px; }
/* Exemple écrit dans la case de l'adresse (03/11/2026) : en gros et en clair. */
.formulaire input::placeholder { color: #9a958c; font-size: 17px; opacity: 1; }

/* Encadré « Vu sur France 3 » (16/11/2026) : lien vers le reportage, qui s'ouvre sur le site de France 3. */
.presse { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; background: var(--ciel); border-radius: 28px; padding: 24px 28px; }
.presse-icone { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--bleu); display: flex; align-items: center; justify-content: center; }
.presse-texte { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.presse-source { font-size: 14px; font-weight: 800; color: var(--bleu-texte); text-transform: uppercase; letter-spacing: 0.04em; }
.presse-titre { font-size: 20px; font-weight: 900; line-height: 1.3; }

/* Légendes des avant / après centrées sous les deux photos (16/11/2026). */
.avant-apres + figcaption { text-align: center; }

/* Cartes « Ce que nous faisons » (16/11/2026) : une icône au lieu d'une photo (dessins Lucide, licence libre ISC). */
.icone-carte { height: 120px; display: flex; align-items: center; justify-content: center; background: var(--ciel); }
.icone-carte span { width: 76px; height: 76px; border-radius: 50%; background: var(--blanc); color: var(--bleu); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(19, 114, 145, 0.12); }
/* Couleur propre à chaque intervention (16/11/2026) : feu rouge, eau bleue, fioul noir, odeurs vertes… */
.icone-carte.feu { background: #fde8e1; } .icone-carte.feu span { color: #d4441c; }
.icone-carte.eau { background: #e0f2fa; } .icone-carte.eau span { color: #1998c1; }
.icone-carte.fioul { background: #ebeae7; } .icone-carte.fioul span { color: #1f1d1a; }
.icone-carte.odeur { background: #e6f3e1; } .icone-carte.odeur span { color: #4c9a2a; }
.icone-carte.demolition { background: #fdefdc; } .icone-carte.demolition span { color: #d9800f; }
.icone-carte.carton { background: #f4ebdf; } .icone-carte.carton span { color: #9a6a35; }

/* Stockage des biens (16/11/2026) : l'illustration, et en médaillon une vraie photo du dépôt. */
.duo-stockage { position: relative; margin: 0 0 56px; }
.duo-stockage .photo { background: var(--ciel); object-fit: cover; height: auto; aspect-ratio: 800 / 560; }
.duo-stockage .reel { position: absolute; right: -10px; bottom: -44px; width: 33%; aspect-ratio: 1 / 1; object-fit: cover; border: 6px solid var(--blanc); border-radius: 20px; box-shadow: 0 12px 30px rgba(40, 60, 70, 0.22); transform: rotate(3deg); }
.duo-stockage figcaption { position: absolute; right: 0; bottom: -70px; width: 33%; white-space: nowrap; text-align: center; font-size: 14px; font-weight: 800; color: var(--bleu-texte); }
@media (max-width: 600px) { .duo-stockage { margin-bottom: 64px; } .duo-stockage .reel { width: 38%; bottom: -30px; right: -4px; } .duo-stockage figcaption { width: 38%; bottom: -58px; font-size: 13px; } }

/* « Ils parlent de nous » (16/11/2026) : articles de presse en cartes (titre, journal, date). */
.sous-titre { margin: 36px 0 16px; font-size: 22px; font-weight: 900; }
.articles { list-style: none; padding: 0; margin: 0; }
.article-presse { background: var(--fond-carte, #fbf6ef); border-radius: 24px; padding: 0 0 22px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.article-presse > p { padding: 0 24px; }
.article-presse .coupure { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; object-position: top; display: block; margin-bottom: 8px; border-bottom: 1px solid var(--bord); }
.article-presse .journal { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--bleu-texte); }
.article-presse .manchette { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--texte); }
.article-presse .doux { margin: 0; font-size: 15px; }
.article-presse { justify-content: flex-start; }
.article-presse .lien-article { margin: auto 0 0; padding-top: 6px; font-size: 15px; font-weight: 800; }
.article-presse .lien-article a { text-decoration: none; }
.article-presse .lien-article a:hover { text-decoration: underline; }

/* Mentions légales (23/11/2026) : cadres arrondis comme le reste du site ; numéros, adresses et références jamais
   coupés en fin de ligne (classe « insecable »). */
.insecable { white-space: nowrap; }
.ml { background: var(--fond); }
.ml-conteneur { max-width: 980px; padding-top: 48px; gap: 20px; }
.ml-titre { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.ml-titre h1 { text-align: left; }
.ml-date { margin: 0; color: var(--texte-doux); font-size: 15px; }
.ml-sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ml-sommaire a { background: var(--ciel); color: var(--bleu-fonce); text-decoration: none; font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.ml-sommaire a:hover { background: var(--ciel-fonce); }
.ml-deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.ml-carte { background: var(--blanc); border: 1px solid #e3edf2; border-radius: 28px; padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 110px; }
.ml-carte.ml-ciel { background: var(--ciel); border-color: var(--ciel-fonce); }
.ml-carte h2 { font-size: 22px; color: var(--bleu-fonce); margin-bottom: 4px; }
.ml-carte p { margin: 0; color: var(--texte-moyen); }
.ml-fiche { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.ml-fiche dt { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--bleu-texte); padding-top: 3px; max-width: 150px; line-height: 1.3; }
.ml-fiche dd { margin: 0; color: var(--texte); line-height: 1.45; }
.ml-tableau { display: grid; grid-template-columns: 220px 1fr; margin: 0; }
.ml-tableau dt, .ml-tableau dd { padding: 14px 0; border-top: 1px solid #e3edf2; }
.ml-tableau dt:first-of-type, .ml-tableau dt:first-of-type + dd { border-top: none; padding-top: 4px; }
.ml-tableau dt { font-weight: 800; color: var(--bleu-texte); padding-right: 18px; }
.ml-tableau dd { margin: 0; color: var(--texte-moyen); }
.ml-tableau ul { margin: 0; padding-left: 20px; }
@media (max-width: 640px) {
  .ml-carte { padding: 22px 20px; border-radius: 22px; }
  .ml-tableau { grid-template-columns: 1fr; }
  .ml-tableau dt { padding-bottom: 2px; }
  .ml-tableau dd { border-top: none; padding-top: 0; }
  .ml-fiche { grid-template-columns: 1fr; gap: 2px; }
  .ml-fiche dd { margin-bottom: 8px; }
}
