/* Descartes GEOCAD — feuille de style du site (v2, 11/11/2026).
   Charte : marine et bleu de Descartes, brun des talus et vert de la végétation repris de
   l'appli de terrain ; décor de géomètre (courbes de niveau, croix de carroyage) dessiné en SVG
   dans la feuille, sans aucune dépendance externe. */

:root {
  --encre: #1d232b;
  --doux: #56606b;
  --pale: #8592a5;
  --marine: #0a2a5c;
  --marine-2: #0a2a5c;
  --bleu: #0d4399;
  --bleu-fonce: #0a3478;
  --bleu-clair: #eef3f9;
  --brun: #a2421d;
  --brun-clair: #f8ece4;
  --vert: #3f6b4c;
  --vert-clair: #e6eee8;
  --sable: #eef3f9;
  --fond: #ffffff;
  --blanc: #ffffff;
  --filet: #dde4ee;
  --ombre: 0 1px 2px rgba(16, 24, 40, 0.06);
  --ombre-legere: none;
  --rayon: 10px;
  --largeur: 1180px;
  /* Décor : courbes de niveau (brun très clair) et croix de carroyage. */
  --courbes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420' viewBox='0 0 640 420'%3E%3Cg fill='none' stroke='%23a2421d' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M-20 300 C 80 240 160 330 260 280 S 440 180 520 230 S 640 300 680 260'/%3E%3Cpath d='M-20 330 C 90 270 170 360 270 310 S 450 210 530 260 S 650 330 680 290'/%3E%3Cpath d='M-20 360 C 100 300 180 390 280 340 S 460 240 540 290 S 660 360 680 320'/%3E%3Cpath d='M-20 270 C 70 210 150 300 250 250 S 430 150 510 200 S 630 270 680 230'/%3E%3Cpath d='M-20 120 C 60 90 140 150 230 110 S 380 40 470 80 S 600 140 680 100'/%3E%3Cpath d='M-20 90 C 70 60 150 120 240 80 S 390 10 480 50 S 610 110 680 70'/%3E%3C/g%3E%3C/svg%3E");
  --croix: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg stroke='%23ffffff' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M54 60h12M60 54v12'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--encre);
  font: 16.5px/1.62 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }
