/* =========================================================================
   Concept Natura inc. — feuille de style du site
   Couleurs et polices tirées du logo. Pour changer une couleur partout,
   modifiez seulement les variables ci-dessous.
   ========================================================================= */

@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bleu: #396284;          /* bleu du logo */
  --bleu-fonce: #2B4C68;
  --bleu-pale: #E3EBF2;
  --noir: #141618;          /* noir du logo */
  --charbon: #2A3035;
  --fond: #F3F5F7;
  --blanc: #FFFFFF;
  --texte: #1B1E21;
  --gris-texte: #505A63;
  --gris-bord: #7D8892;     /* bordures de champs : contraste 3:1 minimum */
  --gris-clair: #AEB8C1;
  --ligne: #D8DEE3;
  --focus: var(--bleu);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
  --section: clamp(48px, 7vw, 88px);
  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--texte); background: var(--fond); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: 3px; }
a:hover { color: var(--bleu-fonce); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero, .cta-band, .site-footer, .mobile-call, .lightbox, .contact-card { --focus: #FFFFFF; }

h1, h2 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; margin: 0 0 .45em; color: var(--noir); }
h1 { font-size: clamp(2.8rem, 6.6vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 68ch; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--bleu); color: var(--blanc); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { left: 16px; }

section { padding: var(--section) 0; }
.section-white { background: var(--blanc); }
.section-intro { max-width: 64ch; margin-bottom: 36px; }
.section-intro p { color: var(--gris-texte); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 14px 22px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; min-height: 48px; }
.btn-primary { background: var(--bleu); color: var(--blanc); }
.btn-primary:hover { background: var(--bleu-fonce); color: var(--blanc); }
.btn-dark { background: var(--noir); color: var(--blanc); }
.btn-dark:hover { background: var(--charbon); color: var(--blanc); }
.btn-ghost-light { border-color: currentColor; color: var(--blanc); background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: var(--blanc); }
.btn-sm { padding: 9px 14px; font-size: .95rem; min-height: 44px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.more { font-weight: 700; color: var(--bleu); text-decoration: underline; text-decoration-thickness: 2px; }
.more::after { content: " ›"; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--blanc); border-bottom: 1px solid var(--ligne); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--noir); flex: none; }
.brand img { height: 52px; width: auto; }
.brand-name { font-family: var(--display); font-size: 1.85rem; line-height: .9; text-transform: uppercase; color: var(--noir); white-space: nowrap; }
.brand-name small { display: block; font-size: 1.02rem; letter-spacing: .05em; color: var(--bleu); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--texte); text-decoration: none; padding: 10px 9px; font-weight: 600; font-size: 1rem; white-space: nowrap; border-radius: var(--radius); }
.nav a:hover { background: var(--fond); color: var(--bleu); }
.nav a[aria-current] { color: var(--bleu); box-shadow: inset 0 -3px 0 var(--bleu); border-radius: 0; }
.header-call { flex: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--noir); color: var(--noir); border-radius: var(--radius); padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
@media (max-width: 1320px) { .header-call .num { display: none; } }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
         background: var(--blanc); padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--ligne); box-shadow: 0 16px 24px rgba(20,22,24,.12); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--ligne); border-radius: 0; }
  .nav a[aria-current] { box-shadow: inset 4px 0 0 var(--bleu); padding-left: 16px; }
}
@media (max-width: 640px) {
  .header-call { display: none; }
  .site-header .wrap { min-height: 68px; }
  .brand img { height: 42px; }
  .brand-name { font-size: 1.5rem; }
  .brand-name small { font-size: .85rem; }
}

/* ---------- Héros de l'accueil ---------- */
.hero { background: var(--noir); color: var(--blanc); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { color: var(--blanc); max-width: 14ch; }
.hero .lead { font-size: 1.18rem; color: #D5DCE2; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { margin: 28px 0 0; font-size: .95rem; color: var(--gris-clair); }
.hero-meta strong { color: var(--blanc); font-weight: 600; }
.hero-figure { position: relative; }
.hero-figure img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.hero-accent { position: absolute; z-index: 0; top: -24px; right: -24px; width: 55%; height: 70%; background: var(--bleu); border-radius: var(--radius); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure img { aspect-ratio: 16 / 10; }
  .hero-accent { top: -12px; right: -12px; }
}
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } }

