@import url("../fonts/poppins.css");

/* Pharmassur, feuille unique. Palette de la charte v1.0 (mai 2025) uniquement. */
:root {
  --nuit: #00232b;
  --nuit-2: #0c353b;
  --sapin: #306b6a;
  --ardoise: #476065;
  --gris-m: #8e9c9f;
  --gris-c: #d5d9da;
  --gris: #ededed;
  --blanc-c: #f8f8f8;
  --menthe: #77d7c8;
  --menthe-40: #bee4de;
  --menthe-10: #f1fbf9;
  --blanc: #fff;
  --mesure: 42rem;
  --large: 76rem;
  --gouttiere: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--nuit);
  background: var(--blanc);
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nuit); text-decoration-color: var(--sapin); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sapin); outline-offset: 3px; border-radius: 2px; }
.tete-sombre :focus-visible, .hero :focus-visible, .appel :focus-visible, .pied :focus-visible, .s-sinistre :focus-visible, .alerte-sinistre :focus-visible, .urgence :focus-visible { outline-color: var(--menthe); }
.nowrap { white-space: nowrap; }
strong { font-weight: 600; }

h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -.025em; line-height: 1.08; max-width: 18ch; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
h3 { font-size: 1.15rem; line-height: 1.35; margin-top: 1.8em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .4em; }
li::marker { color: var(--sapin); }

.evitement { position: absolute; left: 1rem; top: -4rem; background: var(--nuit); color: var(--blanc); padding: .6rem 1rem; z-index: 50; }
.evitement:focus { top: 1rem; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.4rem;
  background: var(--menthe); color: var(--nuit);
  font: 600 1rem/1.2 "Poppins", Arial, sans-serif;
  text-decoration: none; border: 2px solid var(--menthe); border-radius: 1.5rem 1.5rem .25rem .25rem;
  cursor: pointer;
}
.btn:hover { background: var(--menthe-40); border-color: var(--menthe-40); }
.btn-clair { background: transparent; color: var(--blanc); border-color: rgba(237,237,237,.55); }
.btn-clair:hover { background: var(--nuit-2); border-color: var(--menthe); }
.btn-second { background: var(--blanc); border-color: var(--nuit); }
.btn-second:hover { background: var(--gris); border-color: var(--nuit); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 1.5rem; }
.lien a { font-weight: 500; }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: var(--nuit); text-decoration: underline; text-decoration-color: var(--sapin); text-underline-offset: .2em; cursor: pointer; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: var(--blanc); border-bottom: 1px solid var(--gris-c); }
.entete-in { max-width: var(--large); margin: 0 auto; padding: 0 var(--gouttiere); display: flex; align-items: center; gap: 1.5rem; min-height: 5.5rem; }
.logo { padding: 14px 0; flex: none; }
.logo img { width: 210px; }
.menu { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.menu-liste { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.menu-liste > li { margin: 0; position: relative; }
.menu-liste a, .sous-menu-bouton {
  display: block; white-space: nowrap; padding: .55rem .5rem; font: 500 .95rem/1.3 "Poppins", Arial, sans-serif;
  color: var(--nuit); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 4px;
}
.menu-liste a:hover, .sous-menu-bouton:hover { background: var(--gris); }
.menu-liste a[aria-current="page"], .a-sous-menu.actif > .sous-menu-bouton { box-shadow: inset 0 -2px 0 var(--menthe); }
.sous-menu-bouton::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .5em; border: solid var(--nuit); border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); }
.sous-menu-bouton[aria-expanded="true"]::after { transform: translateY(.05em) rotate(-135deg); }
.sous-menu {
  display: none; list-style: none; margin: 0; padding: .5rem; position: absolute; left: 0; top: calc(100% + .5rem);
  background: var(--blanc); border: 1px solid var(--gris-c); width: 22rem; border-radius: .25rem;
}
.sous-menu.ouvert { display: block; }
.sous-menu a { padding: .6rem .8rem; white-space: normal; }
.sous-menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--menthe); }
.menu-bouton { display: none; }
.btn-entete { white-space: nowrap; min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .95rem; }

