/* Phemios showroom : pages de contenu (offres, contact, mentions, 404). Mise en page des pages détaillées, charte pro.
   Fichier généré par gen_pages.py à partir de site/atlas.css : modifier le générateur plutôt que ce fichier. */

body.atlas {
  --prusse: #070b14;
  --prusse-2: #0d1424;
  --prusse-3: #141d31;
  --nuit: #05080f;
  --or: #4d7cff;
  --or-pale: #a9c0ff;
  --ivoire: #e8ecf3;
  --encre: #070b14;
  --doux: rgba(232, 236, 243, .68);
  --discret: rgba(232, 236, 243, .45);
  --filet: rgba(148, 163, 184, .16);
  --filet-fort: rgba(148, 163, 184, .3);
  --serif: "Space Grotesk", system-ui, sans-serif;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --page: 1240px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --bascule: cubic-bezier(.76, 0, .24, 1);
  --ody-prusse: var(--prusse); --ody-or: var(--or); --ody-or-pale: var(--or-pale); --ody-ivoire: var(--ivoire); --ody-filet: var(--filet); --ody-doux: var(--doux);
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--prusse); color: var(--ivoire);
  font: 500 17px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Ciel de fond : quelques étoiles gravées, fixes et discrètes (remplace la grille de l'ancien site) */
body.atlas::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; mask-image: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(169, 192, 255, .55), transparent 60%),
    radial-gradient(1px 1px at 72% 9%, rgba(169, 192, 255, .45), transparent 60%),
    radial-gradient(1.4px 1.4px at 88% 42%, rgba(169, 192, 255, .5), transparent 60%),
    radial-gradient(1px 1px at 33% 64%, rgba(169, 192, 255, .35), transparent 60%),
    radial-gradient(1px 1px at 58% 82%, rgba(169, 192, 255, .4), transparent 60%),
    radial-gradient(1.2px 1.2px at 6% 88%, rgba(169, 192, 255, .4), transparent 60%),
    radial-gradient(1100px 700px at 85% -10%, rgba(20, 29, 49, .65), transparent 70%),
    radial-gradient(900px 600px at -10% 110%, rgba(16, 34, 63, .9), transparent 70%);
}
body.atlas::after { display: none; }
body.atlas main { flex: 1; position: relative; }
body.atlas a { color: inherit; }
body.atlas img { max-width: 100%; }
body.atlas h1, body.atlas h2, body.atlas h3, body.atlas h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.05; margin: 0; color: var(--ivoire); }
body.atlas p { margin: 0; }
body.atlas ::selection { background: var(--or); color: var(--prusse); }
body.atlas .wrap { width: min(var(--page), 100% - 2 * var(--gouttiere)); margin-inline: auto; }
body.atlas :focus-visible { outline: 1.5px solid var(--or-pale); outline-offset: 4px; border-radius: 1px; }
body.atlas .skip { position: absolute; left: -9999px; }
body.atlas .skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--or); color: var(--prusse); padding: 10px 14px; text-decoration: none; }

/* ------------------------------------------------------------ en-tête */
body.atlas .site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--prusse) 86%, transparent); backdrop-filter: blur(14px);
  border-bottom: 0; transition: background .4s;
}
body.atlas.ody .site-header { position: fixed; inset: 0 0 auto; background: color-mix(in srgb, var(--prusse) 62%, transparent); }
body.atlas .site-header.defile, body.atlas.ody .site-header.defile { background: color-mix(in srgb, var(--prusse) 92%, transparent); }
/* double filet d'atlas sous l'en-tête */
body.atlas .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-top: 1px solid var(--filet); border-bottom: 1px solid rgba(77, 124, 255, .12); pointer-events: none; }
body.atlas .site-header .wrap { height: 74px; gap: clamp(16px, 2.4vw, 36px); }
/* Logo 3 « Inscription » : l'emblème R5 en sceau, « PHEMIOS · AI » gravé sur une ligne entre deux doubles filets */
body.atlas .brand { gap: 14px; color: var(--or-pale, #ecd9a8); font: 500 21px/1 var(--serif); letter-spacing: .24em; }
body.atlas .brand img + span { padding: 7px 0 5px; border-top: 3px double var(--filet-fort, rgba(77, 124, 255, .7)); border-bottom: 3px double var(--filet-fort, rgba(77, 124, 255, .7)); }
body.atlas .brand b { color: var(--or); font-weight: 500; letter-spacing: 0; margin: 0 .38em 0 .1em; }
body.atlas .brand img { width: 46px; height: 46px; }
body.atlas .brand-motto { display: none; }
body.atlas .nav { gap: 2px; }
body.atlas .nav a { white-space: nowrap; padding: 10px 12px; border-radius: 0; background: none; font: 400 14.5px/1 var(--sans); letter-spacing: .01em; color: var(--doux); transition: color .25s; }
body.atlas .nav a:hover { color: var(--or-pale); background: none; }
body.atlas .nav a[aria-current="page"] { color: var(--ivoire); }
body.atlas .nav a::after, body.atlas .nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 9px; height: 9px; translate: -50% 0; border-radius: 0; box-shadow: none;
  background: var(--or); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  scale: 0; transition: scale .45s var(--sortie);
}
body.atlas .nav a[aria-current="page"]::after, body.atlas .nav a:hover::after { scale: 1; }
body.atlas .nav a[data-key]::after { content: ""; }
body.atlas .header-cta { gap: 20px; }
body.atlas .header-login { font: 500 14px/1 var(--sans); color: var(--doux); text-decoration: none; }
body.atlas .header-login:hover { color: var(--or-pale); }
body.atlas .menu-btn { border-radius: 0; border: 1px solid var(--filet-fort); color: var(--or-pale); background: transparent; }
/* menu replié plus tôt que l'ancien site : la navigation en français est plus longue */
@media (max-width: 1080px) {
  body.atlas .menu-btn { display: grid; }
  body.atlas .nav, body.atlas .header-cta { display: none; }
  body.atlas .site-header.open .nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0;
    top: 74px; padding: 18px var(--gouttiere) 22px; gap: 0; max-height: calc(100svh - 74px); overflow-y: auto;
    background: var(--prusse); border-bottom: 1px solid var(--filet); box-shadow: 0 40px 80px rgba(0, 0, 0, .55);
  }
  body.atlas .site-header.open .nav a { padding: 15px 0; font: 500 26px/1.1 var(--serif); color: var(--ivoire); border-bottom: 1px solid rgba(77, 124, 255, .14); }
  body.atlas .site-header.open .nav a::after { left: auto; right: 4px; bottom: 50%; translate: 0 50%; }
  body.atlas .site-header.open .nav .nav-only-mobile { display: block; }
  body.atlas .site-header.open .nav .nav-login { display: block; margin: 18px 0 0; padding: 16px; border: 0; text-align: center; font: 600 15px/1 var(--sans); color: var(--prusse); background: var(--or); }
  body.atlas .site-header.open .nav .nav-login::after { display: none; }
}

