/* ==========================================================================
   Alain Laprade et Associés inc. — feuille de style
   ========================================================================== */

/* Polices auto-hébergées (sous-ensemble latin) */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-600.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-700.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-600.woff2") format("woff2"); }

:root {
  --marine: #1C3557;
  --marine-fonce: #12243D;
  --bleu: #3A6EA5;
  --bleu-clair: #A9C2DE;
  --bleu-pale: #E8EEF5;
  --section: #F1F4F8;
  --fond: #F7F8FA;
  --blanc: #FFFFFF;
  --texte: #1F2328;
  --texte-doux: #5A6472;
  --texte-moyen: #4C5664;
  --filet: #D5DEE9;
  --filet-pale: #E3E8EF;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gouttiere: clamp(24px, 6.7vw, 96px);
  --contenu: 1440px;
  --rayon: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 104px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--bleu); }
a:hover { color: var(--marine); }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }
.sur-fonce :focus-visible, .site-header:not(.is-solid) :focus-visible, .menu-mobile :focus-visible { outline-color: var(--blanc); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--blanc); color: var(--marine); padding: 12px 18px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--contenu); margin-inline: auto; padding-inline: var(--gouttiere); }
.nowrap { white-space: nowrap; }

/* Typographie commune */
.surtitre {
  display: block;
  font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bleu);
}
.sur-fonce .surtitre { color: var(--bleu-clair); }
.titre-section {
  font-family: var(--serif); font-weight: 600; color: var(--marine);
  font-size: clamp(38px, 4vw, 56px); line-height: 1.05; letter-spacing: -.005em;
  text-wrap: balance;
}
.arc { color: var(--bleu); }
.arc svg { fill: currentColor; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border-radius: 8px;
  font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blanc { background: var(--blanc); color: var(--marine); }
.btn-blanc:hover { background: var(--bleu-pale); color: var(--marine); transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(0,0,0,.45); }
.btn-contour { border-color: rgba(255,255,255,.75); color: var(--blanc); font-weight: 600; }
.btn-contour:hover { background: rgba(255,255,255,.1); border-color: var(--blanc); color: var(--blanc); }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--blanc);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  transition: height .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 rgba(28,53,87,.08), 0 10px 30px -22px rgba(28,53,87,.45);
  color: var(--marine);
}
.site-header.is-solid .wrap { height: 76px; }

.brand { display: block; color: inherit; line-height: 0; flex: none; }
.brand svg { height: 64px; width: auto; aspect-ratio: 313.32 / 73.32; fill: currentColor; transition: height .35s var(--ease); }
.brand:hover, .brand:focus { color: inherit; opacity: .85; }
.site-footer .brand:hover { color: var(--blanc); }
.site-header.is-solid .brand svg { height: 52px; }

.nav { display: flex; align-items: center; gap: 44px; }
.nav ul { display: flex; gap: 40px; }
.nav a:not(.btn-tel) {
  position: relative; color: inherit; opacity: .9; text-decoration: none;
  font-size: 16px; font-weight: 600; padding: 8px 0;
}
.nav a:not(.btn-tel)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn-tel):hover, .nav a[aria-current="true"] { opacity: 1; }
.nav a:not(.btn-tel):hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }

