/* ===== Polices auto-hébergées (charte elodia) ===== */
@font-face{font-family:'Metropolis';src:url('assets/fonts/metropolis-400.woff') format('woff');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Metropolis';src:url('assets/fonts/metropolis-500.woff') format('woff');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Metropolis';src:url('assets/fonts/metropolis-600.woff') format('woff');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Metropolis';src:url('assets/fonts/metropolis-700.woff') format('woff');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Comfortaa';src:url('assets/fonts/comfortaa-600.woff') format('woff');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Comfortaa';src:url('assets/fonts/comfortaa-700.woff') format('woff');font-weight:700;font-style:normal;font-display:swap;}

/* =========================================================
   elodia — feuille de styles partagée
   Charte : marine #181a4a · indigo #2a3282 · lavande #d0b5f7
            citron vert #dce65e · noir #000000
   Typo   : Jost (titres, ~Avenir) · Comfortaa (sous-titres)
            Segoe UI (corps)
   ========================================================= */

:root {
  --marine:   #181a4a;
  --indigo:   #2a3282;
  --lavande:  #d0b5f7;
  --lavande-clair: #f3ecfe;
  --citron:   #dce64a;
  --noir:     #000000;
  --blanc:    #ffffff;
  --papier:   #faf9ff;
  --gris-texte: #4a4e73;
  --filet:    #e7e3f2;

  --titre: "Metropolis", "Avenir", "Segoe UI", sans-serif; /* titres (géométrique) */
  --soustitre: "Metropolis", "Avenir", "Segoe UI", sans-serif; /* sous-titres / UI */
  --corps: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --rayon: 18px;
  --rayon-lg: 28px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--corps);
  color: var(--marine);
  background: var(--blanc);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--titre); font-weight: 600; line-height: 1.12; margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--indigo); text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: var(--soustitre);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--citron);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--soustitre); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--citron); color: var(--marine); }
.btn-primary:hover { background: #cfda3f; }
.btn-light { background: var(--blanc); color: var(--marine); }
.btn-light:hover { background: var(--lavande-clair); }
.btn-outline { background: transparent; color: var(--marine); border-color: var(--marine); }
.btn-outline:hover { background: var(--marine); color: var(--blanc); }
.btn-ghost-light { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: var(--blanc); color: var(--marine); border-color: var(--blanc); }

:focus-visible { outline: 3px solid var(--citron); outline-offset: 3px; border-radius: 4px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--filet);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: var(--soustitre);
  font-weight: 700; font-size: 1.6rem;
  color: var(--marine); letter-spacing: -0.02em;
  display: inline-flex; align-items: center;
}
.brand .dot { color: var(--indigo); }
.brand img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--soustitre); font-weight: 500; color: var(--marine);
  font-size: 0.98rem; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--citron); transition: width 0.25s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--marine); margin: 5px 0; transition: 0.3s; }

/* ---------- Menu déroulant Diagnostics ---------- */
.has-dropdown { position: relative; }
.dd-trigger {
  font-family: var(--soustitre); font-weight: 500; color: var(--marine);
  font-size: 0.98rem; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 4px 0;
}
.dd-trigger svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.dropdown { list-style: none; margin: 0; padding: 0; }
.mega__title {
  font-family: var(--soustitre); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo);
  margin: 0 0 0.7rem; display: flex; align-items: center; gap: 0.5rem;
}
.mega__title::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--citron); }
.mega__list { list-style: none; margin: 0; padding: 0; }
.dropdown__ico {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--lavande-clair); color: var(--indigo);
  display: grid; place-items: center;
}
.dropdown__ico svg { width: 19px; height: 19px; }
.mega a small { display: block; font-family: var(--corps); font-weight: 400; font-size: 0.78rem; color: var(--gris-texte); }
.diag-code {
  font-family: var(--soustitre); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.04em; color: var(--marine); background: var(--citron);
  padding: 0.25rem 0.45rem; border-radius: 6px; flex-shrink: 0;
  min-width: 46px; text-align: center;
}