/* ------------------------------------------------------------ boutons et liens */
.at-btn {
  --c: var(--or); position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px;
  font: 500 15.5px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  color: var(--prusse); background: var(--c); border: 1px solid var(--c);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  transition: background .35s, color .35s;
}
.at-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 250, 235, .55) 50%, transparent 70%); translate: -110% 0; transition: translate .9s var(--sortie); }
.at-btn:hover::before { translate: 110% 0; }
.at-btn:hover { background: var(--or-pale); }
.at-btn svg { width: 16px; height: 16px; transition: translate .4s var(--sortie); }
.at-btn:hover svg { translate: 4px 0; }
.at-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.at-btn--trait { color: var(--or-pale); background: transparent; border: 0; }
.at-btn--trait::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--or); clip-path: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); padding: 1px; }
.at-btn--trait:hover { background: rgba(77, 124, 255, .1); color: var(--ivoire); }
.at-btn[disabled] { opacity: .55; cursor: progress; }

.at-lien { color: var(--or-pale); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--sortie), color .3s; }
.at-lien:hover, .at-lien:focus-visible { background-size: 100% 1px; color: var(--ivoire); }
.at-fleche { display: inline-flex; align-items: center; gap: 10px; color: var(--or); text-decoration: none; font-size: 15px; }
.at-fleche i { display: block; width: 26px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--sortie); }
.at-fleche i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; rotate: 45deg; }
.at-fleche:hover { color: var(--or-pale); }
.at-fleche:hover i { width: 44px; }
.at-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* ------------------------------------------------------------ typographie */
.at-planche-num { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 19px/1 var(--serif); color: var(--or); letter-spacing: .01em; }
.at-planche-num::after { content: ""; width: 56px; height: 1px; background: var(--filet-fort); }
.at-titre-xl { font: 500 clamp(48px, 7.6vw, 118px)/.92 var(--serif) !important; letter-spacing: -.025em !important; text-wrap: balance; }
.at-titre-l { font: 500 clamp(40px, 5.2vw, 76px)/.98 var(--serif) !important; letter-spacing: -.02em !important; text-wrap: balance; }
.at-titre-m { font: 500 clamp(30px, 3.2vw, 44px)/1.04 var(--serif) !important; text-wrap: balance; }
.at-titre-xl em, .at-titre-l em { font-style: italic; color: var(--or-pale); }
.at-chapo { max-width: 56ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--doux); }
.at-chapo + .at-chapo { margin-top: 14px; }
.at-texte { max-width: 64ch; color: var(--doux); line-height: 1.7; }
.at-texte + .at-texte { margin-top: 14px; }
.at-texte a { color: var(--or-pale); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.at-note { font: 500 18px/1.4 var(--serif); color: var(--or-pale); }
.at-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Filet orné : trait – losange – trait */
.at-filet { display: flex; align-items: center; gap: 14px; color: var(--or); margin: 0; border: 0; }
.at-filet::before, .at-filet::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--filet-fort)); }
.at-filet::after { background: linear-gradient(90deg, var(--filet-fort), transparent); }
.at-filet svg { width: 14px; height: 14px; flex: none; }

/* ------------------------------------------------------------ sections */
.at-section { position: relative; padding-block: clamp(80px, 12vw, 160px); }
.at-section--serre { padding-block: clamp(56px, 7vw, 96px); }
.at-section--nuit { background: var(--nuit); }
.at-section--bleu { background: var(--prusse-2); }
.at-section + .at-section:not(.at-section--ivoire):not(.at-section--nuit):not(.at-section--bleu) { padding-top: 0; }
.at-entete-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.at-entete-sec .at-chapo { justify-self: end; }
@media (max-width: 860px) { .at-entete-sec { grid-template-columns: 1fr; } .at-entete-sec .at-chapo { justify-self: start; } }

/* Section claire : planche d'ivoire, encre de Prusse */
.at-section--ivoire { background: var(--ivoire); color: var(--encre); }
body.atlas .at-section--ivoire h2, body.atlas .at-section--ivoire h3 { color: var(--encre); }
.at-section--ivoire .at-planche-num { color: #3358c7; }
.at-section--ivoire .at-planche-num::after { background: rgba(7, 11, 20, .3); }
.at-section--ivoire .at-chapo, .at-section--ivoire .at-texte { color: rgba(7, 11, 20, .78); }
.at-section--ivoire .at-titre-xl em, .at-section--ivoire .at-titre-l em { color: #3358c7; }
.at-section--ivoire :focus-visible { outline-color: var(--encre); }
.at-section--ivoire .at-btn { --c: var(--encre); color: var(--ivoire); }
.at-section--ivoire .at-btn:hover { background: var(--prusse-3); }
.at-section--ivoire .at-fleche { color: #3358c7; }
.at-section--ivoire .at-lien { color: #3358c7; }

/* L'astrolabe gravé, en filigrane */
.at-astrolabe { position: absolute; pointer-events: none; aspect-ratio: 1; background: url("/site/atlas/astrolabe.svg") center / contain no-repeat; opacity: .16; }
.at-astrolabe--tourne { animation: at-tourne 240s linear infinite; }
@keyframes at-tourne { to { rotate: 360deg; } }

/* ------------------------------------------------------------ frontispice des pages */
.at-front { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 9vw, 128px); }
.at-front .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.at-front .at-chapo { margin-top: 28px; }
.at-front .at-actions { margin-top: 36px; }
.at-front-texte { position: relative; z-index: 1; }
.at-front .at-astrolabe { width: min(900px, 120vw); left: -22%; top: 50%; translate: 0 -50%; opacity: .09; }
.at-fil { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 13.5px; color: var(--discret); }
.at-fil li + li::before { content: "/"; margin-right: 12px; color: var(--filet-fort); }
.at-fil a { color: var(--doux); text-decoration: none; }
.at-fil a:hover { color: var(--or-pale); }
.at-fil [aria-current] { color: var(--or-pale); }
@media (max-width: 860px) {
  .at-front .wrap { grid-template-columns: 1fr; }
  .at-front .at-planche { max-width: 440px; }
}

/* ------------------------------------------------------------ la planche : image encadrée, graduée, légendée */
.at-planche { position: relative; margin: 0; padding: 14px; border: 1px solid var(--filet-fort); background: rgba(5, 8, 15, .5); }
.at-planche::before {
  content: ""; position: absolute; inset: 4px; pointer-events: none; z-index: 1;
  background:
    repeating-linear-gradient(90deg, var(--filet-fort) 0 1px, transparent 1px 12px) 0 0 / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--filet-fort) 0 1px, transparent 1px 12px) 0 100% / 100% 5px no-repeat,
    repeating-linear-gradient(0deg, var(--filet-fort) 0 1px, transparent 1px 12px) 0 0 / 5px 100% no-repeat,
    repeating-linear-gradient(0deg, var(--filet-fort) 0 1px, transparent 1px 12px) 100% 0 / 5px 100% no-repeat;
}
.at-planche-cadre { position: relative; overflow: hidden; border: 1px solid var(--filet); aspect-ratio: var(--ratio, 4 / 5); background: var(--nuit); }
.at-planche-cadre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: scale 1.6s var(--sortie), filter 1s; }
.at-planche:hover .at-planche-cadre img { scale: 1.04; }
.at-planche-cadre::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(5, 8, 15, .7); }
.at-legende { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font: 500 16px/1.3 var(--serif); color: var(--doux); }
.at-legende b { font-weight: 500; color: var(--or); font-style: normal; font-family: var(--serif); letter-spacing: .04em; }
/* coins ornés */
.at-coins { position: absolute; inset: -1px; pointer-events: none; z-index: 2; }
.at-coins::before, .at-coins::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--or); }
.at-coins::before { left: -6px; top: -6px; border-right: 0; border-bottom: 0; }
.at-coins::after { right: -6px; bottom: -6px; border-left: 0; border-top: 0; }

