/* ConditionsGenerales.com — feuille de style
   Palette : encre (bleu nuit) pour les titres et le pied de page, vert profond pour les actions,
   fond crème chaud, cartes blanches. Polices système (aucun appel à un service tiers). */
:root {
  --encre: #142b45;
  --encre-2: #1f3d5c;
  --accent: #0f6b52;
  --accent-2: #0c5a45;
  --accent-clair: #e4f1ec;
  --fond: #faf7f2;
  --fond-2: #f3eee6;
  --carte: #ffffff;
  --texte: #1f2933;
  --gris: #5b6470;
  --bord: #e5dfd3;
  --bord-2: #d3cbbd;
  --erreur: #b3261e;
  --ok: #1e6b3a;
  --avis-fond: #fff8e6;
  --avis-bord: #e8d49c;
  --rayon: 10px;
  --ombre: 0 8px 28px rgba(20, 43, 69, .10);
  --largeur: 1120px;
  --gouttiere: 16px;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); background: var(--fond); color: var(--texte); line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-2); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #f0b429; outline-offset: 2px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; color: var(--encre); padding: .5rem .75rem; z-index: 100; border-radius: 6px; }
.inner { max-width: var(--largeur); margin: 0 auto; padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { color: var(--encre); line-height: 1.2; letter-spacing: -.012em; font-weight: 800; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.05rem); margin-top: 0; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
.h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--gris); }
.accent { color: var(--accent); font-style: normal; }
.surtitre { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.centre { text-align: center; }
.intro { max-width: 720px; }
.centre .intro { margin-left: auto; margin-right: auto; }
.petit { font-size: .9rem; color: var(--gris); }
hr { border: 0; border-top: 1px solid var(--bord); margin: 2rem 0; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: .35rem; }
blockquote { margin: 1.25rem 0; padding: .25rem 0 .25rem 1.1rem; border-left: 4px solid var(--accent); color: var(--gris); font-style: italic; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--fond-2); padding: .1em .35em; border-radius: 4px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--bord); vertical-align: top; }
th { color: var(--encre); background: var(--fond-2); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--accent); color: #fff; text-decoration: none; font-family: var(--sans);
  font-weight: 600; font-size: 1rem; padding: .8rem 1.4rem; border: 2px solid var(--accent);
  border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
  min-height: 48px;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.secondaire { background: transparent; color: var(--encre); border-color: var(--bord-2); }
