/* Pack conformité · identité Velyria (encre #101D3A, crème #F4F1EA, orange #D96A32) */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2"); }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

:root {
  color-scheme: light;
  --encre: #101D3A; --txt: #16213E; --creme: #F4F1EA; --blanc: #FFFFFF;
  --dim: #535C73; --dim-b: rgba(244,241,234,.78);
  --line: rgba(22,33,62,.14); --line-b: rgba(244,241,234,.16);
  --orange: #D96A32; --orange-f: #B04E1A; --btn: #B85016; --btn-h: #9E4413;
  --p1: #A61B1B; --p2: #B8651C; --p3: #36507A; --ok: #1F6B45;
  --disp: "Space Grotesk", system-ui, sans-serif; --sans: "Inter", system-ui, sans-serif;
  --r: 14px; --max: 1120px; --lecture: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--txt); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--orange-f); text-underline-offset: 3px; }
a:hover { color: var(--btn-h); }
h1, h2, h3, h4 { font-family: var(--disp); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 14px; color: var(--encre); }
h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 14px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 96px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.lecture { max-width: var(--lecture); }
.muet { color: var(--dim); }
.petit { font-size: .92rem; }
.sur { font-family: var(--disp); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-f); margin-bottom: 12px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: var(--encre); }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo span { font-family: var(--disp); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #F0A57C; border-left: 1px solid var(--line-b); padding-left: 12px; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { color: var(--dim-b); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 0; transition: color .2s; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; }
.menu a.btn { color: #fff; padding: 10px 18px; }
.burger { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; padding: 12px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { display: none; position: fixed; inset: 72px 0 0 0; background: var(--encre); flex-direction: column; align-items: stretch; gap: 0; padding: 12px clamp(20px, 4vw, 40px) 40px; }
  .menu a { font-size: 1.15rem; padding: 16px 0; border-bottom: 1px solid var(--line-b); }
  .menu a.btn { margin-top: 20px; text-align: center; justify-content: center; border-bottom: 0; }
  body.menu-ouvert .menu { display: flex; }
  body.menu-ouvert { overflow: hidden; }
  body.menu-ouvert .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
  body.menu-ouvert .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) { .logo span { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 10px; border: 0; background: var(--btn); color: #fff; font-family: var(--disp); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--btn-h); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(176,78,26,.6); }
.btn:active { transform: none; }
.btn.sec { background: transparent; color: var(--encre); border: 1px solid var(--line); }
.btn.sec:hover { border-color: var(--encre); box-shadow: none; }
.btn[disabled], .btn.off { background: #D8D3C8; color: #4A5064; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .fl { transition: transform .2s; }
.btn:hover .fl { transform: translateX(3px); }
.lien { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; color: var(--encre); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lien:hover { color: var(--orange-f); }

/* Accueil */
.hero { background: var(--encre); color: var(--creme); padding: clamp(48px, 9vw, 110px) 0 clamp(48px, 8vw, 96px); }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .sur { color: #F0A57C; }
.hero p.intro { font-size: 1.12rem; color: var(--dim-b); max-width: 60ch; margin-bottom: 28px; }
.hero .prix-hero { color: var(--creme); font-size: 1.05rem; margin: -12px 0 22px; }
.hero .prix-hero b { color: #fff; font-family: var(--disp); font-size: 1.35rem; }
.hero .prix-hero span { display: block; color: var(--dim-b); font-size: .9rem; margin-top: 2px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.hero .actions a.sec { color: var(--creme); border-color: var(--line-b); }
.hero .actions a.sec:hover { border-color: var(--creme); }
.faits { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.faits li { border-top: 1px solid var(--line-b); padding-top: 14px; color: var(--dim-b); font-size: .95rem; }
.faits b { display: block; font-family: var(--disp); color: #fff; font-size: 1.15rem; font-weight: 600; margin-bottom: 2px; }
section.sec-pad { padding: clamp(56px, 8vw, 96px) 0; }
section.blanc { background: var(--blanc); }
.grille3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.carte { background: var(--blanc); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
section.blanc .carte { background: var(--creme); border-color: transparent; }
.carte .n { font-family: var(--disp); font-weight: 700; color: var(--orange-f); font-size: .85rem; letter-spacing: .12em; display: block; margin-bottom: 10px; }
.carte h3 { margin-bottom: 8px; }
.carte p:last-child { margin-bottom: 0; }
.deux { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .deux { grid-template-columns: 1fr 1fr; gap: 56px; } }
.liste { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.liste li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.liste li b { font-family: var(--disp); color: var(--encre); min-width: 118px; }
.metiers-grille { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.metiers-grille li { background: var(--blanc); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: .95rem; }
section.blanc .metiers-grille li { background: var(--creme); border-color: transparent; }
.avert { border-left: 3px solid var(--orange); background: rgba(217,106,50,.08); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .95rem; color: var(--txt); }
.hero .avert { color: var(--dim-b); background: rgba(217,106,50,.12); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-family: var(--disp); font-weight: 600; font-size: 1.05rem; padding: 14px 0; min-height: 44px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-f); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--dim); }

/* Offres */
.offres { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 28px; }
.offre { background: var(--blanc); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.5vw, 32px); display: flex; flex-direction: column; }
.offre.fort { background: var(--encre); color: var(--creme); border-color: var(--encre); }
.offre.fort h3, .offre.fort .prix { color: #fff; }
.offre .prix { font-family: var(--disp); font-size: 2.2rem; font-weight: 700; color: var(--encre); margin: 4px 0 2px; line-height: 1.1; }
.offre .prix small { display: block; font-size: .85rem; font-weight: 400; color: var(--dim); margin-top: 6px; }
.offre.fort .prix small, .offre.fort .muet { color: var(--dim-b); }
.offre ul { padding-left: 20px; margin: 14px 0 20px; flex: 1; }
.offre ul li { margin-bottom: 6px; }
.offre .badge { align-self: flex-start; font-family: var(--disp); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--orange); color: #fff; border-radius: 99px; padding: 3px 10px; margin-bottom: 10px; }

/* Parcours */
.parcours { padding: clamp(28px, 5vw, 56px) 0 72px; }
.parcours .wrap { max-width: 820px; }
.etape-tete { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--dim); margin-bottom: 10px; flex-wrap: wrap; }
.progress { height: 6px; background: rgba(22,33,62,.1); border-radius: 3px; overflow: hidden; margin-bottom: 26px; }
.progress i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s ease; }
.champ { margin: 0 0 18px; }
.champ label, .champ .lab { display: block; font-weight: 600; margin-bottom: 6px; color: var(--encre); }
.champ .aide { display: block; font-size: .88rem; color: var(--dim); font-weight: 400; margin-top: 2px; }
.champ input[type=text], .champ input[type=number], .champ input[type=date], .champ input[type=tel], .champ input[type=url], .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(22,33,62,.28); background: #fff; color: var(--txt); font: inherit; font-size: 17px; }
.champ textarea { min-height: 96px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid rgba(217,106,50,.35); border-color: var(--orange); }
.champ.err input, .champ.err select { border-color: var(--p1); }
.champ .msg { color: var(--p1); font-size: .88rem; margin-top: 4px; }
.grille2 { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grille2 { grid-template-columns: 1fr 1fr; } }
.choix { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.choix label, .opt { display: flex; gap: 12px; align-items: flex-start; min-height: 52px; padding: 12px 14px; background: var(--blanc); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; }
.choix label:hover, .opt:hover { border-color: var(--encre); }
.choix input { width: 22px; height: 22px; flex: 0 0 22px; margin: 2px 0 0; accent-color: var(--encre); }
.choix label:has(input:checked) { border-color: var(--encre); background: #EEF0F5; }
.choix .d { display: block; font-size: .86rem; color: var(--dim); font-weight: 400; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; min-width: 44px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--blanc); font: inherit; font-size: .95rem; color: var(--txt); cursor: pointer; transition: border-color .15s, background .15s; }
.seg button:hover { border-color: var(--encre); }
.seg button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.rq { background: var(--blanc); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin-bottom: 14px; }
.rq.manque { border-color: var(--p1); box-shadow: 0 0 0 2px rgba(166,27,27,.12); }
.rq h3 { margin-bottom: 4px; }
.rq .orig { font-size: .9rem; color: var(--dim); margin-bottom: 12px; }
.rq .bloc { margin-top: 16px; }
.rq .bloc > .lab { font-weight: 600; font-size: .95rem; margin-bottom: 8px; display: block; color: var(--encre); }
.rq .mesures { display: grid; gap: 8px; }
.rq .mesures label { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; min-height: 44px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.rq .mesures label:hover { background: var(--creme); }
.rq .mesures input { width: 22px; height: 22px; flex: 0 0 22px; margin: 1px 0 0; accent-color: var(--ok); }
.rq .src { font-size: .8rem; color: var(--dim); margin-top: 12px; }
.rq select { min-height: 44px; border-radius: 10px; border: 1px solid rgba(22,33,62,.28); padding: 8px 12px; font: inherit; font-size: 16px; background: #fff; max-width: 100%; }
.rq input[type=text] { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(22,33,62,.28); font: inherit; font-size: 16px; }
.unite-tete { background: var(--encre); color: var(--creme); border-radius: var(--r); padding: 18px 22px; margin-bottom: 18px; }
.unite-tete h2 { color: #fff; margin-bottom: 4px; font-size: 1.35rem; }
.unite-tete p { margin: 0; color: var(--dim-b); font-size: .95rem; }
.nav-bas { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.sauve { font-size: .85rem; color: var(--dim); margin-top: 16px; }
.anim-q { animation: entree .22s ease both; }
@keyframes entree { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.perso { background: var(--blanc); border: 1px dashed rgba(22,33,62,.3); border-radius: var(--r); padding: 18px 20px; margin-top: 18px; }
.recap { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.recap li { background: var(--blanc); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.recap b { display: block; font-family: var(--disp); font-size: 1.6rem; color: var(--encre); line-height: 1.1; }
.recap .p1 b { color: var(--p1); } .recap .p2 b { color: var(--p2); }
.facultatif { font-family: var(--disp); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-f); border: 1px solid rgba(176,78,26,.45); border-radius: 99px; padding: 1px 9px; vertical-align: 3px; }

/* Achat */
.achat { background: var(--encre); color: var(--creme); border-radius: 18px; padding: clamp(22px, 4vw, 36px); margin-top: 28px; }
.achat h2 { color: #fff; }
.achat a { color: #F0A57C; }
.achat .offres { margin-top: 18px; }
.achat .offre { background: rgba(255,255,255,.04); border-color: var(--line-b); color: var(--creme); }
.achat .offre h3, .achat .offre .prix { color: #fff; }
.achat .offre .prix small { color: var(--dim-b); }
.achat label.renonce { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--dim-b); margin: 18px 0 4px; cursor: pointer; }
.achat input[type=checkbox] { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--orange); }
.achat .info { color: var(--dim-b); font-size: .92rem; margin-top: 10px; min-height: 1.4em; }

/* Pages de texte */
.texte { padding: clamp(40px, 6vw, 72px) 0 72px; }
.texte .wrap { max-width: 780px; }
.texte h2 { font-size: 1.3rem; margin-top: 36px; }
.texte table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 10px 0 18px; }
.texte th, .texte td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }

/* Pied de page */
.pied { background: var(--encre); color: var(--dim-b); padding: 40px 0 36px; font-size: .9rem; }
.pied .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: flex-start; }
.pied img { height: 32px; width: auto; margin-bottom: 10px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.pied a { color: var(--dim-b); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.pied a:hover { color: #fff; }
.pied p { margin: 0 0 4px; max-width: 50ch; }

/* Apparition */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
[tabindex="-1"]:focus { outline: none; }
main { min-height: calc(100vh - 72px - 220px); }
