/* cloudrec.io : feuille de style. Rouge de la marque #e30613, encre #15171f. */

:root {
  --rouge: #e30613; --rouge-fonce: #b0040e; --rouge-nuit: #5d0208; --encre: #15171f; --nuit: #101218;
  --texte: #15171f; --texte-doux: #525866; --trait: #e4e7ee; --fond: #fff; --fond-clair: #f6f7fa;
  --clair-sur-sombre: #f3f4f8; --doux-sur-sombre: #b3b8c6;
  --rayon: 16px; --rayon-image: 6px; --rayon-petit: 10px;
  --ombre: 0 1px 2px rgba(16, 18, 24, .06), 0 10px 30px rgba(16, 18, 24, .1);
  --police: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --largeur: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--police); font-size: 1.0625rem; line-height: 1.65; color: var(--texte);
  background: var(--fond); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--rouge-fonce); text-underline-offset: .18em; }
a:hover { color: var(--rouge); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #ff9aa1; outline-offset: 3px; border-radius: 4px; }
.lecteur-ecran { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff;
  padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.evitement:focus { top: 12px; }
.conteneur { width: min(100% - 40px, var(--largeur)); margin-inline: auto; }
.conteneur-etroit { width: min(100% - 40px, 780px); }
.picto { flex: none; }

/* ------------------------------------------------------------------ en-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--trait); transition: box-shadow .25s; }
.entete.defile { box-shadow: 0 8px 30px rgba(16, 18, 24, .1); }
.entete-barre { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.entete-logo img { width: 116px; height: auto; }
.menu > ul { display: flex; align-items: center; gap: 4px; }
.menu > ul > li { position: relative; }
.menu a:not(.bouton), .menu summary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  color: var(--encre); text-decoration: none; font-weight: 600; font-size: .97rem; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.menu details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.menu a:not(.bouton):hover, .menu summary:hover, .menu a[aria-current], .menu details[data-actif] > summary { background: var(--fond-clair); color: var(--rouge-fonce); }
.menu-deroulant > ul { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; padding: 8px; background: #fff;
  border: 1px solid var(--trait); border-radius: 14px; box-shadow: var(--ombre); display: grid; gap: 2px; }
.menu-deroulant > ul a { display: flex; width: 100%; border-radius: 9px; }
.menu-deroulant .picto { color: var(--rouge); }
.menu-langues > ul { min-width: 160px; left: auto; right: 0; }
.menu .bouton { margin-left: 6px; }
.menu-bouton { display: none; background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer; }
.menu-bouton-traits, .menu-bouton-traits::before, .menu-bouton-traits::after { display: block; width: 24px; height: 2px;
  background: var(--encre); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-bouton-traits { position: relative; }
.menu-bouton-traits::before, .menu-bouton-traits::after { content: ""; position: absolute; left: 0; }
.menu-bouton-traits::before { top: -7px; } .menu-bouton-traits::after { top: 7px; }
.menu-bouton[aria-expanded="true"] .menu-bouton-traits { background: transparent; }
.menu-bouton[aria-expanded="true"] .menu-bouton-traits::before { transform: translateY(7px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-bouton-traits::after { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ boutons, étiquettes */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px;
  border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .15s, border-color .15s, color .15s; }
.bouton:active { transform: scale(.98); }
.bouton .picto { transition: transform .2s; }
.bouton:hover .picto { transform: translateX(3px); }
.bouton-principal { background: var(--rouge); color: #fff; }
.bouton-principal:hover { background: var(--rouge-fonce); color: #fff; }
.bouton-blanc { background: #fff; color: var(--rouge-fonce); }
.bouton-blanc:hover { background: #ffe9ea; color: var(--rouge-fonce); }
.bouton-secondaire { border-color: rgba(255, 255, 255, .55); color: #fff; }
.bouton-secondaire:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.bouton-contour { border-color: #cfd4df; color: var(--encre); background: #fff; }
.bouton-contour:hover { border-color: var(--encre); color: var(--encre); }
.bouton-petit { padding: 9px 18px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--rouge-fonce); text-decoration: none; }
.lien-fleche .picto { transition: transform .15s; }
a:hover .lien-fleche .picto, .lien-fleche:hover .picto { transform: translateX(3px); }
.etiquette { display: inline-block; vertical-align: middle; padding: 2px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--encre); line-height: 1.5; }
.etiquette-claire { background: #fff; color: var(--rouge-fonce); }
.surtitre { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 700; font-size: .9rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.surtitre-rouge { color: var(--rouge); }

/* ------------------------------------------------------------------ bandeaux */
.heros, .bandeau { color: #fff; background-color: var(--rouge); position: relative; overflow: hidden; isolation: isolate;
  background-image: radial-gradient(70% 90% at 85% 0%, rgba(255, 120, 120, .45), transparent 70%),
    linear-gradient(160deg, #e30613 0%, #c20511 55%, #8f030b 100%); }
.heros::before { content: ""; position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: -30vmax; bottom: -45vmax;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 62%);
  animation: derive 24s ease-in-out infinite alternate; }
@keyframes derive { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8vmax, -6vmax, 0) scale(1.15); } }
.heros { padding: clamp(44px, 6vw, 84px) 0 clamp(52px, 7vw, 96px); }
.heros-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.heros h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.heros-page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.chapeau { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: #fff; max-width: 60ch; }
.heros .chapeau { opacity: .94; }
.heros-fonctions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.heros-fonctions a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3); transition: background .15s; }
.heros-fonctions a:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.bandeau { padding: clamp(36px, 5vw, 60px) 0; }
.bandeau h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.bandeau .chapeau { margin-bottom: 0; }
.fil ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.fil li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.fil a { color: #fff; text-decoration: none; }
.fil a:hover { text-decoration: underline; color: #fff; }

/* ------------------------------------------------------------------ captures de l'application */
/* Les arrondis suivent ceux de l'interface, ramenés à l'échelle de l'image. */
.capture { margin: 0; border-radius: var(--rayon-image); overflow: hidden; background: #fff; border: 1px solid rgba(16, 18, 24, .1);
  box-shadow: 0 30px 70px rgba(16, 18, 24, .22); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.capture img { width: 100%; height: auto; }
.capture-barre { display: none; gap: 6px; padding: 10px 14px; background: #f1f2f6; border-bottom: 1px solid var(--trait); }
.capture-barre span { width: 9px; height: 9px; border-radius: 50%; background: #cfd4df; }
.capture-barre span:first-child { background: #ff6b6b; }
/* En tête de page, l'écran est penché et déborde vers la droite, comme posé sur un pupitre. */
.heros { overflow: hidden; }
.heros-visuel { perspective: 1700px; perspective-origin: 20% 50%; }
.heros .capture { width: 128%; border-radius: 8px; border: 0; transform-origin: 0 50%;
  box-shadow: -30px 50px 90px rgba(60, 0, 5, .55), 0 0 0 1px rgba(255, 255, 255, .25);
  transform: rotateY(-19deg) rotateX(7deg) rotateZ(2.4deg); }
.heros .capture-barre { display: none; }
.heros .capture:hover { transform: rotateY(-12deg) rotateX(4deg) rotateZ(1.5deg); }
.capture-lien { display: block; text-decoration: none; }
.capture-lien:hover .capture { transform: translateY(-4px); box-shadow: 0 36px 80px rgba(16, 18, 24, .28); }
.captures { display: grid; gap: 24px; }

/* ------------------------------------------------------------------ blocs */
.bloc { padding: clamp(56px, 7vw, 96px) 0; }
.bloc-clair { background: var(--fond-clair); }
.bloc-sombre { color: var(--clair-sur-sombre); background-color: var(--nuit);
  background-image: radial-gradient(60% 80% at 90% 0%, rgba(227, 6, 19, .4), transparent 70%); }
.bloc-sombre h2 { color: #fff; }
.bloc-sombre .chapeau { color: var(--clair-sur-sombre); }
.titre-section { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 26px; }
.titre-grand { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.titre-carte { font-size: 1.15rem; font-weight: 750; margin-bottom: 8px; }
.titre-avec-lien { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.titre-avec-lien .titre-section { margin: 0; }
.grille { display: grid; gap: 24px; }
.grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.deux-colonnes { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.deux-colonnes-inverse > :first-child { order: 2; }
.deux-colonnes-haut { align-items: start; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.pastilles li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: .92rem;
  font-weight: 600; background: #fff; border: 1px solid var(--trait); }
.pastilles .picto { color: var(--rouge); }
.puces { margin-top: 18px; }
.puces li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.puces .picto { color: var(--rouge); margin-top: .28em; }
.carte { display: block; height: 100%; padding: 26px; border-radius: var(--rayon); background: #fff; color: var(--texte);
  border: 1px solid var(--trait); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.carte p { color: var(--texte-doux); margin: 0; }
a.carte:hover { border-color: var(--rouge); box-shadow: var(--ombre); transform: translateY(-2px); color: var(--texte); }
.carte-lien .lien-fleche { margin-top: 6px; font-size: .95rem; }
.carte-picto { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px;
  margin-bottom: 16px; color: var(--rouge); background: #ffe9ea; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
a.carte:hover .carte-picto { transform: translateY(-3px) rotate(-4deg); }
.bloc-autres { padding-top: 0; }
.bloc-clair + .bloc-autres, .bloc-autres:first-of-type { padding-top: clamp(56px, 7vw, 96px); }
.vide { padding: 48px; text-align: center; color: var(--texte-doux); background: var(--fond-clair); border-radius: var(--rayon); }

.bande-chiffres { padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--trait); }
.chiffres li { padding-left: 20px; border-left: 3px solid var(--rouge); }
.chiffres p { margin: 0; color: var(--texte-doux); font-size: .98rem; }
.chiffres .chiffre { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  color: var(--encre); margin-bottom: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.bande-logos { padding: 30px 0 34px; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bande-logos-titre { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--texte-doux); margin-bottom: 20px; }
.defilant { display: flex; width: max-content; animation: defilement 36s linear infinite; }
.bande-logos:hover .defilant { animation-play-state: paused; }
.defilant-piste { display: flex; align-items: center; gap: 72px; padding-right: 72px; flex: none; }
.defilant-piste img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .7;
  transition: filter .2s, opacity .2s; }
.defilant-piste img:hover { filter: none; opacity: 1; }
@keyframes defilement { to { transform: translateX(-25%); } }

.bloc-appel { padding: clamp(56px, 7vw, 96px) 0; }
.appel { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding: clamp(28px, 4vw, 48px); border-radius: 24px; color: #fff; background: linear-gradient(135deg, #e30613, #8f030b); }
.appel h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; margin-bottom: 6px; }
.appel p { margin: 0; max-width: 56ch; opacity: .94; }
.par-syslien { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.par-syslien p { color: var(--doux-sur-sombre); margin: 14px 0 10px; max-width: 46ch; }
.par-syslien .lien-fleche { color: #fff; }

/* ------------------------------------------------------------------ articles */
.carte-article { height: 100%; }
.carte-article-lien { display: flex; flex-direction: column; height: 100%; border-radius: var(--rayon); overflow: hidden;
  background: #fff; border: 1px solid var(--trait); color: var(--texte); text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.carte-article-lien:hover { border-color: var(--rouge); box-shadow: var(--ombre); transform: translateY(-2px); color: var(--texte); }
.carte-article-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--fond-clair);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.carte-article-lien:hover .carte-article-image { transform: scale(1.045); }
.carte-article-corps { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.carte-article-date { font-size: .88rem; color: var(--texte-doux); margin-bottom: 8px; }
.carte-article-titre { font-size: 1.16rem; font-weight: 750; line-height: 1.25; }
.carte-article-extrait { color: var(--texte-doux); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; }
.carte-article .lien-fleche { margin-top: auto; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; color: var(--texte-doux); }
.bandeau-article h1 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.article-meta { color: rgba(255, 255, 255, .85); margin: 0; font-size: .98rem; }
.article-meta a { color: #fff; }
.article-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rayon-image); margin: -24px 0 36px;
  box-shadow: var(--ombre); position: relative; }
.article .conteneur-etroit { padding-bottom: clamp(48px, 6vw, 80px); }
.article > .conteneur-etroit > .prose:first-child { padding-top: 44px; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.55rem; font-weight: 800; margin-top: 1.8em; }
.prose h3 { font-size: 1.22rem; font-weight: 750; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; } .prose li::marker { color: var(--rouge); }
.prose img { border-radius: var(--rayon-image); margin-inline: auto; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--rouge); color: var(--texte-doux); }
.prose figure { margin-inline: 0; } .prose figcaption { font-size: .92rem; color: var(--texte-doux); text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--trait); text-align: left; }

/* ------------------------------------------------------------------ formulaires */
.carte-formulaire { padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.formulaire { display: grid; gap: 20px; }
.champs-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.champ { min-width: 0; }
.champ label { display: block; font-weight: 700; margin-bottom: 7px; color: var(--texte); }
.facultatif { font-weight: 400; color: var(--texte-doux); }
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--texte); background: #fff; border: 1.5px solid #cfd4df;
  border-radius: var(--rayon-petit); }
.champ textarea { resize: vertical; min-height: 130px; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 3px solid #ffb3b8; outline-offset: 0; border-color: var(--rouge); }
.champ [aria-invalid="true"] { border-color: #b42318; }
.champ-erreur { color: #b42318; font-weight: 600; font-size: .95rem; margin: 7px 0 0; }
.champ-aide { color: var(--texte-doux); font-size: .92rem; margin: 0; }
.case { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; cursor: pointer; }
.case input { accent-color: var(--rouge); width: 18px; height: 18px; margin-top: .25em; flex: none; }
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .bouton { justify-self: start; }
.message { padding: 22px 26px; border-radius: var(--rayon); margin-bottom: 22px; color: var(--texte); }
.message h3 { font-size: 1.3rem; font-weight: 800; }
.message p { margin: 0; }
.message-ok { background: #e9f9f0; border: 1px solid #8fd6ad; }
.message-erreur { background: #fef3f2; border: 1px solid #fda29b; color: #912018; font-weight: 600; }

/* ------------------------------------------------------------------ pied de page */
.pied { padding: clamp(48px, 6vw, 72px) 0 28px; font-size: .98rem; color: var(--clair-sur-sombre); background: var(--nuit); }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.5fr); gap: 40px; }
.pied h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--doux-sur-sombre); font-weight: 700;
  margin-bottom: 14px; }
.pied li { margin-bottom: 9px; }
.pied a { color: var(--clair-sur-sombre); text-decoration: none; }
.pied a:hover { color: #ff8088; }
.pied-marque p { color: var(--doux-sur-sombre); margin: 16px 0 18px; max-width: 34ch; }
.pied-syslien { display: inline-grid; gap: 8px; font-size: .82rem; color: var(--doux-sur-sombre) !important; }
.pied-lettre p { margin: 0 0 12px; color: var(--doux-sur-sombre); }
.pied-lettre-champ { display: flex; gap: 10px; }
.pied-lettre-champ input { flex: 1; min-width: 0; padding: 11px 16px; font: inherit; color: #fff; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .25); }
.pied-lettre-champ input::placeholder { color: var(--doux-sur-sombre); }
.pied-lettre-champ input:focus-visible { outline: 3px solid rgba(255, 128, 136, .6); outline-offset: 0; border-color: #ff8088; }
.pied-lettre-note { font-size: .8rem; margin-top: 10px !important; }
.pied-lettre-note a { text-decoration: underline; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12); color: var(--doux-sur-sombre); font-size: .9rem; }
.pied-bas p { margin: 0; }
.lien-pied { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.cookies { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(420px, calc(100% - 40px)); padding: 22px 24px;
  border-radius: 16px; background: #fff; color: var(--texte); border: 1px solid var(--trait);
  box-shadow: 0 20px 60px rgba(16, 18, 24, .3); font-size: .95rem; }
.cookies[hidden] { display: none; }
.cookies h2 { font-size: 1.05rem; margin-bottom: 6px; }
.cookies p { margin-bottom: 14px; color: var(--texte-doux); }
/* Refuser et accepter ont le même aspect : aucun des deux n'est mis en avant. */
.cookies-boutons { display: flex; gap: 10px; }
.cookies-boutons .bouton { flex: 1; }

/* ------------------------------------------------------------------ apparition au défilement */
.js .apparait { opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease var(--retard, 0s), transform .7s cubic-bezier(.2, .8, .2, 1) var(--retard, 0s); }
.js .apparait.vu { opacity: 1; transform: none; }
.js .apparait-gauche { transform: translateX(-34px); } .js .apparait-droite { transform: translateX(34px); }

/* ------------------------------------------------------------------ écrans étroits */
@media (max-width: 1080px) {
  .menu-bouton { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--trait);
    padding: 12px 20px 22px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .menu.ouvert { display: block; }
  .menu > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu a:not(.bouton), .menu summary { padding: 13px 14px; font-size: 1.05rem; width: 100%; }
  .menu summary { justify-content: space-between; }
  .menu-deroulant > ul { position: static; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .menu .bouton { margin: 8px 0 0; width: 100%; }
}
@media (max-width: 980px) {
  .heros-grille, .deux-colonnes, .deux-colonnes-haut { grid-template-columns: minmax(0, 1fr); }
  .deux-colonnes-inverse > :first-child { order: 0; }
  .grille-3, .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heros .capture { transform: none; width: 100%; }
  .heros .capture:hover { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grille-3, .grille-4, .champs-2, .pied-grille { grid-template-columns: minmax(0, 1fr); }
  .actions .bouton, .appel .bouton { width: 100%; }
  .pied-lettre-champ { flex-direction: column; }
  .defilant-piste { gap: 48px; padding-right: 48px; }
  .defilant-piste img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait { opacity: 1 !important; transform: none !important; }
  .defilant { flex-wrap: wrap; width: auto; justify-content: center; }
  .defilant-piste[aria-hidden="true"] { display: none; }
  .defilant-piste { flex-wrap: wrap; justify-content: center; padding: 0 20px; }
}
@media print { .entete, .pied, .bloc-appel, .menu-bouton, .bande-logos { display: none; } .heros, .bandeau { background: none; color: #000; } }

/* ------------------------------------------------------------------ cases à cocher dessinées */
.case input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: .2em 0 0; cursor: pointer;
  border: 1.5px solid #b6c2d4; border-radius: 6px; background: #fff center / 0 no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E");
  transition: background-color .18s, border-color .18s, background-size .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .18s; }
.case:hover input { border-color: var(--rouge); }
.case input:checked { background-color: var(--rouge); border-color: var(--rouge); background-size: 14px; }
.case input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(227, 6, 19, .25); }

/* ------------------------------------------------------------------ menu : effets au survol */
.menu a:not(.bouton), .menu summary { transition: color .18s, background .2s, transform .18s; }
.menu a:not(.bouton):hover, .menu summary:hover { transform: translateY(-1px); }
.menu a:not(.bouton):active, .menu summary:active { transform: translateY(0) scale(.97); }
.menu .bouton { transition: background .15s, transform .18s, box-shadow .2s; }
.menu .bouton:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(227, 6, 19, .3); }
.menu .bouton:active { transform: translateY(0) scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .case input, .menu a, .menu summary, .menu .bouton { transition: none; }
  .menu a:not(.bouton):hover, .menu summary:hover, .menu .bouton:hover { transform: none; }
}
