/* Accueil CREFOM — identité partagée avec l’application et la carte d’adhésion.
   Navigation partagée sur toutes les pages ; autres règles limitées à l’accueil. */
body[data-current-page="accueil"]{background:#f1f6fd;color:#0b294a}
body header{background:linear-gradient(110deg,#061f3e,#08385b);border-bottom:1px solid #28506d;box-shadow:0 4px 22px #021c3612}
body header:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#00b9d6 0 33.333%,#fff 33.333% 66.666%,#db2145 66.666%)}
body header .nav{min-height:100px}
body header .logo{background:white;border-radius:13px;padding:9px 11px;width:190px}
body header .header-brand{gap:12px}
body header .header-french-flag{box-shadow:0 0 0 1px #ffffff4a}
body header #site-navigation{color:#dcebf7;gap:15px}
body header #site-navigation a{font-size:14px;line-height:1.4;transition:color .16s;min-height:44px;display:inline-flex;align-items:center}
body header #site-navigation a:hover,body header #site-navigation a[aria-current="page"]{color:#5be1f0;text-decoration:none}
body header #site-navigation .btn{border-radius:13px;background:#d91c40;color:white;padding:13px 18px;box-shadow:0 4px 15px #0001}
body header #site-navigation .btn:hover{background:#bb1737;color:white}
#home-hero,#home-actions-strip,#home-voyage,#home-news,#home-partners{--ink:#0b294a;--muted:#526b82;--teal:#006b88;--teal2:#007895;--red:#d91c40;--line:#dce7f2}
#home-hero{display:block;min-height:0;padding:32px 0 42px;background:#f1f6fd;position:relative;overflow:visible;isolation:auto}
#home-hero:before,#home-hero:after{content:none;animation:none}
#home-hero>.wrap{padding:48px;border-radius:32px;overflow:hidden;position:relative;isolation:isolate;box-shadow:0 18px 45px #082e571a;background:radial-gradient(ellipse at 95% 0%,#075685 0,transparent 65%),linear-gradient(115deg,#051e3d,#073458);color:#fff}
#home-hero>.wrap:before{content:"";position:absolute;inset:0;background:url('assets/crefom-home-waves.svg') right center/cover no-repeat;z-index:-1;opacity:.75;pointer-events:none}
#home-hero>.wrap:after{content:"";position:absolute;left:48px;bottom:0;width:180px;height:4px;background:linear-gradient(90deg,#00bddb 0 33.333%,#fff 33.333% 66.666%,#e22344 66.666%)}
#home-hero .hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr);gap:46px;align-items:center}
#home-hero .home-national-title{display:inline-block;font-size:20px!important;line-height:1.35!important;color:#8ce8f4!important;border:1px solid #64e0f33b;background:#02b7d00d;border-radius:30px;padding:8px 16px;margin:0 0 18px!important;letter-spacing:.02em}
#home-hero .eyebrow{color:#b2e9f7;font-size:12px;line-height:1.7;letter-spacing:.13em;max-width:640px}
#home-hero h1{font-size:clamp(40px,4vw,64px);line-height:1.07;letter-spacing:-.035em;margin:19px 0 24px;color:#fff;text-wrap:initial}
#home-hero h1 span{color:#37d9eb}
#home-hero .lead{font-size:18px;line-height:1.7;color:#d2e7f6;max-width:680px;margin-bottom:0}
#home-hero .buttons{display:flex;gap:13px;flex-wrap:wrap;margin:27px 0 21px}
#home-hero .btn{display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:14px 21px;border-radius:13px;font-size:16px;line-height:1.4;font-weight:750;box-shadow:none;transition:background .16s;transform:none}
#home-hero .btn.red{color:#042c45;background:linear-gradient(100deg,#38d9e7,#13bcd9);border:1px solid transparent}
#home-hero .btn.red:hover{background:#51dfeb;transform:none}
#home-hero .btn.ghost{color:#fff;border:1px solid #a5d8ed80;background:#ffffff07}
#home-hero .btn.ghost:hover{background:#ffffff15}
#home-hero .motto{font-size:14px;letter-spacing:.025em;color:#acd4ea;line-height:1.6;margin:0}
#home-hero .home-quicklinks{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px;font-size:14px;font-weight:700}
#home-hero .home-quicklinks a{border:1px solid #84c7e340;border-radius:30px;background:#ffffff08;color:#e5f6ff;padding:9px 14px;line-height:1.5}
#home-hero .home-quicklinks a:hover{background:#ffffff18;border-color:#54d4e6}
#home-hero .home-quicklinks span{display:none}
#home-hero .home-hero-visual{margin:0;border-radius:24px;background:white;color:#0b294a;overflow:hidden;border:1px solid #ffffff36;box-shadow:0 20px 45px #00162c33;transform:none}
#home-hero .home-hero-visual img{display:block;width:100%;height:auto;aspect-ratio:1.25;object-fit:cover}
#home-hero .home-hero-visual figcaption{font-size:16px;line-height:1.65;background:white;padding:24px;border-top:4px solid #00b9d6;color:#526b82}
#home-hero .home-hero-visual strong{display:block;font-size:25px;line-height:1.2;color:#0b294a;margin-bottom:10px;letter-spacing:-.5px}
#home-hero .home-promises{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:28px;margin-top:32px;border-top:1px solid #83c8e42b}
#home-hero .home-promises p{font-size:15px;line-height:1.6;margin:0;padding:20px 22px;border:1px solid #9cd9f024;border-top:3px solid #1bc5db;border-radius:17px;background:#ffffff09;color:#d2e7f6}
#home-hero .home-promises p:nth-child(2){border-top-color:#78b8ff}
#home-hero .home-promises p:nth-child(3){border-top-color:#fb5773}
#home-hero .home-promises strong{font-size:18px;line-height:1.4;color:white;margin-bottom:7px}
/* Les dix actions, avec leurs images et leur défilement existants. */
#home-actions-strip{padding:42px 0 44px;background:linear-gradient(180deg,#f1f6fd,#e8f5fd);border:0}
#home-actions-strip .eyebrow{color:#006b88;font-size:12px;letter-spacing:.13em}
#home-actions-strip h2{color:#0b294a;font-size:clamp(29px,3.2vw,44px);line-height:1.12;letter-spacing:-1px;max-width:850px}
#home-actions-strip .action-strip-head{gap:28px;margin-bottom:26px}
#home-actions-strip .action-strip-controls button{background:white;color:#075778;border:1px solid #c6dfee;border-radius:13px;min-height:46px;font-size:15px;font-weight:700}
#home-actions-strip .action-strip-controls button:hover{background:#dff5fc}
#home-actions-strip .action-strip-track{gap:20px;scrollbar-color:#75c6da #deedf5;padding-bottom:20px}
#home-actions-strip .action-slide{border-radius:23px;background:#006f88;box-shadow:0 8px 22px #082e5710;transition:transform .18s,box-shadow .18s;flex-basis:320px}
#home-actions-strip .action-slide:hover{box-shadow:0 14px 30px #082e5722;transform:translateY(-4px)}
#home-actions-strip .action-slide img{height:210px}
#home-actions-strip .action-slide>span{color:#fff;background:linear-gradient(115deg,#00748e,#008097);padding:21px 23px;min-height:101px;font-size:20px;line-height:1.35;font-weight:700}
#home-actions-strip .action-slide:nth-child(3n+2)>span{background:linear-gradient(115deg,#123a80,#1e62bc)}
#home-actions-strip .action-slide:nth-child(3n)>span{background:linear-gradient(115deg,#b81740,#d6284e)}
#home-actions-strip .action-slide b{display:none}
#home-actions-strip .action-strip-all{color:#006b88;font-size:16px;font-weight:750;margin-top:18px;border-bottom:1px solid #86bdce;padding:7px 0}
/* Projets et vie du réseau. */
#home-voyage{background:white;padding:76px 0}
#home-voyage .home-travel-grid{gap:54px}
#home-voyage .eyebrow,#home-news>.wrap>.eyebrow,#home-partners .eyebrow{font-size:12px;letter-spacing:.13em;color:#006b88}
#home-voyage h2,#home-news h2,#home-partners h2{color:#0b294a;line-height:1.1;letter-spacing:-.035em;font-size:clamp(34px,3.7vw,52px)}
#home-voyage .copy,#home-news .copy,#home-partners .copy{font-size:18px;line-height:1.75;color:#526b82}
#home-voyage .travel-banner{border-radius:26px;box-shadow:0 15px 40px #082e571a;border:1px solid #dce7f2}
#home-voyage .home-project-badge{border-radius:30px;background:#e0f7fc;color:#00617e;font-size:12px;padding:9px 13px}
#home-voyage .btn,#home-news .btn,#home-partners .btn{border-radius:13px;font-size:16px;min-height:48px;align-items:center;justify-content:center;line-height:1.5;padding:13px 21px}
#home-voyage .btn.red{background:#075183;color:white}
#home-voyage .text-link{display:inline-block;color:#006b88;font-size:16px;line-height:1.6}
#home-news{background:radial-gradient(ellipse at 100% 0%,#d9f6ff,transparent 60%),#f1f6fd;padding:76px 0}
#home-news .network-intro h3{color:#0b294a;font-size:25px;line-height:1.35}
#home-news .home-network-grid{gap:22px;margin-top:34px}
#home-news .home-network-card{border:0;border-radius:24px;background:linear-gradient(125deg,#00748e,#008097);padding:30px;box-shadow:0 8px 28px #082e5712;position:relative;overflow:hidden;isolation:isolate}
#home-news .home-network-card:nth-child(2){background:linear-gradient(125deg,#123a80,#1e62bc)}
#home-news .home-network-card:nth-child(3){background:linear-gradient(125deg,#b81740,#d6284e)}
#home-news .home-network-card:after{content:"";position:absolute;right:-36px;bottom:-60px;width:190px;height:190px;border:30px solid #ffffff0c;border-radius:50%;z-index:-1;pointer-events:none}
#home-news .home-network-card small{display:inline-block;font-size:12px;line-height:1.5;letter-spacing:1px;background:#ffffff18;border:1px solid #ffffff28;padding:6px 11px;border-radius:9px;color:#fff}
#home-news .home-network-card h3{font-size:27px;line-height:1.15;color:white;margin:23px 0 16px;letter-spacing:-.5px}
#home-news .home-network-card p{font-size:16px;line-height:1.7;color:white}
#home-news .home-network-card .text-link{color:white;font-size:16px;line-height:1.5;text-decoration:underline;text-underline-offset:5px;padding:8px 0}
#home-news .home-participate{gap:24px;margin-top:34px}
#home-news .home-local{position:relative;isolation:isolate;overflow:hidden;border-radius:26px;padding:34px;background:#062a50;color:white}
#home-news .home-local:before{content:"";position:absolute;inset:0;background:url('assets/crefom-home-waves.svg') right center/auto 100% no-repeat;opacity:.65;z-index:-1}
#home-news .home-local .eyebrow{color:#8ae9f4;font-size:12px;letter-spacing:.12em}
#home-news .home-local h3,#home-news .home-join h3{font-size:30px;line-height:1.15;margin:20px 0;letter-spacing:-.6px}
#home-news .home-local p:not(.eyebrow){color:#d2e7f6;font-size:17px;line-height:1.75}
#home-news .home-local small{color:#bfd7ea;font-size:14px;line-height:1.6}
#home-news .home-local .btn{background:#21c5dc;color:#042c45}
#home-news .home-join{border-radius:26px;background:white;border:1px solid #dce7f2;padding:34px;box-shadow:0 8px 28px #082e570a}
#home-news .home-join p:not(.eyebrow){color:#526b82;font-size:17px;line-height:1.75}
#home-news .home-join .btn{background:#d91c40;color:white}
#home-partners{padding:74px 0;background:white;border-top:1px solid #dce7f2}
#home-partners .partner-home-strip{gap:14px;margin:28px 0}
#home-partners .partner-home-strip span{border-radius:15px;background:#edf9fd;border:1px solid #cbeaf4;border-left:4px solid #00a8c5;color:#075778;padding:20px 23px;font-size:16px;line-height:1.5}
#home-partners .partner-home-strip span:nth-child(2){background:#f0f4ff;border-color:#d9e3f9;border-left-color:#2c67c3;color:#224f93}
#home-partners .partner-home-strip span:nth-child(3){background:#fff1f5;border-color:#f9dce6;border-left-color:#db2851;color:#9c2342}
#home-partners .mc-note{color:#526b82;font-size:15px;line-height:1.65}
#home-partners .buttons{flex-wrap:wrap;align-items:center;gap:16px}
#home-partners .buttons .secondary{display:inline-flex;align-items:center;min-height:48px;border:1px solid #b8dce9;border-radius:13px;padding:13px 21px;background:#edf9fd;color:#00617e;font-size:16px;font-weight:750}
#home-partners .btn.red{background:#d91c40;color:white}
:is(#home-hero,#home-actions-strip,#home-voyage,#home-news,#home-partners) a:focus-visible,:is(#home-hero,#home-actions-strip,#home-voyage,#home-news,#home-partners) button:focus-visible{outline:3px solid #008fae;outline-offset:5px}
#home-hero a:focus-visible,#home-news .home-network-card a:focus-visible,#home-news .home-local a:focus-visible{outline-color:#8df0f9}
@media(min-width:901px) and (max-width:1200px){body header .nav{flex-wrap:wrap;justify-content:center;gap:10px;padding:13px 0}body header #site-navigation{flex-wrap:wrap;justify-content:center;gap:10px 17px}#home-hero>.wrap{padding:35px}#home-hero .hero-grid{gap:30px;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}#home-hero h1{font-size:42px}#home-hero .lead{font-size:17px}#home-hero .home-hero-visual img{aspect-ratio:1.1}#home-hero .home-hero-visual figcaption{padding:20px;font-size:15px}#home-hero .home-hero-visual strong{font-size:22px}#home-hero .home-quicklinks{font-size:13px}#home-hero .home-promises p{padding:18px}#home-news .home-network-card{padding:24px}}
@media(max-width:900px){
 body header .nav{min-height:94px;flex-wrap:nowrap;justify-content:space-between;padding:12px 0}
 body header .logo{width:180px;padding:8px 10px;border-radius:12px}
 body header .header-brand{gap:9px}
 body header .header-french-flag{width:27px;height:18px;flex-basis:27px}
 body header .menu-toggle{color:#91e6f2;background:#ffffff0d;border:1px solid #8bc6dd55;border-radius:12px;min-height:44px;font-size:15px}
 body header #mobile-menu.is-open>.menu-toggle{background:#1ac3db;color:#042c45}
 body header #mobile-menu #site-navigation{background:#08294b;color:white;border:1px solid #356282;padding:15px;gap:4px;max-height:calc(100dvh - 100px);border-radius:0 0 18px 18px}
 body header #site-navigation a{font-size:16px;padding:12px;min-height:47px;border-radius:10px;color:#dfedf7}
 body header #site-navigation a[aria-current="page"]{color:#7be6f3;background:#00b9d51a}
 body header #site-navigation .btn{margin-top:8px;color:white}
 #home-hero{padding:22px 0 28px}#home-hero>.wrap{padding:30px;border-radius:27px}
 #home-hero>.wrap:before{background-size:auto 100%;background-position:70% center;opacity:.6}
 #home-hero>.wrap:after{left:30px;width:150px}
 #home-hero .hero-grid{grid-template-columns:1fr;gap:32px}
 #home-hero h1{font-size:clamp(38px,6.8vw,60px);line-height:1.08;max-width:720px}
 #home-hero .lead{font-size:18px}
 #home-hero .home-hero-visual{width:100%;max-width:620px;margin:0 auto;transform:none}
 #home-hero .home-hero-visual img{aspect-ratio:1.65;max-height:360px}
 #home-hero .home-hero-visual figcaption{padding:23px;font-size:16px}
 #home-hero .home-promises{gap:12px;margin-top:28px;padding-top:27px}
 #home-hero .home-promises p{padding:18px;font-size:14px}
 #home-hero .home-promises strong{font-size:16px}
 #home-voyage,#home-news,#home-partners{padding:52px 0}
 #home-voyage .home-travel-grid{grid-template-columns:1fr;gap:30px}
 #home-news .home-network-grid{grid-template-columns:1fr;gap:16px}
 #home-news .home-network-card{padding:28px}
 #home-news .home-participate{grid-template-columns:1fr}
 #home-voyage h2,#home-news h2,#home-partners h2{font-size:clamp(32px,5vw,44px)}
}
@media(max-width:600px){
 body header .logo{width:155px}
 body header .nav{min-height:84px}
 body header .header-brand{gap:8px}
 #home-hero>.wrap{padding:26px 23px;border-radius:24px}
 #home-hero>.wrap:after{left:23px;width:135px}
 #home-hero .home-national-title{font-size:17px!important;padding:7px 13px;margin-bottom:17px!important}
 #home-hero .eyebrow{font-size:10px;letter-spacing:.1em;line-height:1.8}
 #home-hero h1{font-size:clamp(33px,8.5vw,45px);line-height:1.08;letter-spacing:-.035em;margin-top:18px}
 #home-hero .lead{font-size:16px;line-height:1.75}
 #home-hero .buttons{display:grid;grid-template-columns:1fr;margin:25px 0 19px;gap:12px}
 #home-hero .btn{font-size:15px;min-height:49px;padding:13px 15px;width:100%}
 #home-hero .motto{font-size:12px;letter-spacing:0}
 #home-hero .home-quicklinks{gap:9px;font-size:13px;margin-top:20px}
 #home-hero .home-quicklinks a{padding:8px 11px}
 #home-hero .home-hero-visual img{aspect-ratio:1.35}
 #home-hero .home-hero-visual figcaption{padding:21px;font-size:15px}
 #home-hero .home-hero-visual strong{font-size:23px}
 #home-hero .home-promises{grid-template-columns:1fr;gap:12px}
 #home-hero .home-promises p{padding:17px 20px;font-size:15px}
 #home-hero .home-promises strong{font-size:17px}
 #home-actions-strip{padding:30px 0 36px}
 #home-actions-strip .action-strip-head{gap:20px}
 #home-actions-strip h2{font-size:30px;letter-spacing:-.7px}
 #home-actions-strip .action-slide{flex-basis:280px;border-radius:21px}
 #home-actions-strip .action-slide img{height:185px}
 #home-actions-strip .action-slide>span{font-size:19px;padding:19px 21px;min-height:98px}
 #home-voyage h2,#home-news h2,#home-partners h2{font-size:34px}
 #home-voyage .copy,#home-news .copy,#home-partners .copy{font-size:16px;line-height:1.75}
 #home-news .network-intro h3{font-size:23px;line-height:1.35}
 #home-news .home-local,#home-news .home-join{padding:27px;border-radius:23px}
 #home-news .home-local h3,#home-news .home-join h3{font-size:28px}
 #home-news .home-local p:not(.eyebrow),#home-news .home-join p:not(.eyebrow){font-size:16px}
 #home-partners .partner-home-strip{display:grid;grid-template-columns:1fr}
 #home-partners .partner-home-strip span{padding:18px 20px}
 #home-partners .buttons{display:grid;grid-template-columns:1fr}
 #home-partners .buttons>a{justify-content:center;text-align:center}
}
@media(prefers-reduced-motion:reduce){#home-hero .btn,#home-actions-strip .action-slide,body header #site-navigation a{transition:none}#home-actions-strip .action-slide:hover{transform:none}}

/* Contraste de la navigation commune, y compris le menu mobile. */
body header #site-navigation a:focus-visible,body header .menu-toggle:focus-visible{outline:3px solid #8df0f9;outline-offset:4px}
body header #site-navigation a:not(.btn):hover{color:#5be1f0;background:#ffffff12}
body header #site-navigation a.btn.red[aria-current="page"]{color:#fff}