.btn-tel {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 8px;
  border: 1.5px solid currentColor; color: inherit; text-decoration: none;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.site-header:not(.is-solid) .btn-tel { border-color: rgba(255,255,255,.75); }
.btn-tel:hover { background: rgba(255,255,255,.12); color: inherit; }
.site-header.is-solid .btn-tel:hover { background: var(--marine); color: var(--blanc); }
.btn-tel svg { width: 18px; height: 18px; }

.header-mobile { display: none; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid currentColor; color: inherit; background: transparent;
}
.site-header:not(.is-solid) .icon-btn--tel { border-color: rgba(255,255,255,.75); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { border: 0; background: var(--blanc); color: var(--marine); }
.site-header.is-solid .menu-toggle { background: var(--marine); color: var(--blanc); }

/* Menu mobile */
.menu-mobile {
  position: fixed; inset: 0; z-index: 150;
  background: var(--marine); color: var(--blanc);
  display: flex; flex-direction: column;
  padding: 0 24px 32px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.menu-mobile.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.menu-mobile__haut { height: 76px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.menu-mobile__haut .brand svg { height: 46px; }
.menu-close { border: 0; background: var(--blanc); color: var(--marine); }
.menu-mobile nav { margin-top: 40px; }
.menu-mobile nav li { border-top: 1px solid rgba(255,255,255,.18); }
.menu-mobile nav li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.menu-mobile nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; color: var(--blanc); text-decoration: none;
  font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.1;
}
.menu-mobile nav a svg { width: 20px; height: 20px; opacity: .6; }
.menu-mobile__contact { margin-top: auto; padding-top: 40px; display: grid; gap: 10px; }
.menu-mobile__contact .btn { width: 100%; }
.menu-mobile__note { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.75); text-align: center; }
body.menu-ouvert { overflow: hidden; }

/* --------------------------------------------------------------------------
   Accueil
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--marine); color: var(--blanc);
  min-height: clamp(640px, 100svh, 900px);
  display: flex; flex-direction: column;
}
.hero__filigrane {
  position: absolute; right: -40px; top: 40px;
  height: 118%; width: auto; aspect-ratio: 55.32 / 73.32;
  color: var(--blanc); fill: currentColor; opacity: .07; pointer-events: none;
  will-change: transform;
}
.hero .wrap {
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px;
}
.hero .surtitre { color: var(--bleu-clair); }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(42px, 7.5vw, 108px); line-height: .98; letter-spacing: -.015em;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--bleu-clair); }
.hero__bas {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2);
}
.hero__bas p { max-width: 520px; font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.86); }
.hero__actions { display: flex; gap: 14px; flex: none; }

/* --------------------------------------------------------------------------
   Repères
   -------------------------------------------------------------------------- */
.reperes { position: relative; background: var(--bleu); color: var(--blanc); }
.reperes__courbe { position: absolute; left: 0; top: -1px; width: 100%; height: 90px; fill: var(--marine); }
.reperes ul {
  padding-top: 120px; padding-bottom: 64px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reperes li { padding: 0 32px; border-left: 1px solid rgba(255,255,255,.3); display: flex; flex-direction: column; gap: 8px; }
.reperes li:first-child { padding-left: 0; border-left: 0; }
.reperes li:last-child { padding-right: 0; }
.reperes__chiffre {
  font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 4.4vw, 64px); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.reperes__chiffre small { font-size: .56em; }
.reperes__texte { font-size: 16px; line-height: 1.4; color: rgba(255,255,255,.92); }

/* --------------------------------------------------------------------------
   Approche
   -------------------------------------------------------------------------- */
.approche { padding-block: 136px 120px; }
.approche__intro { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: start; }
.approche__intro .surtitre-bloc { display: flex; flex-direction: column; gap: 16px; padding-top: 10px; }
.approche__intro .arc svg { width: 64px; height: 21px; }
.mission {
  max-width: 860px;
  font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.28;
  color: var(--marine); text-wrap: pretty;
}
.piliers { margin-top: 80px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.pilier { border-top: 2px solid var(--marine); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.pilier__num { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--bleu); }
.pilier h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 2.6vw, 38px); line-height: 1.1; color: var(--marine); }
.pilier p { font-size: 18px; line-height: 1.6; color: var(--texte-doux); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services { background: var(--section); padding-block: 128px 136px; }
.entete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.entete-section > div { display: flex; flex-direction: column; gap: 16px; }
.services .titre-section { font-size: clamp(42px, 4.5vw, 64px); line-height: 1.02; }
.services .entete-section .arc svg { width: 180px; height: 58px; }
.cartes { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.carte {
  position: relative; overflow: hidden;
  background: var(--blanc); color: var(--marine);
  border-radius: var(--rayon);
  padding: clamp(32px, 3.9vw, 56px) clamp(26px, 3.9vw, 56px) clamp(30px, 3.6vw, 52px);
  display: flex; flex-direction: column; gap: 24px;
  box-shadow: 0 20px 44px -30px rgba(28,53,87,.35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.carte::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--bleu); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.carte:hover { transform: translateY(-4px); box-shadow: 0 32px 60px -34px rgba(28,53,87,.45); }
.carte:hover::before { transform: scaleX(1); }
.carte__haut { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.etiquette {
  display: inline-flex; padding: 6px 14px; border-radius: 999px;
  background: var(--bleu-pale); font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.carte__icone { width: 56px; height: 56px; flex: none; fill: none; stroke: var(--marine); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.carte h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.1vw, 44px); line-height: 1.05; }
.carte p { font-size: 18px; line-height: 1.6; color: var(--texte-doux); }
.carte ul { margin-top: 8px; border-top: 1px solid var(--filet-pale); color: var(--texte); }
.carte li { padding: 15px 0; border-bottom: 1px solid var(--filet-pale); font-size: 17px; display: flex; gap: 14px; align-items: center; }
.carte li:last-child { border-bottom: 0; }
.carte li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--bleu); }

/* --------------------------------------------------------------------------
   Démarche
   -------------------------------------------------------------------------- */
.demarche { padding-block: 128px 136px; }
.etapes { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.etape { position: relative; border-top: 1px solid #C9D5E3; padding-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.etape::before { content: ""; position: absolute; left: 0; top: -7px; width: 13px; height: 13px; border-radius: 50%; background: var(--marine); }
.etape__num { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; color: var(--bleu); font-variant-numeric: lining-nums; }
.etape h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.2vw, 32px); line-height: 1.1; color: var(--marine); }
.etape p { font-size: 17px; line-height: 1.6; color: var(--texte-doux); }

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */
.apropos { background: var(--fond); padding-block: 136px; }
.apropos .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.apropos__visuel {
  grid-column: span 5; height: 520px; border-radius: var(--rayon); background: var(--bleu-pale);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.apropos__visuel svg { height: 73%; width: auto; aspect-ratio: 55.32 / 73.32; color: var(--marine); fill: currentColor; }
.apropos__texte { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 28px; }
.apropos__texte > p { max-width: 600px; font-size: 19px; line-height: 1.65; color: var(--texte-moyen); }
.signature { margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--filet); }
.signature__nom { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.2vw, 32px); line-height: 1.15; color: var(--marine); }
.signature__nom span { font-weight: 500; font-size: .75em; }
.signature__titre { display: block; font-size: 16px; color: var(--texte-doux); margin-top: 4px; }
.signature__titre + .signature__titre { margin-top: 0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { padding-block: 136px; }
.faq .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.faq__intro { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 120px; }
.faq__intro p { font-size: 18px; line-height: 1.6; color: var(--texte-doux); }
.faq__intro p a { color: var(--marine); font-weight: 600; }
.faq__intro .arc svg { width: 64px; height: 21px; margin-top: 8px; }
.faq__liste { grid-column: 6 / span 7; border-bottom: 1px solid var(--filet); }
.question { border-top: 1px solid var(--filet); padding: 30px 0; display: flex; flex-direction: column; gap: 12px; }
.question h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 2.1vw, 30px); line-height: 1.15; color: var(--marine); }
.question p { max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--texte-doux); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; background: var(--marine); color: var(--blanc); padding-block: 128px 120px; }
.contact__filigrane { position: absolute; left: -120px; bottom: -150px; width: 900px; height: 288px; color: var(--blanc); fill: currentColor; opacity: .06; pointer-events: none; }
.contact .wrap { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.contact__intro { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
.contact h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 5vw, 72px); line-height: 1; }
.contact__intro p { max-width: 400px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.82); }
.contact__coord { grid-column: 7 / span 6; }
.coord { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.coord:last-of-type { border-bottom: 1px solid rgba(255,255,255,.2); }
.coord__label { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.coord__valeur { color: var(--blanc); text-decoration: none; font-size: clamp(24px, 2.1vw, 30px); font-weight: 600; white-space: nowrap; }
.coord__valeur:hover { color: var(--bleu-clair); }
.coord__courriel { display: flex; align-items: center; gap: 14px; }
.btn-copier {
  height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px;
  background: transparent; color: var(--blanc); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn-copier:hover { background: rgba(255,255,255,.1); border-color: var(--blanc); }
.btn-copier svg { width: 16px; height: 16px; }
.contact__actions { padding-top: 36px; display: flex; gap: 14px; }

/* Message « copié » */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--marine-fonce); color: var(--blanc);
  padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.5);
  display: flex; align-items: center; gap: 10px;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast svg { width: 18px; height: 18px; color: #8FD3A8; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Bouton d'appel flottant (mobile) */
.appel-flottant {
  position: fixed; right: 16px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--marine); color: var(--blanc);
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(18,36,61,.6);
  opacity: 0; transform: scale(.8) translateY(10px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.appel-flottant svg { width: 24px; height: 24px; }
.appel-flottant.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--marine-fonce); color: rgba(255,255,255,.78); padding-block: 72px 56px; font-size: 14px; line-height: 1.65; }
.site-footer .footer-haut { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.site-footer .brand { grid-column: span 4; color: var(--blanc); }
.site-footer .brand svg { height: 64px; }
.mentions { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 12px; }
.footer-bas {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.footer-bas ul { display: flex; gap: 28px; }
.site-footer a { color: var(--blanc); }
.site-footer a:hover { color: var(--bleu-clair); }

/* --------------------------------------------------------------------------
   Page de texte (politique, 404)
   -------------------------------------------------------------------------- */
.page-titre { background: var(--marine); color: var(--blanc); position: relative; overflow: hidden; }
.page-titre .wrap { padding-top: calc(var(--header-h) + 72px); padding-bottom: 72px; display: flex; flex-direction: column; gap: 20px; }
.page-titre h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 5.5vw, 76px); line-height: 1.02; }
.page-titre p { color: rgba(255,255,255,.82); font-size: 18px; }
.page-titre .hero__filigrane { height: 160%; top: -10%; }
.texte-legal { padding-block: 88px 120px; }
.texte-legal .wrap > div { max-width: 760px; }
.texte-legal h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; color: var(--marine); margin-top: 56px; margin-bottom: 16px; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p, .texte-legal li { font-size: 18px; line-height: 1.7; color: var(--texte-moyen); }
.texte-legal p + p { margin-top: 14px; }
.texte-legal ul { margin-top: 12px; display: grid; gap: 8px; }
.texte-legal li { display: flex; gap: 14px; }
.texte-legal li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--bleu); margin-top: 12px; }
.texte-legal .encadre { margin-top: 20px; padding: 24px 28px; background: var(--section); border-radius: var(--rayon); }
.texte-legal .encadre p { color: var(--texte); }
.retour { margin-top: 48px; display: inline-flex; align-items: center; gap: 10px; color: var(--marine); font-weight: 700; text-decoration: none; }
.retour:hover { color: var(--bleu); }
.retour svg { width: 18px; height: 18px; }
.page-404 .page-titre { min-height: 100svh; display: flex; }
.page-404 .page-titre .wrap { justify-content: center; }
.page-404 .page-titre .btn { align-self: flex-start; margin-top: 16px; }

