/* 1min pour 1job — site intermédiaire statique. Couleurs : charte web (00_Charte_Graphique/CHARTE.md §3). */

@font-face { font-family: "Rajdhani"; src: url("fonts/Rajdhani-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("fonts/Rajdhani-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("fonts/Rajdhani-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --nuit: #0D1427;
  --violet: #8C318A;
  --violet-fonce: #5E1F5C;
  --violet-clair: #D8A3D6;
  --teinte: #F4E9F4;
  --fond: #F6F7FA;
  --bord: #E3E4EA;
  --gris: #878991;
  --texte-2: #5F616B;
  --vert: #2E9E6B;
  --orange: #F28E09;
  --magenta: #921C81;
  --rayon: 14px;
  --max: 1160px;
  --titre: "Rajdhani", system-ui, sans-serif;
  --corps: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--corps); font-size: 17px; line-height: 1.65; color: var(--nuit); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--fond { background: var(--fond); }
.section--teinte { background: var(--teinte); }
.section--nuit { background: var(--nuit); color: #fff; }
.section--nuit a:not(.btn) { color: var(--violet-clair); }
.lead { font-size: 1.2rem; color: var(--texte-2); max-width: 46ch; }
.section--nuit .lead { color: #C9CAD3; }

/* Petite ligne en capitales espacées au-dessus des titres (charte §5) */
.surtitre { display: inline-block; font-family: var(--titre); font-weight: 600; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.section--nuit .surtitre { color: #F7C98A; }

/* Pastille orange inclinée pour le mot clé (charte §5) */
.pastille { display: inline-block; background: var(--orange); color: var(--nuit); padding: .02em .28em .06em; transform: rotate(-2deg); box-shadow: 5px 5px 0 var(--magenta); border-radius: 6px; margin: .08em .05em; white-space: nowrap; }
.manuscrit { font-family: "Caveat", cursive; font-weight: 600; color: var(--violet); font-size: 1.6rem; line-height: 1.1; }

/* Boutons : une seule action principale, en orange */
.btn { display: inline-flex; align-items: center; gap: .6em; font-family: var(--titre); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; text-decoration: none; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; line-height: 1.1; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--principal { background: var(--orange); color: var(--nuit); }
.btn--principal:hover { background: #ffa22b; transform: translateY(-2px); }
.btn--violet { background: var(--violet); color: #fff; }
.btn--violet:hover { background: var(--violet-fonce); }
.btn--ligne { border-color: currentColor; color: var(--violet); background: transparent; }
.btn--ligne:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.section--nuit .btn--ligne { color: #fff; }
.btn-groupe { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { font-size: .92rem; color: var(--texte-2); margin-top: 12px; max-width: 44ch; }
.lien-fleche { font-family: var(--titre); font-weight: 700; font-size: 1.1rem; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.lien-fleche svg { width: 1.1em; height: 1.1em; flex: none; }
.lien-fleche:hover { text-decoration: underline; text-underline-offset: 4px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.entete.defile { border-color: var(--bord); }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav .sous > button { font-family: var(--titre); font-weight: 600; font-size: 1.12rem; color: var(--nuit); text-decoration: none; padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .nav .sous > button:hover, .nav a[aria-current="page"] { color: var(--violet); }
.nav > a.btn { margin-left: 10px; padding: .6em 1.1em; font-size: 1.05rem; background: var(--orange); color: var(--nuit); border-radius: 999px; }
.nav > a.btn:hover { background: #ffa22b; color: var(--nuit); }
.sous { position: relative; }
.sous svg { width: 14px; height: 14px; transition: transform .2s; }
.sous[data-ouvert] svg { transform: rotate(180deg); }
.sous-menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 290px; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 8px; box-shadow: 0 18px 40px rgba(13,20,39,.12); display: none; }
.sous[data-ouvert] .sous-menu { display: block; }
.sous-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--nuit); }
.sous-menu a strong { display: block; font-family: var(--titre); font-size: 1.12rem; }
.sous-menu a span { font-size: .88rem; color: var(--texte-2); }
.sous-menu a:hover { background: var(--teinte); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--nuit); }
.burger svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 24px; gap: 2px; border-bottom: 1px solid var(--bord); box-shadow: 0 20px 30px rgba(13,20,39,.08); display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav[data-ouvert] { display: flex; }
  .nav > a, .nav .sous > button { padding: 12px 8px; width: 100%; justify-content: space-between; font-size: 1.25rem; }
  .sous-menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
}

/* Héros de l'accueil (direction « Nuit », comme le site vitrine) */
.filigrane { position: absolute; pointer-events: none; opacity: .06; width: 520px; right: -120px; top: -60px; }
.n-heros .lead { margin-bottom: 30px; }
.n-heros .btn-note a { text-decoration: underline; }
.n-heros { background: radial-gradient(ellipse at 75% 20%, #3F2174 0%, var(--nuit) 60%); color: #fff; padding: clamp(48px, 7vw, 96px) 0 0; position: relative; overflow: hidden; }
.n-heros .filigrane { opacity: .05; width: 640px; right: -160px; top: -80px; }
.n-grille { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.n-grille > * { min-width: 0; }
.n-heros .surtitre { color: #F7C98A; }
.n-heros h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: .9; letter-spacing: -.02em; margin-bottom: 24px; }
.n-heros h1 .n-petit { display: block; font-size: .38em; letter-spacing: 0; text-transform: none; margin-bottom: 10px; color: #EBDDEB; }
.n-heros h1 em { font-style: normal; color: var(--violet-clair); }
.n-heros .lead { color: #C9CAD3; }
.n-heros .btn--ligne { color: #fff; }
.n-heros .btn-note { color: #9EA0AA; }
.n-heros .btn-note a { color: var(--violet-clair); }
.n-visuel { position: relative; }
.mosaique { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mosaique li:nth-child(3n+2) { transform: translateY(22px); }
.mosaique a { display: block; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.mosaique img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.mosaique a:hover img { transform: scale(1.05); }
.mosaique span { position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(13,20,39,.9)); color: #C9CAD3; font-size: .78rem; line-height: 1.25; }
.mosaique strong { display: block; font-family: var(--titre); font-size: .95rem; color: #fff; }
.mosaique-pied { margin: 40px 0 0; }
.mosaique-pied .lien-fleche { color: #fff; }
.n-visuel .manuscrit { color: #F7C98A; margin: 14px 0 0 4px; transform: rotate(-3deg); }
@media (max-width: 560px) { .mosaique { gap: 6px; } .mosaique span { font-size: 0; padding: 16px 6px 5px; } .mosaique strong { font-size: .78rem; } .mosaique li:nth-child(3n+2) { transform: translateY(12px); } }
.n-chiffres { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; margin-top: 64px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.12); color: #C9CAD3; font-size: .95rem; }
.n-chiffres strong { font-family: var(--titre); font-size: 1.8rem; color: #fff; margin-right: 6px; }
.n-refs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; margin: 0 0 0 auto; }
.n-refs li { font-family: var(--titre); font-weight: 700; color: #fff; opacity: .7; }
em.violet { font-style: normal; color: var(--violet); }
.bento { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-top: 40px; }
.bento-carte { border-radius: 24px; padding: 32px; text-decoration: none; color: inherit; position: relative; overflow: hidden; transition: transform .25s; min-width: 0; }
.bento-carte:hover { transform: translateY(-4px); }
.bento-carte h3 { font-size: 2.2rem; margin: 14px 0 10px; }
.bento-grande { grid-row: span 2; background: var(--teinte); }
.bento-grande img { border-radius: 14px; margin-top: 24px; }
.bento-sombre { background: var(--nuit); color: #fff; }
.bento-sombre p { color: #C9CAD3; }
.bento-violet { background: var(--violet); color: #fff; }
.bento-violet p { color: #F4E9F4; }
.pilule { display: inline-block; font-family: var(--titre); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; background: var(--violet); color: #fff; }
.bento-violet .pilule, .bento-sombre .pilule { background: rgba(255,255,255,.15); }
@media (max-width: 860px) { .n-grille, .bento { grid-template-columns: 1fr; } .bento-grande { grid-row: auto; } .n-refs { margin: 0; } }

/* Héros des pages intérieures : même fond sombre */
.heros-page { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(ellipse at 80% 10%, #3F2174 0%, var(--nuit) 65%); color: #fff; position: relative; overflow: hidden; }
.heros-page .filigrane { opacity: .05; }
.heros-page h1 { max-width: 16ch; color: #fff; }
.heros-page .lead { max-width: 58ch; color: #C9CAD3; }
.heros-page .btn--ligne { color: #fff; }
.heros-page .btn--ligne:hover { background: #fff; color: var(--nuit); border-color: #fff; }
.heros-page .fil, .heros-page .fil a { color: #9EA0AA; }
.fil { font-size: .9rem; color: var(--texte-2); margin-bottom: 18px; }
.fil a { color: var(--texte-2); }

/* Deux colonnes */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.duo > * { min-width: 0; }
.duo--inverse > :first-child { order: 2; }
.duo img { border-radius: 20px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--inverse > :first-child { order: 0; } }

/* Liste numérotée façon sommaire (pas de cartes à icônes) */
.numeros { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: n; }
.numeros li { counter-increment: n; display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 20px 0; border-top: 1px solid var(--bord); }
.numeros li:last-child { border-bottom: 1px solid var(--bord); }
.numeros li::before { content: counter(n, decimal-leading-zero); font-family: var(--titre); font-weight: 700; font-size: 2rem; color: var(--violet); line-height: 1; grid-row: span 2; }
.principes-titre { margin: 56px 0 0; }
.principes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 16px; }
.principes li, .principes li:last-child { border-bottom: 1px solid var(--bord); align-content: start; }
.principes li::before { color: var(--orange); }
@media (max-width: 860px) { .principes { grid-template-columns: 1fr; } .principes li:not(:last-child) { border-bottom: 0; } }
.numeros strong { font-family: var(--titre); font-size: 1.45rem; line-height: 1.1; }
.numeros p { margin: 0; color: var(--texte-2); }
.section--nuit .numeros li { border-color: rgba(255,255,255,.14); }
.section--nuit .numeros li::before { color: var(--orange); }
.section--nuit .numeros p { color: #C9CAD3; }

/* Parcours en 3 temps */
.parcours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: p; }
.etape { background: #fff; border: 1px solid var(--bord); border-radius: 20px; padding: 30px 28px 28px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; min-width: 0; }
.etape:hover { transform: translateY(-4px); border-color: var(--violet-clair); box-shadow: 0 20px 40px rgba(140,49,138,.10); }
.etape .temps { font-family: var(--titre); font-weight: 700; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.etape h3 { margin: 8px 0 10px; font-size: 1.9rem; }
.etape p { color: var(--texte-2); flex: 1; }
.etape .lien-fleche { color: var(--violet); }
.etape-visuel { border-radius: 12px; overflow: hidden; margin: -10px -8px 22px; aspect-ratio: 16 / 9; background: var(--teinte); }
.etape-visuel img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .parcours { grid-template-columns: 1fr; } }

/* Coches */
.coches { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.coches li { display: flex; gap: 12px; align-items: flex-start; }
.coches li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--teinte) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C318A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section--nuit .coches li::before { background-color: rgba(255,255,255,.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F28E09' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.coches--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .coches--2 { grid-template-columns: 1fr; } }

/* Références : noms en texte */
.references { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 28px; }
.references li { list-style: none; font-family: var(--titre); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--gris); letter-spacing: .01em; }
.references { padding: 0; }

/* Chiffres */
.chiffres { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 28px 0; }
.chiffre strong { display: block; font-family: var(--titre); font-weight: 700; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; color: var(--orange); }
.chiffre span { color: inherit; opacity: .8; }

/* Vidéo (lien vers YouTube, aucune vidéo intégrée : pas de cookie tiers) */
.video-lien { display: block; position: relative; border-radius: 20px; overflow: hidden; }
.video-lien img { width: 100%; transition: transform .5s; }
.video-lien:hover img { transform: scale(1.03); }
.lecture { position: absolute; inset: 0; display: grid; place-items: center; }
.lecture span { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s; }
.video-lien:hover .lecture span { transform: scale(1.08); }
.lecture svg { width: 30px; height: 30px; margin-left: 5px; fill: var(--nuit); }

/* Formats verticaux « 1 MIN » (charte §5) */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.format { min-width: 0; }
.format-tuile { aspect-ratio: 4 / 3; border-radius: 18px; background: linear-gradient(160deg, var(--violet) 0%, #3F2174 100%); position: relative; overflow: hidden; margin-bottom: 20px; display: flex; align-items: flex-end; padding: 22px; color: #fff; }
.format-tuile .format-loup { position: absolute; width: 70%; right: -14%; top: -10%; opacity: .12; }
.format-play { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); display: grid; place-items: center; transition: transform .2s, background .2s; }
.format-play svg { width: 22px; height: 22px; margin-left: 4px; fill: #fff; }
.format:hover .format-play { background: var(--orange); border-color: var(--orange); }
.format:hover .format-play svg { fill: var(--nuit); }
.format-tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13,20,39,.75)); }
.format-tuile b { position: relative; z-index: 1; font-family: var(--titre); font-size: 1.9rem; line-height: 1; }
.badge-min { position: absolute; z-index: 1; top: 16px; left: 16px; background: var(--orange); color: var(--nuit); font-family: var(--titre); font-weight: 700; font-size: .95rem; letter-spacing: .08em; padding: 3px 10px; border-radius: 6px; }
.format p { color: var(--texte-2); }
@media (max-width: 860px) { .formats { grid-template-columns: 1fr; } .format-tuile { aspect-ratio: 16 / 10; } }

/* Équipe */
.equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 28px; margin-top: 36px; }
.membre img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 14px; }
.membre strong { font-family: var(--titre); font-size: 1.5rem; display: block; line-height: 1.1; }
.membre span { color: var(--texte-2); }
@media (max-width: 560px) { .equipe { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* Valeurs */
.valeurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 2px solid var(--nuit); }
.valeur { padding: 26px 26px 0 0; min-width: 0; }
.valeur + .valeur { padding-left: 26px; border-left: 1px solid var(--bord); }
.valeur h3 { font-size: 1.8rem; }
.valeur p { color: var(--texte-2); }
@media (max-width: 860px) { .valeurs { grid-template-columns: 1fr; } .valeur + .valeur { padding-left: 0; border-left: 0; border-top: 1px solid var(--bord); } }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--bord); }
.faq details { border-bottom: 1px solid var(--bord); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-family: var(--titre); font-weight: 700; font-size: 1.4rem; position: relative; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 2rem; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--texte-2); margin: 0 0 22px; max-width: 70ch; }

/* Bandeau d'appel */
.appel { background: linear-gradient(135deg, var(--violet) 0%, #3F2174 100%); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.appel > :not(.filigrane) { min-width: 0; position: relative; }
.appel h2 { color: #fff; }
.appel p { color: #EBDDEB; }
.appel .surtitre { color: #F7C98A; }
.appel .btn--ligne { color: #fff; }
.appel .btn--ligne:hover { background: #fff; color: var(--violet); border-color: #fff; }
.appel .filigrane { opacity: .08; width: 420px; right: -80px; top: auto; bottom: -100px; }
.appel-actions { display: grid; gap: 14px; justify-items: start; }
.appel-actions .btn-note { color: #EBDDEB; margin: 0; }
@media (max-width: 860px) { .appel { grid-template-columns: 1fr; } }

/* Blog */
.cartes-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.carte-blog { text-decoration: none; color: inherit; display: flex; flex-direction: column; min-width: 0; }
.carte-blog .vignette { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--teinte); margin-bottom: 16px; }
.carte-blog .vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.carte-blog:hover .vignette img { transform: scale(1.04); }
.carte-blog .meta { font-size: .85rem; color: var(--texte-2); display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.etiquette { font-family: var(--titre); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); background: var(--teinte); padding: 2px 10px; border-radius: 999px; text-decoration: none; }
.carte-blog h2, .carte-blog h3 { font-size: 1.45rem; line-height: 1.15; }
.carte-blog:hover h2, .carte-blog:hover h3 { color: var(--violet); }
@media (max-width: 900px) { .cartes-blog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cartes-blog { grid-template-columns: 1fr; } }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.filtres a { text-decoration: none; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--bord); color: var(--nuit); font-family: var(--titre); font-weight: 600; font-size: 1.05rem; background: #fff; }
.filtres a[aria-current="page"], .filtres a:hover { background: var(--violet); border-color: var(--violet); color: #fff; }

/* Article */
.article-tete { padding: clamp(40px, 6vw, 80px) 0 32px; background: var(--fond); }
.article-tete h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; }
.article-tete .meta { color: var(--texte-2); font-size: .95rem; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.article-image { margin-top: 40px; }
.article-image img { border-radius: 20px; width: 100%; max-height: 520px; object-fit: cover; }
.prose { max-width: 720px; margin-inline: auto; font-size: 1.08rem; }
.prose h2 { font-size: 2.1rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.65rem; margin-top: 1.4em; }
.prose h4 { font-size: 1.35rem; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--violet); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); font-size: 1.15rem; }
.prose img { border-radius: 14px; margin: 1.5em 0; }
.article-fin { max-width: 720px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--bord); }

/* Formulaire */
.contact-grille { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-grille > * { min-width: 0; }
.option { border: 1px solid var(--bord); border-radius: 18px; padding: 26px; background: #fff; margin-bottom: 18px; }
.option h2 { font-size: 1.8rem; margin-bottom: .3em; }
.option p { color: var(--texte-2); }
.coordonnees { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.formulaire { background: #fff; border: 1px solid var(--bord); border-radius: 22px; padding: clamp(22px, 4vw, 40px); }
.formulaire h2 { font-size: 2rem; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { display: grid; gap: 6px; }
.champ--large { grid-column: 1 / -1; }
.champ label, .champ legend { font-weight: 600; font-size: .95rem; }
.champ input, .champ textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--bord); border-radius: 10px; background: var(--fond); color: var(--nuit); width: 100%; }
.champ input:focus, .champ textarea:focus { outline: 2px solid var(--violet); border-color: var(--violet); background: #fff; }
.champ textarea { min-height: 140px; resize: vertical; }
.champ small { color: var(--texte-2); font-weight: 400; }
fieldset.champ { border: 0; padding: 0; margin: 0; }
.besoins { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.besoins label { cursor: pointer; position: relative; }
.besoins input { position: absolute; opacity: 0; }
.besoins span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--bord); font-size: .95rem; background: #fff; }
.besoins input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.besoins input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--texte-2); }
.consentement input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--violet); }
.piege { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.retour { margin-top: 16px; padding: 14px 16px; border-radius: 10px; display: none; }
.retour[data-etat="ok"] { display: block; background: #E6F5EE; color: #1D6B48; }
.retour[data-etat="erreur"] { display: block; background: #FBEFE0; color: #8A520C; }
@media (max-width: 860px) { .contact-grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .champs { grid-template-columns: 1fr; } }

/* Formulaire en 3 étapes (même mécanique que le site Camembert Production) */
.progression { margin-bottom: 30px; }
.progression-texte { display: flex; justify-content: space-between; font-family: var(--titre); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; margin-bottom: 10px; }
.progression-texte span:first-child { color: var(--violet); }
.progression-texte span:last-child { color: var(--gris); }
.progression-barre { height: 6px; background: var(--teinte); border-radius: 999px; overflow: hidden; }
.progression-barre span { display: block; height: 100%; width: 33.34%; background: linear-gradient(90deg, var(--violet), var(--orange)); border-radius: 999px; transition: width .4s ease; }
.pas { border: 0; padding: 0; margin: 0; min-width: 0; }
.pas legend { font-family: var(--titre); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.1; margin-bottom: 8px; padding: 0; }
.pas .aide { color: var(--texte-2); margin-bottom: 22px; }
.js .pas { display: none; }
.js .pas.actif { display: block; animation: pas-entre .35s ease; }
.js .pas.actif.retour-arriere { animation-name: pas-revient; }
@keyframes pas-entre { from { opacity: 0; transform: translateX(32px); } }
@keyframes pas-revient { from { opacity: 0; transform: translateX(-32px); } }
.choix-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choix { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; }
.choix span { display: flex; align-items: center; min-height: 64px; padding: 14px 44px 14px 18px; border: 1.5px solid var(--bord); border-radius: 14px; background: var(--fond); font-weight: 600; transition: border-color .2s, background .2s, color .2s; position: relative; }
.choix:hover span { border-color: var(--violet-clair); }
.choix input:checked + span { border-color: var(--violet); background: var(--teinte); color: var(--violet-fonce); }
.choix input:checked + span::after { content: ""; position: absolute; right: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.choix input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.pas-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.pas-actions .btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.retour-btn, .lien-mot { background: none; border: 0; padding: 6px 0; font: inherit; font-size: .95rem; color: var(--texte-2); cursor: pointer; }
.retour-btn:hover { color: var(--violet); }
.lien-mot { color: var(--violet); text-decoration: underline; text-underline-offset: 4px; margin: 0; }
.mention { font-size: .85rem; color: var(--texte-2); margin: 16px 0 0; }
.recap { font-weight: 600; color: var(--violet) !important; }
.merci { text-align: center; padding: 24px 0; }
.merci-coche { width: 64px; height: 64px; border-radius: 50%; background: var(--teinte); color: var(--violet); display: grid; place-items: center; margin: 0 auto 18px; }
.merci-coche svg { width: 30px; height: 30px; }
.champ input[aria-invalid="true"] { border-color: #C2410C; background: #FFF7F2; }
@media (max-width: 560px) { .choix-grille { grid-template-columns: 1fr; } .pas-actions .btn { width: 100%; justify-content: center; } }

/* Pages légales */
.legal { max-width: 760px; }
.legal h2, .legal h4 { font-size: 1.6rem; margin-top: 1.6em; }

/* Pied de page */
.pied { background: var(--nuit); color: #C9CAD3; padding: 72px 0 28px; margin-top: 0; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.pied-grille > * { min-width: 0; }
.pied img { height: 46px; width: auto; margin-bottom: 18px; }
.pied h4 { color: #fff; font-size: 1.25rem; margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied a { color: #C9CAD3; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied-bas { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pied-grille { grid-template-columns: 1fr; } }

/* Apparition douce au défilement (désactivée si l'utilisateur réduit les animations) */
.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Fenêtre vidéo : la croix est collée au coin haut droit du lecteur */
.fenetre-video { padding: 0; border: 0; background: transparent; overflow: visible; width: min(1100px, calc(100vw - 32px), calc((100vh - 170px) * 16 / 9)); max-width: none; max-height: none; }
.fenetre-video::backdrop { background: rgba(13,20,39,.86); backdrop-filter: blur(4px); }
.fenetre-cadre { position: relative; }
.fenetre-lecteur { aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.fenetre-lecteur iframe { display: block; width: 100%; height: 100%; border: 0; }
.fenetre-fermer { position: absolute; top: -54px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--nuit); cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.3); transition: transform .2s; }
.fenetre-fermer:hover { transform: rotate(90deg); }
.fenetre-fermer:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.fenetre-fermer svg { width: 22px; height: 22px; }
.fenetre-lien { display: inline-block; margin-top: 12px; color: #C9CAD3; font-size: .9rem; }

/* Articles actualisés : date de mise à jour et sources */
.maj { font-size: .9rem; color: var(--texte-2); }
.maj::before { content: "·"; margin: 0 8px; }
.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bord); font-size: .92rem; }
.sources h2 { font-size: 1.4rem; }
.sources li { margin-bottom: 6px; color: var(--texte-2); }
