/* Élysée Home — feuille de style */
:root {
  --navy: #0b0b6b;
  --navy-dark: #070746;
  --green: #0a6b22;
  --green-dark: #08561b;
  --sky: #8fd4e0;
  --sky-bg: #e8f6f9;
  --ink: #1c1c3a;
  --muted: #4a4d6a;
  --line: #e3e5ef;
  --bg-alt: #f3f5fa;
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 11, 107, .25);
  --serif: 'Cinzel', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 108px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #1f8aa0; outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 6px; font: 700 18px/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn-lg { min-height: 54px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px -6px rgba(10, 107, 34, .6); }
.btn-primary:hover { background: var(--green-dark); color: #fff; box-shadow: 0 10px 24px -8px rgba(10, 107, 34, .7); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .7s; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: var(--sky-bg); color: var(--green-dark); box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px -10px rgba(11, 11, 107, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; transition: padding .3s; }
.brand img { display: block; width: 84px; height: 84px; object-fit: contain; transition: width .3s, height .3s; }
.site-header.scrolled .brand img { width: 60px; height: 60px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.main-nav > a, .has-sub > a { color: var(--navy); text-decoration: none; position: relative; padding: 6px 0; }
.main-nav > a::after, .has-sub > a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.main-nav > a:hover::after, .has-sub:hover > a::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -16px; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.sub a:hover, .sub a[aria-current] { background: var(--sky-bg); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); width: 48px; height: 48px; border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: inline; }

/* ---------- Hero ---------- */
.hero, .page-hero, .contact { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 460px; height: 460px; background: #1f8aa0; top: -140px; right: -80px; animation: float 14s ease-in-out infinite; }
.b2 { width: 380px; height: 380px; background: var(--green); bottom: -160px; left: -100px; animation: float 17s ease-in-out infinite reverse; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 104px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1, .page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.1; }
.hero .lead, .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: #d9dcf2; max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.hero-card { flex: 1 1 400px; min-width: 0; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); transition: transform .4s; }
.hero-card:hover { transform: translateY(-4px); }
.card-title { font: 600 22px var(--serif); color: var(--navy); }
.checklist { display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.checklist svg { flex: none; margin-top: 1px; color: var(--green); stroke-width: 2.4; }
.checklist-dark { background: #fff; padding: 28px 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.eyebrow-light { color: var(--sky); }

.page-hero { padding: 72px 0 80px; }
.page-hero .container { display: flex; flex-direction: column; gap: 22px; }
.page-hero-sm { padding: 48px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: #c4c7e4; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--sky); }

/* ---------- Stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 36px; padding-bottom: 36px; text-align: center; }
.stat strong { display: block; font: 700 42px var(--serif); color: var(--green); }
.stat span { color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; margin-bottom: 48px; }
.section-head h2, .zone h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-head p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 680px; }
.muted { font-size: 18px; line-height: 1.6; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s; }
.card::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--navy), var(--green)); border-radius: var(--radius) var(--radius) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--sky-bg); color: var(--navy); display: flex; align-items: center; justify-content: center; transition: transform .4s, background .3s, color .3s; }
.card-icon svg { stroke-width: 1.8; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.08); background: var(--navy); color: #fff; }
.card h3 { font-size: 24px; }
.card p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--green); }
.card-link svg { transition: transform .3s; }
.card-link:hover svg { transform: translateX(5px); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 12px; position: relative; }
.step-num { font: 700 44px var(--serif); color: var(--green); }
.step h3 { font: 700 21px var(--sans); color: var(--navy); }
.step p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.step::after { content: ''; position: absolute; top: 28px; left: 68px; right: -20px; height: 2px; background: repeating-linear-gradient(90deg, #b9dcc2 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }

.aides { background: linear-gradient(120deg, var(--green), #0d8a2e); color: #fff; }
.aides-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.aides-inner > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
.aides h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.aides p { font-size: 18px; line-height: 1.6; color: #e3f3e7; }

.zone { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.zone > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.zone > :last-child { flex: 1 1 520px; min-width: 0; }
.zone-lists { display: flex; flex-direction: column; gap: 24px; }
.zone-title { font: 700 16px var(--sans); color: var(--navy); margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 10px 16px; border-radius: 999px; background: var(--sky-bg); color: var(--navy); font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.pills li:hover { transform: translateY(-2px); background: var(--navy); color: #fff; }
.pills-outline li { background: transparent; border: 1px solid #b9dcc2; color: #0a5a1d; }
.pills-outline li:hover { background: var(--green); color: #fff; border-color: var(--green); }
.pills-center { justify-content: center; }
.pills li a { color: inherit; text-decoration: none; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 18px; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .3s; color: var(--green); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 17px; line-height: 1.65; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; }
.contact .blob { opacity: .25; }
.contact::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #1f8aa0; filter: blur(90px); opacity: .3; top: -120px; left: -120px; z-index: -1; }
.contact-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-inner > * { min-width: 0; }
.contact-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.contact-inner > div:last-child { flex: 1 1 520px; }
.contact h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.contact-list { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; font-size: 18px; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; display: flex; gap: 12px; align-items: center; }
.contact-list svg { color: var(--sky); flex: none; }
.contact-list a:hover { color: var(--sky); }

.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row .field { flex: 1 1 200px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 48px; padding: 0 14px; border: 1px solid #b7bbd1; border-radius: 6px; font: 16px var(--sans); color: var(--ink); background: #fff; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11, 11, 107, .12); }
.field [aria-invalid="true"] { border-color: #c62828; }
.err { color: #c62828; font-size: 14px; min-height: 0; }
.err:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; font-size: 14px; color: var(--muted); }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
.field-check .err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: #5a5d78; line-height: 1.5; }
.alert { padding: 14px 16px; border-radius: 8px; font-size: 16px; line-height: 1.5; }
.alert-ok { background: #e6f5ea; color: #0a5a1d; border: 1px solid #b9dcc2; }
.alert-err { background: #fdeaea; color: #8e1b1b; border: 1px solid #f3b9b9; }
.form-status:empty { display: none; }
.contact-form button[type=submit] { width: 100%; }
.spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.contact-form.loading .spinner { display: inline-block; }
.contact-form.loading button { opacity: .85; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pages texte ---------- */
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { line-height: 1.7; color: var(--muted); font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #c4c7e4; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.logo-text { font: 600 22px var(--serif); color: #fff; margin-bottom: 8px; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #c4c7e4; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; font-size: 15px; }
.footer-bottom nav { display: flex; gap: 20px; }
.mobile-bar { display: none; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal, .js .page-hero .reveal { animation: rise .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; opacity: 1; transform: none; transition: none; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 18px; font-size: 15px; }
  .nav-cta .btn-outline { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .nav-toggle { display: inline-flex; }
  .brand img { width: 64px; height: 64px; }
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; flex-direction: column; align-items: stretch; gap: 4px; padding: 96px 24px 32px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility .35s; overflow-y: auto; visibility: hidden; font-size: 18px; }
  .main-nav.open { transform: none; visibility: visible; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35); }
  .main-nav > a, .has-sub > a { padding: 14px 4px; border-bottom: 1px solid var(--line); display: block; }
  .main-nav > a::after, .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 6px 12px; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .nav-cta .btn-outline { display: inline-flex; }
  .nav-toggle { position: relative; z-index: 120; }
  .step::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .section, .contact { padding: 64px 0; }
  .hero-inner { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .page-hero { padding: 48px 0 56px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat strong { font-size: 34px; }
  .contact-form { padding: 24px 20px; }
  .hero-card { padding: 24px; }
  .card { padding: 24px; }
  .actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .btn { font-size: 17px; }
  body { padding-bottom: 76px; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--navy-dark); box-shadow: 0 -8px 24px rgba(0, 0, 0, .3); }
  .mobile-bar .btn { flex: 1; min-height: 48px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