/* ------------------------------------------------------------ emblèmes gravés (se tracent à l'apparition) */
.at-index-em, .at-offre-em, .at-voie-em, .at-valeur-em, .at-chapitre-em { display: block; flex: none; }
.at-embleme { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; color: var(--or); }
.at-embleme use { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-grave [data-grave] .at-embleme use { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--bascule) var(--d, 0s); }
.js-grave [data-grave].grave .at-embleme use { stroke-dashoffset: 0; }

/* ------------------------------------------------------------ accueil : l'index des offres */
.at-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); counter-reset: off; }
.at-index li { position: relative; border-bottom: 1px solid var(--filet); }
.at-index a.at-index-lien {
  position: relative; z-index: 1; display: grid; grid-template-columns: 76px minmax(0, 1.1fr) minmax(0, 1fr) 60px; gap: 12px clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(24px, 3vw, 36px) 0; text-decoration: none; color: inherit;
}
.at-index .at-index-em { width: 64px; height: 64px; transition: color .4s, scale .6s var(--sortie); }
.at-index h3 { font: 500 clamp(30px, 3.6vw, 52px)/1 var(--serif) !important; transition: color .4s, translate .6s var(--sortie); }
.at-index p { color: var(--doux); line-height: 1.55; max-width: 46ch; }
.at-index .at-index-fl { justify-self: end; width: 46px; height: 46px; border: 1px solid var(--filet-fort); border-radius: 0; display: grid; place-items: center; color: var(--or); transition: background .4s, color .4s, rotate .6s var(--sortie); }
.at-index .at-index-fl svg { width: 16px; height: 16px; }
.at-index-img { position: absolute; z-index: 2; right: 120px; top: 50%; width: 220px; aspect-ratio: 4 / 3; translate: 0 -50%; margin: 0; pointer-events: none; overflow: hidden; border: 1px solid var(--filet-fort);
  clip-path: inset(50% 0 50% 0); transition: clip-path .7s var(--bascule); }
.at-index-img img { width: 100%; height: 100%; object-fit: cover; scale: 1.2; transition: scale 1.2s var(--sortie); }
.at-index li::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(77, 124, 255, .07), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
@media (hover: hover) {
  .at-index li:hover::before, .at-index li:focus-within::before { opacity: 1; }
  .at-index li:hover h3, .at-index li:focus-within h3 { color: var(--or-pale); translate: 10px 0; }
  .at-index li:hover .at-index-em { scale: 1.08; color: var(--or-pale); }
  .at-index li:hover .at-index-fl, .at-index li:focus-within .at-index-fl { background: var(--or); color: var(--prusse); rotate: -45deg; }
  .at-index li:hover .at-index-img { clip-path: inset(0 0 0 0); }
  .at-index li:hover .at-index-img img { scale: 1; }
}
.at-index li.at-phare h3::after { content: "Notre spécialité"; display: inline-block; vertical-align: middle; margin-left: 14px; padding: 5px 10px; translate: 0 -6px; font: 500 15px/1 var(--serif); letter-spacing: 0; color: var(--prusse); background: var(--or); }
@media (max-width: 1100px) { .at-index-img { display: none; } }
@media (max-width: 760px) {
  .at-index a.at-index-lien { grid-template-columns: 52px minmax(0, 1fr); gap: 10px 18px; }
  .at-index .at-index-em { width: 48px; height: 48px; grid-row: span 2; align-self: start; }
  .at-index .at-index-fl { display: none; }
  .at-index li.at-phare h3::after { display: table; margin: 10px 0 0; translate: none; }
}