/* ---------- Bandeau des pages intérieures ---------- */
.page-hero { background: var(--bleu-pale); }
.page-hero .wrap { padding-top: clamp(28px, 4.5vw, 56px); padding-bottom: clamp(28px, 4vw, 48px); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero h1::after { content: ""; display: block; width: 72px; height: 6px; background: var(--bleu); margin-top: 14px; }
.page-lead { color: var(--gris-texte); font-size: 1.15rem; max-width: 62ch; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 14px; font-size: .9rem; color: var(--gris-texte); }
.crumbs li + li::before { content: "/"; margin-right: 4px; }
.crumbs a { color: var(--gris-texte); }

/* ---------- Services (accueil) ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: 32px 0; }
.service-row + .service-row { border-top: 1px solid var(--ligne); }
.service-row.reverse .service-img { order: 2; }
.service-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.service-text h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; text-transform: uppercase; color: var(--noir); }
.service-text ul { padding-left: 1.1em; margin: 0 0 1.2em; color: var(--gris-texte); }
.service-text li { margin-bottom: 4px; }
@media (max-width: 760px) { .service-row { grid-template-columns: 1fr; } .service-row.reverse .service-img { order: 0; } }

/* ---------- Étapes (séquence réelle) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding-right: 20px; position: relative; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bleu); color: var(--blanc); font-family: var(--display); font-size: 1.5rem; margin-bottom: 16px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: var(--gris-clair); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--gris-texte); font-size: .97rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { padding: 0 0 0 64px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { top: 44px; left: 21px; width: 2px; height: calc(100% - 22px); right: auto; }
}

/* ---------- Territoire ---------- */
.territory { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.towns { columns: 2; column-gap: 28px; padding: 0; margin: 6px 0 22px; list-style: none; }
.towns li { padding: 8px 0; border-bottom: 1px solid var(--ligne); break-inside: avoid; font-weight: 600; }
.map { margin: 0; }
.map svg { width: 100%; height: auto; max-width: 560px; display: block; margin: 0 auto; overflow: visible; }
.map figcaption { text-align: center; color: var(--gris-texte); font-size: .9rem; margin-top: 8px; }
.m-zone { fill: var(--bleu-pale); stroke: var(--bleu); stroke-width: 2; stroke-dasharray: 8 6; }
.m-ring { fill: none; stroke: var(--bleu); stroke-opacity: .5; stroke-width: 1.2; stroke-dasharray: 4 5; }
.m-radius { font-family: var(--display); font-size: 26px; fill: var(--bleu-fonce); letter-spacing: .03em; }
.m-radius-sm { font-size: 18px; }
.m-dot { fill: var(--noir); stroke: var(--blanc); stroke-width: 1.5; }
.m-town { font-family: var(--font); font-size: 14px; font-weight: 600; fill: var(--texte); paint-order: stroke; stroke: var(--bleu-pale); stroke-width: 4px; stroke-linejoin: round; }
.m-center { fill: var(--bleu); stroke: var(--blanc); stroke-width: 3; }
.m-granby { font-family: var(--display); font-size: 30px; fill: var(--noir); paint-order: stroke; stroke: var(--bleu-pale); stroke-width: 5px; stroke-linejoin: round; }
@media (max-width: 860px) { .territory { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .map { display: none; } }
@media (max-width: 480px) { .towns { columns: 1; } }

/* ---------- Avis ---------- */
.reviews-line { padding: 36px 0; }
.reviews-line .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.reviews-line p { margin: 0; color: var(--gris-texte); }
.reviews-line strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: var(--noir); margin-bottom: 6px; }

/* ---------- Deux colonnes, listes, FAQ ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.two-col-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--ligne); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 3px solid var(--bleu); border-bottom: 3px solid var(--bleu); transform: rotate(-45deg); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 36px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.8rem; line-height: 1; color: var(--bleu); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--gris-texte); }
.faq-wide details { max-width: 860px; }

/* ---------- Projets : cartes ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-weight: 600; font-size: .95rem; padding: 9px 16px; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--gris-bord); background: var(--blanc); color: var(--texte); cursor: pointer; }
.chip:hover { border-color: var(--bleu); color: var(--bleu); }
.chip[aria-pressed="true"] { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.projects-all:not(.filtered) > .project-card:first-child,
.projects-all:not(.filtered) > .project-card:last-child { grid-column: span 2; }
.projects-all:not(.filtered) > .project-card:first-child .project-cover img,
.projects-all:not(.filtered) > .project-card:last-child .project-cover img { aspect-ratio: 8 / 3; }
@media (max-width: 960px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-all:not(.filtered) > .project-card:last-child { grid-column: auto; }
  .projects-all:not(.filtered) > .project-card:last-child .project-cover img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .projects { grid-template-columns: 1fr; }
  .projects-all:not(.filtered) > .project-card:first-child { grid-column: auto; }
  .projects-all:not(.filtered) > .project-card:first-child .project-cover img { aspect-ratio: 4 / 3; }
}
.project-card { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }
.project-card[hidden] { display: none; }
.project-card:hover { border-color: var(--bleu); color: inherit; }
.project-card:hover .project-cover img { transform: scale(1.03); }
.project-cover { position: relative; overflow: hidden; }
.project-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { background: var(--blanc); color: var(--noir); font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius); }
.badge-live { background: var(--bleu); color: var(--blanc); }
.project-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.project-type { color: var(--bleu); font-weight: 700; font-size: .88rem; }
.project-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: var(--noir); margin: 6px 0 8px; }
.project-meta { margin: auto 0 0; color: var(--gris-texte); font-size: .95rem; }
.related { background: var(--fond); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.section-head h2 { margin-bottom: .2em; }
.section-head p { color: var(--gris-texte); margin: 0; }

/* ---------- Page projet ---------- */
.facts-band { background: var(--blanc); border-bottom: 1px solid var(--ligne); }
.project-facts { margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(3, max-content); gap: 12px 56px; }
.project-facts dt { font-size: .85rem; color: var(--gris-texte); }
.project-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .project-facts { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.project-cover-big { background: var(--blanc); padding-top: clamp(28px, 4vw, 48px); }
.project-cover-big figure { margin: 0; }
.project-cover-big figure > figcaption:not(.ba-label) { color: var(--gris-texte); font-size: .95rem; margin-top: 10px; }
.shot-big img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.before-after figure { margin: 0; position: relative; }
.before-after img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-label { position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--noir); color: var(--blanc); font-family: var(--display); font-size: 1.3rem; letter-spacing: .04em; padding: 4px 12px; border-radius: var(--radius); pointer-events: none; }
.ba-after { background: var(--bleu); }
@media (max-width: 640px) { .before-after { grid-template-columns: 1fr; } }
.project-stages .stage + .stage { margin-top: 48px; }
.stage-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.stage-head h2 { margin: 0; }
.stage-num { font-family: var(--display); font-size: 1.3rem; color: var(--bleu-fonce); letter-spacing: .03em; }
.shots { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots-1 { grid-template-columns: minmax(0, 560px); }
.shots-2 .shot img, .shots-3 .shot img { aspect-ratio: 4 / 3; object-fit: cover; height: 100%; }
@media (max-width: 640px) { .shots, .shots-2, .shots-3 { grid-template-columns: 1fr 1fr; gap: 10px; } .shots-1 { grid-template-columns: 1fr; } }
.shot { display: block; border-radius: var(--radius); overflow: hidden; background: var(--ligne); }
.shot img { width: 100%; transition: opacity .2s; }
.shot:hover img { opacity: .88; }
.project-nav { padding: 0 0 var(--section); background: var(--fond); }
.project-nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-top: 28px;
  background: linear-gradient(var(--ligne), var(--ligne)) no-repeat top / calc(100% - 2 * var(--gutter)) 1px; }
.project-nav a { text-decoration: none; color: var(--texte); font-weight: 600; }
.project-nav a span { display: block; font-weight: 400; font-size: .85rem; color: var(--gris-texte); }
.project-nav .next { text-align: right; }
.project-nav .all { border: 1.5px solid var(--noir); padding: 10px 16px; border-radius: var(--radius); }
@media (max-width: 640px) { .project-nav .wrap { grid-template-columns: 1fr 1fr; } .project-nav .all { grid-column: 1 / -1; grid-row: 1; text-align: center; } }

/* ---------- Visionneuse plein écran ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,14,16,.95); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: var(--radius); }
.lightbox figcaption { color: #D5DCE2; font-size: .95rem; text-align: center; max-width: 70ch; }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); color: var(--blanc); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 20px; color: var(--gris-clair); font-size: .9rem; }
@media (max-width: 640px) {
  .lightbox { padding: 60px 8px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
body.lb-open { overflow: hidden; }

/* ---------- À propos ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.story-text p { font-size: 1.08rem; }
.story-text .story-lead { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.05; text-transform: uppercase; color: var(--noir); max-width: none; margin-bottom: .7em; }
.story-text .signature { margin-top: 1.6em; font-family: var(--display); font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: var(--noir); }
.signature span { display: block; font-family: var(--font); font-size: .95rem; text-transform: none; color: var(--gris-texte); margin-top: 6px; }
.story-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } .story-img img { aspect-ratio: 4 / 3; } }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.timeline li { padding: 22px 20px 0 0; border-top: 3px solid var(--bleu); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bleu); border: 3px solid var(--fond); }
.timeline .when { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--bleu-fonce); line-height: 1; margin-bottom: 8px; }
.timeline h3 { font-size: 1.05rem; }
.timeline p { color: var(--gris-texte); font-size: .97rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-top: 0; border-left: 3px solid var(--bleu); padding: 0 0 22px 24px; }
  .timeline li::before { top: 2px; left: -9px; }
}
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.promises > div { border-top: 1px solid var(--ligne); padding-top: 16px; }
.promises p { color: var(--gris-texte); }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }

/* ---------- Bandeau d'appel ---------- */
.cta-band { background: var(--bleu); color: var(--blanc); padding: clamp(36px, 6vw, 64px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; color: var(--blanc); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; gap: 0; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--gris-texte); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; min-height: 48px; border: 1.5px solid var(--gris-bord); border-radius: var(--radius); background: var(--blanc); color: var(--texte); width: 100%; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--bleu); outline: 3px solid var(--bleu); outline-offset: 1px; }
.field textarea { min-height: 150px; resize: vertical; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: .9rem; font-weight: 600; }
.form-note { font-size: .9rem; color: var(--gris-texte); }
.form-status { margin-top: 14px; font-weight: 600; }
.contact-card { background: var(--noir); color: var(--blanc); padding: 28px; border-radius: var(--radius); }
.contact-card a { color: var(--blanc); }
.contact-card dl { margin: 0; }
.contact-card dt { color: var(--gris-clair); font-size: .9rem; margin-top: 16px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 2px 0 0; font-weight: 600; }
.card-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #3D454B; color: #D5DCE2; font-size: .95rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Texte long (politique) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.4em; }
.updated { color: var(--gris-texte); font-size: .95rem; }

/* ---------- 404 ---------- */
.links-404 { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.links-404 a { display: block; padding: 16px 18px; border: 1px solid var(--ligne); border-radius: var(--radius); background: var(--fond); font-weight: 600; text-decoration: none; }
.links-404 a:hover { border-color: var(--bleu); }

/* ---------- Associations ---------- */
.assoc-band { background: var(--blanc); border-top: 1px solid var(--ligne); }
.assoc-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 56px; padding-top: 22px; padding-bottom: 22px; }
.assoc-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.assoc-label { margin: 0; font-family: var(--display); font-size: 1.4rem; letter-spacing: .03em; text-transform: uppercase; color: var(--gris-texte); }
.assoc-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 36px; }
.assoc-list img { height: 56px; width: auto; }
.assoc-list img[src*="soumission"] { height: 44px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--charbon); color: #C5CCCF; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer-logo { width: 104px; margin-bottom: 16px; }
.footer-title { font-size: 1.4rem; color: var(--blanc); margin-bottom: .5em; }
.site-footer a { color: #E2E7E9; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid #3D454B; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 18px; padding-bottom: 22px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .footer-id { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel sur cellulaire ---------- */
.mobile-call { display: none; }
@media (max-width: 640px) {
  .mobile-call { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--noir); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -2px 10px rgba(0,0,0,.2); }
  .mobile-call .btn { flex: 1; padding: 12px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: 90px; }
}
.page-lead, .section-intro p, .hero .lead { text-wrap: pretty; }