@media (max-width: 1240px) {
  .menu-bouton {
    display: inline-flex; align-items: center; gap: .6rem; margin-left: auto;
    font: 600 1rem "Poppins", Arial, sans-serif; color: var(--nuit); background: none;
    border: 2px solid var(--nuit); border-radius: 1.25rem 1.25rem .25rem .25rem; padding: .5rem 1rem; cursor: pointer;
  }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); border-bottom: 1px solid var(--gris-c);
    flex-direction: column; align-items: stretch; padding: .75rem var(--gouttiere) 1.5rem; max-height: calc(100vh - 5.5rem); overflow: auto; }
  .menu.ouvert { display: flex; height: calc(100vh - 5.5rem); height: calc(100dvh - 5.5rem); }
  .menu-liste { flex-direction: column; align-items: stretch; }
  .menu-liste a, .sous-menu-bouton { padding: .8rem .25rem; font-size: 1.05rem; width: 100%; text-align: left; border-bottom: 1px solid var(--gris); border-radius: 0; }
  .sous-menu { position: static; width: auto; border: 0; padding: 0 0 0 1rem; }
  .sous-menu a { font-size: 1rem; }
  .menu-liste a[aria-current="page"], .a-sous-menu.actif > .sous-menu-bouton { box-shadow: inset 3px 0 0 var(--menthe); padding-left: .75rem; }
  .btn-entete { margin-top: 1rem; }
}
@media (max-width: 420px) { .logo img { width: 180px; } }

/* Forme de fond : icône du logo, un seul coin, une par page */
.forme { position: absolute; pointer-events: none; user-select: none; }
.hero, .tete, .appel { position: relative; overflow: hidden; }
.forme-hero { width: min(46rem, 62vw); right: -9%; bottom: -26%; }
.forme-haut-droite { width: min(34rem, 55vw); right: -7%; top: -30%; }
.forme-bas-droite { width: min(30rem, 55vw); right: -6%; bottom: -38%; }

/* Accueil : héros */
.hero { background: var(--nuit); color: var(--blanc); }
.hero-in { position: relative; max-width: var(--large); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) var(--gouttiere) clamp(4rem, 8vw, 7rem); }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.25rem); max-width: 12ch; margin-bottom: .45em; }
.hero-chapo { max-width: 34rem; font-size: 1.15rem; color: var(--gris); }
.hero .actions { margin-top: 2.25rem; }

.s-in { max-width: var(--large); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--gouttiere); }
.s-etroit { max-width: calc(var(--mesure) + 2 * var(--gouttiere)); }

/* Accueil : les quatre étages */
.s-etages { background: var(--blanc-c); }
.etages-tete { max-width: var(--mesure); }
.etages-grille { display: grid; grid-template-columns: minmax(13rem, 19rem) 1fr; gap: clamp(2rem, 6vw, 6rem); margin-top: 3rem; align-items: start; }
.etages-schema { position: sticky; top: 8rem; }
.etages-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gris-c); }
.etage-ligne { margin: 0; padding: 1.6rem 0 1.4rem 1.25rem; border-bottom: 1px solid var(--gris-c); border-left: 3px solid transparent; transition: border-color .2s, background-color .2s; }
.etage-ligne h3 { margin-top: 0; margin-bottom: .4em; }
.etage-ligne p { max-width: var(--mesure); }
.etage-ligne .lien { margin-bottom: 0; }
.etage-ligne.on { border-left-color: var(--menthe); background: var(--blanc); }

