/* Inter auto-hébergée (charte : une seule police, 400/600/700) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --edf-black: #000000;
  --edf-green: #6EF0BE;
  --edf-green-dark: #2BB97E;
  --edf-green-soft: #D4F7E5;
  --edf-green-ink: #087346;   /* vert en texte sur fond clair : 5,9:1 sur blanc, 5,1:1 sur vert doux */
  --edf-light: #F5F5F5;
  --edf-white: #FFFFFF;
  --edf-gray-text: #4A4A4A;
  --edf-border: #E0E0E0;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--edf-black);
  background: var(--edf-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--edf-black); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--edf-green-dark); text-decoration-thickness: 2px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--edf-border);
  background: var(--edf-white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-block: 14px;
  flex-wrap: wrap;
}

.brand img { height: 30px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 15px;
  color: var(--edf-gray-text);
}
.nav a:hover { color: var(--edf-black); }
.nav a[aria-current="page"] { color: var(--edf-black); font-weight: 600; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--edf-black); }

/* Menu mobile : le bouton n'apparaît que si le script a posé .has-menu (sans JS, la nav reste visible). */
.nav-toggle {
  display: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  background: var(--edf-white);
  color: var(--edf-black);
  border: 1px solid var(--edf-black);
  border-radius: 0;
  padding: 9px 16px;
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--edf-black); color: var(--edf-white); }
.nav-toggle:focus-visible { outline: 2px solid var(--edf-green-dark); outline-offset: 2px; }

@media (max-width: 700px) {
  .has-menu .wrap { flex-wrap: nowrap; min-height: 64px; padding-block: 10px; }
  .has-menu .nav-toggle { display: block; }
  .has-menu .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--edf-white);
    border-bottom: 1px solid var(--edf-black);
    padding: 4px 24px 24px;
  }
  .has-menu .nav[data-open="true"] { display: flex; }
  .has-menu .nav a { padding: 14px 0; border-bottom: 1px solid var(--edf-border); font-size: 17px; color: var(--edf-black); }
  .has-menu .nav a.btn { margin-top: 18px; padding: 14px 18px; text-align: center; border: 1px solid var(--edf-green); color: var(--edf-black); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid var(--edf-black);
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--edf-green); color: var(--edf-black); border-color: var(--edf-green); }
.btn-primary:hover { background: var(--edf-green-dark); color: var(--edf-black); border-color: var(--edf-green-dark); }

.btn-secondary { background: transparent; color: var(--edf-black); border-color: var(--edf-black); }
.btn-secondary:hover { background: var(--edf-green-soft); }

.btn-sm { padding: 10px 18px; font-size: 15px; }

/* ---------- Sections ---------- */

section { padding-block: 84px; }
section.tight { padding-block: 60px; }

h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 700; }

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  letter-spacing: -0.02em;
  max-width: 17ch;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: -0.015em;
  max-width: 24ch;
}

h3 { font-size: 1.15rem; font-weight: 600; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--edf-gray-text);
  max-width: 62ch;
  margin-top: 26px;
}

.section-intro { color: var(--edf-gray-text); max-width: 62ch; margin-top: 18px; }

/* Intitulés de section entre crochets verts, clin d'œil au logo (H2 seulement) */
.h-br::before { content: "[\00a0"; content: "[\00a0" / ""; color: var(--edf-green-dark); font-weight: 700; }
.h-br::after  { content: "\00a0]"; content: "\00a0]" / ""; color: var(--edf-green-dark); font-weight: 700; }
.dark .h-br::before, .dark .h-br::after { color: var(--edf-green); }

.paper { background: var(--edf-light); }

.rule {
  width: 64px;
  height: 4px;
  background: var(--edf-green);
  margin-bottom: 28px;
}

/* ---------- Hero ---------- */

.hero { padding-top: 92px; padding-bottom: 56px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* ---------- Chiffres ---------- */

.figures {
  --fig-rule: rgba(0, 0, 0, .22);
  background: var(--edf-green-soft);
  padding-block: 0;
}

.figures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.figure {
  padding: 48px 28px 48px 0;
  border-right: 1px solid var(--fig-rule);
}
.figure:last-child { border-right: 0; }
.figure:not(:first-child) { padding-left: 28px; }

.figure .value {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--edf-green-ink);
}

.figure .label {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--edf-black);
  max-width: 22ch;
}

/* ---------- Cartes « ce que nous faisons » ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--edf-border);
  border: 1px solid var(--edf-border);
  margin-top: 48px;
}

.card {
  background: var(--edf-white);
  padding: 36px 34px;
}

.card p {
  color: var(--edf-gray-text);
  margin: 14px 0 0;
  font-size: 16px;
}

.card .num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--edf-green-dark);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

/* ---------- Cas IA ---------- */

.dark {
  background: var(--edf-black);
  color: var(--edf-white);
}
.dark h2 { color: var(--edf-white); }
.dark .section-intro { color: #B5B5B5; }

.bracket { color: var(--edf-green); font-weight: 700; }

.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 56px;
}
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }

.case {
  border-top: 3px solid var(--edf-green);
  padding-top: 30px;
  display: block;
}

.case h3 { color: var(--edf-white); font-size: 1.1rem; }

.case dl { margin: 22px 0 0; }
.case dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--edf-green);
  margin-top: 18px;
}
.case dd {
  margin: 5px 0 0;
  font-size: 15px;
  color: #D8D8D8;
  line-height: 1.5;
}

.todo {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--edf-black);
  background: var(--edf-green);
  padding: 2px 8px;
}

.dark .cases-more {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid #2A2A2A;
  color: #B5B5B5;
  font-size: 16px;
  max-width: 70ch;
}
.dark .cases-more strong { color: var(--edf-white); font-weight: 600; }

/* ---------- Logos ---------- */


.clients .claim {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  max-width: 34ch;
  line-height: 1.3;
}

.clients { border-top: 1px solid var(--edf-border); }

.logo-row {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.logo-chip {
  background: var(--edf-white);
  border: 1px solid var(--edf-border);
  min-height: 96px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--edf-black);
}

/* Logo réel : hauteur uniforme ~40 px, gris au repos, couleur au survol (sans transition) */
.logo-chip img {
  width: auto;
  height: auto;
  max-height: 40px;
  max-width: 100%;
  filter: grayscale(1);
}
.logo-chip:hover img { filter: none; }
/* logos carrés ou à texte fin : un peu plus hauts pour rester lisibles */
.logo-chip--tall img { max-height: 64px; }

/* ---------- Durée ---------- */

.duration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.duration-grid p { color: var(--edf-gray-text); margin: 0 0 18px; }
.duration-grid p.founder { margin: 22px 0 0; color: var(--edf-black); font-weight: 600; max-width: 30ch; }

.duration-grid p.callout {
  border-left: 4px solid var(--edf-green);
  padding: 4px 0 4px 22px;
  margin-top: 30px;
  color: var(--edf-black);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- Aiguillage Kerandel ---------- */

/* Interrupteur : bloc retiré tant que kerandel.fr n'est pas en ligne (brief §2.7) */
[data-kerandel="off"] { display: none !important; }

.switch {
  background: var(--edf-white);
  border: 1px solid var(--edf-black);
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.switch p { margin: 10px 0 0; color: var(--edf-gray-text); max-width: 56ch; }
.switch strong { font-size: 1.1rem; color: var(--edf-black); }

/* ---------- Clôture ---------- */

.closing { border-top: 1px solid var(--edf-border); }

.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
.closing-grid .contact-form { max-width: none; }
.closing-grid .contact-form .field:first-child { margin-top: 0; }

/* ---------- Le groupe : tableau des marques ---------- */

.brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--edf-border);
  border: 1px solid var(--edf-border);
  margin-top: 48px;
}

