/* Design « une page » (11/10, dessin de Jimmy), commun à Primobat et Reflex Pro (body.une), chargé après site.css.
   Une seule couleur d'accent (--ac) : orange pour Primobat (body.pb, blanc / orange / noir), bleu pour Reflex Pro (body.rx, sa charte bleue + orange). */
body.pb {
  --cream: #FFFFFF; --ink: #0B0B0B; --ink-2: #0B0B0B; --gray: #5F5F5F;
  --orange: #FC8228; --ac: #FC8228; --ac-d: #D9650F; --ac-rgb: 252, 130, 40;
  --blue: #FC8228; --blue-d: #D9650F; --navy: #0B0B0B; --blue-l: #FFB27A; --blue-rgb: 252, 130, 40;
  --b50: rgba(var(--ac-rgb), .5); --b20: rgba(var(--ac-rgb), .22); --b12: rgba(var(--ac-rgb), .12);
  --line: #ECEAE6; --fond: #F7F6F3;
  --sl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M5 11 Q 100 3 195 9' fill='none' stroke='%23FC8228' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
  --sl-l: var(--sl);
  background: #fff;
}
/* Reflex Pro : mêmes composants, couleurs de Reflex Pro (bleu du logo, touche orange) */
body.rx.une { --ac: #0882D8; --ac-d: #0667B0; --ac-rgb: 8, 130, 216; --orange: #FC8228; --fond: #F3F7FB; --cream: #FFFFFF; background: #fff; }
.une .btn-or { background: var(--ac); color: #fff; }
.une .btn-or::after { border-color: rgba(255, 255, 255, .55); }
.une .lead b { font-weight: 600; }

/* ---------- 1. héros ---------- */
.pb-hero { position: relative; overflow: hidden; padding: 112px 0 18px; text-align: center; background: #fff; }
.pb-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 46% at 12% 8%, rgba(var(--ac-rgb), .13), transparent 70%), radial-gradient(48% 40% at 92% 30%, rgba(var(--ac-rgb), .09), transparent 70%),
    linear-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(0, 0, 0, .035) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 85%); mask-image: linear-gradient(180deg, #000 30%, transparent 85%); }
.pb-hero-in { position: relative; z-index: 1; }
/* retours du 13/10 : titre ramené à la taille des titres de section (un peu plus grand), sur une ligne sur ordinateur, puis 2 lignes centrées */
.pb-h1 { font: 700 clamp(30px, 7.6vw, 60px)/1.08 var(--display); letter-spacing: -.06em; text-wrap: balance; }
@media (min-width: 900px) { .pb-h1 { white-space: nowrap; } }
.pb-l2 { margin-top: 12px; font: 700 clamp(22px, 3.6vw, 34px)/1.15 var(--display); letter-spacing: -.05em; color: var(--ink); text-wrap: balance; }
.pb-l3 { max-width: 640px; margin: 8px auto 0; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.4; letter-spacing: -.02em; color: var(--gray); text-wrap: balance; }
.pb-film { margin: 46px auto 0; text-align: left; }
.une .pb-film.film-z { width: 100%; max-width: none; }
.pb-film::before { border-color: rgba(var(--ac-rgb), .55); }
.une .film-z .film-bar span { color: #777; }
/* 3. film et bulle du temps. Note de Mehdi du 14/10 (référence : le film de zelystudio.fr) : film un peu réduit, temps de lecture
   sur fond noir. 14/10 après-midi : plus de bulles blanches flottantes sur le film (« Devis gratuit », « Tarifs compétitifs »,
   « 5 étoiles ») : seul le temps (noir) reste, fixe, accroché au coin bas gauche du cadre, sous l'image (jamais dessus). */
.une .pb-film.film-z { width: min(1000px, 100%); }
.fb { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; height: 48px; white-space: nowrap; pointer-events: none; }
.fb-bg { left: -28px; bottom: -42px; padding: 0 18px 0 12px; border-radius: 16px; background: #0B0B0B; color: #fff; font: 600 16px var(--num); letter-spacing: -.03em; font-variant-numeric: tabular-nums; box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .45); }
.fb-bg > svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--ac); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.fb-bg i { font-style: normal; color: rgba(255, 255, 255, .45); } .fb-bg [data-duree] { color: #FFB27A; }
@media (max-width: 1099px) { .fb-bg { left: -10px; } }
@media (max-width: 640px) { .fb { height: 36px; gap: 7px; font-size: 13.5px; } .fb-bg { left: -4px; bottom: -32px; padding: 0 12px 0 9px; border-radius: 12px; } .fb-bg > svg { width: 16px; height: 16px; } }
@media (min-width: 1360px) { .fb { height: 50px; font-size: 19px; } }

/* écran du film : affiche dessinée par Jimmy (texte à gauche, bouton de lecture rond à droite), la vidéo se lance au clic */
.ecran { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #0B0B0B; container-type: inline-size; }
.ecran video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.affiche { position: absolute; inset: 0; width: 100%; height: 100%; display: block; text-align: left; color: #fff; cursor: pointer; overflow: hidden;
  background: radial-gradient(50% 70% at 78% 55%, rgba(var(--ac-rgb), .32), transparent 70%), radial-gradient(40% 50% at 8% 100%, rgba(var(--ac-rgb), .14), transparent 70%), #0B0B0B; }
.affiche::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 4cqw 4cqw, linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 4cqw 4cqw;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent); mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent); }
.af-texte { position: absolute; left: 6.5cqw; top: 9cqw; }
.af-projet { display: flex; align-items: center; gap: 1cqw; font: 700 6.6cqw/1 var(--display); letter-spacing: -.06em; }
.ampoule { width: 7.4cqw; height: 7.4cqw; fill: none; stroke: var(--ac); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ampoule text { fill: var(--ac); stroke: none; font: 800 15px var(--display); }
.af-mots { display: flex; flex-direction: column; margin-top: 2.4cqw; font: 800 6.4cqw/1.04 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.af-mots span { color: rgba(255, 255, 255, .9); }
.af-fleche { position: absolute; left: 6cqw; top: 33cqw; width: 60cqw; height: 20cqw; overflow: visible; fill: none; stroke: var(--ac); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.af-spot { position: absolute; left: 76%; top: 45%; width: 27cqw; height: 27cqw; transform: translate(-50%, -50%); }
.af-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .85); }
.af-ripple { position: absolute; inset: 22%; border-radius: 50%; border: 4px solid var(--ac); opacity: 0; }
.af-btn { position: absolute; left: 50%; top: 50%; width: 14.5cqw; height: 14.5cqw; margin: -7.25cqw 0 0 -7.25cqw; border-radius: 50%; display: grid; place-items: center; background: var(--ac);
  box-shadow: 0 18px 40px -8px rgba(var(--ac-rgb), .55), 0 0 0 1.4cqw rgba(255, 255, 255, .1); transition: transform .45s var(--spring); }
.af-btn svg { width: 34%; height: 34%; margin-left: 6%; fill: #fff; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; }
.affiche:hover .af-btn, .affiche:focus-visible .af-btn { transform: scale(1.08); }
.affiche:focus-visible { outline: 3px solid var(--ac); outline-offset: -6px; border-radius: 16px; }
.af-pill { position: absolute; padding: .5cqw 1.4cqw; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 500 max(11px, 1.55cqw) var(--display); letter-spacing: -.02em; white-space: nowrap; color: rgba(255, 255, 255, .92); }
.af-pill.p1 { left: -14%; top: 8%; } .af-pill.p2 { right: -22%; top: 26%; } .af-pill.p3 { left: -20%; bottom: 14%; }
.af-lire { position: absolute; left: 76%; top: calc(45% + 14.6cqw); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: max(32px, 4.1cqw); padding: 0 max(12px, 1.6cqw);
  border-radius: 99px; background: #fff; color: var(--ink); white-space: nowrap; font: 600 max(12px, 1.5cqw) var(--display); letter-spacing: -.02em; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.af-lire svg { width: max(15px, 1.8cqw); height: max(15px, 1.8cqw); fill: none; stroke: var(--ac); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* durée dans l'affiche (page Reflex Pro ; sur Primobat elle est dans la bulle du cadre) */
.af-duree { position: absolute; left: 2.4cqw; bottom: 2.4cqw; padding: 5px 11px; border-radius: 8px; background: rgba(255, 255, 255, .12); color: #fff; font: 700 max(11px, 1.4cqw) var(--num); font-variant-numeric: tabular-nums; }
@container (max-width: 560px) { .af-pill { display: none; } .af-lire { top: calc(45% + 15cqw); } .af-fleche { stroke-width: 2.4; } }
@media (prefers-reduced-motion: no-preference) {
  .af-ring { animation: tourne 22s linear infinite; }
  .af-ripple { animation: af-onde 3.6s var(--ease) 1.2s infinite; }
  .af-btn { animation: af-souffle 3.2s ease-in-out 2s infinite; }
  .af-fleche path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: af-trace 1.1s var(--ease) .6s forwards; }
  .af-fleche .pointe { stroke-dasharray: 80; stroke-dashoffset: 80; animation-delay: 1.5s; animation-duration: .4s; }
  .af-mots span { animation: af-mot 4.2s infinite; } .af-mots span:nth-child(2) { animation-delay: 1.4s; } .af-mots span:nth-child(3) { animation-delay: 2.8s; }
  .ampoule .halo { animation: af-halo 2.4s ease-in-out infinite; }
  .af-pill { animation: flotte-c 5s ease-in-out infinite; } .af-pill.p2 { animation-delay: -1.7s; } .af-pill.p3 { animation-delay: -3.3s; }
}
@keyframes af-onde { 0% { opacity: 0; transform: scale(.7); } 12% { opacity: .9; } 70%, 100% { opacity: 0; transform: scale(1.75); } }
@keyframes af-souffle { 0%, 100% { scale: 1; } 50% { scale: 1.05; } }
@keyframes af-trace { to { stroke-dashoffset: 0; } }
@keyframes af-mot { 0%, 30%, 100% { color: rgba(255, 255, 255, .9); } 6%, 26% { color: var(--ac); } }
@keyframes af-halo { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes flotte-c { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.ecran.lecture .affiche { display: none; }

/* 13/10 : affiche claire de Jimmy (écran d'attente de ses films du 11 et du 13/10) : fond blanc quadrillé, halo orange,
   mot actif en orange décalé avec un point, pastilles blanches. Primobat seulement (Reflex Pro garde l'affiche sombre). */
body.pb .ecran { background: #FCFCFB; }
body.pb .affiche { color: var(--ink);
  background: radial-gradient(30% 48% at 76% 45%, rgba(var(--ac-rgb), .2), transparent 72%), radial-gradient(42% 46% at 0% 100%, rgba(var(--ac-rgb), .1), transparent 70%), #FCFCFB; }
body.pb .affiche::before { background: linear-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px) 0 0 / 5cqw 5cqw, linear-gradient(90deg, rgba(0, 0, 0, .045) 1px, transparent 1px) 0 0 / 5cqw 5cqw;
  -webkit-mask-image: radial-gradient(80% 90% at 60% 45%, #000, transparent); mask-image: radial-gradient(80% 90% at 60% 45%, #000, transparent); }
body.pb .af-mots span { position: relative; color: var(--ink); }
body.pb .af-mots span::before { content: ''; position: absolute; left: -3.4cqw; top: 50%; width: 1cqw; height: 1cqw; margin-top: -.5cqw; border-radius: 50%; background: var(--ac);
  box-shadow: 0 0 1cqw rgba(var(--ac-rgb), .6); opacity: 0; }
body.pb .af-ring { border: 2px dashed rgba(0, 0, 0, .42); }
body.pb .af-btn { background: radial-gradient(circle at 36% 30%, #FFA24A, var(--ac) 55%, var(--ac-d)); box-shadow: 0 0 5cqw 1.2cqw rgba(var(--ac-rgb), .34), 0 1.6cqw 3cqw -1cqw rgba(var(--ac-d-rgb, 217, 101, 15), .5); }
/* 14/10 après-midi : nouvel écran d'attente de Jimmy (vidéo WhatsApp du 14/10) : photo de la villa en chantier → finie,
   bouton rond et bulles par-dessus ; plus de texte « Un projet ? » ni de flèche. */
.af-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.pb .affiche:has(.af-photo) { background: #E9E2D6; }
body.pb .affiche:has(.af-photo)::before { content: none; }
body.pb .affiche:has(.af-photo) .af-ring { border: 2px dashed rgba(255, 255, 255, .85); }
body.pb .affiche:has(.af-photo) .af-pill { background: rgba(255, 255, 255, .62); color: rgba(0, 0, 0, .74); }
/* 14/10 : bulles autour du bouton rond en verre légèrement transparent, sans ombre ni icône : elles font partie de l'affiche
   et ne répètent plus les bulles autour du film (blanches, pleines, avec pastille d'icône) */
body.pb .af-pill { background: rgba(255, 255, 255, .5); border: 1px solid rgba(0, 0, 0, .06); -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2);
  color: rgba(0, 0, 0, .62); font-weight: 500; box-shadow: none; }
body.pb .af-lire { box-shadow: 0 .8cqw 2.4cqw rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .04); font-weight: 700; }
body.pb .af-duree { background: #2E2E2E; }
@media (prefers-reduced-motion: no-preference) {
  body.pb .af-mots span { animation-name: af-mot-c; }
  body.pb .af-mots span::before { animation: af-point 4.2s infinite; } body.pb .af-mots span:nth-child(2)::before { animation-delay: 1.4s; } body.pb .af-mots span:nth-child(3)::before { animation-delay: 2.8s; }
}
@keyframes af-mot-c { 0%, 30%, 100% { color: var(--ink); transform: none; } 6%, 26% { color: var(--ac); transform: translateX(1.3cqw); } }
@keyframes af-point { 0%, 30%, 100% { opacity: 0; transform: scale(.4); } 6%, 26% { opacity: 1; transform: none; } }

/* texte qui défile en transparence (comme sur zelystudio.fr) */
.une .ticker { position: relative; margin: 38px auto 0; height: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
.une .ticker-track { display: flex; align-items: center; width: max-content; height: 100%; animation: pb-ticker 42s linear infinite; }
.une .ticker-track span { display: inline-flex; align-items: center; gap: 8px; padding-right: 50px; font: 500 22px var(--display); letter-spacing: -.05em; color: rgba(0, 0, 0, .3); white-space: nowrap; }
.une .ticker-track svg { width: 22px; height: 22px; color: rgba(0, 0, 0, .25); }
@keyframes pb-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .une .ticker-track { animation: none; } }

/* ---------- 2. bandeau chiffres + devis ---------- */
.pb-bande { position: relative; z-index: 2; margin-top: 10px; }
.pb-bande-in { display: grid; gap: 14px; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .18); }
.une .figs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.une .figs > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--fond); }
.une .figs b { font: 700 26px/1.1 var(--display); letter-spacing: -.05em; }
.une .figs span { font: 400 13px var(--card); color: var(--gray); }
.pb-bande-in .btn { width: 100%; min-height: 56px; }
@media (min-width: 960px) {
  .pb-bande-in { grid-template-columns: 1fr auto; align-items: center; padding: 12px 12px 12px 14px; }
  .une .figs { grid-template-columns: repeat(4, 1fr); }
  .pb-bande-in .btn { width: auto; padding: 0 30px; min-height: 64px; }
}

/* ---------- titres de section ---------- */
.pb-tete { max-width: 760px; margin: 0 auto 26px; text-align: center; }
/* 4. espacements resserrés et harmonisés entre les sections */
.une .sec { padding: 52px 0; }
@media (min-width: 900px) { .une .sec { padding: 68px 0; } }
.pb-tete .lead { margin-top: 12px; font-size: clamp(17px, 1.9vw, 21px); }
.pb-astuce { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px 7px 10px; border-radius: 99px; background: rgba(var(--ac-rgb), .1); color: var(--ac-d); font: 600 14px var(--display); letter-spacing: -.02em; }
.pb-astuce svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. des chantiers à visiter ---------- */
/* 5. fond orange de la marque (bloc arrondi, carrés en dégradé qui flottent, comme la section « univers » de zelystudio.fr) */
.pb-chantiers { width: min(1390px, 100% - 16px); margin: 30px auto 0; overflow: hidden; border-radius: 34px; isolation: isolate;
  background: radial-gradient(60% 55% at 50% 22%, #FFA45C 0%, rgba(255, 164, 92, 0) 70%), linear-gradient(160deg, #FC8228 0%, #F47414 55%, #E2650C 100%); }
.ch-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ch-deco i { position: absolute; width: 300px; aspect-ratio: 1; border-radius: 46px; transform: rotate(var(--r));
  background: linear-gradient(140deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 70%); border: 1px solid rgba(255, 255, 255, .22); }
.ch-deco i:nth-child(1) { left: -110px; top: 40px; --r: -12deg; }
.ch-deco i:nth-child(2) { right: -90px; top: -40px; --r: 14deg; width: 260px; }
.ch-deco i:nth-child(3) { left: 8%; bottom: -150px; --r: 22deg; width: 240px; }
.ch-deco i:nth-child(4) { right: 6%; bottom: 18%; --r: -18deg; width: 160px; border-radius: 30px; }
.ch-deco i:nth-child(5) { left: 34%; top: -70px; --r: 8deg; width: 140px; border-radius: 28px; opacity: .7; }
@media (prefers-reduced-motion: no-preference) { .ch-deco i { animation: ch-flotte 12s ease-in-out infinite; } .ch-deco i:nth-child(2n) { animation-delay: -4s; } .ch-deco i:nth-child(3n) { animation-delay: -8s; } }
@keyframes ch-flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.pb-chantiers .h2 { color: var(--ink); }
.pb-chantiers .sl { --sl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M5 11 Q 100 3 195 9' fill='none' stroke='%23FFFFFF' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pb-chantiers .lead { color: rgba(11, 11, 11, .78); }
.pb-chantiers .pb-astuce { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .3); }
.pb-chantiers .pb-astuce svg { color: var(--ac-d); }
/* 6. composition asymétrique : grandes, moyennes et petites tuiles, en décalé */
.ch-grille { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; grid-auto-flow: dense; }
.ch { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 20px; background: #0B0B0B; color: #fff; text-align: left; isolation: isolate; box-shadow: 0 16px 34px -18px rgba(70, 25, 0, .55); }
.ch-construction { grid-column: span 2; grid-row: span 2; } .ch-urgence { grid-column: span 2; }
.ch-vis, .ch-vis picture, .ch-vis img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ch-vis img { object-fit: cover; transition: transform 1s var(--ease); }
.ch:hover .ch-vis img, .ch:focus-visible .ch-vis img { transform: scale(1.06); }
.ch::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .72)); pointer-events: none; }
.ch-bas { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; }
.ch-bas b { font: 700 clamp(20px, 2.3vw, 28px)/1.05 var(--display); letter-spacing: -.05em; text-transform: uppercase; }
.ch-bas small { grid-column: 1; font: 400 13.5px var(--card); color: rgba(255, 255, 255, .78); }
.ch-go { grid-column: 2; grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ac); color: #fff; transition: transform .45s var(--spring); }
.ch-go .i { width: 15px; height: 15px; }
.ch:hover .ch-go, .ch:focus-visible .ch-go { transform: rotate(45deg) scale(1.08); }
.ch:focus-visible { outline: 3px solid var(--ac); outline-offset: 3px; }
/* catégories sans photo : illustration animée (en attendant les photos de Jimmy) */
.ill { position: absolute; left: 50%; top: 44%; width: min(78%, 380px); height: auto; transform: translate(-50%, -50%); overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ch-photovoltaique, .ch-urgence { background: radial-gradient(70% 80% at 70% 30%, rgba(var(--ac-rgb), .3), transparent 70%), #0B0B0B; }
.ill-sol .soleil circle { fill: var(--ac); }
.ill-sol .rayons path { stroke: var(--ac); stroke-width: 5; }
.ill-sol .panneau path { stroke: rgba(255, 255, 255, .85); stroke-width: 3; }
.ill-sol .panneau .cadre { fill: rgba(255, 255, 255, .06); }
.ill-sol .reflet { fill: rgba(255, 255, 255, .22); stroke: none !important; }
.ill-sol .pied { stroke: rgba(255, 255, 255, .5); stroke-width: 3; }
.ill-urg .tel { stroke: rgba(255, 255, 255, .85); stroke-width: 3.5; fill: rgba(255, 255, 255, .05); }
.ill-urg .ecr { fill: rgba(var(--ac-rgb), .16); stroke: none; }
.ill-urg .bt { fill: rgba(255, 255, 255, .7); }
.ill-urg .ondes path { stroke: var(--ac); stroke-width: 5; }
.ill-urg .cle path { fill: var(--ac); stroke: #0B0B0B; stroke-width: 3; }
.ill-urg text { fill: #fff; stroke: none; font: 800 22px var(--display); letter-spacing: -.04em; }
@media (prefers-reduced-motion: no-preference) {
  .ill-sol .rayons { transform-origin: 250px 52px; animation: tourne 16s linear infinite; }
  .ill-sol .reflet { animation: pb-reflet 3.6s var(--ease) infinite; }
  .ill-urg .ondes path { animation: pb-onde 1.8s ease-out infinite; } .ill-urg .ondes path:nth-child(2) { animation-delay: .3s; }
  .ill-urg .cle { transform-origin: 98px 128px; animation: pb-cle 2.8s ease-in-out infinite; }
}
@keyframes pb-reflet { 0% { transform: translateX(-30px); opacity: 0; } 20% { opacity: 1; } 60%, 100% { transform: translateX(150px); opacity: 0; } }
@keyframes pb-onde { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pb-cle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
/* petites tuiles sur téléphone : titre sur toute la largeur (la tuile entière est cliquable), pas de mot coupé */
@media (max-width: 699px) {
  .ch:not(.ch-construction):not(.ch-urgence) .ch-bas { left: 12px; right: 12px; bottom: 11px; top: 11px; grid-template-columns: 1fr; align-content: end; }
  .ch:not(.ch-construction):not(.ch-urgence) .ch-bas b { font-size: 14px; letter-spacing: -.04em; }
  .ch:not(.ch-construction):not(.ch-urgence) .ch-bas small { font-size: 11.5px; line-height: 1.3; }
  .ch:not(.ch-construction):not(.ch-urgence) .ch-go { position: absolute; grid-area: auto; right: 0; bottom: auto; top: 0; width: 32px; height: 32px; }
  .ch-photovoltaique .ill { top: 44%; left: 42%; width: 64%; }
  /* 18/10 : intervention d'urgence, l'illustration passe en haut à droite (plus sous le titre) */
  .ch-urgence .ill { left: auto; right: 14px; top: 10px; width: 36%; transform: none; }
  .ch-urgence .ch-bas small { line-height: 1.3; }
  .ch:not(.ch-construction):not(.ch-urgence) .ch-go .i { width: 12px; height: 12px; }
}
@media (min-width: 700px) {
  .ch-grille { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(170px, 22vw, 210px); gap: 14px; }
  .ch { grid-column: span 2; grid-row: auto; }
  .ch-construction { grid-column: 1 / span 4; grid-row: span 2; } .ch-renovation, .ch-piscine { grid-column: 5 / span 2; }
  .ch-urgence { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .ch-grille { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(190px, 17vw, 250px); gap: 16px; }
  .ch-construction { grid-column: 1 / span 7; grid-row: span 2; } .ch-renovation, .ch-piscine { grid-column: 8 / span 5; }
  .ch-photovoltaique { grid-column: span 4; } .ch-urgence { grid-column: span 5; } .ch-exterieurs { grid-column: span 3; }
}

/* diaporama */
.diapo { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 12px; background: rgba(8, 8, 8, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.diapo.on { opacity: 1; }
.diapo-in { width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.diapo-h { display: flex; align-items: center; gap: 12px; }
.diapo-t { font: 700 clamp(20px, 2.6vw, 28px) var(--display); letter-spacing: -.05em; text-transform: uppercase; }
.diapo-n { color: rgba(255, 255, 255, .6); font: 600 14px var(--num); }
.diapo-x { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1; }
.diapo-x:hover { background: rgba(255, 255, 255, .22); }
.diapo-scene { position: relative; aspect-ratio: 3 / 2; max-height: 68svh; width: 100%; overflow: hidden; border-radius: 18px; background: #000; touch-action: pan-y; }
.diapo-f { position: absolute; inset: 0; margin: 0; }
.diapo-f img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s var(--ease); }
.diapo-f figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(0, 0, 0, .6); font: 500 14px var(--card); }
.diapo-p, .diapo-s { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.diapo-p { left: 12px; } .diapo-s { right: 12px; }
.diapo-p svg, .diapo-s svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.diapo-vide { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center;
  background: radial-gradient(70% 80% at 70% 30%, rgba(var(--ac-rgb), .3), transparent 70%), #0B0B0B; }
.diapo-vide .dv-ill { position: relative; width: min(70%, 380px); aspect-ratio: 320 / 200; }
.diapo-vide .dv-ill .ill { top: 50%; width: 100%; }
.diapo-vide p { max-width: 460px; font-size: 16px; color: rgba(255, 255, 255, .8); }
.diapo-vide p b { display: block; color: #fff; font: 600 20px var(--display); letter-spacing: -.04em; }
.diapo.vide .diapo-vide { display: flex; } .diapo.vide .diapo-f, .diapo.vide .diapo-p, .diapo.vide .diapo-s, .diapo.vide .diapo-mini, .diapo.une .diapo-p, .diapo.une .diapo-s { display: none; }
.diapo-mini { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.diapo-mini button { flex: none; width: 76px; height: 52px; border-radius: 10px; overflow: hidden; opacity: .45; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s; }
.diapo-mini button.on { opacity: 1; outline-color: var(--ac); }
.diapo-mini img { width: 100%; height: 100%; object-fit: cover; }
.diapo-rdv { align-self: center; }

/* ---------- 4. notre amitié commence ici ---------- */
.ami-carte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px 16px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .3); }
.ami-g { display: flex; flex-direction: column; align-items: center; text-align: center; }
.une .ami-g .orbit { margin-bottom: 18px; }
.une .orbit .dot { background: #fff; }
.ami-t { max-width: 360px; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; color: var(--gray); }
.ami-t b { display: block; color: var(--ink); font: 700 24px var(--display); letter-spacing: -.05em; margin-bottom: 2px; }
.ami-google { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--fond); font-size: 14px; color: var(--gray); }
.ami-google .g { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 800 15px var(--display); }
.ami-google .st { color: var(--ac); letter-spacing: 1px; }
.ami-google b { color: var(--ink); font: 700 15px var(--num); }
.une .ami-form { background: var(--fond); border: 1px solid var(--line); }
.une .done .btn { margin-top: 16px; }
@media (min-width: 960px) {
  .ami-carte { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 34px; padding: 34px; }
  .une .ami-form { padding: 26px; }
}

/* ---------- 5. où nous trouver ---------- */
.tr-g { display: grid; gap: 18px; }
.tr-lieu { display: flex; flex-direction: column; gap: 14px; }
.tr-lieu address { font-style: normal; font-size: 19px; line-height: 1.4; letter-spacing: -.02em; }
.tr-lieu address b { display: block; font: 700 26px var(--display); letter-spacing: -.05em; }
.tr-liens { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-photo { position: relative; margin: 0; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 3; background: var(--fond); }
.tr-photo picture, .tr-photo img { width: 100%; height: 100%; object-fit: cover; }
.tr-photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .9); font: 600 13px var(--display); }
.tr-rdv { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px 18px; border-radius: 26px; background: radial-gradient(80% 60% at 90% 0%, rgba(var(--ac-rgb), .28), transparent 70%), #0B0B0B; color: #fff; }
.tr-rdv-t { font: 700 clamp(26px, 3vw, 34px) var(--display); letter-spacing: -.06em; }
.tr-rdv-l { color: rgba(255, 255, 255, .75); font-size: 16px; }
.tr-rdv-b { align-self: flex-start; }
.tr-rdv-n { font-size: 13px; color: rgba(255, 255, 255, .55); }
.tr-rdv.branche .tr-rdv-n { display: none; }
.agenda { position: relative; padding: 14px; border-radius: 18px; background: #fff; color: var(--ink); }
.ag-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font: 700 16px var(--display); letter-spacing: -.03em; text-transform: capitalize; }
.ag-tete i { width: 28px; height: 28px; border-radius: 50%; background: var(--fond); position: relative; }
.ag-tete i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -4px 0 0 -2px; border: solid #999; border-width: 0 0 2px 2px; transform: rotate(45deg); }
.ag-tete i:last-child::after { margin-left: -5px; transform: rotate(-135deg); }
.ag-jours, .ag-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.ag-jours span { font: 600 11px var(--num); color: #999; padding-bottom: 4px; }
.ag-grille span { display: grid; place-items: center; height: 34px; border-radius: 10px; font: 500 13px var(--num); color: #333; }
.ag-grille span.vide { visibility: hidden; }
.ag-grille span.passe { color: #C9C9C9; }
.ag-grille span.ok { background: var(--fond); }
.ag-grille span.choix { position: relative; }
.ag-main { position: absolute; width: 34px; height: 34px; pointer-events: none; opacity: 0; }
.ag-main svg { width: 100%; height: 100%; fill: none; stroke: #0B0B0B; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
.ag-main .p { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .in .ag-main { animation: ag-main 4.4s var(--ease) 1s infinite; }
  .in .ag-grille span.choix { animation: ag-choix 4.4s var(--ease) 1s infinite; }
}
@keyframes ag-main { 0% { opacity: 0; transform: translate(40px, 50px); } 15% { opacity: 1; } 35% { transform: translate(0, 0); } 41% { transform: translate(0, 0) scale(.84); } 48% { transform: translate(0, 0) scale(1); } 80% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(30px, 40px); } }
@keyframes ag-choix { 0%, 40% { background: var(--fond); color: #333; } 42%, 90% { background: var(--ac); color: #fff; } 100% { background: var(--fond); color: #333; } }
@media (min-width: 900px) {
  .tr-g { grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
  .tr-photo { aspect-ratio: auto; flex: 1; min-height: 280px; }
  .tr-rdv { padding: 32px; }
}

/* ---------- 6. questions / réponses ---------- */
.pb-faq { max-width: 860px; margin: 0 auto; }
.une .faq details { background: #fff; }
.une .faq details::after { border-color: var(--line); }
.une .faq details[open]::after { border-color: rgba(var(--ac-rgb), .5); }

/* ---------- pied de page ---------- */
.pb .foot-w { background: linear-gradient(180deg, #fff 0%, rgba(var(--ac-rgb), .22) 100%); }

/* ---------- barre d'actions (dessin de Jimmy) : appeler, demande de devis, bloquer un rendez-vous ---------- */
.actions { position: fixed; z-index: 60; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr 1fr; gap: 6px; padding: 6px; border-radius: 18px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 36px -10px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 0, 0, .05);
  transform: translateY(140%); transition: transform .5s var(--ease); }
.actions.show { transform: none; }
.actions a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; padding: 0 14px; border-radius: 13px; font: 600 14px var(--display); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.actions .i { width: 16px; height: 16px; }
.ac-tel { background: #fff; border: 1px dashed #BDBDBD; }
.ac-tel span { display: none; }
.ac-devis { background: var(--ac); color: #fff; }
.ac-rdv { background: #0B0B0B; color: #fff; }
.ac-rdv .i { display: none; }
@media (min-width: 480px) { .ac-rdv .i { display: inline; } }
@media (max-width: 767px) {
  .actions { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
  .actions a { min-width: 0; overflow: hidden; padding: 0 8px; font-size: clamp(11.5px, 3.3vw, 14px); letter-spacing: -.04em; }
  .ac-tel { width: 46px; padding: 0; }
}
@media (min-width: 768px) {
  .actions { left: 50%; right: auto; bottom: 18px; transform: translate(-50%, 160%); grid-template-columns: auto auto auto; border-radius: 20px; }
  .actions.show { transform: translate(-50%, 0); }
  .actions a { padding: 0 20px; }
  .ac-tel span { display: inline; }
}
.une .mbar { display: none; }
body.une { padding-bottom: 0; }
@media (max-width: 767px) { .une footer { padding-bottom: 130px; } }
/* soulignés orange : celui du titre se trace au chargement */
.js .pb-hero .sl { animation: trait .9s var(--ease) .6s forwards; }
/* pied de page : liens en orange clair (plus de bleu) */
.pb footer .rx-link, .une footer a:hover { color: #FFB27A; }
/* diaporama sur téléphone : le bouton passe à la ligne, rien ne sort de l'écran */
.diapo-in { min-width: 0; }
.diapo-rdv { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-block: 10px; }
/* page d'accès Reflex Pro : même taille de titre que l'accueil Primobat (retours du 13/10) */
.acces-h1 .ln { display: inline; }

/* 14/10 : formulaire de la page Primobat : une seule question visible selon le projet, champ piège invisible, erreur d'envoi */
.ami-form .fl[hidden], .ami-form .note[hidden] { display: none !important; }
.ami-form .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ami-form [data-envoi-erreur] { color: #B42318; font-weight: 600; }
.ami-form .tiles small { text-wrap: balance; }

/* 14/10 : bouton « Espace client » du menu (vers l'espace de l'application : Primobat ou Reflex Pro) */
.nav-esp { display: none; gap: 7px; align-items: center; }
.nav-esp .i { width: 15px; height: 15px; }
@media (min-width: 1100px) { .nav-esp { display: inline-flex; min-height: 44px; } }
/* 18/10 : page « À propos » (texte long lisible, charte Primobat inchangée) */
.ap-intro { max-width: 760px; margin: 14px auto 0; }
.ap-sec { padding-top: 40px; }
.ap-texte { max-width: 780px; margin: 0 auto; }
.ap-texte .h2 { margin: 38px 0 12px; }
.ap-texte .h2:first-child { margin-top: 0; }
.ap-texte p { font-size: 17px; line-height: 1.7; margin: 0 0 6px; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.ap-centre { justify-content: center; }

/* ---------- 18/10 page Piscines ---------- */
.pp-photo { margin: 30px auto 0; max-width: 1120px; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .35); }
.pp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pp-sec { padding-top: 40px; }
.pp-duo, .pp-trio { display: grid; gap: 14px; max-width: 1120px; margin: 0 auto; }
.pp-carte { padding: 24px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pp-carte h3 { margin: 0 0 8px; font: 700 22px/1.2 var(--display); letter-spacing: -.04em; color: var(--ink); }
.pp-carte p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--gray); }
.pp-mosaic { max-width: 1120px; margin: 0 auto; }
@media (min-width: 760px) { .pp-duo { grid-template-columns: 1fr 1fr; } .pp-carte { padding: 30px 28px; } }
@media (min-width: 960px) { .pp-trio { grid-template-columns: repeat(3, 1fr); } }

/* 18/10 (iPhone, Safari dessine la police plus large que Chrome) : la carte « Notre amitié » ne s'élargit plus avec son contenu
   (« Photovoltaïque » imposait sa largeur à la grille, le contenu dépassait la carte et la page glissait sur le côté) */
html { overflow-x: clip; }
.ami-form .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ami-form .tiles span { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 380px) { .ami-form .tiles span { font-size: 14px; padding: 11px 10px; } }

/* 18/10 (SEO) : liens vers les pages métiers (accueil, sous les chantiers ; pages métiers, avant le formulaire), en pastilles de 40 px (cible tactile) */
.ch-metiers, .pp-liens { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 18px auto 0; font: 500 15px var(--card); }
.pp-liens { margin: 0 auto 8px; color: var(--gray); }
.ch-metiers { color: rgba(11, 11, 11, .78); }
.ch-metiers a, .pp-liens a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.ch-metiers a:hover, .pp-liens a:hover { border-color: var(--ac); color: var(--ac-d); }

/* 18/10 : le menu ordinateur ne tenait pas dans sa barre (le bouton d'appel sortait de l'écran à 1 440 px depuis l'ajout d'« Espace client ») :
   liens visibles dès 1 360 px dans une barre plus large ; entre 1 100 et 1 359 px, le bouton menu les remplace */
@media (min-width: 1100px) and (max-width: 1359px) { .pb .nav-links { display: none; } .pb .nav-burger { display: grid; } .pb .nav .sp { display: block; } }
@media (min-width: 1360px) { .pb .nav { width: min(1280px, calc(100% - 40px)); } }

/* 19/10 (appel Jimmy + croquis) : « Espace réservé aux ambassadeurs », deux portes avec photo (particulier, professionnel premium) */
.amb-msg { max-width: 760px; margin: 18px auto 0; }
.amb-portes { display: grid; gap: 16px; max-width: 1060px; margin: 26px auto 0; text-align: left; }
@media (min-width: 820px) { .amb-portes { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.amb-porte { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .35); }
.amb-photo { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.amb-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.amb-badge { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 99px; background: linear-gradient(135deg, #E9C46A, #C9A24A); color: #1A1406; font: 700 12px var(--display); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.amb-corps { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px 20px 22px; }
.amb-qui { margin: 0; font: 700 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ac-d, #0667B0); }
.amb-corps h2 { margin: 0; font: 700 21px/1.2 var(--display); letter-spacing: -.03em; color: var(--ink); }
.amb-liste { margin: 2px 0 6px; padding-left: 18px; color: var(--gray); font-size: 15px; line-height: 1.6; }
.amb-code { margin-top: auto; display: grid; gap: 10px; }
.amb-code .btn { width: 100%; min-height: 50px; }
.amb-premium { background: #0B0B0B; border-color: #0B0B0B; color: #fff; }
.amb-premium .amb-qui { color: #E9C46A; }
.amb-premium .amb-corps h2 { color: #fff; }
.amb-premium .amb-liste { color: rgba(255, 255, 255, .78); }
.amb-premium .fl span { color: rgba(255, 255, 255, .8); }
.amb-note { max-width: 760px; margin: 18px auto 0; }
/* espace des pros : « Devenir ambassadeur » à la place du formulaire de recommandation */
.amb-rejoindre { display: flex; flex-direction: column; gap: 14px; }
.amb-etapes { list-style: none; counter-reset: e; margin: 4px 0 4px; padding: 0; display: grid; gap: 12px; }
.amb-etapes li { counter-increment: e; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: start; }
.amb-etapes li::before { content: counter(e); grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ac, #0882D8); color: #fff; font: 700 15px var(--display); }
.amb-etapes b { font: 700 16px var(--display); letter-spacing: -.02em; color: var(--ink); }
.amb-etapes span { color: var(--gray); font-size: 14.5px; line-height: 1.5; }
.amb-btn { width: 100%; min-height: 52px; justify-content: center; }
/* 19/10 : pages Reflex Pro, deux boutons « Espace ambassadeur » + « Espace pro » : la barre s'élargit, les liens texte cèdent la place avant 1 360 px */
@media (min-width: 1100px) and (max-width: 1359px) { .rx .nav-links { display: none; } .rx .nav .sp { display: block; } }
@media (min-width: 1360px) { .rx .nav { width: min(1280px, calc(100% - 40px)); } }

/* 19/10 (appel Jimmy) : formulaire « Devenir ambassadeur » des pages Reflex Pro */
.amb-f { display: flex; flex-direction: column; }
.amb-f .fl { margin-bottom: 12px; }
.amb-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
@media (max-width: 420px) { .amb-duo { grid-template-columns: 1fr; } }
/* case à cocher dessinée (22 px) dans une zone de 40 px, pour le doigt */
.amb-coche { display: grid; grid-template-columns: 31px 1fr; gap: 8px; align-items: start; margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--gray); cursor: pointer; }
.amb-coche span { padding-top: 9px; }
.amb-coche input { -webkit-appearance: none; appearance: none; width: 40px; height: 40px; margin: 0 0 0 -9px; border: 0; border-radius: 8px; cursor: pointer;
  background: linear-gradient(#fff, #fff) center / 19px 19px no-repeat, linear-gradient(#BDBDB8, #BDBDB8) center / 22px 22px no-repeat; }
.amb-coche input:checked { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px 15px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 22px 22px no-repeat; }
.amb-coche input:focus-visible { outline: 2px solid var(--ink); outline-offset: -6px; }
.amb-coche input[aria-invalid="true"] { background: linear-gradient(#fff, #fff) center / 18px 18px no-repeat, linear-gradient(#B42318, #B42318) center / 22px 22px no-repeat; }
.amb-f .fl input[aria-invalid="true"] { border-color: #B42318; }
.amb-f .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; visibility: hidden; }
.amb-f [data-envoi-erreur] { color: #B42318; font-weight: 600; margin: 0 0 12px; }
.amb-f [data-envoi-erreur][hidden] { display: none; }
.amb-deja { align-self: center; margin-top: 14px; min-height: 40px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }
.amb-f .amb-btn:disabled { opacity: .6; cursor: progress; }
.ami-form .done:focus { outline: none; }