/* Schéma en arche (coupe d'officine) */
.arche .contour, .arche-grande .contour, .arche-mini .contour { fill: none; stroke: var(--nuit); stroke-width: 6; stroke-linejoin: round; }
.planchers line { stroke: var(--nuit); stroke-width: 2; }
.etage { fill: var(--blanc); transition: fill .2s; }
.etage.on { fill: var(--menthe); }
.arche-grande { width: 100%; max-width: 19rem; height: auto; overflow: visible; }
.arche-grande text { font: 500 13px "Poppins", Arial, sans-serif; fill: var(--nuit); text-anchor: middle; pointer-events: none; }
.arche-grande .etage { cursor: pointer; }

/* Accueil : audit en six étapes */
.s-audit { background: var(--blanc); }
.audit-tete { max-width: var(--mesure); }
.six { list-style: none; counter-reset: six; margin: 2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.six li { counter-increment: six; position: relative; margin: 0; padding: 1.4rem 0 1.6rem 3.25rem; border-top: 2px solid var(--nuit); }
.six li::before { content: counter(six); position: absolute; left: 0; top: 1.15rem; width: 2.2rem; height: 2.2rem; border-radius: 1.1rem 1.1rem .2rem .2rem; background: var(--menthe); font-weight: 600; display: grid; place-items: center; font-size: 1rem; }

/* Accueil : sinistre */
.s-sinistre { background: var(--nuit-2); color: var(--gris); }
.s-sinistre h2 { color: var(--blanc); }
.s-sinistre a { color: var(--blanc); text-decoration-color: var(--menthe); }
.s-sinistre ul { list-style: none; padding: 0; }
.s-sinistre li { padding: 0 0 1rem 1.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--sapin); position: relative; }
.s-sinistre li::before { content: ""; position: absolute; left: 0; top: .55em; width: .6rem; height: .6rem; background: var(--menthe); }
.s-sinistre strong { color: var(--blanc); }
.s-deux { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }

.s-partenaires { background: var(--gris); }
.s-partenaires p:first-of-type { font-size: 1.15rem; }

.s-faq { background: var(--blanc); }
.faq-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin: 2rem 0 1rem; }
.faq-trois h3 { margin-top: 0; font-size: 1.05rem; }
.faq-trois .qr { border-top: 1px solid var(--gris-m); padding-top: 1.25rem; }

/* En-tête de page intérieure */
.tete { background: var(--gris); }
.tete-in { position: relative; max-width: var(--large); margin: 0 auto; padding: 2rem var(--gouttiere) clamp(2.75rem, 5vw, 4rem); }
.tete h1 { margin-top: 1.5rem; max-width: 22ch; }
.chapo { max-width: var(--mesure); font-size: 1.125rem; }
.chapo p:last-child { margin-bottom: 0; }
.tete-sombre { background: var(--nuit); color: var(--gris); }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .875rem; color: var(--ardoise); }
.fil li { margin: 0; }
.fil li + li::before { content: "›"; margin: 0 .55rem; color: var(--ardoise); }
.fil a { color: var(--ardoise); }
.fil [aria-current] { color: var(--nuit); font-weight: 500; }

/* Navigation entre les quatre garanties */
.etages-nav { display: flex; gap: 1.5rem; align-items: center; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--gris-c); }
.arche-mini { width: 3.25rem; height: auto; flex: none; }
.arche-mini .contour { stroke-width: 10; }
.arche-mini .planchers line { stroke-width: 5; }
.etages-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .925rem; }
.etages-nav li { margin: 0; }
.etages-nav a { text-decoration: none; color: var(--ardoise); }
.etages-nav a:hover { color: var(--nuit); text-decoration: underline; }
.etages-nav a[aria-current] { color: var(--nuit); font-weight: 600; box-shadow: inset 0 -2px 0 var(--menthe); }