.brand-card { background: var(--edf-white); padding: 34px; }
.brand-card .verb { font-size: 13px; font-weight: 600; color: var(--edf-green-dark); }
.brand-card h3 { margin-top: 10px; font-size: 1.25rem; font-weight: 700; }
.brand-card p { color: var(--edf-gray-text); font-size: 16px; margin: 14px 0 0; }

.prose { max-width: 66ch; }
.prose p { color: var(--edf-gray-text); }
.prose h2 { margin-top: 56px; }
.prose h2 + p { margin-top: 18px; }
.prose ul { color: var(--edf-gray-text); padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--edf-black);
  color: #B5B5B5;
  padding-block: 56px 36px;
  font-size: 15px;
}

.site-footer a { color: #B5B5B5; }
.site-footer a:hover { color: var(--edf-white); }

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand img { height: 28px; width: auto; }

.footer-brand .baseline {
  margin-top: 10px;
  font-size: 14px;
  color: #B5B5B5;
  text-align: center;
}

.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links .title { color: var(--edf-white); font-weight: 600; margin-bottom: 14px; font-size: 14px; }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #2A2A2A;
  font-size: 14px;
  color: var(--edf-gray-text);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom span { color: #8A8A8A; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .figure { border-bottom: 1px solid var(--edf-border); }
  .figure:nth-child(2n) { border-right: 0; }
  .figure:nth-child(n+3) { border-bottom: 0; }
  .cards, .cases, .brands, .duration-grid, .case, .closing-grid { grid-template-columns: minmax(0, 1fr); }
  .duration-grid { gap: 36px; }
  .case { gap: 32px; }
  .closing-grid { gap: 40px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding-block: 60px; }
  .hero { padding-top: 60px; }
  .figure { padding: 28px 12px 28px 16px !important; }
  .figure:nth-child(2n+1) { padding-left: 0 !important; }
  .figure .label { font-size: 14px; }
  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-chip { min-height: 80px; padding: 16px; font-size: 17px; }
  .cases { gap: 56px; }
  .card, .brand-card, .switch { padding: 28px 22px; }
  .btn { display: block; text-align: center; }
}

/* ---------- Placeholders (jamais en production) ---------- */

.todo {
  background: #FFE45C;
  color: var(--edf-black);
}

/* ---------- Pages courtes ---------- */

.hero-court { padding-top: 64px; padding-bottom: 40px; }

/* ---------- Formulaire de contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.contact-form { max-width: 640px; }
.contact-form button, .contact-form input, .contact-form textarea { font: inherit; }
.contact-form .btn { font-weight: 600; }

.field { margin-top: 24px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.field-optionnel > label::after, .field-optionnel > legend::after { content: " (facultatif)"; color: var(--edf-gray-text); font-weight: 400; }
.field-ligne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 48px; font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--edf-border); background: var(--edf-white); color: var(--edf-black); border-radius: 0;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field textarea::placeholder { color: #767676; }
.field input:focus, .field textarea:focus { border-color: var(--edf-black); outline: 1px solid var(--edf-black); outline-offset: -2px; }
.field [aria-invalid="true"], fieldset[aria-invalid="true"] .choice { border-color: #B00020; }
.field-erreur { margin: 8px 0 0; font-size: 14px; color: #B00020; font-weight: 500; }
.field-note { margin: 10px 0 0; font-size: 14px; color: var(--edf-gray-text); }

/* Pastille : la pastille entière est cliquable, le bouton radio natif est masqué de façon accessible */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.field .choice {
  position: relative; display: inline-flex; margin: 0; font-weight: 400; align-items: center; gap: 6px; min-height: 44px;
  padding: 10px 16px; border: 1px solid var(--edf-border); background: var(--edf-white); font-size: 15px; cursor: pointer;
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.field .choice:hover { border-color: var(--edf-black); }
.field .choice:has(input:checked) { background: var(--edf-green); border-color: var(--edf-green); color: var(--edf-black); font-weight: 600; }
.choice:has(input:checked)::before { content: "✓"; content: "✓" / ""; font-weight: 700; }
.choice:has(input:focus-visible) { outline: 2px solid var(--edf-black); outline-offset: 2px; }

.form-resume { margin: 0 0 8px; padding: 14px 18px; border-left: 3px solid #B00020; background: var(--edf-light); font-size: 15px; }
.form-resume p { margin: 0; font-weight: 600; }
.form-resume ul { margin: 8px 0 0; padding-left: 18px; }
.form-resume a { color: var(--edf-black); text-decoration: underline; }
.form-resume:focus { outline: 2px solid var(--edf-black); outline-offset: 2px; }
.contact-form button[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 600px) { .field-ligne { grid-template-columns: 1fr; } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-note { margin: 0; font-size: 14px; color: var(--edf-gray-text); max-width: 32ch; }
.form-erreur {
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 3px solid var(--edf-black);
  background: var(--edf-light);
  font-size: 15px;
}

.contact-aside h2 { font-size: 1.1rem; margin-top: 22px; }
.contact-aside h2:first-child { margin-top: 0; }
.contact-aside p { color: var(--edf-gray-text); margin: 10px 0 0; font-size: 16px; }

.etapes { margin: 14px 0 0; padding-left: 0; list-style: none; counter-reset: e; }
.etapes li {
  counter-increment: e;
  position: relative;
  padding: 0 0 14px 40px;
  color: var(--edf-gray-text);
  font-size: 16px;
}
.etapes li::before {
  content: "[ " counter(e) " ]";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--edf-green-dark);
}
.etapes li strong { color: var(--edf-black); font-weight: 600; }

/* ---------- Bandeau de consentement ---------- */

.consentement {
  /* Discret (Rubens, 15/10) : petite carte en bas à gauche, ne couvre pas le contenu. */
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 340px;
  background: var(--edf-white);
  color: var(--edf-black);
  border: 1px solid #E2E2E2;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.consentement p { margin: 0; color: #444; }
.consentement a { color: var(--edf-black); text-decoration: underline; }
.consentement__actions { display: flex; gap: 8px; }
.consentement__actions .btn { flex: 1; padding: 6px 10px; font-size: 13px; min-height: 0; border-radius: 6px; }
.consentement .btn-secondary, .consentement .btn-primary { background: #fff; color: var(--edf-black); border: 1px solid var(--edf-black); }
.consentement .btn-secondary:hover, .consentement .btn-primary:hover { background: var(--edf-black); color: #fff; }
@media (max-width: 480px) { .consentement { right: 16px; max-width: none; } }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}







@media (max-width: 480px) {
}

/* ---------- Pages reprises du WordPress (section 8) ---------- */

.prose .puces { padding-left: 0; list-style: none; margin: 18px 0 0; }
.prose .puces li {
  position: relative;
  padding: 0 0 12px 26px;
  color: var(--edf-gray-text);
}
.prose .puces li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 3px;
  background: var(--edf-green);
}

.prestations {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prestations li {
  border: 1px solid var(--edf-border);
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--edf-gray-text);
}

.cas-figure { margin: 0; }
.cas-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--edf-border);
  background: var(--edf-light);
}
.cas-figure-principale { max-width: 980px; }
.cas-galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cas-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--edf-border);
  border: 1px solid var(--edf-border);
  margin-top: 36px;
}
.cas-carte { background: var(--edf-white); padding: 0 0 26px; }
.cas-carte img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--edf-border); }
.cas-carte h3 { margin: 20px 24px 0; font-size: 1.05rem; }
.cas-carte h3 a:hover { text-decoration: underline; }
.cas-carte p { margin: 10px 24px 0; font-size: 15px; color: var(--edf-gray-text); }