.btn.secondaire:hover { background: #fff; border-color: var(--encre); color: var(--encre); }
.btn.clair { background: #fff; color: var(--encre); border-color: #fff; }
.btn.clair:hover { background: #eef3f8; border-color: #eef3f8; }
.btn.contour { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.contour:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn.grand { font-size: 1.08rem; padding: .95rem 1.8rem; }
.btn[disabled], .btn:disabled { opacity: .6; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.25rem 0 0; }
.lien-fleche { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent-clair); padding-bottom: .1rem; }
.lien-fleche::after { content: " →"; }
.lien-fleche:hover { border-bottom-color: var(--accent); }

/* ---------- En-tête ---------- */
header.site { background: #fff; border-bottom: 1px solid var(--bord); position: sticky; top: 0; z-index: 40; }
header.site .inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--encre); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.logo svg { width: 34px; height: 34px; flex: none; margin-left: -2px; }
.logo .tld { color: var(--accent); }
.nav-principale { display: flex; align-items: center; gap: 1.6rem; }
.nav-principale ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; }
.nav-principale li { margin: 0; }
.nav-principale nav a { color: var(--encre-2); text-decoration: none; font-weight: 600; font-size: .93rem; padding: .35rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-principale nav a:hover, .nav-principale nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.tel { display: inline-flex; align-items: center; gap: .5rem; color: var(--encre); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.tel .pastille { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-clair); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tel .pastille .ico { width: 18px; height: 18px; }
.tel .numero { white-space: nowrap; }
.tel small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.nav-actions .btn { padding: .6rem 1.15rem; min-height: 42px; white-space: nowrap; }
.burger { display: none; background: none; border: 1px solid var(--bord-2); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; color: var(--encre); }
.burger svg { width: 24px; height: 24px; }
.burger .fermer { display: none; }
.burger[aria-expanded="true"] .ouvrir { display: none; }
.burger[aria-expanded="true"] .fermer { display: block; }
@media (max-width: 1299px) {
  .tel .libelle { display: none; }
}
@media (max-width: 1000px) {
  .nav-principale ul { gap: .9rem; }
  .nav-principale nav a { font-size: .9rem; }
}
@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .nav-principale { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--bord); box-shadow: var(--ombre); padding: .75rem var(--gouttiere) 1.25rem; flex-direction: column; align-items: stretch; gap: 1rem; }
  .nav-principale.ouvert { display: flex; }
  .nav-principale ul { flex-direction: column; gap: 0; }
  .nav-principale li { border-bottom: 1px solid var(--bord); }
  .nav-principale nav a { display: block; padding: .8rem 0; font-size: 1.02rem; border-bottom: 0; white-space: normal; }
  .nav-principale nav a[aria-current="page"] { border-bottom: 0; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
  .tel { justify-content: center; }
  .tel .libelle { display: inline; }
  /* Sans JavaScript, le menu reste accessible */
  .sans-js .nav-principale { display: flex; position: static; box-shadow: none; }
  .sans-js .burger { display: none; }
}

/* ---------- Mise en page générale ---------- */
main { display: block; }
.section { padding: 3.5rem 0; }
.section.alt { background: var(--fond-2); }
.section.blanc { background: #fff; border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.section > .inner > h2:first-child, .section > .inner > .surtitre:first-child { margin-top: 0; }
.en-tete-section { max-width: 760px; margin-bottom: 2rem; }
/* Texte courant posé directement dans une section : longueur de ligne lisible */
.section > .inner > h3, .section > .inner > p { max-width: 780px; }
.en-tete-section p:not(.surtitre) { color: var(--gris); font-size: 1.05rem; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.deux-colonnes > div > h2:first-child, .deux-colonnes > div > .surtitre:first-child { margin-top: 0; }
.trois-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .deux-colonnes, .trois-colonnes { grid-template-columns: 1fr; gap: 1.5rem; } }
/* Sur grand écran, la colonne la plus courte accompagne la lecture de l'autre (évite un grand vide) */
@media (min-width: 861px) and (min-height: 700px) { .deux-colonnes > * { position: sticky; top: 96px; } }

/* Fil d'Ariane */
.fil-ariane { font-size: .85rem; color: var(--gris); padding-top: 1rem; }
.fil-ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.fil-ariane li { margin: 0; }
/* Séparateur placé après chaque niveau : un retour à la ligne ne commence jamais par « / » */
.fil-ariane li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--bord-2); }
.fil-ariane a { color: var(--gris); text-decoration: none; }
.fil-ariane a:hover { color: var(--accent); text-decoration: underline; }
.fil-ariane [aria-current="page"] { color: var(--encre); font-weight: 600; }

/* ---------- Vitrine (accueil et pages de service) ---------- */
.vitrine { padding: 3rem 0 3.5rem; }
.vitrine .inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.vitrine h1 { margin-bottom: 1rem; }
.vitrine .lead { font-size: 1.2rem; color: var(--encre-2); font-weight: 600; }
.vitrine p.texte { color: var(--gris); font-size: 1.05rem; }
.vitrine.simple .inner { grid-template-columns: 1fr; }
.vitrine.simple .vitrine-texte { max-width: 800px; }
/* En-tête simple suivi d'une section sans fond propre : pas de double espacement */
.vitrine.simple + .section:not(.alt):not(.blanc) { padding-top: 1.5rem; }
.vitrine.simple:has(+ .section:not(.alt):not(.blanc)) { padding-bottom: 1.5rem; }
.vitrine.simple .meta-article { margin-bottom: 0; }
@media (max-width: 900px) { .vitrine .inner { grid-template-columns: 1fr; gap: 2rem; } .vitrine { padding: 2rem 0 2.5rem; } }

/* Carte « votre interlocuteur » */
.carte-contact { background: var(--carte); border: 1px solid var(--bord); border-radius: 16px; box-shadow: var(--ombre); padding: 1.75rem; }
.carte-contact .personne { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--bord); margin-bottom: 1.25rem; }
.avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--encre); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; flex: none; border: 3px solid var(--accent-clair); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.personne .surtitre { margin: 0 0 .15rem; }
.personne .nom { font-weight: 800; color: var(--encre); font-size: 1.12rem; line-height: 1.2; }
.personne .role { color: var(--gris); font-size: .92rem; }
.carte-contact h2, .carte-contact h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.carte-contact p { color: var(--gris); }
.carte-contact .actions { flex-direction: column; align-items: stretch; }
.carte-contact .actions .btn { width: 100%; }