/* Corps à rail */
.corps { max-width: var(--large); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) var(--gouttiere) clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 15rem minmax(0, var(--mesure)); gap: clamp(2rem, 6vw, 6rem); }
.rail { position: sticky; top: 7.5rem; align-self: start; font-size: .9rem; }
.rail-titre { font-weight: 600; margin-bottom: .75rem; }
.rail ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--gris-c); }
.rail li { margin: 0; }
.rail a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ardoise); line-height: 1.4; }
.rail a:hover { color: var(--nuit); border-left-color: var(--nuit); }
.rail a.courant { color: var(--nuit); border-left-color: var(--menthe); font-weight: 500; }
.bloc { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--gris-c); }
.bloc:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.bloc > h3:first-of-type { margin-top: 1.2em; }
.texte ul { padding-left: 0; list-style: none; }
.texte ul > li { position: relative; padding-left: 1.4rem; }
.texte ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; background: var(--menthe); border-radius: .25rem .25rem 0 0; }
.texte ol.etapes { padding-left: 0; list-style: none; counter-reset: e; }
.texte ol.etapes > li { counter-increment: e; position: relative; padding-left: 2.6rem; margin-bottom: .9rem; }
.texte ol.etapes > li::before { content: counter(e); position: absolute; left: 0; top: .05em; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; font-size: .875rem; font-weight: 600; background: var(--nuit); color: var(--blanc); border-radius: .9rem .9rem .15rem .15rem; }
.source { font-size: .85rem; color: var(--ardoise); }
.appui { font-size: 1.05rem; padding: 1rem 1.25rem; background: var(--menthe-10); border-left: 3px solid var(--menthe); }

/* Encadrés */
.encadre-exemple, .encadre-menthe, .encadre-soeur, .demande-aside { padding: 1.5rem 1.6rem; margin: 2rem 0; border-radius: 1.5rem 1.5rem .25rem .25rem; }
.encadre-exemple { background: var(--gris); }
.encadre-menthe { background: var(--menthe-10); border: 1px solid var(--menthe-40); }
.encadre-soeur { background: var(--menthe-10); border: 1px solid var(--menthe-40); }
.encadre-titre { font-weight: 600; margin-bottom: .6rem; }
.encadre-exemple p:last-child, .encadre-menthe p:last-child, .encadre-soeur p:last-child, .encadre-menthe ul:last-child { margin-bottom: 0; }
.fictif { font-size: .875rem; font-style: italic; color: var(--ardoise); }

/* Tableau des délais */
.tableau { overflow-x: auto; margin: 1.5rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 34rem; }
th, td { text-align: left; vertical-align: top; padding: .85rem .9rem; border-bottom: 1px solid var(--gris-c); }
thead th { background: var(--nuit); color: var(--blanc); font-weight: 500; }
tbody th { font-weight: 600; }
td:last-child { font-size: .85rem; color: var(--ardoise); }

/* Sinistre */
.alerte-sinistre { background: var(--nuit); color: var(--blanc); }
.alerte-sinistre p { max-width: var(--large); margin: 0 auto; padding: .8rem var(--gouttiere); font-weight: 500; }
.alerte-sinistre a { color: var(--menthe); font-weight: 600; }
.urgence { background: var(--nuit); color: var(--gris); padding: 1.25rem 1.5rem; border-radius: 1.5rem 1.5rem .25rem .25rem; margin-bottom: 2.5rem; }
.urgence strong { color: var(--blanc); }
.urgence a { color: var(--blanc); text-decoration-color: var(--menthe); }
.urgence p:last-child { margin-bottom: 0; }

/* Audit : parcours en six étapes */
.parcours { list-style: none; padding: 0; margin: 2rem 0 0; position: relative; }
.parcours::before { content: ""; position: absolute; left: 1.2rem; top: .5rem; bottom: 2rem; width: 2px; background: var(--gris-c); }
.parcours > li { position: relative; padding-left: 4rem; margin-bottom: 2.25rem; }
.parcours-num { position: absolute; left: 0; top: -.15rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--menthe); font-weight: 600; border-radius: 1.2rem 1.2rem .2rem .2rem; }
.parcours h3 { margin-top: 0; }