@media (min-width: 861px) {
  .mega {
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(660px, calc(100vw - 48px));
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
    background: var(--blanc); border: 1px solid var(--filet);
    border-radius: var(--rayon-lg); box-shadow: 0 24px 52px -26px rgba(24,26,74,0.45);
    padding: 1.4rem; z-index: 60;
    opacity: 0; visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
  .has-dropdown:hover .mega,
  .has-dropdown:focus-within .mega {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  .has-dropdown:hover .dd-trigger svg,
  .has-dropdown:focus-within .dd-trigger svg { transform: rotate(180deg); }
  .mega a {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.6rem 0.6rem; border-radius: 11px;
    font-family: var(--soustitre); font-weight: 600; color: var(--marine); font-size: 0.94rem;
  }
  .mega a::after { display: none; }
  .mega a:hover { background: var(--lavande-clair); }
  .mega__list--diag { columns: 1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--marine);
  color: var(--blanc);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero__emblem {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(560px, 55%); opacity: 0.5; pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  letter-spacing: -0.02em; color: var(--blanc); margin-bottom: 1.4rem;
}
.hero h1 .accent { color: var(--lavande); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #d7d9ef; max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__eyebrow { color: var(--lavande); }
.hero__eyebrow::before { background: var(--citron); }

/* ---------- Sections génériques ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--paper { background: var(--papier); }
.section--lavande { background: var(--lavande-clair); }
.section-head { max-width: 620px; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.01em; }
.section-head p { color: var(--gris-texte); margin-top: 0.8rem; font-size: 1.08rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Intro cabinet ---------- */
.intro-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.intro-grid p { font-size: 1.1rem; color: var(--gris-texte); }
.intro-facts { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--filet); border-radius: var(--rayon-lg); overflow: hidden; }
.fact { background: var(--blanc); padding: 1.6rem; }
.fact .num { font-family: var(--soustitre); font-weight: 700; font-size: 2rem; color: var(--indigo); }
.fact .lab { font-size: 0.92rem; color: var(--gris-texte); }

/* ---------- Cartes diagnostics par projet ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.proj-card {
  background: var(--blanc); border: 1px solid var(--filet);
  border-radius: var(--rayon-lg); padding: 2rem 1.8rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -22px rgba(24,26,74,0.35); border-color: var(--lavande); }
.proj-card__icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--lavande-clair); color: var(--indigo);
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.proj-card__icon svg { width: 30px; height: 30px; }
.proj-card h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.proj-card p { color: var(--gris-texte); font-size: 0.98rem; flex: 1; }
.proj-card .more {
  font-family: var(--soustitre); font-weight: 600; color: var(--indigo);
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem;
}
.proj-card .more svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.proj-card:hover .more svg { transform: translateX(4px); }

/* ---------- Liste des prestations ---------- */
.presta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.presta {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--blanc); border: 1px solid var(--filet);
  border-radius: var(--rayon); padding: 1.3rem 1.4rem;
  transition: border-color 0.2s, background 0.2s;
}
.presta:hover { border-color: var(--lavande); background: var(--lavande-clair); }
.presta__code {
  font-family: var(--soustitre); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.06em; color: var(--marine);
  background: var(--citron); padding: 0.35rem 0.55rem; border-radius: 8px;
  flex-shrink: 0; min-width: 54px; text-align: center;
}
.presta h4 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.presta p { font-size: 0.9rem; color: var(--gris-texte); margin: 0; }

/* ---------- Pourquoi elodia ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.why {
  padding: 1.8rem; border-radius: var(--rayon-lg);
  background: var(--blanc); border: 1px solid var(--filet);
}
.why__mark { width: 44px; height: 44px; border-radius: 12px; background: var(--marine); color: var(--citron); display: grid; place-items: center; margin-bottom: 1rem; }
.why__mark svg { width: 24px; height: 24px; }
.why h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.why p { color: var(--gris-texte); font-size: 0.96rem; margin: 0; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background: var(--lavande);
  border-radius: var(--rayon-lg);
  padding: clamp(2.4rem, 5vw, 3.6rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.6rem;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--marine); max-width: 640px; }
.cta-band p { color: var(--indigo); margin: 0.6rem 0 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--marine); color: #c9cbe4; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand img { height: 34px; width: auto; display: block; }
.site-footer h4 { color: var(--blanc); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--soustitre); }
.site-footer a { color: #c9cbe4; }
.site-footer a:hover { color: var(--citron); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-contact p { margin: 0 0 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); margin-top: 3rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem; color: #9a9dc0;
}

/* placeholder à compléter par le client */
.todo { background: rgba(220,230,94,0.22); border-bottom: 2px dashed var(--indigo); padding: 0 3px; border-radius: 3px; }

/* ---------- En-tête de page interne ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--marine); color: var(--blanc); padding: clamp(2.8rem, 7vw, 4.8rem) 0 clamp(2.6rem, 6vw, 4rem); }
.page-hero__emblem { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(380px, 42%); opacity: 0.45; pointer-events: none; }
.page-hero__inner { position: relative; max-width: 720px; }
.breadcrumb { font-family: var(--soustitre); font-size: 0.9rem; margin-bottom: 1rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--lavande); }
.breadcrumb a:hover { color: var(--blanc); }
.breadcrumb .sep { opacity: 0.55; color: var(--lavande); }
.breadcrumb .current { color: #d7d9ef; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--blanc); margin-bottom: 1rem; letter-spacing: -0.02em; }
.page-hero .lead { color: #d7d9ef; font-size: clamp(1.02rem, 1.8vw, 1.18rem); max-width: 620px; }

/* ---------- Détail des diagnostics ---------- */
.diag-list { display: grid; gap: 1.2rem; }
.diag-item { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-lg); padding: clamp(1.4rem, 3vw, 2rem); scroll-margin-top: 100px; transition: border-color 0.2s, box-shadow 0.2s; }
.diag-item:hover { border-color: var(--lavande); box-shadow: 0 16px 38px -24px rgba(24,26,74,0.3); }
.diag-item__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.diag-item__head .diag-code { font-size: 0.76rem; min-width: 62px; padding: 0.42rem 0.6rem; }
.diag-item__head h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); }
.diag-item > p { color: var(--gris-texte); margin-bottom: 1.1rem; }
.diag-meta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0; }
.diag-meta div { display: flex; flex-direction: column; gap: 0.15rem; background: var(--lavande-clair); border-radius: 12px; padding: 0.7rem 1rem; min-width: 150px; flex: 1; }
.diag-meta dt { font-family: var(--soustitre); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); margin: 0; }
.diag-meta dd { margin: 0; font-size: 0.92rem; color: var(--marine); }
.note-band { background: var(--lavande-clair); border-radius: var(--rayon); padding: 1.2rem 1.4rem; font-size: 0.96rem; color: var(--gris-texte); display: flex; gap: 0.8rem; align-items: flex-start; }
.note-band svg { width: 22px; height: 22px; color: var(--indigo); flex-shrink: 0; margin-top: 3px; }
.note-band strong { color: var(--marine); }