/* Badges de confiance */
.badges { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.badges li { margin: 0; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .93rem; color: var(--encre-2); }
.badges .ico { color: var(--accent); }
.bande-badges { background: #fff; border: 1px solid var(--bord); border-radius: 12px; padding: 1rem 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; margin: 0; list-style: none; }
.bande-badges li { margin: 0; display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--encre-2); font-size: .95rem; }
.bande-badges .ico { color: var(--accent); }
/* Bande « Nos engagements » sous la vitrine : compacte, badges centrés en deux colonnes équilibrées */
.section.bande { padding: 1.75rem 0; }
.section.bande .badges { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: .75rem 2.5rem; margin: 0; }
@media (max-width: 700px) { .section.bande .badges { grid-template-columns: 1fr; justify-content: start; } }

/* ---------- Cartes et grilles ---------- */
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.grille.une { grid-template-columns: 1fr; }
.grille.deux { grid-template-columns: repeat(2, 1fr); }
.grille.trois { grid-template-columns: repeat(3, 1fr); }
.grille.quatre { grid-template-columns: repeat(4, 1fr); }
.grille.deux, .grille.trois, .grille.quatre { gap: 1.4rem; }
@media (max-width: 960px) { .grille.quatre, .grille.trois { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grille.deux, .grille.trois, .grille.quatre { grid-template-columns: 1fr; } }
.espace-haut { margin-top: 2rem; }
.espace-haut-grand { margin-top: 3rem; }
.espace-bas { margin-bottom: 2rem; }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.6rem 1.6rem 1.5rem; display: flex; flex-direction: column; }
.carte h2, .carte h3 { margin-top: 0; }
.carte h3 { font-size: 1.15rem; }
.carte p:last-child { margin-bottom: 0; }
.carte .lien-fleche { margin-top: auto; align-self: flex-start; padding-top: .75rem; }
.carte-icone { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-clair); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.carte-icone .ico { width: 24px; height: 24px; }
a.carte { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: var(--bord-2); }
a.carte h3 { color: var(--encre); }
.carte ul { margin: 0; padding-left: 1.2rem; }
.carte .etiquettes { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; padding: 0; list-style: none; }
.carte .etiquettes li { margin: 0; font-size: .8rem; font-weight: 600; background: var(--fond-2); color: var(--encre-2); border-radius: 999px; padding: .2rem .65rem; }

/* Liste à coches */
.liste-coches { list-style: none; padding: 0; margin: 1rem 0; }
.liste-coches li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.liste-coches li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent-clair); }
.liste-coches li::after { content: ""; position: absolute; left: .38rem; top: .48em; width: .45rem; height: .25rem; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
/* Variante pour les erreurs à éviter : croix rouge */
.liste-croix li::before { background: #fde8e8; }
.liste-croix li::after { content: "×"; width: 1.25rem; height: 1.25rem; left: 0; top: .2em; border: 0; transform: none; color: var(--erreur); font-weight: 800; line-height: 1.25rem; text-align: center; }

/* Étapes numérotées */
.etapes { list-style: none; counter-reset: etape; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.etapes li { counter-increment: etape; margin: 0; background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.4rem 1.3rem 1.3rem; }
.etapes li::before { content: counter(etape, decimal-leading-zero); display: inline-block; font-weight: 800; color: var(--accent); font-size: 1.6rem; line-height: 1; margin-bottom: .75rem; }
.etapes h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.etapes p { margin: 0; color: var(--gris); font-size: .95rem; }
/* Dans la colonne d'un article : liste verticale compacte (pas de rangée incomplète ni de cartes inégales) */
.article .etapes { grid-template-columns: 1fr; gap: .75rem; margin: 1.25rem 0 1.5rem; }
.article .etapes li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: .75rem; padding: 1.1rem 1.2rem; }
.article .etapes li::before { grid-row: span 2; margin: 0; }
.article .etapes li > * { grid-column: 2; }
.article .etapes h3 { margin-top: 0; }

/* Chiffres / points forts (sans statistiques inventées) */
.points-forts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.points-forts li { margin: 0; background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.1rem 1.2rem; }
.points-forts strong { display: block; color: var(--encre); font-size: 1.15rem; margin-bottom: .2rem; }
.points-forts span { color: var(--gris); font-size: .92rem; }

/* Tableau comparatif */
.comparatif { overflow-x: auto; border: 1px solid var(--bord); border-radius: var(--rayon); background: #fff; }
.comparatif table { font-size: .95rem; }
.comparatif th:first-child, .comparatif td:first-child { font-weight: 600; color: var(--encre); width: 36%; }
.comparatif td.non { color: var(--erreur); }
.comparatif td.oui { color: var(--ok); font-weight: 600; }
@media (max-width: 640px) {
  .comparatif table, .comparatif thead, .comparatif tbody, .comparatif tr, .comparatif th, .comparatif td { display: block; }
  .comparatif thead { position: absolute; left: -9999px; }
  .comparatif tr { border-bottom: 2px solid var(--bord); padding: .5rem 0; }
  .comparatif td { border: 0; padding: .3rem .9rem; }
  .comparatif td:first-child { width: auto; padding-top: .6rem; }
  .comparatif td[data-colonne]::before { content: attr(data-colonne) " : "; font-weight: 600; color: var(--gris); }
}

/* FAQ */
.faqs { display: grid; gap: .75rem; }
details.faq { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); }
details.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.3rem; position: relative; color: var(--encre); font-weight: 700; font-size: 1.03rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent); }
details.faq[open] summary::after { content: "–"; }
details.faq[open] summary { border-bottom: 1px solid var(--bord); }
.faq-corps { padding: .9rem 1.3rem 1.1rem; }
.faq-corps p:last-child { margin-bottom: 0; }