a:hover { color: var(--bleu-fonce); }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
.dedans { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
.lien-evitement { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 50; }
.lien-evitement:focus { left: 12px; top: 12px; }

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

.entete {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--filet);
}
.entete .dedans { display: flex; align-items: center; gap: 18px; padding-top: 9px; padding-bottom: 9px; }
.marque { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--encre); }
.marque img { height: 40px; width: auto; }
.marque b { display: block; font-size: 16.5px; }
.marque span { display: block; font-size: 12px; color: var(--doux); font-weight: 600; }
.menu { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.menu a {
  padding: 8px 12px; border-radius: 9px; color: var(--doux);
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.menu a:hover { background: var(--bleu-clair); color: var(--encre); }
.menu a[aria-current="page"] { color: var(--bleu-fonce); background: var(--bleu-clair); }
.menu a.essai { background: var(--brun); color: #fff; margin-left: 6px; }
.menu a.essai:hover, .menu a.essai[aria-current="page"] { background: #86340f; color: #fff; }

/* ── Boutons, pastilles ──────────────────────────────────────────────── */

.bouton {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 800; font-size: 15.5px; text-decoration: none;
  border: 1.5px solid var(--bleu); color: var(--bleu-fonce); background: #fff;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.bouton:hover { transform: translateY(-1px); box-shadow: var(--ombre-legere); color: var(--bleu-fonce); }
.bouton.plein { background: var(--brun); border-color: var(--brun); color: #fff; }
.bouton.plein:hover { background: #86340f; border-color: #86340f; color: #fff; }
.bouton.bleu { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.bouton.bleu:hover { background: var(--bleu-fonce); color: #fff; }
.bouton.clair { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.bouton.clair:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pastille {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--bleu-clair); color: var(--bleu-fonce);
  font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
}
.pastille.brune { background: var(--brun-clair); color: var(--brun); }
.pastille.verte { background: var(--vert-clair); color: var(--vert); }
.pastille.sombre { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ── En-tête de page sombre, sur le plan du barrage ──────────────────── */

.heros {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(100deg, rgba(8, 22, 45, 0.97) 0%, rgba(8, 22, 45, 0.86) 42%, rgba(8, 22, 45, 0.55) 100%),
    var(--croix),
    url("../img/fond-plan.jpg") center / cover no-repeat,
    var(--marine);
}
.heros .dedans { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 46px; align-items: center; padding-top: 72px; padding-bottom: 84px; }
.heros.simple .dedans { grid-template-columns: minmax(0, 1fr); padding-bottom: 64px; max-width: 980px; }
.heros h1 { font-size: clamp(34px, 5.2vw, 58px); margin: 16px 0 18px; }
.heros h1 em { font-style: normal; color: #f3b48f; }
.heros .chapeau { font-size: 19px; color: rgba(255, 255, 255, 0.82); max-width: 620px; margin: 0 0 28px; }
.heros .garanties { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.78); font-size: 14.5px; font-weight: 600; }
.heros .garanties li::before { content: "✓"; color: #7fd6ac; font-weight: 900; margin-right: 7px; }

/* Composition « bureau + tablette » de l'en-tête */
.composition { position: relative; padding-bottom: 12%; }
.composition .poste {
  border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.composition .poste .barre { height: 22px; background: #e9edf3; display: flex; gap: 6px; align-items: center; padding: 0 10px; }
.composition .poste .barre i { width: 9px; height: 9px; border-radius: 50%; background: #c3cbd7; }
.composition .durcie { position: absolute; width: 60%; left: -3%; bottom: 0; }

/* ── Appareils : tablette durcie, téléphone ──────────────────────────── */

.durcie {
  background: linear-gradient(145deg, #30353f, #15181e);
  border-radius: 26px; padding: 4.2% 4.6%;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #454b57, inset 0 0 0 7px #23272f;
  position: relative;
}
.durcie::before, .durcie::after { /* coins renforcés d'une tablette de terrain */
  content: ""; position: absolute; width: 15%; height: 22%; border: 5px solid #e2632b; opacity: 0.9;
}
.durcie::before { left: -3px; top: -3px; border-right: 0; border-bottom: 0; border-radius: 26px 0 0 0; }
.durcie::after { right: -3px; bottom: -3px; border-left: 0; border-top: 0; border-radius: 0 0 26px 0; }
.durcie img { border-radius: 6px; width: 100%; }

.telephone {
  background: #11141a; border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 70px rgba(11, 31, 61, 0.35), inset 0 0 0 2px #2c313b;
  max-width: 300px;
}
.telephone img { border-radius: 28px; width: 100%; }

figure.appareil { margin: 0; }
figure.appareil figcaption { font-size: 14px; color: var(--doux); padding: 14px 4px 0; text-align: center; }

/* ── Sections ────────────────────────────────────────────────────────── */

section { padding: 72px 0; }
section.serre { padding: 44px 0; }
section.sable { background: var(--sable); }
section.courbes { background: var(--courbes) center / 900px auto repeat, var(--fond); }
section.marine { background: var(--croix), linear-gradient(140deg, var(--marine), var(--marine-2)); color: #fff; }
section.marine .titre-section p, section.marine p { color: rgba(255, 255, 255, 0.78); }

.titre-section { margin-bottom: 36px; max-width: 820px; }
.titre-section.centre { margin-left: auto; margin-right: auto; text-align: center; }
.titre-section h2 { font-size: clamp(27px, 3.6vw, 40px); margin: 14px 0 12px; }
.titre-section p { color: var(--doux); margin: 0; font-size: 18px; }

.grille { display: grid; gap: 22px; }
.grille.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Bande de chiffres ───────────────────────────────────────────────── */

.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); margin-top: -46px; position: relative; }
.chiffres div { padding: 24px 24px 22px; border-left: 1px solid var(--filet); }
.chiffres div:first-child { border-left: 0; }
.chiffres b { display: block; font-size: 34px; line-height: 1; color: var(--brun); letter-spacing: -0.03em; }
.chiffres span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--doux); font-weight: 600; line-height: 1.4; }

/* ── Cartes ──────────────────────────────────────────────────────────── */

.carte { background: #fff; border-radius: var(--rayon); padding: 26px; box-shadow: var(--ombre-legere); border: 1px solid var(--filet); }
.carte h3 { margin: 0 0 8px; font-size: 19px; }
.carte p { margin: 0 0 10px; color: var(--doux); }
.carte p:last-child { margin-bottom: 0; }
.carte ul { margin: 8px 0 0; padding-left: 20px; color: var(--doux); }
.carte li { margin: 5px 0; }
.carte a.suite { font-weight: 800; text-decoration: none; }

/* Atouts exclusifs : tuile à pictogramme */
.exclusif { position: relative; padding-top: 24px; }
.exclusif .picto {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brun-clair); color: var(--brun); margin-bottom: 16px;
}
.exclusif.bleu .picto { background: var(--bleu-clair); color: var(--bleu); }
.exclusif.vert .picto { background: var(--vert-clair); color: var(--vert); }
.exclusif .picto svg { width: 28px; height: 28px; }
.exclusif h3 { font-size: 18.5px; }
.exclusif .nouveau { position: absolute; top: 18px; right: 18px; }

/* Offre : grande carte avec image */
.offre { display: flex; flex-direction: column; gap: 14px; padding: 0; overflow: hidden; }
.offre .visuel { background: #1b1f27; }
.offre .visuel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.offre .corps { padding: 6px 26px 26px; }
.offre h3 { font-size: 23px; }
.offre .public { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--brun); text-transform: uppercase; margin: 12px 0 10px; }

/* ── Frise ───────────────────────────────────────────────────────────── */

.frise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: etape; }
.frise.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.frise .etape { position: relative; background: #fff; border-radius: var(--rayon); padding: 22px 22px 20px; border: 1px solid var(--filet); box-shadow: var(--ombre-legere); }
.frise .etape::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; top: -16px; left: 22px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--marine); color: #fff; font-weight: 800; font-size: 15px;
}
.frise .etape b { display: block; font-size: 18px; margin: 10px 0 6px; }
.frise .etape span { color: var(--doux); font-size: 15px; }
.frise .etape .pastille { margin-top: 2px; }

/* ── Blocs texte + image ─────────────────────────────────────────────── */

.bloc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 40px 0; }
.bloc + .bloc { border-top: 1px solid var(--filet); }
.bloc.inverse > .texte { order: 2; }
.bloc.etroit { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.bloc h2 { font-size: clamp(25px, 3vw, 33px); margin: 12px 0 12px; }
.bloc h3 { font-size: 22px; margin: 12px 0 10px; }
.bloc p { color: var(--doux); margin: 0 0 12px; }
.bloc ul.coches { list-style: none; padding: 0; margin: 14px 0 0; }
.bloc ul.coches li { padding-left: 28px; position: relative; margin: 9px 0; color: var(--doux); }
.bloc ul.coches li::before { content: ""; position: absolute; left: 0; top: 5px; width: 17px; height: 17px; border-radius: 50%; background: var(--vert-clair) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%231d8f5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.bloc ul.coches li b { color: var(--encre); }
section.marine .bloc ul.coches li { color: rgba(255, 255, 255, 0.82); }
section.marine .bloc ul.coches li b { color: #fff; }

.capture { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--ombre); border: 1px solid var(--filet); }
.capture img { width: 100%; }
.capture figcaption { padding: 11px 15px; font-size: 14px; color: var(--doux); background: #fff; border-top: 1px solid var(--filet); }
.capture.plan img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ── Comparateur avant / après (changement d'échelle) ────────────────── */

.comparateur { position: relative; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--filet); background: #fff; user-select: none; }
.comparateur .vues { position: relative; }
.comparateur .vues img { width: 100%; }
.comparateur .apres { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--coupe, 50%)); }
.comparateur .apres img { height: 100%; object-fit: cover; }
.comparateur .trait { position: absolute; top: 0; bottom: 0; left: var(--coupe, 50%); width: 3px; margin-left: -1.5px; background: var(--brun); pointer-events: none; }
.comparateur .trait::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--brun); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 18px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.comparateur .etiquette { position: absolute; top: 14px; padding: 6px 12px; border-radius: 8px; background: rgba(11, 31, 61, 0.86); color: #fff; font-weight: 800; font-size: 14px; }
.comparateur .etiquette.g { left: 14px; }
.comparateur .etiquette.d { right: 14px; background: var(--brun); }
.comparateur input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.comparateur figcaption { padding: 11px 15px; font-size: 14px; color: var(--doux); border-top: 1px solid var(--filet); }

/* ── Schéma : modèle de calques ──────────────────────────────────────── */

.calques { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.calques .colonne { background: #fff; border-radius: 14px; border: 1px solid var(--filet); box-shadow: var(--ombre-legere); overflow: hidden; }
.calques .colonne h4 { margin: 0; padding: 11px 15px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--sable); color: var(--doux); }
.calques ul { list-style: none; margin: 0; padding: 6px 0; font: 14px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.calques li { padding: 5px 15px; display: flex; justify-content: space-between; gap: 10px; }
.calques li span { color: var(--pale); font-family: system-ui, sans-serif; font-size: 13px; }
.calques .fleche { font-size: 30px; color: var(--brun); font-weight: 300; }

/* ── Volets tournants (captures commentées) ──────────────────────────── */

.volets .onglets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.volets .onglet {
  font: inherit; font-size: 14px; font-weight: 800; padding: 8px 15px; border-radius: 10px;
  border: 1.5px solid var(--filet); background: #fff; color: var(--doux); cursor: pointer;
}
.volets .onglet:hover { border-color: var(--bleu); color: var(--bleu-fonce); }
.volets .onglet[aria-selected="true"] { background: var(--marine); border-color: var(--marine); color: #fff; }
.volets .lecture { margin-left: auto; font: inherit; font-size: 13px; font-weight: 700; color: var(--doux); background: none; border: 0; cursor: pointer; padding: 6px 4px; }
.volets .lecture:hover { color: var(--bleu); }
.volets .images { position: relative; }
.volets .images img { transition: opacity 0.6s ease; }
.volets .images img + img { position: absolute; inset: 0; }
.volets .images img:not(.actif) { opacity: 0; pointer-events: none; }
.volets .avance { height: 3px; background: var(--filet); }
.volets .avance span { display: block; height: 100%; width: 0; background: var(--brun); }
.volets.en-cours .avance span { animation: avance var(--duree, 9s) linear; }
@keyframes avance { from { width: 0; } to { width: 100%; } }
.volets.cadre .images { aspect-ratio: 16 / 10; background: #10223f; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.volets.cadre .images img { width: 100%; height: 100%; object-fit: contain; }
section.marine .volets .onglet { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
section.marine .volets .onglet[aria-selected="true"] { background: #fff; color: var(--marine); }
section.marine .volets .lecture { color: rgba(255, 255, 255, 0.7); }
section.marine .volets figcaption { color: rgba(255, 255, 255, 0.8); padding: 14px 4px 0; font-size: 15px; }
section.marine .volets .avance { background: rgba(255, 255, 255, 0.15); margin-top: 18px; }

/* ── Tarifs ──────────────────────────────────────────────────────────── */

.formule { display: flex; flex-direction: column; }
.formule.mise-en-avant { border: 2px solid var(--brun); position: relative; }
.formule.mise-en-avant::before { content: "Le cœur de GEOCAD"; position: absolute; top: -13px; left: 24px; background: var(--brun); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.formule .prix { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; margin: 6px 0 2px; }
.formule .prix small { font-size: 15px; font-weight: 600; color: var(--doux); }
.formule ul { flex: 1; }
.formule .bouton { margin-top: 18px; justify-content: center; }
.a-completer { background: #fff3c4; outline: 2px dashed #d9a400; border-radius: 4px; padding: 0 4px; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--filet); border-radius: 14px; margin: 0 0 12px; box-shadow: var(--ombre-legere); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 800; font-size: 17px; list-style: none; position: relative; padding-right: 54px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--brun); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; color: var(--doux); }
.faq details > div p { margin: 0 0 10px; }

/* ── Textes longs (mentions, à propos) ───────────────────────────────── */

.texte-long { max-width: 820px; }
.texte-long h2 { font-size: 24px; margin: 34px 0 10px; }
.texte-long p, .texte-long li { color: var(--doux); }

/* ── Bandeau d'appel ─────────────────────────────────────────────────── */

.appel {
  background: var(--croix), linear-gradient(120deg, var(--marine) 0%, var(--marine-2) 60%, #1b4b8f 100%);
  color: #fff; border-radius: 24px; padding: 44px 46px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  box-shadow: var(--ombre);
}
.appel h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.appel p { margin: 0; color: rgba(255, 255, 255, 0.82); max-width: 640px; font-size: 17px; }

/* ── Tableau ─────────────────────────────────────────────────────────── */

.tableau { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--ombre-legere); font-size: 15px; }
.tableau th, .tableau td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--filet); vertical-align: top; }
.tableau th { background: var(--sable); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--doux); }
.tableau tr:last-child td { border-bottom: 0; }
.tableau td.oui { color: var(--vert); font-weight: 800; }
.tableau td.non { color: var(--pale); }
.defile { overflow-x: auto; }

/* ── Pied de page ────────────────────────────────────────────────────── */

.pied { background: var(--marine); color: rgba(255, 255, 255, 0.72); padding: 50px 0 36px; font-size: 14.5px; }
.pied .dedans { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.pied h4 { margin: 0 0 10px; color: #fff; font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin: 6px 0; }
.pied a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.pied a:hover { color: #fff; }
.pied .logo-editeur { display: inline-block; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 12px; }
.pied .logo-editeur img { height: 54px; width: auto; }
.pied .editeur p { margin: 0; line-height: 1.6; }
.pied .editeur b { color: #fff; }
.socle { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.socle .atouts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.socle .atouts div { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; padding: 16px 18px; }
.socle .atouts b { display: block; color: #fff; font-size: 16.5px; margin-bottom: 4px; }
.socle .atouts span { color: rgba(255, 255, 255, 0.76); font-size: 15px; }
@media (max-width: 1020px) { .socle { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .socle .atouts { grid-template-columns: 1fr; } }
.pied .mention { grid-column: 1 / -1; font-size: 13px; color: rgba(255, 255, 255, 0.5); border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; margin: 4px 0 0; }

/* ── Petits écrans ───────────────────────────────────────────────────── */

@media (max-width: 1020px) {
  .heros .dedans { grid-template-columns: 1fr; gap: 40px; padding-bottom: 70px; }
  .composition { max-width: 720px; }
  .grille.quatre, .frise.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille.trois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres div:nth-child(3) { border-left: 0; }
  .chiffres div:nth-child(n+3) { border-top: 1px solid var(--filet); }
  .bloc, .bloc.etroit { grid-template-columns: 1fr; gap: 26px; }
  .bloc.inverse > .texte { order: 0; }
  .pied .dedans { grid-template-columns: 1fr 1fr; }
  .menu { overflow-x: auto; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .entete .dedans { flex-wrap: wrap; gap: 6px; }
  .menu { margin-left: 0; width: 100%; padding-bottom: 2px; }
  .menu a.essai { order: -1; margin-left: 0; margin-right: 6px; }
  .marque img { height: 34px; }
  .grille.deux, .grille.trois, .grille.quatre, .frise, .frise.quatre { grid-template-columns: 1fr; }
  .frise { gap: 30px; }
  .heros .dedans { padding-top: 44px; }
  .heros .chapeau { font-size: 17px; }
  .composition .durcie { position: relative; width: 82%; left: 0; margin: -18% 0 0 -2%; }
  .composition { padding-bottom: 0; }
  section { padding: 50px 0; }
  .chiffres { margin-top: -30px; }
  .chiffres div { padding: 18px; }
  .chiffres b { font-size: 28px; }
  .appel { padding: 30px 22px; }
  .calques { grid-template-columns: 1fr; }
  .calques .fleche { transform: rotate(90deg); justify-self: center; }
  .pied .dedans { grid-template-columns: 1fr; }
  .durcie { border-radius: 16px; }
  .durcie::before { border-radius: 16px 0 0 0; }
  .durcie::after { border-radius: 0 0 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .volets .images img { transition: none; }
  .volets.en-cours .avance span { animation: none; }
  .bouton { transition: none; }
}

/* ══ V3 : PALETTE DESCARTES (BLEU DU LOGO, VERT TOPO) ET STYLE A PLAT ═══════
   Repris du site descartes-logiciel.fr : fond blanc, chapitres en bleu clair,
   en-tete bleu clair avec zones blanches, pied de page blanc a liens bleus.
   Retire ce qui faisait « genere » : degrades, grandes ombres, boutons qui se
   soulevent, pastilles en capitales, mots du titre en couleur. Le decor de
   geometre (plan du barrage, courbes de niveau, carroyage) est garde. */

/* En-tete */
.entete { background: var(--bleu-clair); backdrop-filter: none; }
.marque img { background: #fff; border: 1px solid var(--filet); border-radius: 6px; padding: 2px 6px; }
.menu a { border-radius: 6px; }
.menu a:hover, .menu a[aria-current="page"] { background: #fff; color: var(--bleu); }
.menu a.essai { background: var(--bleu); }
.menu a.essai:hover, .menu a.essai[aria-current="page"] { background: var(--bleu-fonce); }

/* Boutons a plat */
.bouton { border-radius: 6px; }
.bouton:hover { transform: none; box-shadow: none; }
.bouton.plein { background: var(--bleu); border-color: var(--bleu); }
.bouton.plein:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); }

/* Pastilles devenues de simples surtitres */
.pastille, .pastille.brune, .pastille.verte {
  background: transparent; padding: 0; border-radius: 0;
  text-transform: none; letter-spacing: .01em; font-size: 14px; font-weight: 700;
  color: var(--vert);
}
.pastille.sombre { background: transparent; padding: 0; color: rgba(255, 255, 255, .85); }

/* En-tete de page : le plan du barrage sous un voile uni, sans degrade */
.heros {
  background:
    linear-gradient(rgba(10, 42, 92, .9), rgba(10, 42, 92, .9)),
    var(--croix),
    url("../img/fond-plan.jpg") center / cover no-repeat,
    var(--marine);
}
.heros h1 em { color: inherit; }
.composition .poste { box-shadow: 0 10px 30px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 255, 255, .14); }
.durcie { box-shadow: 0 10px 30px rgba(0, 0, 0, .3), inset 0 0 0 2px #454b57, inset 0 0 0 7px #23272f; }
.telephone { box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 0 0 2px #2c313b; }

/* Chapitres : blanc, bleu clair, et le bleu marine en aplat */
section.marine { background: var(--croix), var(--marine); }
section.courbes { background: var(--courbes) center / 900px auto repeat, #fff; }
.appel { background: var(--croix), var(--marine); border-radius: var(--rayon); box-shadow: none; }

/* Cartes, cadres et tableaux */
.carte, .frise .etape, .calques .colonne, .faq details, .tableau { box-shadow: none; }
.chiffres { box-shadow: none; border: 1px solid var(--filet); }
.capture, .comparateur { border-radius: 8px; box-shadow: none; }
.exclusif .picto { border-radius: 8px; }
.volets.cadre .images { border-radius: 8px; box-shadow: none; }
.volets .onglet { border-radius: 6px; }
.formule.mise-en-avant { border-color: var(--bleu); }
.formule.mise-en-avant::before {
  background: var(--bleu); text-transform: none; letter-spacing: 0; font-size: 13px; border-radius: 4px;
}
.offre .public { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--vert); }
.calques .colonne h4, .tableau th { text-transform: none; letter-spacing: 0; font-size: 14px; }
.socle .atouts div { border-radius: 8px; }

/* Pied de page blanc, liens bleus en gras */
.pied { background: #fff; color: var(--doux); border-top: 1px solid var(--filet); }
.pied h4 { color: var(--doux); }
.pied a { color: var(--bleu); font-weight: 700; }
.pied a:hover { color: var(--bleu-fonce); text-decoration: underline; }
.pied .logo-editeur { background: transparent; padding: 0; }
.pied .editeur b { color: var(--encre); }
.pied .mention { color: var(--doux); border-top-color: var(--filet); }
.marque b, .marque span span { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 721px) { .marque > span { display: none; } }
.pied h4 { text-transform: none; letter-spacing: 0; font-size: 14px; }