/* ---------- Étapes de la démarche ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; }
.step { position: relative; background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-lg); padding: 1.8rem; }
.step__n { font-family: var(--soustitre); font-weight: 700; font-size: 0.95rem; color: var(--marine); background: var(--citron); width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { color: var(--gris-texte); font-size: 0.95rem; margin: 0; }

/* ---------- Formulaire de contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
.form-card { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-lg); padding: clamp(1.5rem, 3vw, 2.2rem); }
.field { margin-bottom: 1.1rem; }
.field > label { display: block; font-family: var(--soustitre); font-weight: 600; font-size: 0.9rem; color: var(--marine); margin-bottom: 0.4rem; }
.field .req { color: var(--indigo); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--corps); font-size: 0.98rem; color: var(--marine);
  padding: 0.75rem 0.9rem; border: 1px solid var(--filet); border-radius: 12px; background: var(--papier);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lavande); box-shadow: 0 0 0 3px rgba(208,181,247,0.4); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cond-group { display: none; padding: 1.2rem; background: var(--lavande-clair); border-radius: var(--rayon); margin-bottom: 1.1rem; }
.cond-group.show { display: block; }
.cg-title { font-family: var(--soustitre); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo); margin: 0 0 0.9rem; }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--gris-texte); }
.checkbox input { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-note { font-size: 0.85rem; color: var(--gris-texte); margin-top: 0.9rem; }
.form-success { display: none; background: #eef7d9; border: 1px solid #cfe06a; color: var(--marine); border-radius: var(--rayon); padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-size: 0.95rem; }
.form-success.show { display: block; }
.form-error { display: none; background: #fdecec; border: 1px solid #f0b4b4; color: #8a1f1f; border-radius: var(--rayon); padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-size: 0.95rem; }
.form-error.show { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card { background: var(--marine); color: #d7d9ef; border-radius: var(--rayon-lg); padding: 1.9rem; }
.contact-card h3 { color: var(--blanc); font-size: 1.2rem; margin-bottom: 1.2rem; }
.contact-card .ci { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-card .ci svg { width: 20px; height: 20px; color: var(--citron); flex-shrink: 0; margin-top: 3px; }
.contact-card .ci a, .contact-card .ci span { color: var(--blanc); font-size: 1rem; }
.contact-card .ci small { display: block; color: #a9abd0; font-size: 0.8rem; margin-top: 2px; }
.contact-card a:hover { color: var(--citron); }

@media (max-width: 780px) {
  .contact-layout { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Étapes / méthode (page À propos) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.step { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-lg); padding: 1.8rem; position: relative; }
.step__n { font-family: var(--soustitre); font-weight: 700; font-size: 1.7rem; color: var(--indigo); line-height: 1; }
.step h3 { font-size: 1.12rem; margin: 0.6rem 0 0.35rem; }
.step p { color: var(--gris-texte); font-size: 0.95rem; margin: 0; }

/* ---------- Formulaire (page Contact) ---------- */
.form-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 2.4rem; align-items: start; }
.form-card { background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon-lg); padding: clamp(1.5rem, 3vw, 2.3rem); }
.field { margin-bottom: 1.15rem; }
.field > label { display: block; font-family: var(--soustitre); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--marine); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--corps); font-size: 0.98rem; color: var(--marine);
  padding: 0.75rem 0.9rem; border: 1px solid var(--filet); border-radius: 12px; background: var(--papier);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(42,50,130,0.13); background: var(--blanc);
}
.field textarea { min-height: 118px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice label {
  display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; margin: 0;
  padding: 0.55rem 0.95rem; border: 1px solid var(--filet); border-radius: 999px;
  font-family: var(--soustitre); font-weight: 500; font-size: 0.9rem; background: var(--papier); color: var(--marine);
  transition: background 0.15s, border-color 0.15s;
}
.choice input:checked + label { background: var(--lavande-clair); border-color: var(--lavande); }
.choice input:focus-visible + label { outline: 3px solid var(--citron); outline-offset: 2px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; }
.check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; color: var(--marine); }
.check input { width: 17px; height: 17px; accent-color: var(--indigo); flex-shrink: 0; }
.conditional { display: none; margin-top: 0.6rem; padding-top: 1rem; border-top: 1px dashed var(--filet); }
.conditional.show { display: block; }
.field-hint { font-size: 0.86rem; color: var(--gris-texte); margin: -0.1rem 0 0.7rem; }
.form-aside { position: sticky; top: 96px; }
.contact-line { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1.3rem; }
.contact-line .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--marine); color: var(--citron); display: grid; place-items: center; flex-shrink: 0; }
.contact-line .ico svg { width: 21px; height: 21px; }
.contact-line .lab { font-family: var(--soustitre); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo); }
.contact-line .val { color: var(--marine); font-weight: 500; }
.contact-line a.val:hover { color: var(--indigo); }
.form-note { font-size: 0.85rem; color: var(--gris-texte); margin-top: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--blanc); border-bottom: 1px solid var(--filet);
    padding: 0.5rem 24px 1.2rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.8rem 0; width: 100%; border-bottom: 1px solid var(--filet); }
  .has-dropdown { width: 100%; }
  .dd-trigger { width: 100%; justify-content: space-between; padding: 0.9rem 0; border-bottom: 1px solid var(--filet); font-weight: 500; }
  .mega { display: none; padding: 0.6rem 0 0.8rem; }
  .has-dropdown.open .mega { display: block; }
  .has-dropdown.open .dd-trigger svg { transform: rotate(180deg); }
  .mega__title { margin-top: 0.8rem; }
  .mega__col:first-child .mega__title { margin-top: 0.2rem; }
  .mega a { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0 0.65rem 0.4rem; font-size: 0.94rem; color: var(--marine); border-bottom: 1px solid var(--filet); }
  .dropdown__ico { width: 30px; height: 30px; }
  .dropdown__ico svg { width: 17px; height: 17px; }
  .nav-right .btn { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__emblem { opacity: 0.1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .proj-card:hover { transform: none; }
}