/* Encadrés */
.avis { background: var(--avis-fond); border: 1px solid var(--avis-bord); border-radius: var(--rayon); padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: .96rem; }
.avis p:last-child { margin-bottom: 0; }
.alerte { background: #fdecea; border: 1px solid #f1b8b2; border-left: 5px solid var(--erreur); padding: .9rem 1.15rem; border-radius: var(--rayon); margin: 1.25rem 0; font-size: .96rem; }
.encadre { background: var(--accent-clair); border-left: 5px solid var(--accent); border-radius: var(--rayon); padding: 1.1rem 1.4rem; margin: 1.5rem 0; }
.encadre h3, .encadre h4 { margin-top: 0; color: var(--accent-2); font-size: 1.05rem; }
.article .encadre h3, .article .encadre h4 { margin-top: 0; }
.encadre p:last-child, .encadre ul:last-child { margin-bottom: 0; }
.alerte p:last-child, .alerte ul:last-child { margin-bottom: 0; }
.modele { background: #fff; border: 1px solid var(--bord-2); border-radius: 6px; padding: 1.5rem 1.75rem; margin: 1.5rem 0; font-family: var(--serif); font-size: .98rem; line-height: 1.55; }
.modele p { margin-bottom: .8em; }
.modele .champ-libre { color: var(--gris); }

/* ---------- Pages « article » (base de connaissances) ---------- */
.article { max-width: 780px; }
.article h2 { margin-top: 2.25rem; font-size: 1.55rem; }
.article h3 { margin-top: 1.5rem; }
.article .lead { margin-bottom: 1.5rem; }
.article table { margin: 1rem 0 1.5rem; }
.article .comparatif { margin: 1rem 0 1.5rem; }
.article .comparatif table, .comparatif table { margin: 0; }
.article .comparatif th:first-child, .article .comparatif td:first-child { width: 26%; }
/* Tableau dont la première colonne porte les textes longs (ex. délais de prescription) */
.article .comparatif.col-large th:first-child, .article .comparatif.col-large td:first-child { width: 50%; }
/* Mobile : la règle de largeur ci-dessus ne doit pas comprimer l'intitulé des cartes empilées */
@media (max-width: 640px) { .article .comparatif th:first-child, .article .comparatif td:first-child, .article .comparatif.col-large th:first-child, .article .comparatif.col-large td:first-child { width: auto; } }
.meta-article { font-size: .9rem; color: var(--gris); margin-bottom: 1.5rem; }
.sommaire { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1rem 1.3rem; margin: 1.5rem 0 2rem; }
.sommaire strong { color: var(--encre); display: block; margin-bottom: .4rem; }
.sommaire ol { margin: 0; padding-left: 1.2rem; }
.sommaire ol + ul { margin: .35rem 0 0; padding-left: 1.2rem; }
.sommaire li { margin-bottom: .25rem; }
.sommaire a { text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.disposition-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.lateral { position: sticky; top: 90px; display: grid; gap: 1.25rem; min-width: 0; }
.lateral > * { min-width: 0; }
.disposition-article .article > .sommaire:first-child { margin-top: 0; }
.lateral .carte-contact { padding: 1.4rem; }
.lateral .avatar { width: 56px; height: 56px; font-size: 1.1rem; }
.lateral .personne .surtitre { letter-spacing: .08em; font-size: .72rem; white-space: nowrap; }
.personne .role { overflow-wrap: anywhere; }
/* Sur mobile, la colonne latérale passerait sous l'article et répéterait le bandeau final et les liens « Pour aller plus loin » */
@media (max-width: 960px) { .disposition-article { grid-template-columns: 1fr; } .lateral { position: static; display: none; } }

/* ---------- Bandeau d'appel final ---------- */
.bandeau-cta { background: var(--encre); color: #d9e2ec; padding: 3.5rem 0; }
.bandeau-cta .inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.bandeau-cta h2 { color: #fff; margin-bottom: .5rem; }
.bandeau-cta p { margin-bottom: 0; font-size: 1.05rem; }
.bandeau-cta .actions { flex-direction: column; align-items: stretch; max-width: 240px; width: 100%; margin: 0 0 0 auto; }
.bandeau-cta .actions .btn { justify-content: center; }
@media (max-width: 860px) { .bandeau-cta .inner { grid-template-columns: 1fr; } .bandeau-cta .actions { margin-left: 0; } }

/* ---------- Formulaires ---------- */
form.formulaire { background: var(--carte); border: 1px solid var(--bord); padding: 1.75rem; border-radius: 14px; }
fieldset { border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1rem 1.25rem; margin: 0 0 1.5rem; min-width: 0; }
legend { color: var(--encre); font-weight: 700; padding: 0 .4rem; }
.champ { margin-bottom: 1rem; }
.formulaire .deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
label { display: block; font-size: .95rem; font-weight: 600; margin-bottom: .3rem; color: var(--encre-2); }
label .req { color: var(--erreur); }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; padding: .7rem .8rem; border: 1px solid var(--bord-2); border-radius: 8px;
  font-size: 1rem; font-family: var(--sans); background: #fff; color: var(--texte);
}
input[type=file] { font-family: var(--sans); font-size: .95rem; }
textarea { min-height: 150px; resize: vertical; }
.choix label { display: flex; gap: .6rem; align-items: flex-start; font-weight: normal; }
.choix input { margin-top: .3rem; flex: none; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.radios label { display: inline-flex; align-items: center; gap: .45rem; font-weight: normal; }
.aide { font-size: .85rem; color: var(--gris); margin-top: .25rem; }
.erreur-champ { color: var(--erreur); font-size: .85rem; margin-top: .2rem; }
[aria-invalid="true"] { border-color: var(--erreur) !important; }
#erreur-envoi { margin-top: 1rem; }
.disposition-formulaire { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .disposition-formulaire { grid-template-columns: 1fr; } }
/* Colonne « Ce que vous recevez » : compacte et collante sur grand écran, pour accompagner le formulaire */
@media (min-width: 901px) {
  .disposition-formulaire > aside .grille { gap: .9rem; }
  .disposition-formulaire > aside .grille .carte { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 1rem; padding: 1.1rem 1.25rem; }
  .disposition-formulaire > aside .grille .carte-icone { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .disposition-formulaire > aside .grille .carte > :not(.carte-icone) { grid-column: 2; }
  .disposition-formulaire > aside .grille .carte h3 { margin-bottom: .3rem; }
  .disposition-formulaire > aside .grille .carte p { font-size: .95rem; }
}
@media (min-width: 901px) and (min-height: 820px) { .disposition-formulaire > aside { position: sticky; top: 96px; } }
.coordonnees { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.coordonnees li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .8rem; }
.coordonnees .ico { color: var(--accent); flex: none; margin-top: .2rem; }
.coordonnees a { text-decoration: none; font-weight: 600; color: var(--encre); }
.coordonnees a:hover { color: var(--accent); }

/* ---------- Pied de page ---------- */
footer.site { background: var(--encre); color: #c5d0dc; font-size: .93rem; margin-top: 0; }
footer.site .inner { padding-top: 3rem; padding-bottom: 1.5rem; }
.pied-colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
footer.site h2 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: .45rem; }
footer.site a { color: #e5ecf3; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .logo { color: #fff; margin-bottom: .75rem; }
footer.site .logo .tld { color: #8fd3bd; }
footer.site .accroche { color: #c5d0dc; max-width: 34ch; }
.pied-contact { list-style: none; padding: 0; margin: 1rem 0 0; }
.pied-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.pied-contact .ico { color: #8fd3bd; flex: none; margin-top: .25rem; }
.pied-bas { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.25rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .85rem; color: #a9b7c6; }
.pied-bas ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.pied-bas li { margin: 0; }
@media (max-width: 860px) { .pied-colonnes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-colonnes { grid-template-columns: 1fr; } }

/* ---------- Icônes (masques SVG, couleur = currentColor) ---------- */
.ico { display: inline-block; width: 20px; height: 20px; background-color: currentColor; -webkit-mask: var(--m) no-repeat center / contain; mask: var(--m) no-repeat center / contain; vertical-align: middle; flex: none; }
.ico-check { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>"); }
.ico-bouclier { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><path d='m9 12 2 2 4-4'/></svg>"); }
.ico-balance { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3v18M4 21h16M6 7h12'/><path d='m6 7-3 7a3 3 0 0 0 6 0L6 7zm12 0-3 7a3 3 0 0 0 6 0l-3-7z'/></svg>"); }
.ico-document { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><path d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/></svg>"); }
.ico-horloge { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>"); }
.ico-telephone { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/></svg>"); }
.ico-courriel { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3 7 9 6 9-6'/></svg>"); }
.ico-lieu { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/><circle cx='12' cy='10' r='3'/></svg>"); }
.ico-euro { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6a7 7 0 0 0-11 2M18 18a7 7 0 0 1-11-2M4 10h10M4 14h10'/></svg>"); }
.ico-contrat { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20h9'/><path d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/></svg>"); }
.ico-maison { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m3 11 9-8 9 8'/><path d='M5 10v10h14V10'/><path d='M10 20v-6h4v6'/></svg>"); }
.ico-personnes { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/><circle cx='9' cy='7' r='4'/><path d='M23 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/></svg>"); }
.ico-panier { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/></svg>"); }
.ico-outil { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.8-3.8a6 6 0 0 1-7.9 7.9l-6.9 6.9a2.1 2.1 0 0 1-3-3l6.9-6.9a6 6 0 0 1 7.9-7.9z'/></svg>"); }
.ico-restaurant { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 2v7a3 3 0 0 0 6 0V2M6 2v20M20 2c-2 0-4 3-4 7v4h4v9'/></svg>"); }
.ico-fleche { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>"); }
.ico-info { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 16v-4M12 8h.01'/></svg>"); }
.ico-cadenas { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V7a4 4 0 0 1 8 0v4'/></svg>"); }

/* ---------- Page 404 et divers ---------- */
.page-centree { text-align: center; max-width: 640px; margin: 0 auto; padding: 4rem 0; }
.page-centree .actions { justify-content: center; }

/* ---------- Impression ---------- */
@media print {
  header.site, footer.site, .bandeau-cta, .burger, .actions, .btn, .lateral { display: none !important; }
  body { background: #fff; color: #000; }
  main { max-width: none; }
  a { color: #000; text-decoration: none; }
  .section { padding: 1rem 0; }
}

/* Mentions à compléter avant la mise en ligne (voir README) */
.a-completer { background: #fff3bf; border-bottom: 2px dotted #c9a227; padding: 0 .25em; border-radius: 3px; }

/* ---------- Navigation par pays (sous-navigation) ---------- */
.nav-pays { background: #fff; border-bottom: 1px solid var(--bord); }
.nav-pays .inner { display: flex; align-items: center; gap: 1.25rem; min-height: 48px; }
.nav-pays .pays-nom { font-weight: 800; color: var(--accent); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.nav-pays ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav-pays ul::-webkit-scrollbar { display: none; }
.nav-pays li { margin: 0; white-space: nowrap; }
.nav-pays a { display: inline-block; color: var(--encre-2); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .75rem 0; border-bottom: 2px solid transparent; }
.nav-pays a:hover, .nav-pays a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 600px) {
  .nav-pays .inner { gap: .9rem; } .nav-pays a { font-size: .88rem; }
  /* Fondu à droite : indique que la sous-navigation défile.
     Fondu à gauche (sur une marge ajoutée, la position des liens ne change pas) : masque le bout du lien précédent quand la liste a défilé. */
  .nav-pays ul { margin-left: -1.25rem; padding-left: 1.25rem; scroll-padding-inline: 16px; scroll-padding-inline-start: 1.25rem; padding-right: 1.5rem; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 1rem, #000 82%, transparent); mask-image: linear-gradient(to right, transparent 0, #000 1rem, #000 82%, transparent); }
}

/* Téléphone à côté du menu sur mobile */
.tel-mobile { display: none; }
@media (max-width: 860px) {
  .tel-mobile { display: inline-flex; margin-left: auto; margin-right: .6rem; }
  header.site .inner { justify-content: flex-start; }
  .nav-principale .tel { display: none; }
}
/* Petits téléphones : le logo « ConditionsGenerales.com » se resserre pour laisser la place au téléphone et au menu */
@media (max-width: 420px) {
  header.site .inner { gap: .6rem; }
  header.site .logo { font-size: .95rem; gap: .4rem; }
  header.site .logo svg { width: 30px; height: 30px; }
  .tel-mobile { margin-right: .4rem; }
  .tel-mobile, .burger { flex: none; }
}
@media (max-width: 350px) {
  header.site .logo { font-size: .82rem; }
  header.site .logo svg { display: none; }
}

/* Pied de page : cabinet + quatre pays */
.pied-colonnes { grid-template-columns: 1.6fr repeat(4, 1fr); }
.pied-liens-cabinet { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.pied-liens-cabinet li { margin: 0; }
footer.site .pied-cabinet .logo { margin-bottom: .5rem; }
footer.site .petit { color: #a9b7c6; }
@media (max-width: 1000px) { .pied-colonnes { grid-template-columns: 1fr 1fr 1fr; } .pied-cabinet { grid-column: 1 / -1; } }
@media (max-width: 600px) { .pied-colonnes { grid-template-columns: 1fr 1fr; } }

/* Cartes de pays (accueil global) */
.grille-pays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 960px) { .grille-pays { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grille-pays { grid-template-columns: 1fr; } }
.carte-pays { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.5rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .5rem; transition: transform .15s, box-shadow .15s; }
.carte-pays:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.carte-pays .drapeau { width: 40px; height: 28px; border-radius: 4px; border: 1px solid var(--bord); display: block; overflow: hidden; }
.carte-pays h2, .carte-pays h3 { margin: 0; color: var(--encre); }
.carte-pays p { margin: 0; color: var(--gris); font-size: .95rem; }
.carte-pays .lien-fleche { margin-top: auto; align-self: flex-start; }