/* Formulaires */
.demande { background: var(--gris); }
.demande-in { max-width: var(--large); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gouttiere); display: grid; grid-template-columns: minmax(0, 44rem) minmax(17rem, 22rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.demande-aside { background: var(--blanc); margin: 3.6rem 0 0; }
.aside-sinistre { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gris-c); margin-bottom: 0; }
.formulaire, .confirmation { background: var(--blanc); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.5rem 1.5rem .25rem .25rem; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.champ { display: flex; flex-direction: column; }
.champ-large { grid-column: 1 / -1; }
label { font-weight: 500; font-size: .95rem; margin-bottom: .35rem; }
.facultatif { font-weight: 400; color: var(--ardoise); }
input[type=text], input[type=tel], input[type=email], select, textarea {
  font: 400 1rem/1.4 "Poppins", Arial, sans-serif; color: var(--nuit); background: var(--blanc);
  border: 1px solid var(--ardoise); border-radius: .25rem; padding: .7rem .8rem; width: 100%; min-height: 3rem;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%2300232b%27 stroke-width=%272%27/%3E%3C/svg%3E"); background-position: right .9rem center; background-size: .75rem; background-repeat: no-repeat; padding-right: 2.4rem; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--sapin); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--nuit); border-width: 2px; background: var(--menthe-10); }
.aide { font-size: .85rem; color: var(--ardoise); margin: .4rem 0 0; }
.erreur { font-size: .875rem; font-weight: 600; margin: .35rem 0 0; color: var(--nuit); padding-left: 1.2rem; position: relative; }
.erreur::before { content: "!"; position: absolute; left: 0; top: 0; width: .95rem; height: .95rem; border-radius: 50%; background: var(--nuit); color: var(--blanc); font-size: .7rem; display: grid; place-items: center; top: .2em; }
.champ-case { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .75rem; margin-top: 1.5rem; }
.champ-case input { width: 1.35rem; height: 1.35rem; margin: .15rem 0 0; accent-color: var(--sapin); flex: none; }
.champ-case label { font-weight: 400; flex: 1; margin: 0; }
.champ-case .erreur { flex-basis: 100%; }
.mention { font-size: .85rem; color: var(--ardoise); margin-top: 1.25rem; }
.confirmation-titre { font-size: 1.35rem; font-weight: 600; }
.recap { margin: 1.5rem 0; border-top: 1px solid var(--gris-c); }
.recap div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--gris-c); }
.recap dt { color: var(--ardoise); font-size: .9rem; }
.recap dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.copie-etat { font-weight: 500; min-height: 1.5em; }

/* Contact */
.contact-in { max-width: var(--large); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) var(--gouttiere); display: grid; grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-coord h2, .contact-form h2, .qui h2 { font-size: 1.35rem; }
.contact-coord section { margin-bottom: 2.25rem; }
.contact-coord ul { list-style: none; padding: 0; }
.contact-form .formulaire, .contact-form .confirmation { background: var(--gris); }
.qui { background: var(--gris); }
.qui-in { max-width: var(--large); margin: 0 auto; padding: 2.5rem var(--gouttiere); }
.qui-in p { max-width: var(--mesure); }

/* À propos */
.identite { margin: 1.5rem 0 0; border-top: 1px solid var(--gris-c); }
.identite div { display: grid; grid-template-columns: 13rem 1fr; gap: 1.25rem; padding: .7rem 0; border-bottom: 1px solid var(--gris-c); }
.identite dt { font-weight: 600; }
.identite dd { margin: 0; }
.equipe { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.5rem; }
.personne { border-top: 2px solid var(--nuit); padding-top: 1rem; }
.personne h3 { margin-top: 0; }
.personne a { overflow-wrap: anywhere; }

/* Pages légales */
.corps-legal { grid-template-columns: minmax(0, var(--mesure)); }
.corps-legal h2 { font-size: 1.3rem; }
.corps-legal .bloc { padding-top: 1.75rem; margin-top: 1.75rem; }