/* --------------------------------------------------------------------------
   Animations (seulement si JS actif et mouvement permis)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delai, 0s); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }

  .js .hero h1 span, .js .hero .surtitre, .js .hero__bas { opacity: 0; transform: translateY(18px); animation: monter .9s var(--ease) forwards; }
  .js .hero .surtitre { animation-delay: .1s; }
  .js .hero h1 span:nth-child(1) { animation-delay: .25s; }
  .js .hero h1 span:nth-child(2) { animation-delay: .45s; }
  .js .hero h1 span:nth-child(3) { animation-delay: .65s; }
  .js .hero__bas { animation-delay: .95s; }
}
@keyframes monter { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav ul { gap: 28px; }
  .nav { gap: 28px; }
  .hero__bas { flex-direction: column; align-items: flex-start; gap: 28px; }
  .approche__intro { grid-template-columns: 1fr; gap: 24px; }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 76px; }
  .nav { display: none; }
  .header-mobile { display: flex; }
  .brand svg { height: 46px; }
  .site-header.is-solid .brand svg { height: 44px; }
  .site-header.is-solid .wrap { height: 68px; }

  .reperes ul { padding-top: 88px; padding-bottom: 52px; }
  .reperes li { padding: 0 24px; }

  .piliers { grid-template-columns: 1fr; gap: 36px; margin-top: 52px; }
  .cartes { grid-template-columns: 1fr; }
  .apropos__visuel { grid-column: 1 / -1; height: 300px; }
  .apropos__texte { grid-column: 1 / -1; margin-top: 40px; }
  .faq__intro { grid-column: 1 / -1; position: static; }
  .faq__liste { grid-column: 1 / -1; margin-top: 32px; }
  .contact__intro, .contact__coord { grid-column: 1 / -1; }
  .contact__coord { margin-top: 40px; }
  .site-footer .brand, .mentions { grid-column: 1 / -1; }
  .mentions { margin-top: 28px; }
  .appel-flottant { display: flex; }
}

@media (max-width: 767px) {
  body { font-size: 17px; }
  .surtitre { font-size: 12px; }
  .hero { min-height: auto; }
  .hero__filigrane { right: -120px; top: 60px; height: 560px; }
  .hero .wrap { padding-top: calc(var(--header-h) + 80px); padding-bottom: 52px; gap: 26px; justify-content: flex-start; }
  .hero .surtitre { font-size: 11px; }
  .hero h1 { line-height: 1.02; }
  .hero__bas { padding-top: 22px; }
  .hero__bas p { font-size: 17px; }
  .hero__actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero__actions .btn { width: 100%; height: 54px; }

  .reperes__courbe { height: 40px; }
  .reperes ul { grid-template-columns: 1fr; row-gap: 22px; padding-top: 68px; padding-bottom: 44px; }
  .reperes li, .reperes li:first-child, .reperes li:last-child { padding: 0; border-left: 0; }
  .reperes li + li { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); }
  .reperes__texte { font-size: 15px; }

  .approche { padding-block: 80px 72px; }
  .approche__intro .arc svg { width: 48px; height: 15px; }
  .pilier { padding-top: 22px; gap: 12px; }
  .pilier p { font-size: 17px; }

  .services { padding-block: 80px; }
  .entete-section .arc { display: none; }
  .cartes { margin-top: 36px; gap: 20px; }
  .carte { gap: 18px; }
  .carte__icone { width: 44px; height: 44px; }
  .carte p { font-size: 16px; }
  .carte li { font-size: 16px; padding: 13px 0; align-items: flex-start; }
  .carte li::before { margin-top: 9px; }

  .demarche { padding-block: 80px; }
  .etapes { margin-top: 40px; grid-template-columns: 1fr; gap: 36px; padding-left: 28px; border-left: 1px solid #C9D5E3; }
  .etape { border-top: 0; padding-top: 0; gap: 8px; }
  .etape::before { left: -35px; top: 8px; }
  .etape p { font-size: 16px; }

  .apropos { padding-block: 72px 80px; }
  .apropos__visuel { height: 240px; }
  .apropos__texte { gap: 22px; margin-top: 36px; }
  .apropos__texte > p { font-size: 17px; }
  .signature { padding-top: 24px; }
  .signature__titre { font-size: 15px; }

  .faq { padding-block: 80px; }
  .question { padding: 22px 0; gap: 10px; }
  .question p { font-size: 16px; }

  .contact { padding-block: 80px 72px; }
  .contact__filigrane { width: 520px; height: 166px; left: -100px; bottom: -80px; }
  .contact__intro { gap: 20px; }
  .contact__intro p { font-size: 16px; }
  .contact__coord { margin-top: 24px; }
  .coord { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 0; }
  .coord__label { font-size: 12px; }
  .coord__courriel { width: 100%; justify-content: space-between; gap: 12px; }
  .coord__courriel .coord__valeur { white-space: normal; overflow-wrap: anywhere; }
  .contact__actions { padding-top: 28px; }
  .contact__actions .btn { width: 100%; height: 54px; }

  .site-footer { padding-block: 56px 48px; }
  .site-footer .brand svg { height: 54px; }
  .footer-bas { flex-direction: column-reverse; align-items: flex-start; margin-top: 28px; padding-top: 20px; }
  .footer-bas ul { flex-direction: column; gap: 0; }
  .footer-bas li a { display: inline-block; padding: 8px 0; }

  .page-titre .wrap { padding-top: calc(var(--header-h) + 48px); padding-bottom: 52px; }
  .texte-legal { padding-block: 56px 80px; }
  .texte-legal p, .texte-legal li { font-size: 17px; }
}

@media (max-width: 380px) {
  .brand svg, .menu-mobile__haut .brand svg { height: 42px; }
  .site-header .wrap { gap: 12px; }
}

/* Impression */
@media print {
  .site-header, .menu-mobile, .appel-flottant, .toast, .hero__filigrane, .contact__filigrane, .btn-copier, .hero__actions, .contact__actions, .skip-link { display: none !important; }
  .hero, .reperes, .contact, .site-footer, .page-titre { background: none !important; color: #000 !important; }
  .hero .wrap { padding-top: 24px; }
  .hero h1 span, .coord__valeur, .coord__label, .contact h2, .contact__intro p, .reperes__texte, .site-footer a, .hero__bas p { color: #000 !important; }
  .js [data-reveal], .js .hero h1 span, .js .hero__bas, .js .hero .surtitre { opacity: 1 !important; transform: none !important; animation: none !important; }
  .carte { box-shadow: none; border: 1px solid #ccc; }
  section { padding-block: 32px !important; break-inside: avoid; }
}