.technos { margin-top: 22px; font-size: 15px; color: var(--edf-gray-text); }

.citation {
  margin: 20px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--edf-green);
}
.citation p { margin: 0; color: var(--edf-black); font-size: 1.1rem; line-height: 1.5; }
.citation footer { margin-top: 10px; color: var(--edf-gray-text); font-size: 15px; }

.logos-grille {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--edf-border);
  border: 1px solid var(--edf-border);
}
.logos-grille li {
  background: var(--edf-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  min-height: 110px;
}
.logos-grille img { max-height: 48px; width: auto; max-width: 100%; }

.cgv h2 { font-size: 1.15rem; margin-top: 40px; }
.cgv p, .cgv li { font-size: 15px; }

@media (max-width: 900px) {
  .cas-grille, .cas-galerie { grid-template-columns: 1fr; }
}

/* ---------- Document joint (replié) ---------- */

.field-document summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--edf-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  list-style: none;
}
.field-document summary::-webkit-details-marker { display: none; }
.field-document summary::before { content: "+ "; color: var(--edf-green-dark); }
.field-document[open] summary::before { content: "– "; }
.field-document-aide { font-weight: 400; color: var(--edf-gray-text); font-size: 14px; margin: 10px 0 8px; }
.field-document input[type="file"] { font: inherit; font-size: 15px; max-width: 100%; }

/* ---------- Le groupe (/qui-sommes-nous/) ---------- */

.groupe .hero .groupe-titre { margin-top: 40px; }
.groupe .prose > h2:first-child { margin-top: 0; }
.groupe ul.brands { list-style: none; padding: 0; margin-bottom: 0; }
.groupe .brand-card p { margin: 0; font-size: 17px; }
.groupe .brand-card p strong { color: var(--edf-black); font-weight: 700; }

