/* =========================================================
   ECH CONSEIL – Feuille de style principale
   Palette : bleu nuit / or / ivoire – ton institutionnel, sobre
   ========================================================= */

:root {
  --navy: #0B2545;
  --navy-deep: #071A33;
  --navy-soft: #13396B;
  --gold: #C8A452;
  --gold-light: #E5C97A;
  --gold-dark: #8A6D2C;
  --ivory: #F7F4EE;
  --sand: #ECE6DA;
  --white: #FFFFFF;
  --ink: #1E2A38;
  --text: #2B3A4A;
  --muted: #6B7785;
  --line: #E1DBCE;
  --success: #1F7A5C;
  --error: #B3261E;

  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.10);
  --shadow-soft: 0 4px 16px rgba(11, 37, 69, 0.06);
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---------- Layout utilitaires ---------- */
.container { width: min(var(--container), calc(100% - 2 * 24px)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy); color: rgba(255,255,255,0.86); }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600; margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--gold-light); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--navy .lead { color: rgba(255,255,255,0.75); }
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
  font-family: var(--font-sans); line-height: 1.2;
}
.btn--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(11,37,69,0.08); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  font-weight: 600; font-size: 0.98rem; color: var(--ink); position: relative; padding: 6px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { white-space: nowrap; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy); position: relative;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy); transition: transform .25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(200,164,82,0.18), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, #fff 100%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 10px; font-size: 0.86rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-soft); margin-bottom: 26px;
}
.hero__badge i {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
  display: inline-grid; place-items: center; color: var(--navy); font-style: normal; font-size: 12px;
}
.hero h1 { margin-bottom: 0.55em; }
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.hero__text { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px 32px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__meta div { font-size: 0.92rem; color: var(--muted); }
.hero__meta strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); line-height: 1.1; }
.hero__visual { position: relative; }
.hero__visual img { border-radius: 28px; box-shadow: 0 30px 60px rgba(11,37,69,0.25); }
.hero__visual::before {
  content: ""; position: absolute; inset: 14% -6% -8% 10%; border-radius: 32px;
  background: linear-gradient(135deg, rgba(200,164,82,0.35), rgba(11,37,69,0.08)); z-index: -1;
}

/* ---------- Bandeau confiance ---------- */
.trust { background: var(--navy); color: #fff; }
.trust__list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0;
}
.trust__list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--gold-light); margin-top: 2px; }
.trust__list strong { display: block; color: #fff; font-size: 1rem; }
.trust__list span { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ---------- Cartes de services ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--ivory);
  display: grid; place-items: center; margin-bottom: 22px; color: var(--navy);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card__link { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.card__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card__link:hover svg { transform: translateX(4px); }

/* ---------- Section « Le cabinet » ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__visual img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__visual { position: relative; }
.about__badge {
  position: absolute; right: -14px; top: 28px; background: var(--navy); color: #fff;
  padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow); max-width: 240px;
}
.about__badge strong { display: block; font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold-light); }
.about__badge span { font-size: 0.86rem; color: rgba(255,255,255,0.75); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 8'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Méthode (étapes) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-block; font-family: var(--font-serif); font-size: 2rem; color: var(--gold-light); margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: 0.95rem; color: rgba(255,255,255,0.72); margin: 0; }

/* ---------- Secteurs ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px; font-weight: 600; color: var(--navy);
}
.sector svg { width: 30px; height: 30px; flex: 0 0 30px; color: var(--gold-dark); }
.sector small { display: block; font-weight: 400; color: var(--muted); font-size: 0.86rem; }

/* ---------- Engagements ---------- */
.pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pledge { padding: 30px; border-radius: var(--radius); background: var(--ivory); }
.pledge__num { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold-dark); line-height: 1; margin-bottom: 10px; }
.pledge h3 { font-size: 1.15rem; }
.pledge p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Bandeau CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--navy); color: #fff;
  padding: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(200,164,82,0.18);
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,0.75); margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 64px 0 28px; font-size: 0.95rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--gold-light); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 4px; color: var(--gold-light); }
.footer__bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.86rem; color: rgba(255,255,255,0.55);
}
.footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- En-tête de page interne ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(200,164,82,0.25), transparent 60%),
    var(--navy);
  color: #fff; padding: clamp(48px, 6vw, 84px) 0;
}
.page-hero h1 { color: #fff; margin-bottom: 0.35em; }
.page-hero .lead { color: rgba(255,255,255,0.78); max-width: 680px; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 10px; font-size: 0.86rem; color: rgba(255,255,255,0.6); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; color: rgba(255,255,255,0.4); }

/* ---------- Page services : blocs détaillés ---------- */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line);
}
.service-detail:first-of-type { border-top: 0; }
.service-detail--reverse .service-detail__visual { order: 2; }
.service-detail__visual {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: grid; place-items: center; min-height: 300px;
}
.service-detail__visual svg { width: 160px; height: 160px; color: var(--navy); }
.service-detail h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-detail .checklist { margin-top: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-list span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; color: var(--navy); font-weight: 600; }