/* Bandeau d'appel */
.appel { background: var(--nuit); color: var(--gris); }
.appel-in { position: relative; max-width: var(--large); margin: 0 auto; padding: clamp(3.5rem, 7vw, 5.5rem) var(--gouttiere); }
.appel-in > * { max-width: 40rem; }
.appel-titre { color: var(--blanc); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
.appel a:not(.btn) { color: var(--blanc); text-decoration-color: var(--menthe); }
.appel .lien { margin-top: .5rem; }

/* Pied de page */
.pied { background: var(--nuit); color: var(--gris); font-size: .925rem; border-top: 1px solid var(--nuit-2); }
.appel + .pied, .p-accueil .pied { border-top-color: var(--sapin); }
.pied-in { max-width: var(--large); margin: 0 auto; padding: 3.5rem var(--gouttiere) 2.5rem; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 2.5rem; }
.pied a { color: var(--blanc); text-decoration-color: var(--menthe); }
.pied-identite img { width: 210px; margin: 14px 0 1.75rem; }
.pied-titre { font-weight: 600; color: var(--blanc); margin-bottom: .75rem; }
.pied-plan ul { list-style: none; padding: 0; columns: 1; }
.pied-plan li { margin-bottom: .35rem; }
.pied-plan a { text-decoration: none; }
.pied-plan a:hover { text-decoration: underline; }
.pied-domaine { color: var(--menthe); font-weight: 500; }
.pied-reseau { font-size: .875rem; color: var(--gris-c); }
.reglementaire { background: var(--nuit-2); }
.reglementaire p { max-width: var(--large); margin: 0 auto; padding: 1.25rem var(--gouttiere); font-size: .8rem; line-height: 1.6; color: var(--gris-c); }

/* Responsive */
@media (max-width: 1000px) {
  .corps { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; border: 1px solid var(--gris-c); padding: 1rem 1.25rem; border-radius: 1.25rem 1.25rem .25rem .25rem; }
  .six { grid-template-columns: repeat(2, 1fr); }
  .faq-trois { grid-template-columns: 1fr; gap: 1.5rem; }
  .demande-in, .contact-in { grid-template-columns: minmax(0, 1fr); }
  .demande-aside { margin-top: 0; }
  .pied-in { grid-template-columns: 1fr 1fr; }
  .pied-identite { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .etages-grille { grid-template-columns: 1fr; margin-top: 2rem; gap: 1.5rem; }
  .etages-schema { position: static; max-width: 11rem; }
  .s-deux { grid-template-columns: 1fr; gap: .5rem; }
  .six { grid-template-columns: 1fr; }
  .champs { grid-template-columns: 1fr; }
  .identite div, .recap div { grid-template-columns: 1fr; gap: .1rem; }
  .equipe { grid-template-columns: 1fr; }
  .pied-in { grid-template-columns: 1fr; }
  .etages-nav { align-items: flex-start; gap: 1rem; }
  .etages-nav ul { flex-direction: column; }
  .forme-hero { width: 22rem; right: -7rem; bottom: -6rem; }
  .forme-haut-droite { width: 15rem; right: -5rem; top: -4rem; }
  .forme-bas-droite { width: 16rem; right: -5rem; bottom: -6rem; }
  .actions .btn { width: 100%; }
  .appel-in > * { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .entete, .rail, .appel, .formulaire { display: none; } }
a[href^="mailto:"] { white-space: nowrap; }
.contact-form > .lien { margin-top: 1.25rem; }
.p-sinistre .appel-in > p:nth-of-type(1) { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 500; color: var(--blanc); }
@media (max-width: 720px) { .forme-haut-droite { display: none; } }




.rdv .btn{margin-top:.25rem}

.auteur{margin:.75rem 0 0;font-size:.875rem;opacity:.85}.auteur a{color:inherit}

/* bandeau photo */
.photo-band{margin:0;background:#111;line-height:0}.photo-band img{display:block;width:100%;height:clamp(240px,36vw,520px);object-fit:cover;filter:grayscale(1) contrast(1.1) brightness(.96)}.photo-band{border-bottom:1px solid #d9d9d9}