/* ------------------------------------------------------------ manifeste (IA privée) */
.at-manifeste .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.at-manifeste blockquote { margin: 0; }
.at-manifeste blockquote p { font: 500 clamp(40px, 5.4vw, 84px)/.98 var(--serif); letter-spacing: -.02em; color: var(--ivoire); text-wrap: balance; }
.at-manifeste blockquote p::before { content: "«\00a0"; color: var(--or); }
.at-manifeste blockquote p::after { content: "\00a0»"; color: var(--or); }
.at-manifeste .at-texte { margin-top: 28px; }
.at-points { list-style: none; margin: 32px 0 36px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.at-points li { position: relative; padding: 14px 0 14px 26px; border-top: 1px solid var(--filet); color: var(--ivoire); font-size: 16px; }
.at-points li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 9px; height: 9px; background: var(--or); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.at-section--ivoire .at-points li { color: var(--encre); border-color: rgba(7, 11, 20, .18); }
.at-section--ivoire .at-points li::before { background: #3358c7; }
@media (max-width: 900px) { .at-manifeste .wrap { grid-template-columns: 1fr; } .at-manifeste .at-planche { max-width: 480px; } }
@media (max-width: 520px) { .at-points { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ réalisations */
.at-cas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 40px); }
.at-cas-carte { grid-column: span 7; display: grid; gap: 22px; align-content: start; }
.at-cas-carte:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(60px, 14vw, 220px); }
.at-cas-carte .at-planche-cadre { --ratio: 16 / 10; }
.at-cas-carte:nth-child(2) .at-planche-cadre { --ratio: 4 / 5; }
.at-cas-carte h3 { font: 500 clamp(34px, 3.4vw, 50px)/1 var(--serif) !important; }
.at-cas-quoi { margin: 8px 0 14px !important; font: 500 18px/1.35 var(--serif); color: var(--or); }
.at-cas-carte .at-texte { margin-bottom: 18px; }
.at-etiquettes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.at-etiquettes li { padding: 6px 12px; font-size: 13px; color: var(--or-pale); border: 1px solid var(--filet); border-radius: 0; }
@media (max-width: 860px) { .at-cas-carte, .at-cas-carte:nth-child(2) { grid-column: 1 / -1; margin-top: 0; } .at-cas-carte:nth-child(2) .at-planche-cadre { --ratio: 16 / 10; } }

/* ------------------------------------------------------------ méthode : l'orbite en quatre étapes */
.at-orbite { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(18px, 3vw, 40px); counter-reset: etape; }
.at-orbite::before { content: ""; position: absolute; left: 0; right: 0; top: 84px; height: 1px; background: currentColor; opacity: .3; transform-origin: left; transition: transform 1.8s var(--bascule); }
.js-grave .at-orbite:not(.grave)::before { transform: scaleX(0); }
.at-orbite li { counter-increment: etape; position: relative; padding-top: 116px; }
.at-orbite li::before { content: counter(etape, upper-roman); position: absolute; left: 0; top: 0; font: 500 64px/1 var(--serif); color: var(--or); }
.at-orbite li::after { content: ""; position: absolute; left: 0; top: 80px; width: 9px; height: 9px; border-radius: 0; background: currentColor; box-shadow: 0 0 0 5px rgba(77, 124, 255, .18); }
.at-section--ivoire .at-orbite li::before { color: #3358c7; }
.at-section--ivoire .at-orbite li::after { box-shadow: 0 0 0 5px rgba(7, 11, 20, .08); }
.at-orbite h3 { margin: 0 0 10px !important; font: 500 28px/1.1 var(--serif) !important; }
.at-orbite p { color: inherit; opacity: .78; line-height: 1.6; }
.at-orbite p + p { margin-top: 10px; }
@media (max-width: 900px) {
  .at-orbite { grid-template-columns: 1fr; gap: 0; }
  .at-orbite::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .js-grave .at-orbite:not(.grave)::before { transform: scaleY(0); }
  .at-orbite li { padding: 0 0 40px 48px; }
  .at-orbite li::before { position: static; display: block; margin-bottom: 10px; font-size: 44px; }
  .at-orbite li::after { top: 16px; }
}

/* ------------------------------------------------------------ cartouche d'appel */
.at-cartouche { position: relative; padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 96px); text-align: center; border: 1px solid var(--filet-fort); overflow: hidden; }
.at-cartouche::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--filet); pointer-events: none; }
.at-cartouche .at-astrolabe { width: 720px; left: 50%; top: 50%; translate: -50% -50%; opacity: .12; }
.at-cartouche > * { position: relative; }
.at-cartouche h2 { font: 500 clamp(40px, 6vw, 92px)/.95 var(--serif) !important; letter-spacing: -.02em !important; text-wrap: balance; }
.at-cartouche .at-chapo { margin: 22px auto 36px; }
.at-cartouche .at-actions { justify-content: center; }
.at-cartouche .at-coins { inset: 8px; }

/* ------------------------------------------------------------ pages d'offres détaillées */
.at-sous-nav { position: sticky; top: 74px; z-index: 20; background: color-mix(in srgb, var(--prusse) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--filet); }
.at-sous-nav .wrap { display: flex; gap: 4px 28px; overflow-x: auto; scrollbar-width: none; }
.at-sous-nav a { flex: none; padding: 16px 0 14px; font-size: 14px; color: var(--doux); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.at-sous-nav a:hover { color: var(--or-pale); }
.at-sous-nav a[aria-current], .at-sous-nav a.ici { color: var(--ivoire); border-bottom-color: var(--or); }

.at-offre { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(64px, 9vw, 128px); border-top: 1px solid var(--filet); scroll-margin-top: 130px; }
.at-offre:nth-child(even) .at-offre-visuel { order: 2; }
.at-offre-visuel { position: sticky; top: 150px; }
.at-offre-visuel .at-planche-cadre { --ratio: 1 / 1; }
.at-offre-em { width: 72px; height: 72px; margin-bottom: 26px; }
.at-offre h2 { font: 500 clamp(40px, 4.6vw, 68px)/.98 var(--serif) !important; letter-spacing: -.02em !important; }
.at-offre .at-accroche { margin: 16px 0 28px; font: 500 clamp(22px, 2vw, 28px)/1.3 var(--serif); color: var(--or-pale); max-width: 30ch; }
.at-offre h3 { margin: 36px 0 14px !important; font: 500 21px/1 var(--serif) !important; color: var(--or) !important; }
.at-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.at-liste li { padding: 12px 0 12px 22px; position: relative; border-top: 1px solid rgba(77, 124, 255, .16); font-size: 16px; }
.at-liste li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 10px; height: 1px; background: var(--or); }
.at-exemple { margin-top: 30px !important; padding: 18px 22px; border-left: 1px solid var(--or); background: linear-gradient(90deg, rgba(77, 124, 255, .07), transparent); color: var(--doux); }
.at-exemple a { color: var(--or-pale); text-underline-offset: 4px; }
.at-offre--phare { position: relative; }
.at-offre--phare::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gouttiere)); z-index: -1; background: radial-gradient(800px 500px at 30% 40%, rgba(20, 29, 49, .8), transparent 70%); }
@media (max-width: 900px) {
  .at-offre { grid-template-columns: 1fr; }
  .at-offre:nth-child(even) .at-offre-visuel { order: 0; }
  .at-offre-visuel { position: relative; top: 0; max-width: 560px; }
  .at-offre-visuel .at-planche-cadre { --ratio: 16 / 10; }
  .at-liste { grid-template-columns: 1fr; }
}

