/* INSKIP 2026 — feuille de style commune. Prolongement d'inskip.fr :
   navy, DM Sans 700 en titres, Rubik 300/400 en corps, bleu électrique et citric en accents. */
:root{
  --navy:#00002E; --navy-2:#0A0A45; --blue:#0053DE; --blue-deep:#001C6A; --citric:#DAE94F;
  --white:#FFFFFF; --ink:#0B0B2B; --ink-2:#3A3A55; --muted:#B9BDDD; --muted-2:#8E93BE;
  --line:rgba(255,255,255,.14); --line-light:#E1E1E6; --card:#F2F2F4; --sky:#C5DAFE;
  --radius:10px; --radius-lg:18px; --container:1120px;
  --display:"DM Sans",system-ui,sans-serif; --body:"Rubik",system-ui,sans-serif;
  --ease:cubic-bezier(.16,1,.3,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--navy);color:var(--white);font-family:var(--body);font-weight:300;font-size:1.05rem;line-height:1.65;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--display);font-weight:700;line-height:1.08;letter-spacing:-.02em;margin:0;text-wrap:balance}
h1{font-size:clamp(2.6rem,6vw,5.4rem)}
h2{font-size:clamp(2rem,3.4vw,2.8rem);letter-spacing:-.025em}
h3{font-size:1.3rem;line-height:1.25;letter-spacing:-.01em}
h4{font-size:1.05rem;line-height:1.3}
p{margin:0 0 1rem}
strong,b{font-weight:500}
.container{width:min(var(--container),100% - 3rem);margin-inline:auto}
.lead{font-size:1.25rem;line-height:1.5;max-width:60ch}
.muted{color:var(--muted)}
.on-white .muted{color:var(--ink-2)}
:focus-visible{outline:3px solid var(--citric);outline-offset:3px}
[id]{scroll-margin-top:84px}
.on-white :focus-visible{outline-color:var(--blue)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- boutons ---- */
.btn{display:inline-flex;align-items:center;gap:.55rem;padding:.8rem 1.6rem;border-radius:var(--radius);font-family:var(--body);font-weight:700;font-size:.92rem;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:transform .25s var(--ease),background .25s,color .25s,border-color .25s;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--citric);color:var(--navy)}
.btn-primary:hover{background:#e6f26a}
.btn-secondary{background:var(--blue);color:var(--white)}
.btn-secondary:hover{background:#1a66f0}
.btn-ghost{border-color:rgba(255,255,255,.35);color:var(--white);background:transparent}
.btn-ghost:hover{border-color:var(--white)}
.on-white .btn-ghost{border-color:rgba(0,0,46,.3);color:var(--navy)}
.on-white .btn-ghost:hover{border-color:var(--navy)}
.btn .chev{width:.7em;height:.7em;flex:none}
.link{color:var(--citric);text-decoration:none;font-weight:400;display:inline-flex;align-items:center;gap:.4rem}
.link:hover{text-decoration:underline}
.on-white .link{color:var(--blue)}
.link .chev{width:.65em;height:.65em}

/* ---- navigation ---- */
.nav{position:sticky;top:0;z-index:50;background:rgba(0,0,46,.86);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav .container{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;height:68px}
.brand{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;color:var(--white);font-family:var(--display);font-weight:700;font-size:1.35rem;letter-spacing:.02em}
.brand img{height:36px;width:auto;display:block}
.footer .brand img{height:44px}
.nav-links{display:flex;align-items:center;gap:1.8rem;list-style:none;margin:0;padding:0}
.nav-links a{color:var(--white);text-decoration:none;font-size:.95rem;font-weight:400;opacity:.85;transition:opacity .2s}
.nav-links a:hover,.nav-links a[aria-current="page"]{opacity:1}
.nav-links a[aria-current="page"]{color:var(--citric)}
.nav-links .btn{padding:.6rem 1.1rem;font-size:.86rem}
.nav-toggle{display:none;background:none;border:1px solid var(--line);color:var(--white);border-radius:8px;width:44px;height:44px;cursor:pointer}
.nav-toggle svg{width:22px;height:22px;margin:auto}
@media (max-width:900px){
  .nav-links{display:none;position:absolute;left:0;right:0;top:68px;background:var(--navy);flex-direction:column;align-items:stretch;gap:0;padding:.5rem 1.5rem 1.25rem;border-bottom:1px solid var(--line)}
  .nav-links.open{display:flex}
  .nav-links li{border-top:1px solid var(--line)}
  .nav-links a{display:block;padding:.9rem 0}
  .nav-links li:first-child{border-top:0}
  .nav-links .btn{margin-top:.75rem;justify-content:center;display:flex}
  .nav-toggle{display:inline-flex}
}

/* ---- sections ---- */
.section{padding:clamp(4rem,8vw,7rem) 0;position:relative}
.section.tight{padding:clamp(3rem,5vw,4.5rem) 0}
.on-white{background:var(--white);color:var(--ink)}
.on-white h2,.on-white h3{color:var(--navy)}
.on-blue{background:var(--blue);color:var(--white)}
.on-card{background:var(--card);color:var(--ink)}
.on-card h2,.on-card h3{color:var(--navy)}
.section-head{max-width:46rem;margin-bottom:clamp(2.5rem,5vw,4rem)}
.section-head .sub{font-size:1.15rem;line-height:1.5;margin-top:1.1rem;color:var(--muted)}
.on-white .section-head .sub,.on-card .section-head .sub{color:var(--ink-2)}
.on-blue .section-head .sub{color:rgba(255,255,255,.85)}
.grid{display:grid;gap:1.5rem}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.grid-2,.grid-3{grid-template-columns:1fr}}

/* ---- hero commun ---- */
.hero{position:relative;overflow:hidden;padding:clamp(5rem,10vw,9rem) 0 clamp(4rem,8vw,7rem);background:var(--navy)}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,83,222,0) 30%,rgba(0,83,222,.35) 100%);pointer-events:none}
.hero .container{position:relative;z-index:1}
.hero-pattern{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.hp{position:absolute;height:auto}
.hp-1{width:min(30vw,440px);right:8vw;top:50%;transform:translateY(-50%);opacity:.5}
@media (max-width:900px){.hp-1{right:-8vw;width:62vw;opacity:.26}}
.hero .lead{color:var(--muted);margin-top:1.5rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2.2rem}
.hero-note{margin-top:2.5rem;font-size:.95rem;color:var(--muted-2)}
.hero-note b{color:var(--white);font-weight:500}

/* ---- logos ---- */
.logos{display:flex;flex-wrap:wrap;gap:1.25rem 2.75rem;align-items:center;justify-content:space-between}
.logos img{height:var(--h,44px);width:auto;opacity:.92}
.logos span{font-family:var(--display);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.9rem;color:var(--muted);white-space:nowrap}
.logos span.more{color:var(--citric);font-family:var(--body);font-weight:400;text-transform:none;letter-spacing:0}

/* ---- cartes et blocs ---- */
.block{border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.75rem}
.on-white .block,.on-card .block{border-color:var(--line-light);background:var(--white)}
.block h3{margin-bottom:.6rem}
.ref-logo{height:var(--h,36px);width:auto;margin-bottom:1.1rem;opacity:.95}
.block p:last-child{margin-bottom:0}

/* ---- modules d'offre, sur le modèle d'inskip.fr : titre citric, texte clair, puces chevron ---- */
.module-card{border:1px solid var(--line);border-radius:var(--radius-lg);padding:2.25rem;display:flex;flex-direction:column;gap:1rem;background:rgba(255,255,255,.02)}
.module-card h3{color:var(--citric);font-size:clamp(1.6rem,2.4vw,2.1rem)}
.module-card p{color:#E1E1E1;margin:0;font-size:1.05rem}
.module-card .list li{color:#E1E1E1}
.module-card .btn{align-self:flex-start;margin-top:auto}

/* ---- frise du parcours ---- */
.journey{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:0;position:relative}
.journey::before{content:"";position:absolute;left:0;right:0;top:11px;height:2px;background:var(--line)}
.on-white .journey::before{background:var(--line-light)}
.journey li{position:relative;padding:2rem 1.25rem 0 0}
.journey li::before{content:"";position:absolute;left:0;top:4px;width:16px;height:16px;border-radius:50%;background:var(--navy);border:3px solid var(--blue)}
.on-white .journey li::before{background:var(--white)}
.journey li.key::before{background:var(--citric);border-color:var(--citric)}
.journey .name{display:block;font-family:var(--display);font-weight:700;font-size:1.35rem;letter-spacing:-.02em;color:var(--citric)}
.on-white .journey .name{color:var(--navy)}
.journey .dur{display:block;font-weight:400;font-size:.95rem;margin-top:.35rem;color:var(--white)}
.on-white .journey .dur{color:var(--blue)}
.journey .out{display:block;font-size:.92rem;color:var(--muted);margin-top:.35rem;line-height:1.5}
.on-white .journey .out{color:var(--ink-2)}
.journey a{text-decoration:none;color:inherit}
.journey a:hover .name{text-decoration:underline}
@media (max-width:900px){
  .journey{grid-template-columns:1fr;gap:0}
  .journey::before{top:0;bottom:0;left:7px;right:auto;width:2px;height:auto}
  .journey li{padding:0 0 1.75rem 2.25rem}
  .journey li::before{left:0;top:6px}
}

/* ---- chiffres ---- */
.figures{display:grid;grid-template-columns:repeat(5,1fr);gap:1.25rem}
.figures div{border-top:2px solid var(--blue);padding-top:1rem}
.figures .n{font-family:var(--display);font-weight:700;font-size:clamp(2.2rem,3.6vw,3.2rem);letter-spacing:-.03em;line-height:1;color:var(--white)}
.on-white .figures .n{color:var(--navy)}
.figures .n em{font-style:normal;color:var(--citric)}
.on-white .figures .n em{color:var(--blue)}
.figures p{margin:.5rem 0 0;font-size:.95rem;color:var(--muted)}
.on-white .figures p{color:var(--ink-2)}
@media (max-width:900px){.figures{grid-template-columns:repeat(3,1fr)}}
@media (max-width:600px){.figures{grid-template-columns:repeat(2,1fr)}}

/* ---- listes ---- */
.list{list-style:none;margin:0;padding:0}
.list li{position:relative;padding:.45rem 0 .45rem 1.5rem}
.list li::before{content:"";position:absolute;left:0;top:.95rem;width:.6rem;height:.6rem;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(-45deg);border-radius:0 0 2px 0}
.list.citric li::before{border-color:var(--citric)}
.list.tight li{padding:.3rem 0 .3rem 1.4rem;font-size:.98rem}
.check{list-style:none;margin:0;padding:0}
.check li{padding:.55rem 0 .55rem 2rem;position:relative;border-top:1px solid var(--line)}
.check li:first-child{border-top:0}
.on-white .check li{border-top-color:var(--line-light)}
.check li::before{content:"";position:absolute;left:.15rem;top:1.05rem;width:.85rem;height:.45rem;border-left:2px solid var(--citric);border-bottom:2px solid var(--citric);transform:rotate(-45deg)}
.on-white .check li::before{border-color:var(--blue)}

/* ---- tableau ---- */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table{width:100%;border-collapse:collapse;font-size:.98rem;min-width:640px}
th,td{text-align:left;vertical-align:top;padding:1rem 1.1rem;border-top:1px solid var(--line)}
.on-white th,.on-white td,.on-card th,.on-card td{border-top-color:var(--line-light)}
thead th{border-top:0;font-family:var(--display);font-weight:700;color:var(--citric);font-size:.9rem;letter-spacing:.04em;text-transform:uppercase}
.on-white thead th,.on-card thead th{color:var(--blue)}
tbody th{font-weight:500;color:var(--white)}
.on-white tbody th,.on-card tbody th{color:var(--navy)}

/* ---- FAQ ---- */
.faq details{border-top:1px solid var(--line);padding:0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.on-white .faq details{border-color:var(--line-light)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 0;font-family:var(--display);font-weight:700;font-size:1.15rem;line-height:1.3}
.faq summary::-webkit-details-marker{display:none}
.faq summary .chev{width:.9rem;height:.9rem;flex:none;transition:transform .3s var(--ease);color:var(--blue)}
.faq details[open] summary .chev{transform:rotate(90deg)}
.faq .answer{padding:0 0 1.4rem;max-width:64ch}
.on-white .faq .answer{color:var(--ink-2)}

/* ---- citation / message clef ---- */
.keymsg{font-family:var(--display);font-weight:700;font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.15;letter-spacing:-.02em;max-width:26ch}
.keymsg em{font-style:normal;color:var(--citric)}
.on-white .keymsg em{color:var(--blue)}

/* ---- pied de page ---- */
.footer{border-top:1px solid var(--line);padding:3.5rem 0 2.5rem;color:var(--muted);font-size:.95rem}
.footer .container{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem}
.footer h4{color:var(--white);margin-bottom:.8rem;font-size:.95rem}
.footer ul{list-style:none;margin:0;padding:0}
.footer li{padding:.25rem 0}
.footer a{text-decoration:none;color:var(--muted)}
.footer a:hover{color:var(--white)}
.footer .legal{grid-column:1/-1;border-top:1px solid var(--line);padding-top:1.25rem;margin-top:1rem;font-size:.85rem;color:var(--muted-2);display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
@media (max-width:900px){.footer .container{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.footer .container{grid-template-columns:1fr}}

/* ---- révélation au défilement : une seule entrée, douce ---- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