.fondateur {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.portrait {
  aspect-ratio: 1 / 1;
  max-width: 400px;
  width: 100%;
  background: var(--edf-white);
  border: 1px solid var(--edf-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait .membre-photo { width: 100%; }

@media (max-width: 700px) {
  .fondateur { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .portrait { max-width: 280px; }
}

/* ---------- Témoignages (brief §5.1 bis) ---------- */

.duration-grid .citation { margin-top: 26px; }
.duration-grid .citation p { font-size: 1rem; }
.avis-google { margin: 18px 0 0; font-size: 15px; color: var(--edf-gray-text); }
.temoignages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  margin-top: 32px;
}
.closing-grid .citation { margin-top: 32px; }
.closing-grid .citation p { font-size: 1rem; }
.clients-more { margin: 28px 0 0; font-size: 15px; }
.clients-more a { color: var(--edf-black); }
.temoignages .citation { margin: 0; }
.temoignages .citation p { font-size: 1rem; }
@media (max-width: 900px) { .temoignages { grid-template-columns: 1fr; } }

/* =====================================================================
   v3 — structure façon Galadrim (brief §1 bis). Direction artistique
   provisoire en attendant la charte : vert du logo + sections sombres.
   ===================================================================== */

:root { --v3-sombre: #000000; --v3-sombre-2: #000000; }

/* ---------- En-tête : sous-menus ---------- */

.nav-item { position: relative; }
.nav-sub-toggle {
  font: inherit; font-size: 15px; color: var(--edf-gray-text);
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-sub-toggle::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.nav-sub-toggle:hover, .nav-sub-toggle[aria-expanded="true"] { color: var(--edf-black); }
.nav-sub-toggle:focus-visible { outline: 2px solid var(--edf-green-dark); outline-offset: 2px; }
.nav-sub {
  display: none; position: absolute; top: calc(100% + 10px); left: -16px; z-index: 20;
  min-width: 290px; margin: 0; padding: 10px 0; list-style: none;
  background: var(--edf-white); border: 1px solid var(--edf-border); border-top: 3px solid var(--edf-green);
}
.nav-sub a { display: block; padding: 9px 18px; font-size: 15px; color: var(--edf-black); }
.nav-sub a:hover { background: var(--edf-light); text-decoration: none; }
/* Pont invisible entre l'intitulé et le sous-menu : sans lui, la souris quitte la zone de survol en
   traversant les 10 px d'écart et le sous-menu se referme avant qu'on puisse cliquer. */
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-sub-toggle[aria-expanded="true"] + .nav-sub { display: block; }
@media (hover: hover) and (min-width: 1001px) {
  /* Ouverture immédiate, fermeture après 250 ms : une trajectoire en diagonale ne ferme rien. */
  .nav-sub { display: block; visibility: hidden; opacity: 0; transition: visibility 0s linear .25s, opacity .12s ease .25s; }
  .nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub,
  .nav-sub-toggle[aria-expanded="true"] + .nav-sub { visibility: visible; opacity: 1; transition-delay: 0s; }
}

@media (max-width: 1000px) {
  .has-menu .wrap { flex-wrap: nowrap; min-height: 64px; padding-block: 10px; }
  .has-menu .nav-toggle { display: block; }
  .has-menu .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--edf-white); border-bottom: 1px solid var(--edf-border);
    padding: 8px 24px 24px; max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .has-menu .nav[data-open="true"] { display: flex; }
  .has-menu .nav > a, .has-menu .nav-sub-toggle {
    padding: 14px 0; border-bottom: 1px solid var(--edf-border); font-size: 17px; color: var(--edf-black); width: 100%;
    justify-content: space-between;
  }
  .has-menu .nav > a.btn { margin-top: 18px; padding: 14px 18px; text-align: center; border: 1px solid var(--edf-green); color: var(--edf-black); }
  .has-menu .nav-sub { position: static; border: 0; min-width: 0; padding: 4px 0 10px 12px; }
  .has-menu .nav-sub a { padding: 10px 0; }
}

/* ---------- Hero ---------- */

.v3-hero { padding-block: 72px 56px; }
.v3-hero-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.v3-hero h1 { max-width: 15ch; }
.v3-mosaique {
  display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
  aspect-ratio: 5 / 4; max-width: 100%;
}
.v3-mosaique img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-mosaique img:first-child { grid-row: span 2; }

/* ---------- Bandeau de logos défilant ---------- */

.v3-logos { padding-block: 36px 40px; border-top: 1px solid var(--edf-border); border-bottom: 1px solid var(--edf-border); }
.v3-logos-phrase { margin: 0 0 22px; font-weight: 600; font-size: 1.05rem; }
.defilant { overflow: hidden; display: flex; gap: 56px; }
.defilant-piste {
  list-style: none; margin: 0; padding: 0 0 0 24px; flex-shrink: 0;
  display: flex; align-items: center; gap: 56px;
}
.defilant-piste img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; }
.defilant-piste[aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .defilant-piste[aria-hidden="true"] { display: flex; }
  .defilant-piste { animation: defile 60s linear infinite; }
  .defilant:hover .defilant-piste { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .defilant { display: block; max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
  .defilant-piste { flex-shrink: 1; flex-wrap: wrap; row-gap: 24px; column-gap: 40px; padding: 0; }
}
@keyframes defile { to { transform: translateX(calc(-100% - 56px)); } }

/* ---------- Chiffres, bandeau coloré compact ---------- */

.v3-chiffres { background: var(--edf-green-soft); padding-block: 0; }
.v3-chiffres-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v3-chiffres .figure { padding: 30px 24px 30px 0; border-right: 1px solid rgba(0,0,0,.15); }
.v3-chiffres .figure:not(:first-child) { padding-left: 24px; }
.v3-chiffres .figure:last-child { border-right: 0; }
.v3-chiffres .value { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--edf-green-ink); }
.v3-chiffres .label { margin-top: 8px; font-size: 14px; color: var(--edf-black); max-width: 22ch; }

/* ---------- Sections sombres ---------- */

.v3-sombre { background: var(--v3-sombre); color: var(--edf-white); }
.v3-sombre h2 { color: var(--edf-white); }
.v3-sombre .h-br::before, .v3-sombre .h-br::after { color: var(--edf-green); }
.v3-sombre a { color: var(--edf-green); }

/* ---------- Ce que nous construisons ---------- */

.cartes-projets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.carte-projet { position: relative; background: var(--edf-white); border: 1px solid var(--edf-border); display: flex; flex-direction: column; transition: border-color .15s ease; }
.carte-visuel { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--edf-light); }
.carte-visuel--logo { padding: 28px; }
.carte-visuel--logo img { max-height: 48px; max-width: 55%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(0); transition: filter .15s ease; }
.carte-projet:hover .carte-visuel--logo img { filter: none; }
.carte-visuel--capture img { width: 100%; height: 100%; object-fit: cover; }
.carte-visuel--neutre::before { content: "[\00a0\00a0]"; content: "[\00a0\00a0]" / ""; font-size: 28px; font-weight: 700; color: var(--edf-border); }
.carte-texte { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.carte-etiquette { margin: 0; font-size: 14px; font-weight: 500; color: var(--edf-gray-text); padding-bottom: 10px; border-bottom: 1px solid var(--edf-border); }
.carte-texte h3 { margin-top: 14px; font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--edf-black); }
.carte-texte h3 a { color: inherit; text-decoration: none; }
.carte-texte h3 a::after { content: ""; position: absolute; inset: 0; }   /* la carte entière est un lien */
.carte-contexte { margin: 10px 0 0; color: var(--edf-gray-text); font-size: 16px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte-voir { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--edf-black); }
.carte-voir::after { content: " →"; display: inline-block; transition: transform .15s ease; }
.carte-projet--lien:hover { border-color: var(--edf-black); }
.carte-projet--lien:hover .carte-voir::after { transform: translateX(4px); }
.carte-projet--lien:focus-within { outline: 2px solid var(--edf-green); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .carte-voir::after, .carte-projet, .carte-visuel--logo img { transition: none; } }
.section-cas h2 { margin-bottom: 0; }

/* ---------- Piliers ---------- */

.piliers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--edf-border); border: 1px solid var(--edf-border); margin-top: 40px; }
.pilier { background: var(--edf-white); padding: 30px 26px; border-top: 4px solid var(--edf-green); }
.pilier h3 { font-size: 1.15rem; }
.pilier p { margin: 12px 0 0; color: var(--edf-gray-text); font-size: 16px; }
#piliers .founder { margin-top: 28px; font-weight: 600; }

/* ---------- Témoignages, carrousel ---------- */

.temoignages-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.v3-sombre .avis-google { color: #B8C4BF; margin: 0; }
.carrousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 38%); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 36px; padding-bottom: 16px;
  scrollbar-color: var(--edf-green) transparent;
}
.carrousel:focus-visible { outline: 2px solid var(--edf-green); outline-offset: 4px; }
.temoignage { scroll-snap-align: start; margin: 0; background: var(--v3-sombre-2); border-left: 3px solid var(--edf-green); padding: 26px 26px 22px; display: flex; flex-direction: column; justify-content: space-between; }
.temoignage blockquote { margin: 0; }
.temoignage p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--edf-white); }
.temoignage figcaption { margin-top: 18px; font-weight: 600; color: var(--edf-white); font-size: 15px; }
.temoignage figcaption span { display: block; font-weight: 400; color: #B8C4BF; }

/* ---------- Clôture ---------- */

.rappel-logos { list-style: none; margin: 0 0 56px; padding: 0 0 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; border-bottom: 1px solid var(--edf-border); }
.rappel-logos img { height: 34px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .85; }
.rappel-logos img:hover { filter: none; opacity: 1; }

/* ---------- Pied de page complet ---------- */

.v3 .footer-links { gap: 40px; }
.v3 .footer-links li { line-height: 1.4; }
.footer-google { margin: 16px 0 0; font-size: 14px; color: #B5B5B5; }
.footer-google a { color: var(--edf-green); }
.v3 .footer-bottom a { color: #8A8A8A; }

@media (max-width: 1000px) {
  .v3-hero-grille { grid-template-columns: 1fr; gap: 36px; }
  .cartes-projets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .piliers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carrousel { grid-auto-columns: minmax(280px, 70%); }
}
@media (max-width: 600px) {
  .v3-hero { padding-block: 44px 40px; }
  .v3-chiffres-grille, .cartes-projets, .piliers { grid-template-columns: 1fr; }
  .v3-chiffres .figure { padding: 20px 0 !important; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.15); }
  .v3-chiffres .figure:last-child { border-bottom: 0; }
  .carrousel { grid-auto-columns: 86%; }
}

/* ---------- v3 — pages internes ---------- */

.v3-hero--interne { padding-block: 64px 44px; border-bottom: 1px solid var(--edf-border); }
.v3-hero--interne h1 { max-width: 22ch; }
.ariane { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--edf-green-dark); }
.colonnes-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.colonnes-2 p { color: var(--edf-gray-text); }
.colonnes-2 ol, .colonnes-2 .puces-atterrissage { margin: 18px 0 0; padding-left: 20px; color: var(--edf-gray-text); }
.colonnes-2 li { margin-bottom: 10px; }
.puces-atterrissage strong { color: var(--edf-black); }
.suite { margin-top: 20px; font-weight: 600; }
.cas-manque { margin-top: 28px; }
.v3-sombre .carte-texte h3 a { color: var(--edf-white); }
.v3-sombre .carte-texte h3 a:hover { color: var(--edf-green); text-decoration: none; }
.paper { background: var(--edf-light); }

.cartes-secteurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.carte-secteur { display: block; padding: 32px 28px; border: 1px solid var(--edf-border); border-top: 4px solid var(--edf-green); color: var(--edf-black); }
.carte-secteur h2 { font-size: 1.3rem; }
.carte-secteur p { margin: 10px 0 0; color: var(--edf-gray-text); }
.carte-secteur:hover { text-decoration: none; border-color: var(--edf-black); }

.temoignages-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.temoignages-grille .temoignage { background: var(--edf-light); }
.temoignages-grille .temoignage p, .temoignages-grille .temoignage figcaption { color: var(--edf-black); }
.temoignages-grille .temoignage figcaption span { color: var(--edf-gray-text); }

.filtres { display: grid; gap: 14px; margin-bottom: 32px; }
.filtres-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filtres-groupe span { font-size: 14px; font-weight: 600; color: var(--edf-gray-text); min-width: 80px; }
.filtres button {
  font: inherit; font-size: 14px; padding: 6px 12px; cursor: pointer;
  background: transparent; color: var(--edf-black); border: 0; border-bottom: 2px solid transparent;
}
.filtres button[aria-pressed="true"] { font-weight: 600; border-bottom-color: var(--edf-green); }
.filtres button:focus-visible { outline: 2px solid var(--edf-green); outline-offset: 2px; }
.filtres-vide { color: var(--edf-gray-text); }

.parlons-ia h1 { color: var(--edf-white); max-width: 20ch; }

@media (max-width: 900px) {
  .colonnes-2, .cartes-secteurs, .temoignages-grille { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Hero façon Galadrim (texte de Rubens, 11/10) ---------- */

.v3-hero--g { padding: 0; border-bottom: 1px dashed var(--edf-border); }
.v3-hero-g {
  max-width: var(--max); margin: 0 auto; padding-inline: 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(720px, calc(100vh - 76px));
}
.v3-hero-g__texte {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left;
  padding: 72px 48px 72px 0; border-right: 1px dashed var(--edf-border); position: relative;
}
.v3-hero-g__texte::after {
  content: ""; position: absolute; right: -1px; top: 30%; height: 26%; width: 2px; background: var(--edf-black);
}
.surtitre {
  margin: 0 0 22px; font-size: 15px; color: var(--edf-green-ink); font-weight: 600; max-width: 46ch;
}
.v3-hero--g h1 { margin: 0; max-width: 14ch; font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.v3-hero--g .lead { margin: 24px 0 0; max-width: 46ch; }
.v3-hero--g .hero-actions { justify-content: flex-start; margin-top: 36px; }
.btn-fleche {
  font-size: 16px; padding: 14px 22px; white-space: nowrap;
}
/* Flèche ↳ retirée (audit du 15/10). */
.v3-hero--g .hero-actions { gap: 12px; }
.v3-hero-g__texte { padding-right: 32px; }
.v3-hero-g__visuel .todo { width: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.v3-hero-g__visuel { padding-left: 48px; display: flex; }
.v3-hero-g__visuel img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

@media (max-width: 1000px) {
  .v3-hero-g { grid-template-columns: 1fr; min-height: 0; }
  .v3-hero-g__texte { padding: 56px 0 40px; border-right: 0; }
  .v3-hero-g__texte::after { display: none; }
  .v3-hero-g__visuel { padding: 0 0 40px; }
  .v3-hero-g__visuel img { aspect-ratio: 4 / 3; height: auto; }
}

/* Surlignage façon feutre (texte noir sur vert doux : 18,2:1) */
.surligne { background: var(--edf-green-soft); color: var(--edf-black); padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Équipe : « Qui travaille sur votre projet » (photos, 12/10) ---------- */
.equipe-grille { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.membre { background: var(--edf-white); border: 1px solid var(--edf-border); display: flex; flex-direction: column; }
.membre-photo { position: relative; aspect-ratio: 1 / 1; background: var(--edf-light); overflow: hidden; }
.membre-photo picture, .membre-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.membre-couleur { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .membre:hover .membre-couleur, .portrait:hover .membre-couleur { opacity: 1; }
  .membre-couleur { transition: opacity .3s ease; }
}
@media (prefers-reduced-motion: reduce) { .membre-couleur { transition: none; } }
.membre-texte { padding: 14px 14px 16px; }
.membre h3 { margin: 0; font-size: 1.05rem; }
.membre-fonction { margin: 4px 0 0; color: var(--edf-black); font-size: 15px; line-height: 1.4; }
.membre-depuis { margin: 6px 0 0; font-size: 14px; color: var(--edf-gray-text); }
.membre--commercial { border-color: var(--edf-black); }
.ecoles { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; }
.ecoles-titre { margin: 0; font-weight: 600; }
.ecoles ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ecoles { flex-direction: column; align-items: flex-start; gap: 18px; }
.ecoles ul { gap: 20px 40px; align-items: center; }
.ecoles li { display: flex; align-items: center; height: 44px; }
.ecoles li img { max-height: 40px; max-width: 150px; width: auto; height: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.ecoles li img:hover { filter: none; opacity: 1; }
.ecoles .ecole-texte { font-weight: 700; font-size: 1.05rem; color: var(--edf-gray-text); letter-spacing: .01em; }
.lien-suite { margin: 28px 0 0; }
.lien-suite a { font-weight: 600; }
@media (max-width: 1100px) { .equipe-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .equipe-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .equipe-grille { gap: 16px; } .membre-texte { padding: 14px 14px 16px; } .membre h3 { font-size: 1.05rem; } }

/* ---------- Fiche de cas (audit P1.1) ---------- */
.fiche-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.fiche-hero h1 { max-width: 24ch; }
.fiche-logo { display: block; max-height: 56px; width: auto; margin: 8px 0 24px; }
.fiche-faits { margin: 0; padding: 24px; background: var(--edf-light); border-top: 3px solid var(--edf-green); }
.fiche-faits div + div { margin-top: 16px; }
.fiche-faits dt { font-size: 14px; font-weight: 600; color: var(--edf-gray-text); }
.fiche-faits dd { margin: 4px 0 0; }
.fiche-corps h2 { margin-top: 40px; font-size: 1.5rem; }
.fiche-corps h2:first-child { margin-top: 0; }
.fiche-corps p { font-size: 1.1rem; line-height: 1.6; max-width: 68ch; }
.temoignages-grille--seul { grid-template-columns: minmax(0, 720px); }
@media (max-width: 900px) { .fiche-grille { grid-template-columns: 1fr; gap: 28px; } }

/* Logos clients en monochrome noir, couleur d'origine au survol (audit_references §0) */
.logos-grille img, .defilant img { filter: grayscale(1) brightness(0); opacity: .85; transition: filter .15s ease, opacity .15s ease; }
.logos-grille img:hover, .defilant img:hover { filter: none; opacity: 1; }
/* Logo dont le fond fait partie du dessin (fichier « -brut ») : niveaux de gris seulement, jamais un aplat noir */
img[src*="-brut."] { filter: grayscale(1) !important; mix-blend-mode: multiply; }
img[src*="-brut."]:hover, .carte-projet:hover img[src*="-brut."] { filter: none !important; }

/* Fiche de cas : bandeau de faits sous le titre, lien vers le site du client, logo à fournir */
.fiche-bandeau { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 32px; }
.fiche-bandeau li { padding-top: 12px; border-top: 2px solid var(--edf-green); font-weight: 700; font-size: 20px; line-height: 1.3; margin-top: 8px; }
.lien-client { color: var(--edf-black); text-decoration: underline; text-underline-offset: 3px; }
.carte-visuel--nom span { font-weight: 700; font-size: 22px; color: var(--edf-black); letter-spacing: -.01em; }

/* Le groupe : bande de 3 chiffres ; bloc fondateur, histoire mise en avant (audit page Équipe, 12/10) */
.figures-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mise-en-avant { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--edf-green); }
.mise-en-avant p { margin: 0; font-size: 22px; line-height: 1.45; color: var(--edf-black); }
@media (max-width: 600px) { .mise-en-avant p { font-size: 19px; } }
.temoignage-logo { display: block; margin-top: 16px; max-height: 28px; width: auto; filter: grayscale(1) brightness(0); }

/* ---------- Hero de l'accueil : mosaïque de l'équipe 3 × 3 (12/10) ---------- */
.v3-hero-g__visuel { flex-direction: column; justify-content: center; }
.hero-equipe { display: block; color: inherit; text-decoration: none; }
.hero-equipe:hover { text-decoration: none; }
.hero-equipe:focus-visible { outline: 2px solid var(--edf-black); outline-offset: 4px; }
.mosaique { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tuile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--edf-light); }
.tuile picture, .tuile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tuile-couleur { position: absolute; inset: 0; opacity: 0; }
.tuile--couleur .tuile-couleur { opacity: 1; }
.tuile-legende { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: var(--edf-white);
  font-size: 13px; line-height: 1.3; color: var(--edf-black); opacity: 0; }
.tuile-legende strong { display: block; font-weight: 600; }
@media (hover: hover) {
  .tuile:hover .tuile-couleur, .tuile:hover .tuile-legende { opacity: 1; }
  .tuile-couleur, .tuile-legende { transition: opacity .3s ease; }
}
@media (prefers-reduced-motion: reduce) { .tuile-couleur, .tuile-legende { transition: none; } }
.hero-equipe--photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-equipe-legende { margin: 14px 0 0; font-size: 15px; color: var(--edf-gray-text); }
.v3-hero-g__visuel .tuile img { aspect-ratio: 1 / 1; height: 100%; }
.v3-hero-g__visuel .hero-equipe--photo img { aspect-ratio: 4 / 5; height: auto; }

/* Panneau des variantes (recette seulement) : onglet vertical à gauche, se déplie */
.panneau-variantes { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 60; font-size: 13px; }
.panneau-variantes-onglet { writing-mode: vertical-rl; transform: rotate(180deg); padding: 12px 6px; font: inherit; font-size: 12px;
  background: var(--edf-white); border: 1px solid var(--edf-black); border-left: 0; cursor: pointer; }
.panneau-variantes-onglet[hidden], .panneau-variantes-corps[hidden] { display: none; }
.panneau-variantes-corps { width: 220px; max-height: 70vh; overflow: auto; padding: 12px 14px; background: var(--edf-white);
  border: 1px solid var(--edf-black); border-left: 0; }
.panneau-variantes-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.panneau-variantes-fermer { font: inherit; font-size: 16px; line-height: 1; padding: 2px 8px; background: none; border: 1px solid var(--edf-border); cursor: pointer; }
.panneau-variantes-page + .panneau-variantes-page { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--edf-border); }
.panneau-variantes-titre { margin: 0 0 4px; font-weight: 600; }
.panneau-variantes ul { list-style: none; margin: 0; padding: 0; }
.panneau-variantes li { margin: 2px 0; }
.panneau-variantes a { color: var(--edf-black); }
.panneau-variantes a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--edf-green); text-decoration-thickness: 2px; }

/* ---------- Bandeau de clôture (12/10) : la seule bande noire, mini-formulaire en 2 champs ---------- */
.cloture { background: var(--edf-black); color: var(--edf-white); padding-block: 72px; }
.cloture-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "titre form" "reass form"; gap: 0 64px; align-items: start; }
.cloture-titre { grid-area: titre; }
.cloture-form { grid-area: form; max-width: none; }
.cloture-form button, .cloture-form input, .cloture-form textarea { font: inherit; }
.cloture-form .btn { font-weight: 600; }
.cloture-reassurance { grid-area: reass; align-self: end; }
.cloture h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 44px); font-weight: 700; color: var(--edf-white); }
.cloture-contexte { margin: 14px 0 0; font-size: 19px; line-height: 1.5; color: var(--edf-white); max-width: 34ch; }
.cloture-interlocutrice { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.cloture-interlocutrice img { width: 64px; height: 64px; object-fit: cover; object-position: center top; display: block; }
.cloture-interlocutrice p { margin: 0; font-size: 15px; line-height: 1.5; }
.cloture-preuve { margin: 18px 0 0; font-size: 14px; color: #BDBDBD; }
.cloture .field { margin-top: 0; }
.cloture .field + .field { margin-top: 18px; }
.cloture .field label { color: var(--edf-white); }
.cloture .field textarea, .cloture .field input[type="email"] { border-color: var(--edf-white); }
.cloture .field textarea { min-height: 0; }
.cloture .field-erreur { color: #FF8A8A; }
.cloture .form-resume { background: #1A1A1A; color: var(--edf-white); border-left-color: #FF8A8A; }
.cloture .form-resume a { color: var(--edf-white); }
.cloture-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cloture-liens { margin: 0; font-size: 15px; }
.cloture-liens a, .cloture-mention a { color: var(--edf-white); text-decoration: underline; text-underline-offset: 3px; }
.cloture-mention { margin: 14px 0 0; font-size: 13px; color: #BDBDBD; }
.cloture .form-erreur { background: #1A1A1A; color: var(--edf-white); border-left-color: var(--edf-white); }
@media (max-width: 900px) {
  .cloture { padding-block: 56px; }
  .cloture-grille { grid-template-columns: 1fr; grid-template-areas: "titre" "form" "reass"; gap: 28px; }
}

/* Menu Expertises en colonnes (nomenclature du 12/10) */
.nav-sub--mega { min-width: 0; padding: 18px 8px; }
.nav-sub-toggle[aria-expanded="true"] + .nav-sub--mega { display: grid; }
.nav-sub--mega { grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 0 8px; }
.nav-col { list-style: none; }
.nav-col ul { list-style: none; margin: 0; padding: 0; }
.nav-col-titre { margin: 0 0 6px; padding: 0 18px; font-size: 13px; font-weight: 600; color: var(--edf-gray-text); }
.nav-col a { padding: 7px 18px; }
@media (hover: hover) and (min-width: 1001px) { .nav-sub--mega { display: grid; } }
@media (max-width: 1000px) {
  .nav-sub--mega { grid-auto-flow: row; grid-auto-columns: auto; padding: 4px 0 10px 12px; }
  .nav-col + .nav-col { margin-top: 8px; }
  .nav-col-titre { padding: 0; }
}

/* ---------- Hero, variante « Terminal » (prototype du 12/10, adapté à la charte : angles droits, aplats) ---------- */
.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; }
.terminal { position: relative; width: 100%; height: min(600px, 74vh); background: #000; overflow: hidden; color: var(--edf-green);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; }
.terminal canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; }
.terminal-barre { position: relative; z-index: 2; display: flex; gap: 7px; align-items: center; padding: 12px 16px; background: #000;
  border-bottom: 1px solid rgba(110, 240, 190, .2); }
.terminal-barre i { width: 10px; height: 10px; background: #333; }
.terminal-barre b { margin-left: 10px; font-weight: 400; font-size: 12px; color: rgba(110, 240, 190, .7); }
.terminal-ecran { position: relative; z-index: 2; height: calc(100% - 42px); overflow-y: auto; padding: 22px 24px 28px; font-size: 14.5px;
  line-height: 1.7; background: rgba(0, 0, 0, .72); scrollbar-width: none; }
.terminal .ln { white-space: pre-wrap; margin: 0; }
.terminal .ln.sys { color: rgba(110, 240, 190, .7); }
.terminal .ln.say { color: #fff; font-size: 16px; margin-top: 10px; font-family: Inter, sans-serif; }
.terminal .ln.ok::before { content: "✓ "; color: var(--edf-green); }
.terminal .caret { display: inline-block; width: 9px; height: 17px; background: var(--edf-green); vertical-align: -3px; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.terminal .choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.terminal .choices button { font: inherit; font-size: 13.5px; color: var(--edf-green); background: transparent; border: 1px solid rgba(110, 240, 190, .5);
  padding: 9px 13px; cursor: pointer; }
.terminal .choices button:hover, .terminal .choices button.picked { background: var(--edf-green); color: #000; }
.terminal .choices button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.terminal .choices.done button:not(.picked) { opacity: .3; pointer-events: none; }
.terminal .ask { display: flex; gap: 8px; margin-top: 14px; }
.terminal .ask input { flex: 1; font: inherit; color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(110, 240, 190, .6); padding: 8px 2px; outline: none; }
.terminal .ask input:focus { border-bottom-color: var(--edf-green); }
.terminal .ask { flex-wrap: wrap; align-items: center; }
.terminal .ask-invite { color: rgba(110, 240, 190, .7); }
.terminal .ask input { font-size: 16px; min-width: 0; min-height: 44px; }
.terminal .ask button { font: inherit; background: var(--edf-green); color: #000; border: 0; padding: 8px 14px; cursor: pointer; font-weight: 600; min-height: 44px; }
.terminal .ask button.passer { background: transparent; color: var(--edf-green); border: 1px solid rgba(110, 240, 190, .5); font-weight: 400; }
.terminal .ask .ln.err { flex-basis: 100%; color: #fff; }
.terminal .ask .ln.err::before { content: "! "; color: var(--edf-green); }
.terminal .choices button { min-height: 44px; }
.terminal-demo { margin-top: 10px; font-size: 12px; color: var(--edf-gray-text); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.terminal-demo[hidden] { display: none; }
.terminal-demo button { font: inherit; padding: 3px 8px; background: var(--edf-white); border: 1px solid var(--edf-border); cursor: pointer; }
.terminal-demo button.on { background: var(--edf-green); border-color: var(--edf-green); }
@media (max-width: 900px) { .terminal { height: 520px; } }
@media (prefers-reduced-motion: reduce) { .terminal .caret { animation: none; } }

/* ---------- Pages d'atterrissage du §3 bis (Migration WinDev…) ---------- */
.atterrissage .atterrissage-header .wrap { justify-content: flex-start; }
.lp-hero h1 { max-width: 20ch; }
.lp-tel { margin-left: 18px; font-weight: 600; color: var(--edf-black); }
.lp-symptomes { margin: 18px 0 0; padding-left: 20px; }
.lp-symptomes li { margin-bottom: 10px; font-size: 1.1rem; }
.faq-item + .faq-item { margin-top: 22px; }
.faq-item h3 { margin: 0; font-size: 1.15rem; }
.faq-item p { margin: 6px 0 0; color: var(--edf-gray-text); }
.atterrissage .site-footer-court { padding-block: 28px; }
.atterrissage .site-footer-court .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Atterrissages « Moderniser votre logiciel » (D Instagram, E Google Ads) ---------- */
.lp-issues { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 28px; }
.lp-issues li { border-top: 2px solid var(--edf-black); padding-top: 16px; }
.lp-issues h3 { margin: 0; font-size: 1.3rem; }
.lp-issue-num { color: var(--edf-green-ink); }
.lp-issues p { margin: 8px 0 0; }
.lp-issue-cas { font-style: italic; color: var(--edf-gray-text); }
.lp-issue-cas a { color: var(--edf-black); font-weight: 600; }
@media (min-width: 900px) { .lp-issues { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.lp-accent { font-weight: 600; }
.lp-form { margin-top: 24px; max-width: 560px; }
.lp-form .field + .field { margin-top: 16px; }
.lp-form textarea, .lp-form input, .lp-form button { font: inherit; }
.lp-form .btn { margin-top: 20px; font-weight: 600; }
.lp-form-mention { margin: 12px 0 0; font-size: 14px; color: var(--edf-gray-text); }
.lp-preuve { margin: 0; font-weight: 600; }
.lp-logos { margin-top: 20px; }
.lp-faq-item { border-top: 1px solid var(--edf-border); padding: 14px 0; }
.lp-faq-item:last-child { border-bottom: 1px solid var(--edf-border); }
.lp-faq-item summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: "+"; font-weight: 400; }
.lp-faq-item[open] summary::after { content: "−"; }
.lp-faq-item p { margin: 8px 0 0; color: var(--edf-gray-text); }
.lp-citation { margin-top: 28px; }
.lp-complet { margin-top: 28px; }
.lp-complet summary { cursor: pointer; font-weight: 600; text-decoration: underline; }
.lp-complet .contact-form { margin-top: 20px; }
/* Page Instagram : mobile d'abord, une colonne, texte large, bouton collant. */
.lp-mobile .wrap { max-width: 720px; }
.lp-mobile .lp-hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); max-width: none; }
.lp-mobile .lp-hero .lead { font-size: 1.2rem; }
.lp-mobile .lp-issues { grid-template-columns: 1fr; }
.lp-mobile main { padding-bottom: 84px; }
.lp-collant { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; padding: 12px 16px;
  background: var(--edf-white); border-top: 1px solid var(--edf-border); transition: transform .2s ease; }
.lp-collant .btn { display: block; width: 100%; max-width: 560px; margin: 0 auto; text-align: center; }
.lp-collant--cache { transform: translateY(100%); }
@media (prefers-reduced-motion: reduce) { .lp-collant { transition: none; } }
/* 18 entrées en 5 colonnes : le panneau s'ancre sur la largeur de l'en-tête, pas sous l'intitulé (sinon il déborde à droite). */
@media (min-width: 1001px) {
  .site-header .wrap { position: relative; }
  .nav-item--mega { position: static; }
  .nav-sub--mega { left: 0; right: 0; top: calc(100% - 4px); grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-columns: auto; }
}

/* Références (retour de Rubens, 12/10 : « très moche ») : filtres en pastilles alignées sous leur libellé,
   cartes au visuel plus bas, logos de taille homogène, le nom du client à la place d'une case vide. */
.filtres { gap: 18px; margin-bottom: 40px; }
.filtres-groupe { display: grid; grid-template-columns: 96px 1fr; align-items: start; gap: 12px; }
.filtres-groupe > span { min-width: 0; padding-top: 8px; font-size: 13px; text-transform: none; }
.filtres-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres-puces button { font-size: 14px; line-height: 1.2; padding: 8px 14px; border: 1px solid var(--edf-border); background: var(--edf-white); white-space: nowrap; }
.filtres-puces button:hover { border-color: var(--edf-black); }
.filtres-puces button[aria-pressed="true"] { font-weight: 600; background: var(--edf-black); color: var(--edf-white); border-color: var(--edf-black); }
@media (max-width: 700px) {
  .filtres-groupe { grid-template-columns: 1fr; gap: 6px; }
  .filtres-groupe > span { padding-top: 0; }
  .filtres-puces { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .filtres-puces::-webkit-scrollbar { display: none; }
}
.carte-visuel { aspect-ratio: 2 / 1; }
.carte-visuel--logo { padding: 24px 32px; }
.carte-visuel--logo img { max-height: 44px; max-width: 58%; }
.carte-visuel--nom { padding: 24px; text-align: center; }
.carte-visuel--nom span { font-size: 24px; line-height: 1.2; }

/* Dictée du projet (bouton micro sous le champ) */
.dictee-barre { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.dictee { font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; cursor: pointer; background: transparent; color: inherit; border: 1px solid currentColor; }
.dictee:hover { background: var(--edf-green); color: #000; border-color: var(--edf-green); }
.dictee[aria-pressed="true"] { background: var(--edf-green); color: #000; border-color: var(--edf-green); }
.dictee[aria-pressed="true"] svg { animation: dictee-pulse 1.2s ease-in-out infinite; }
.dictee:focus-visible { outline: 2px solid var(--edf-green); outline-offset: 2px; }
.dictee-etat { font-size: 13px; color: var(--edf-gray-text); }
.cloture .dictee-etat { color: rgba(255, 255, 255, .75); }
.cloture .field input[type="tel"] { border-color: var(--edf-white); }
@keyframes dictee-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dictee[aria-pressed="true"] svg { animation: none; } }
.cloture .field-optionnel > label::after { color: rgba(255, 255, 255, .6); }

/* Accueil : grands noms en grille fixe (remplace le bandeau qui défilait, 12/10) */
.grands-noms { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); align-items: center; gap: 28px 32px; }
.grands-noms li { display: flex; align-items: center; justify-content: center; min-height: 56px; }
.grands-noms img { max-height: 40px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .85; transition: filter .15s ease, opacity .15s ease; }
.grands-noms img:hover { filter: none; opacity: 1; }
.grands-noms img[src*="lolifant"] { max-height: 52px; }
.grands-noms .todo { font-size: 12px; text-align: center; }
.grands-noms-suite { margin: 24px 0 0; text-align: center; font-size: 15px; }
.grands-noms-suite a { color: var(--edf-black); font-weight: 600; }
@media (max-width: 1100px) { .grands-noms { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grands-noms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; } .grands-noms img { max-height: 32px; } }
@media (prefers-reduced-motion: reduce) { .grands-noms img { transition: none; } }

/* Accueil, variante « Mur de logos » (prototype de Rubens, 13/10), dans la charte */
.mur { background: var(--edf-green-soft, #D4F7E5); padding: 32px 28px; }
.mur-titre { margin: 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--edf-green-ink); }
.mur-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.mur-tuile { position: relative; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 14px;
  background: #fff; border: 1px solid transparent; font: inherit; cursor: default; overflow: hidden; transition: border-color .4s ease; }
button.mur-tuile { cursor: pointer; }
.mur-tuile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .45; transition: filter .4s ease, opacity .4s ease; }
.mur-nom { font-weight: 700; font-size: clamp(14px, 1.3vw, 18px); color: #7a7a7a; text-align: center; line-height: 1.2; transition: color .4s ease; }
.mur-tuile:hover img { opacity: .8; }
.mur-tuile.on { border-color: #000; }
.mur-tuile.on img { filter: none; opacity: 1; }
.mur-tuile.on .mur-nom { color: #000; }
.mur-barre { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--p, 0%); background: var(--edf-green); }
.mur-tuile:not(.on) .mur-barre { display: none; }
.mur-tuile:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.mur-vedette { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 20px; padding: 20px 22px; background: #fff; min-height: 104px; }
.mur-vedette.sans-annee { grid-template-columns: 1fr; }
.mur-annee { margin: 0; font-size: clamp(34px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.mur-annee small { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--edf-gray-text); }
.mur-texte { margin: 0; border-left: 2px solid var(--edf-green); padding-left: 18px; font-size: 16px; line-height: 1.4; color: #333; }
.mur-vedette.sans-annee .mur-texte { border-left: 0; padding-left: 0; }
.mur-texte b { display: block; color: #000; margin-bottom: 4px; }
@media (max-width: 700px) { .mur { padding: 24px 16px; } .mur-grille { gap: 8px; } .mur-vedette { grid-template-columns: 1fr; gap: 10px; } .mur-texte { border-left: 0; padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .mur-tuile, .mur-tuile img, .mur-nom { transition: none; } }

/* Accueil : les écoles à la place des portraits (Rubens, 13/10) — plus grandes, en ligne */
.ecoles--accueil { margin-top: 28px; }
.ecoles--accueil ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 40px; width: 100%; max-width: 960px; }
@media (max-width: 700px) { .ecoles--accueil ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ecoles--accueil li { height: 64px; justify-content: center; }
.ecoles--accueil li img { max-height: 56px; max-width: 100%; }
/* Panneau de la recette : deux onglets empilés (Variantes, Landings) */
.panneau-variantes-onglets { display: flex; flex-direction: column; gap: 6px; }
.panneau-variantes-onglets[hidden] { display: none; }
.panneau-variantes-canal { display: block; font-size: 11px; color: var(--edf-gray-text); margin-bottom: 4px; }

/* Bloc « Ce que coûte la première étape » (brief v2.3 §2.8 bis), au-dessus du bloc de clôture v32 */
.v32 .etape1 { padding-block: 64px; background: #fff; border-top: 1px solid var(--edf-border); }
.v32 .etape1 h2 { font-size: clamp(24px, 3vw, 34px); }
.v32 .etape1-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 28px; max-width: 900px; }
.v32 .etape1-items div { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 2px solid #000; }
.v32 .etape1-items b { font-size: clamp(34px, 4.4vw, 52px); line-height: 1; letter-spacing: -.02em; }
.v32 .etape1-items span { font-size: 17px; color: var(--edf-gray-text); }
.v32 .etape1-items a { color: #000; font-weight: 600; font-size: 20px; }
.v32 .etape1-avis { margin-top: 24px; font-size: 18px; }
@media (max-width: 700px) { .v32 .etape1-items { grid-template-columns: 1fr; gap: 24px; } .v32 .etape1 { padding-block: 48px; } }
/* Formulaire du bloc de clôture v32 : les règles .field du site cèdent la place au style de la maquette */
.v32 .mini2 .field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.v32 .mini2 .field + .field { margin-top: 6px; }
.v32 .mini2 .field-optionnel > label::after { color: var(--edf-gray-text); }
.v32 .mini2 .dictee { color: #000; }

/* ---------- Atterrissage C (Du prototype IA au logiciel) : deux entrées côte à côte ---------- */
.lp-entrees { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; max-width: 960px; }
.lp-entrees a { display: block; height: 100%; padding: 20px 22px; border: 2px solid var(--edf-black); color: var(--edf-black); text-decoration: none; }
.lp-entrees a:hover, .lp-entrees a:focus-visible { background: var(--edf-green); }
.lp-entrees strong { display: block; font-size: 1.15rem; }
.lp-entrees span { display: block; margin-top: 8px; }
@media (min-width: 760px) { .lp-entrees { grid-template-columns: 1fr 1fr; } }

/* ---------- Logos clients, partout où un client est présenté (site_v3.logo_client, 13/10) ---------- */
.temoignage .temoignage-marque { display: block; width: auto; height: 26px; max-width: 140px; margin-bottom: 12px; padding: 6px 8px; background: var(--edf-white); box-sizing: content-box; }
.temoignage .temoignage-marque[data-carre] { height: 40px; }
.case-logo { display: block; height: 34px; width: auto; max-width: 170px; margin-bottom: 12px; }
.case-logo[data-carre] { height: 56px; }
.lp-issue-logo { display: block; height: 28px; width: auto; max-width: 150px; margin-bottom: 8px; font-style: normal; }
.lp-cas-logo { display: block; height: 40px; width: auto; max-width: 200px; margin-bottom: 14px; }
.lp-citation-logo { display: block; height: 26px; width: auto; max-width: 140px; margin-bottom: 8px; }
.fiche-logo { max-width: 220px; }
.fiche-logo[data-carre] { max-height: 84px; }

/* Nous rejoindre : postes ouverts */
.postes { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.postes li { border: 1px solid var(--edf-border); border-left: 3px solid var(--edf-green); padding: 16px 18px; font-weight: 600; background: var(--edf-white); }

/* Bloc de clôture : bascule « Formulaire / Terminal » (Rubens, 13/10) ; sans JavaScript, la bascule reste cachée. */
.bascule { display: inline-flex; border: 1px solid #000; margin-bottom: 18px; }
.bascule[hidden] { display: none; }
.bascule button { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; min-height: 44px; background: #fff; color: #000; border: 0; cursor: pointer; }
.bascule button[aria-pressed="true"] { background: #000; color: #fff; }
.bascule button:focus-visible { outline: 2px solid var(--edf-green); outline-offset: 2px; }
.terminal.terminal-cloture { height: 480px; }
.terminal.terminal-cloture[hidden] { display: none; }
.terminal-cloture .terminal-ecran { background: #000; }
.v32 .mini2[hidden] { display: none; }