/* Chapitres (liens vers les sous-pages) */
.at-chapitres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.at-chapitre { position: relative; display: grid; gap: 14px; align-content: start; padding: 36px clamp(20px, 3vw, 40px) 40px; text-decoration: none; color: inherit; transition: background .5s; }
.at-chapitre + .at-chapitre { border-left: 1px solid var(--filet); }
.at-chapitre .at-chapitre-em { width: 52px; height: 52px; }
.at-chapitre h3 { font: 500 32px/1.05 var(--serif) !important; transition: color .3s; }
.at-chapitre p { color: var(--doux); line-height: 1.55; }
.at-chapitre .at-fleche { margin-top: 6px; }
.at-chapitre:hover { background: rgba(77, 124, 255, .06); }
.at-chapitre:hover h3 { color: var(--or-pale); }
.at-chapitre:hover .at-fleche i { width: 44px; }
@media (max-width: 860px) { .at-chapitres { grid-template-columns: 1fr; } .at-chapitre + .at-chapitre { border-left: 0; border-top: 1px solid var(--filet); } }

/* ------------------------------------------------------------ déploiement : deux voies + tableau */
.at-voies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.at-voie { position: relative; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--filet-fort); background: linear-gradient(170deg, rgba(20, 29, 49, .45), rgba(5, 8, 15, .3)); }
.at-voie .at-voie-em { width: 68px; height: 68px; margin-bottom: 24px; }
.at-voie h2 { font: 500 clamp(36px, 3.6vw, 54px)/1 var(--serif) !important; }
.at-voie .at-texte { margin: 16px 0 24px; }
.at-voie .at-liste { grid-template-columns: 1fr; }
.at-voie-ou { position: absolute; top: 50%; left: 50%; z-index: 2; translate: -50% -50%; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 0; background: var(--prusse); border: 1px solid var(--filet-fort); font: 500 22px/1 var(--serif); color: var(--or); }
.at-voies-cadre { position: relative; }
@media (max-width: 860px) { .at-voies { grid-template-columns: 1fr; } .at-voie-ou { display: none; } }

.at-table-cadre { overflow-x: auto; border: 1px solid var(--filet-fort); }
.at-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.at-table caption { text-align: left; padding: 22px 24px 0; font: 500 20px/1.2 var(--serif); color: var(--or); caption-side: top; }
.at-table th, .at-table td { padding: 18px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); }
.at-table thead th { font: 500 26px/1.1 var(--serif); color: var(--ivoire); border-bottom-color: var(--filet-fort); }
.at-table tbody th { width: 28%; font: 500 15px/1.4 var(--sans); color: var(--or-pale); }
.at-table td { color: var(--doux); }
.at-table tr:last-child > * { border-bottom: 0; }
.at-table td[colspan] { color: var(--ivoire); font: 500 19px/1.4 var(--serif); }
@media (max-width: 640px) {
  .at-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .at-table tr { display: grid; padding: 14px 18px; border-bottom: 1px solid var(--filet); }
  .at-table tbody th, .at-table td { width: auto; padding: 4px 0; border: 0; }
  .at-table tbody th { font-size: 16px; margin-bottom: 4px; }
  .at-table td::before { content: attr(data-l) " : "; color: var(--discret); }
  .at-table td[colspan]::before { content: none; }
}

/* ------------------------------------------------------------ formules */
.at-formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--filet-fort); }
.at-formule { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); }
.at-formule + .at-formule { border-left: 1px solid var(--filet); }
.at-formule-num { font: 500 56px/1 var(--serif); color: var(--or); }
.at-formule h2 { margin-top: 18px !important; font: 500 clamp(36px, 3.4vw, 48px)/1 var(--serif) !important; }
.at-formule-pour { margin: 14px 0 22px !important; color: var(--doux); min-height: 3.2em; }
.at-formule-prix { margin-bottom: 22px !important; padding: 12px 0; border-block: 1px solid var(--filet); font: 500 20px/1 var(--serif); color: var(--or-pale); }
.at-formule .at-liste { grid-template-columns: 1fr; margin-bottom: 30px; }
.at-formule .at-btn { margin-top: auto; align-self: flex-start; }
.at-formule--phare { background: linear-gradient(175deg, rgba(77, 124, 255, .12), rgba(20, 29, 49, .35)); box-shadow: inset 0 0 0 1px var(--or); }
.at-formule--phare .at-formule-badge { position: absolute; top: -1px; right: clamp(20px, 3vw, 40px); padding: 8px 12px; font: 500 16px/1 var(--serif); color: var(--prusse); background: var(--or); }
@media (max-width: 960px) { .at-formules { grid-template-columns: 1fr; } .at-formule + .at-formule { border-left: 0; border-top: 1px solid var(--filet); } .at-formule-pour { min-height: 0; } }

/* ------------------------------------------------------------ questions fréquentes */
.at-faq { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.at-faq-som { position: sticky; top: 150px; display: grid; gap: 2px; }
.at-faq-som a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--filet); font: 500 22px/1.15 var(--serif); color: var(--doux); text-decoration: none; transition: color .3s, padding .4s var(--sortie); }
.at-faq-som a span { font: 500 13px/2 var(--sans); color: var(--discret); }
.at-faq-som a:hover, .at-faq-som a.ici { color: var(--or-pale); padding-left: 10px; }
.at-faq-groupe { scroll-margin-top: 150px; }
.at-faq-groupe + .at-faq-groupe { margin-top: clamp(56px, 7vw, 88px); }
.at-faq-groupe > h2 { margin-bottom: 18px !important; font: 500 clamp(34px, 3.4vw, 50px)/1 var(--serif) !important; }
.at-q { border-top: 1px solid var(--filet); }
.at-q:last-child { border-bottom: 1px solid var(--filet); }
.at-q summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 20px; align-items: center; padding: 22px 0; font: 500 clamp(20px, 1.7vw, 24px)/1.25 var(--serif); color: var(--ivoire); transition: color .3s; }
.at-q summary::-webkit-details-marker { display: none; }
.at-q summary:hover { color: var(--or-pale); }
.at-q summary i { position: relative; width: 28px; height: 28px; border: 1px solid var(--filet-fort); border-radius: 0; transition: rotate .5s var(--sortie), background .3s; }
.at-q summary i::before, .at-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; translate: -50% -50%; background: var(--or); }
.at-q summary i::after { rotate: 90deg; transition: rotate .5s var(--sortie); }
.at-q[open] summary i { rotate: 180deg; background: rgba(77, 124, 255, .12); }
.at-q[open] summary i::after { rotate: 0deg; }
.at-q-rep { padding: 0 48px 26px 0; color: var(--doux); line-height: 1.7; max-width: 70ch; }
.at-q[open] .at-q-rep { animation: at-ouvre .6s var(--sortie); }
@keyframes at-ouvre { from { opacity: 0; translate: 0 -8px; } }
@media (max-width: 860px) { .at-faq { grid-template-columns: 1fr; } .at-faq-som { position: relative; top: 0; } .at-q-rep { padding-right: 0; } }