.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.services-intro img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--navy);
  padding: 16px 44px 16px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--ivory); color: var(--gold-dark);
  display: grid; place-items: center; font-family: var(--font-sans); font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 760px; }

/* ---------- Page contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 13px 14px;
  border: 1px solid #CFC8BA; border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,37,69,0.12); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--error); }
.field__error { display: none; color: var(--error); font-size: 0.85rem; margin-top: 6px; }
.field.is-invalid .field__error { display: block; }
.field--consent { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.field--consent label { flex: 1 1 0; }
.field--consent .field__error { flex-basis: 100%; margin-top: 0; }
.field--consent input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 20px; accent-color: var(--navy); }
.field--consent label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; display: none; }
.form-status.is-success { display: block; background: #E7F4EE; color: var(--success); }
.form-status.is-error { display: block; background: #FBEAE9; color: var(--error); }

.info-card { background: var(--navy); color: rgba(255,255,255,0.85); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.info-card h2, .info-card h3, .info-card strong, .section--navy strong, .step strong, .cta strong, .site-footer strong { color: #fff; }
.info-card h3 { font-size: 1.05rem; margin-top: 26px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--gold-light); margin-top: 2px; }
.info-list a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hours td:last-child { text-align: right; color: #fff; font-weight: 600; }
.hours tr:last-child td { border-bottom: 0; }

.map-block { margin-top: clamp(40px, 5vw, 64px); }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 12 / 7; }
.map-frame iframe { width: 100%; height: 100%; aspect-ratio: 12 / 7; border: 0; display: block; }
.map-consent {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background: rgba(247,244,238,0.55);
}
.map-consent__box { background: #fff; border-radius: var(--radius); padding: 28px 30px; max-width: 440px; box-shadow: var(--shadow); }
.map-consent__box p { font-size: 0.92rem; color: var(--muted); }
.access-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.access-list div { background: var(--ivory); border-radius: 14px; padding: 18px 20px; font-size: 0.95rem; }
.access-list strong { display: block; color: var(--navy); margin-bottom: 4px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: 0.4em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 11px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--ivory); color: var(--navy); width: 34%; }
.legal .updated { color: var(--muted); font-size: 0.9rem; }
.legal-nav { background: var(--ivory); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 32px; }
.legal-nav strong { display: block; color: var(--navy); margin-bottom: 8px; }
.legal-nav ol { margin: 0; columns: 2; column-gap: 32px; font-size: 0.95rem; }
.legal-nav li { break-inside: avoid; margin-bottom: 4px; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__list li { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; display: none;
    box-shadow: 0 20px 40px rgba(11,37,69,0.12);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 18px; }
  .hero__inner, .about, .services-intro, .contact-grid, .service-detail { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .service-detail--reverse .service-detail__visual { order: 0; }
  .service-detail__visual { min-height: 220px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .sectors, .pledges, .access-list { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .about__badge { right: 12px; top: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 2 * 18px); }
  .grid--2, .grid--3, .grid--4, .sectors, .pledges, .steps, .form-grid, .access-list { grid-template-columns: 1fr; }
  .trust__list { grid-template-columns: 1fr; }
  .trust__list li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .trust__list li:first-child { border-top: 0; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 18px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .legal-nav ol { columns: 1; }
  .legal th { width: 40%; }
  .card { padding: 26px 22px; }
  .about__badge { position: static; margin-top: 16px; max-width: none; }
  .map-consent { position: static; padding: 14px; background: var(--ivory); }
  .map-consent__box { box-shadow: none; padding: 18px; max-width: none; }
  .map-consent__box h3 { font-size: 1.1rem; }
  .hero__meta div { flex: 1 1 40%; }
}