/* ------------------------------------------------------------ valeurs */
.at-valeurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--filet); }
.at-valeur { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; padding: clamp(32px, 4vw, 56px) clamp(0px, 3vw, 48px) clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--filet); }
.at-valeur:nth-child(even) { padding-left: clamp(0px, 3vw, 48px); border-left: 1px solid var(--filet); }
.at-valeur-em { width: 88px; height: 88px; }
.at-valeur h2 { font: 500 clamp(36px, 3.4vw, 52px)/1 var(--serif) !important; }
.at-valeur .at-texte { margin-top: 14px; }
@media (max-width: 860px) { .at-valeurs { grid-template-columns: 1fr; } .at-valeur:nth-child(even) { padding-left: 0; border-left: 0; } .at-valeur { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; } .at-valeur-em { width: 60px; height: 60px; } }

/* ------------------------------------------------------------ à propos : récit et charte */
.at-recit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.at-lettrine::first-letter { float: left; margin: 6px 14px 0 0; font: 500 96px/.8 var(--serif); color: var(--or); }
.at-recit .at-texte { font-size: 18px; }
.at-charte { position: relative; padding: clamp(32px, 4vw, 48px); border: 1px solid var(--filet-fort); background: rgba(5, 8, 15, .55); }
.at-charte::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--filet); pointer-events: none; }
.at-charte h2 { font: 500 30px/1.1 var(--serif) !important; color: var(--or-pale) !important; text-align: center; }
.at-charte dl { margin: 26px 0 0; display: grid; }
.at-charte dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--filet); }
.at-charte dt { color: var(--doux); }
.at-charte dd { margin: 0; font: 500 24px/1 var(--serif); color: var(--ivoire); }
.at-charte .at-filet { margin-top: 24px; }
@media (max-width: 900px) { .at-recit { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ contact */
.at-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.at-lettre { position: relative; padding: clamp(28px, 4vw, 56px); background: var(--ivoire); color: var(--encre); }
.at-lettre::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(7, 11, 20, .2); pointer-events: none; }
.at-lettre > * { position: relative; }
.at-lettre h2 { font: 500 clamp(32px, 3vw, 44px)/1 var(--serif) !important; color: var(--encre) !important; }
.at-lettre .at-chapo { margin: 10px 0 30px; color: rgba(7, 11, 20, .72); font-size: 16px; }
.at-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.at-champ { display: grid; gap: 6px; }
.at-champ--plein { grid-column: 1 / -1; }
.at-champ label { font: 500 17px/1.2 var(--serif); color: #3358c7; }
.at-champ label em { font-style: normal; color: #e5484d; }
.at-champ input, .at-champ select, .at-champ textarea {
  width: 100%; padding: 10px 0 10px; border: 0; border-bottom: 1px solid rgba(7, 11, 20, .35); border-radius: 0; background: transparent;
  font: 500 17px/1.4 var(--sans); color: var(--encre); transition: border-color .3s, background .3s;
}
.at-champ select { appearance: none; padding-right: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1830' stroke-width='1.2'/%3E%3C/svg%3E") right 4px center no-repeat; }
.at-champ textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.at-champ input::placeholder, .at-champ textarea::placeholder { color: rgba(7, 11, 20, .42); }
.at-champ input:focus, .at-champ select:focus, .at-champ textarea:focus { outline: none; border-bottom-color: var(--encre); background: rgba(7, 11, 20, .04); box-shadow: 0 1px 0 var(--encre); }
.at-champ input:user-invalid, .at-champ textarea:user-invalid { border-bottom-color: #e5484d; }
.at-accord { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 28px; font-size: 14.5px; color: rgba(7, 11, 20, .78); }
.at-accord input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--encre); flex: none; }
.at-accord a { color: #3358c7; }
.at-envoi { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.at-lettre .at-btn { --c: var(--encre); color: var(--ivoire); }
.at-lettre .at-btn:hover { background: var(--prusse-3); }
.at-lettre .form-msg { margin: 0; font-size: 15px; color: rgba(7, 11, 20, .8); }
.at-lettre .form-msg.ok { color: #10b981; }
.at-lettre .form-msg.err { color: #e5484d; }
.at-lettre :focus-visible { outline-color: var(--encre); }
.at-lettre .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.at-aside { display: grid; gap: 36px; }
.at-aside h2 { font: 500 22px/1.1 var(--serif) !important; color: var(--or) !important; margin-bottom: 12px !important; }
.at-aside .at-mail { font: 500 clamp(26px, 2.4vw, 34px)/1.1 var(--serif); color: var(--ivoire); word-break: break-word; }
.at-aside .at-points { margin: 0; grid-template-columns: 1fr; }
.at-signup-done { padding: 12px 0; }
@media (max-width: 960px) { .at-contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .at-champs { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ texte long (mentions légales) */
.at-prose { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.at-prose-som { position: sticky; top: 110px; display: grid; gap: 0; }
.at-prose-som a { padding: 10px 0; border-bottom: 1px solid var(--filet); font: 500 19px/1.2 var(--serif); color: var(--doux); text-decoration: none; }
.at-prose-som a:hover { color: var(--or-pale); }
.at-prose-corps h2 { margin: 56px 0 16px !important; font: 500 clamp(32px, 3vw, 44px)/1 var(--serif) !important; scroll-margin-top: 110px; }
.at-prose-corps h2:first-child { margin-top: 0 !important; }
.at-prose-corps p { max-width: 68ch; color: var(--doux); line-height: 1.75; }
.at-prose-corps p + p { margin-top: 14px; }
.at-prose-corps a { color: var(--or-pale); text-underline-offset: 4px; }
.at-a-completer { display: inline-block; margin: 2px 0; padding: 2px 8px; font-size: 14.5px; color: var(--prusse); background: var(--or-pale); }
@media (max-width: 860px) { .at-prose { grid-template-columns: 1fr; } .at-prose-som { position: relative; top: 0; } }

/* ------------------------------------------------------------ 404 */
.at-perdu { position: relative; min-height: calc(100svh - 74px); display: grid; place-items: center; overflow: hidden; text-align: center; padding: 64px 0; }
.at-perdu-fond { position: absolute; inset: 0; }
.at-perdu-fond img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.at-perdu-fond::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, transparent 30%, var(--prusse) 100%); }
.at-perdu .wrap { position: relative; display: grid; justify-items: center; }
.at-perdu-code { font: 500 clamp(110px, 22vw, 300px)/.8 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--or); letter-spacing: -.04em; }
.at-perdu h1 { margin-top: 18px !important; }
.at-perdu .at-chapo { margin: 20px auto 36px; }
.at-perdu .at-actions { justify-content: center; }

/* ------------------------------------------------------------ pied de page */
body.atlas .site-footer { position: relative; z-index: 5; margin-top: 0; background: var(--nuit); border-top: 0; overflow: hidden; }
.at-pied-haut { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.at-pied-haut .at-astrolabe { width: 560px; right: -160px; top: -120px; opacity: .1; }
.at-pied-grille { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); }
.at-pied-devise { font: 500 clamp(32px, 3.4vw, 48px)/1.02 var(--serif); color: var(--ivoire); max-width: 14ch; }
.at-pied-devise em { color: var(--or-pale); }
.at-pied-grille .brand { margin-bottom: 26px; }
.at-pied-grille h2 { margin-bottom: 18px !important; font: 500 20px/1 var(--serif) !important; color: var(--or) !important; }
.at-pied-grille ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.at-pied-grille ul a { color: var(--doux); text-decoration: none; font-size: 15px; transition: color .25s; }
.at-pied-grille ul a:hover { color: var(--or-pale); }
.at-pied-marque { position: relative; margin-top: clamp(48px, 6vw, 80px); font: 500 clamp(64px, 17.5vw, 270px)/.78 var(--serif); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(77, 124, 255, .45); white-space: nowrap; text-align: center; user-select: none; }
.at-pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 28px; border-top: 1px solid var(--filet); font-size: 13.5px; color: var(--discret); }
.at-pied-bas a { color: var(--doux); text-decoration: none; }
.at-pied-bas a:hover { color: var(--or-pale); }
@media (max-width: 900px) { .at-pied-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } .at-pied-grille > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .at-pied-grille { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ apparitions (une seule chorégraphie : on grave) */
.js-grave .at-rv { opacity: 0; translate: 0 24px; transition: opacity 1s var(--sortie) var(--d, 0s), translate 1.2s var(--sortie) var(--d, 0s); }
.js-grave .at-rv.grave { opacity: 1; translate: 0 0; }
.js-grave .at-planche.at-rv .at-planche-cadre { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--bascule) calc(var(--d, 0s) + .15s); }
.js-grave .at-planche.at-rv.grave .at-planche-cadre { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .at-astrolabe--tourne { animation: none; }
  .js-grave .at-rv, .js-grave .at-planche.at-rv .at-planche-cadre { opacity: 1; translate: none; clip-path: none; transition: none; }
  .js-grave [data-grave] .at-embleme use { stroke-dashoffset: 0; transition: none; }
  .js-grave .at-orbite:not(.grave)::before { transform: none; }
  .at-btn::before { display: none; }
  .at-planche:hover .at-planche-cadre img, .at-index-img img { scale: 1; }
  .at-q[open] .at-q-rep { animation: none; }
}

/* ------------------------------------------------------------ petits écrans */
@media (max-width: 420px) {
  body.atlas { font-size: 16px; }
  body.atlas .brand { letter-spacing: .16em; font-size: 17px; gap: 10px; }
  body.atlas .brand img { width: 38px; height: 38px; }
  .at-btn { padding: 0 20px; }
}


/* =====================================================================
   3. Charte pro : sobriété (pas de gravure, pas d'ornement, angles droits, aucun halo)
   ===================================================================== */
body.atlas { --vert: #10b981; --degrade: linear-gradient(90deg, #4d7cff, #10b981); font-size: 16px; }
body.atlas::before { background: radial-gradient(1200px 700px at 85% -20%, rgba(77, 124, 255, .07), transparent 70%); }
body.atlas h1, body.atlas h2, body.atlas h3, body.atlas h4 { font-family: var(--sans); font-weight: 500; letter-spacing: -.02em; }
body.atlas ::selection { background: var(--or); color: #fff; }
.at-astrolabe, .at-coins, .at-pied-marque, .at-filet, .at-voie-ou,
.at-index-em, .at-offre-em, .at-voie-em, .at-valeur-em, .at-chapitre-em { display: none !important; }
.at-planche::before, .at-cartouche::before, .at-charte::before, .at-lettre::before, .at-planche-cadre::after, body.atlas .site-header::after { display: none; }
/* gravures retirées des pages : le texte prend toute la place */
.at-front .at-planche, .at-offre-visuel, .at-aside .at-planche, .at-recit .at-planche { display: none; }
.at-front .wrap { grid-template-columns: minmax(0, 1fr) !important; }
.at-offre { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.at-titre-xl { font: 500 clamp(40px, 5.4vw, 76px)/1 var(--sans) !important; letter-spacing: -.035em !important; }
.at-titre-l { font: 500 clamp(34px, 4vw, 56px)/1.02 var(--sans) !important; letter-spacing: -.03em !important; }
.at-titre-m { font: 500 clamp(26px, 2.6vw, 36px)/1.08 var(--sans) !important; }
.at-titre-xl em, .at-titre-l em { font-style: normal; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.at-offre h2, .at-voie h2, .at-valeur h2, .at-faq-groupe > h2, .at-cartouche h2, .at-cas-carte h3, .at-prose-corps h2 { font-weight: 500 !important; letter-spacing: -.03em !important; }
.at-offre .at-accroche, .at-cas-quoi, .at-legende, .at-note { font-style: normal; }
.at-offre h3 { font: 600 13px/1 var(--sans) !important; letter-spacing: .08em !important; text-transform: uppercase; color: var(--vert) !important; }
.at-section--ivoire { background: var(--prusse-2); color: var(--ivoire); }
body.atlas .at-section--ivoire h2, body.atlas .at-section--ivoire h3 { color: var(--ivoire); }
.at-section--ivoire .at-chapo, .at-section--ivoire .at-texte { color: var(--doux); }
.at-section--ivoire .at-points li { color: var(--ivoire); border-color: var(--filet); }
.at-section--ivoire .at-btn { --c: var(--or); color: #fff; }
.at-section--ivoire .at-fleche, .at-section--ivoire .at-lien { color: var(--or-pale); }
.at-orbite li::before { font: 500 40px/1 var(--sans); content: "0" counter(etape); color: var(--or); }
.at-orbite li::after { border-radius: 0; box-shadow: none; background: var(--vert); }
.at-section--ivoire .at-orbite li::before { color: var(--or); }

/* boutons : rectangles nets, sans reflet */
.at-btn { clip-path: none; border-radius: 0; color: #fff; font-weight: 600; min-height: 48px; }
.at-btn::before { display: none; }
.at-btn:hover { background: #3a68ec; border-color: #3a68ec; }
.at-btn--trait { color: var(--ivoire); border: 1px solid var(--filet-fort); }
.at-btn--trait::after { display: none; }
.at-btn--trait:hover { background: rgba(77, 124, 255, .1); border-color: var(--or); }
.at-points li::before, .at-liste li::before { clip-path: none; width: 6px; height: 6px; top: 1.15em; background: var(--vert); }
.at-points li::before { top: 22px; }
.at-etiquettes li { border-radius: 0; color: var(--or-pale); }
.at-planche { padding: 0; border: 1px solid var(--filet); background: none; }
.at-planche-cadre { border: 0; }
.at-q summary i { border-radius: 0; }
.at-exemple { background: rgba(77, 124, 255, .06); }
.at-formule--phare { background: rgba(77, 124, 255, .07); box-shadow: inset 0 0 0 1px var(--or); }
.at-formule--phare .at-formule-badge { color: #fff; }
.at-formule-num { font-size: 40px; }
.at-a-completer { color: #fff; background: var(--or); }

/* en-tête commun */
body.atlas .site-header { background: rgba(7, 11, 20, .88); border-bottom: 1px solid var(--filet); }
body.atlas .site-header .wrap { height: 64px; }
body.atlas .brand { gap: 10px; color: var(--ivoire); font: 600 15px/1 var(--sans); letter-spacing: .14em; }
body.atlas .brand img + span { padding: 0; border: 0; }
body.atlas .brand b { color: var(--vert); margin: 0 .3em 0 .1em; }
body.atlas .brand img { width: 26px; height: 26px; }
body.atlas .nav a { font: 500 14px/1 var(--sans); }
body.atlas .nav a:hover { color: var(--ivoire); }
body.atlas .nav a::after, body.atlas .nav a[aria-current="page"]::after { clip-path: none; width: 16px; height: 2px; bottom: 2px; background: var(--degrade); }
body.atlas .header-login:hover { color: var(--ivoire); }
body.atlas .menu-btn { border-color: var(--filet-fort); color: var(--ivoire); }
.at-sous-nav { top: 64px; }
@media (max-width: 1080px) {
  body.atlas .site-header.open .nav { top: 64px; max-height: calc(100svh - 64px); box-shadow: none; }
  body.atlas .site-header.open .nav a { font: 500 22px/1.1 var(--sans); border-bottom-color: var(--filet); }
  body.atlas .site-header.open .nav .nav-login { color: #fff; }
}

/* contact : formulaire sombre */
.at-lettre { background: var(--prusse-2); color: var(--ivoire); border: 1px solid var(--filet); }
.at-lettre h2 { color: var(--ivoire) !important; font-family: var(--sans) !important; font-weight: 500 !important; }
.at-lettre .at-chapo { color: var(--doux); }
.at-champ label { font: 500 13px/1.2 var(--sans); letter-spacing: .04em; color: var(--doux); }
.at-champ label em { color: var(--vert); }
.at-champ input, .at-champ select, .at-champ textarea { color: var(--ivoire); border-bottom-color: var(--filet-fort); font-size: 16px; }
.at-champ select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a9c0ff' stroke-width='1.2'/%3E%3C/svg%3E"); }
.at-champ select option { background: #0c1322; color: #e9eef7; }
.at-champ input::placeholder, .at-champ textarea::placeholder { color: rgba(233, 238, 247, .35); }
.at-champ input:focus, .at-champ select:focus, .at-champ textarea:focus { border-bottom-color: var(--or); background: rgba(77, 124, 255, .05); box-shadow: 0 1px 0 var(--or); }
.at-champ textarea { min-height: 110px; }
.at-accord { color: var(--doux); }
.at-accord input { accent-color: var(--or); }
.at-accord a { color: var(--or-pale); }
.at-lettre .at-btn { --c: var(--or); color: #fff; }
.at-lettre .at-btn:hover { background: #3a68ec; }
.at-lettre .form-msg { color: var(--doux); }
.at-lettre .form-msg.ok { color: var(--vert); }
.at-lettre :focus-visible { outline-color: var(--or-pale); }
.at-aside h2 { font: 600 13px/1 var(--sans) !important; letter-spacing: .08em !important; text-transform: uppercase; color: var(--vert) !important; }
.at-aside .at-mail { font: 500 clamp(22px, 2vw, 28px)/1.1 var(--sans); }
.at-charte { background: var(--prusse-2); border-color: var(--filet); }
.at-charte h2 { font: 600 13px/1 var(--sans) !important; letter-spacing: .08em !important; text-transform: uppercase; color: var(--vert) !important; }
.at-charte dd { font: 500 18px/1 var(--sans); }
.at-lettrine::first-letter { float: none; margin: 0; font: inherit; color: inherit; }
.at-perdu-code { font: 600 clamp(100px, 18vw, 220px)/.8 var(--sans); -webkit-text-stroke: 0; color: transparent; background: var(--degrade); -webkit-background-clip: text; background-clip: text; }
.at-perdu-fond { display: none; }

/* pied de page sobre */
.at-pied-haut { padding: 48px 0 32px; }
.at-pied-devise { font: 500 22px/1.2 var(--sans); max-width: 22ch; }
.at-pied-grille h2 { font: 600 12px/1 var(--sans) !important; letter-spacing: .1em !important; text-transform: uppercase; color: var(--vert) !important; }
.at-pied-grille ul a:hover, .at-pied-bas a:hover, .at-fil a:hover, .at-sous-nav a:hover, .at-faq-som a:hover, .at-faq-som a.ici, .at-prose-som a:hover { color: var(--ivoire); }
.at-faq-som a, .at-prose-som a { font: 500 17px/1.2 var(--sans); }
.at-q summary { font: 500 clamp(17px, 1.4vw, 20px)/1.3 var(--sans); }
.at-table thead th { font: 500 20px/1.1 var(--sans); }
.at-table caption { font: 600 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--vert); }

/* apparitions : un simple fondu */
.js-grave .at-rv { translate: 0 12px; }
.js-grave .at-planche.at-rv .at-planche-cadre { clip-path: none; }
