/* =========================================================================
   Padel Occas — refonte visuelle, direction « hybride » (octobre 2026).

   Chargée APRÈS theme.css, et uniquement quand po_refonte() le décide
   (voir functions.php). Toutes les règles sont préfixées par body.po-r :
   tant que la refonte n'est pas publique, cette feuille ne peut rien toucher
   d'autre que l'aperçu, et la retirer ramène l'ancien design à l'identique.

   Le principe en une phrase : le haut et les moments forts en bleu nuit néon,
   le langage des photos studio ; le contenu en clair, pour qu'il se lise.
   ========================================================================= */

body.po-r{
  --nuit:#060A2A; --nuit-2:#0A1038; --nuit-3:#111A50; --nuit-4:#1A2466;
  --trait-nuit:rgba(140,160,255,.16);
  --neon:#3D6BFF; --neon-clair:#8AA4FF;
  --orange:#FC9A20; --orange-ink:#E2860C; --orange-soft:#FFF1DE;
  --fond:#F3F5FA;
  --ink:#0E1226; --ink-2:#4A5168; --ink-3:#828AA3;
  --line:#E2E6F0; --paper-2:#EEF1F7;
  --rad:14px; --rad-s:10px;
  --ombre:0 1px 2px rgba(14,18,38,.05),0 10px 30px -18px rgba(14,18,38,.28);
  --ombre-lg:0 2px 6px rgba(14,18,38,.06),0 28px 60px -28px rgba(14,18,38,.45);
  --large:"wdth" 112;
  background:var(--fond);
}

/* Les titres prennent la largeur étendue d'Archivo : c'est la signature de la
   refonte, et elle ne coûte aucune police supplémentaire. */
body.po-r h1,body.po-r h2{font-variation-settings:var(--large);font-weight:800;letter-spacing:-.028em}
body.po-r h3{letter-spacing:-.018em}

/* --------------------------------------------------------------- En-tête
   Les trois bandeaux (barre utile, logo, navigation) deviennent un seul bloc
   sombre. Sur l'accueil il se prolonge dans le héros sans couture. */
body.po-r .po-util{background:var(--nuit);border-bottom:1px solid rgba(255,255,255,.05);color:#8C95C4}
body.po-r .po-util__accroche{color:#DCE1FF;font-weight:500}
body.po-r .po-header{background:var(--nuit);border-bottom:0}
body.po-r .po-header__in{height:80px}
body.po-r .po-logo__mark{border-radius:50%;background:#fff;box-shadow:0 0 0 2px #fff,0 0 22px rgba(61,107,255,.45)}
body.po-r .po-logo__txt{color:#fff;font-variation-settings:"wdth" 125;font-weight:850;letter-spacing:.005em;font-size:22px}
body.po-r .po-logo__txt em{color:var(--neon-clair)}
body.po-r .po-search{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}
body.po-r .po-search:focus-within{background:rgba(255,255,255,.1);border-color:var(--neon)}
body.po-r .po-search input{color:#fff}
body.po-r .po-search input::placeholder{color:#7C86B8}
body.po-r .po-search svg{color:#7C86B8}
body.po-r .po-search button{background:var(--neon)}
body.po-r .po-search button:hover{background:#2A57F0}
body.po-r .po-acces__item{color:#AEB6E0}
body.po-r .po-acces__item b{color:#fff}
body.po-r .po-acces__item svg{color:var(--neon-clair)}
body.po-r .po-acces__item:hover{background:rgba(255,255,255,.07);color:#fff}
body.po-r .po-panier{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:#fff}
body.po-r .po-panier svg{color:var(--neon-clair)}
body.po-r .po-panier:hover{border-color:var(--neon)}
body.po-r .po-burger{color:#fff}

body.po-r .po-navbar{background:rgba(6,10,42,.94);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}
body.po-r .po-navbar.est-collee{box-shadow:0 12px 30px -16px rgba(0,0,0,.7)}
body.po-r .po-nav a{color:#C3CAF0;font-weight:500;position:relative}
body.po-r .po-nav a:hover{background:none;color:#fff}
body.po-r .po-nav a::after{content:"";position:absolute;left:16px;right:16px;bottom:10px;height:2px;border-radius:2px;background:var(--neon);transform:scaleX(0);transition:transform .22s ease}
body.po-r .po-nav a:hover::after,body.po-r .po-nav .current-menu-item>a::after,body.po-r .po-nav .current_page_item>a::after{transform:scaleX(1)}
body.po-r .po-nav .current-menu-item>a,body.po-r .po-nav .current_page_item>a{background:none;color:#fff}
body.po-r .po-trouver{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.14);box-shadow:none}
body.po-r .po-trouver:hover{background:rgba(255,255,255,.13)}
body.po-r .po-trouver svg{color:var(--orange)}
body.po-r .po-navbar__cta{background:var(--orange);color:#0B0F2E;border-radius:999px;font-weight:700;padding:9px 20px}
body.po-r .po-navbar__cta:hover{background:#FFB04A;color:#0B0F2E}

body.po-r .po-panneau{background:var(--nuit-2);border-top:1px solid var(--trait-nuit)}
body.po-r .po-panneau h3{color:#fff}
body.po-r .po-panneau a{color:#C3CAF0}
body.po-r .po-panneau a:hover{color:#fff;background:rgba(255,255,255,.05)}
body.po-r .po-panneau em{color:#7C86B8}
body.po-r .po-panneau__quiz{background:var(--nuit-3);border:1px solid var(--trait-nuit)}
body.po-r .po-panneau__quiz p{color:#AEB6E0}

/* -------------------------------------------------------------- Boutons */
body.po-r .po-btn{border-radius:999px;font-weight:650;letter-spacing:.005em;background:var(--nuit);color:#fff}
body.po-r .po-btn:hover{background:var(--nuit-4);color:#fff}
body.po-r .po-btn--lg{padding:17px 30px}
body.po-r .po-btn--rouge,body.po-r .r-btn-o{background:var(--orange);color:#0B0F2E}
body.po-r .po-btn--rouge:hover,body.po-r .r-btn-o:hover{background:#FFB04A;color:#0B0F2E}
/* Les variantes doivent redonner leur couleur de texte : le bouton par défaut
   écrit en blanc, et sans ça le bouton fantôme devenait blanc sur blanc. */
body.po-r .po-btn--ghost{border-radius:999px;border-color:#CDD3E2;background:#fff;color:var(--ink)}
body.po-r .po-btn--ghost:hover{border-color:var(--ink);background:#fff;color:var(--ink)}
body.po-r .po-btn--clair,body.po-r .po-btn--clair:hover{background:#fff;color:var(--nuit)}
body.po-r .r-btn-g{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.32)}
body.po-r .r-btn-g:hover{background:rgba(255,255,255,.08);border-color:#fff;color:#fff}
body.po-r .po-lien{color:var(--neon)}
body.po-r .po-lien:hover{color:#2A57F0}

/* Pastille d'état : plus nette, posée en haut à gauche des vignettes sombres. */
body.po-r .po-etat{border:0;box-shadow:0 4px 14px -6px rgba(0,0,0,.4)}

/* ------------------------------------------------------------- Sections */
body.po-r .po-section{padding-block:84px}
body.po-r .po-section--gris{background:#fff}
body.po-r .po-sec-head{margin-bottom:30px}
body.po-r .po-sec-head h2,body.po-r .po-titre-centre h2{font-size:clamp(28px,3.4vw,44px);line-height:1.02}
body.po-r .po-sec-head p,body.po-r .po-titre-centre p{font-size:16px;color:var(--ink-2)}
body.po-r .po-eyebrow{color:var(--neon)}

/* ================================================================= Héros */
body.po-r .r-hero{position:relative;background:var(--nuit);color:#fff;overflow:hidden;isolation:isolate}
body.po-r .r-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:
  radial-gradient(55% 70% at 78% 40%,rgba(36,72,255,.30),transparent 70%),
  radial-gradient(40% 50% at 0% 0%,rgba(17,64,238,.22),transparent 70%)}
body.po-r .r-hero__in{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:56px;min-height:640px;padding-block:72px 150px}
body.po-r .r-hero__texte{max-width:640px}

/* LA VITRINE : la photo de la raquette, telle qu'elle a été prise.
   Pas de fondu dans le décor ni de recadrage : la taille du cadre suit celle
   de la photo — en hauteur pour une raquette debout, en largeur pour une
   raquette couchée. C'est un tirage posé sur le fond sombre, pas un décor. */
body.po-r .r-vitrine{position:relative;margin:0;display:flex;justify-content:center;align-items:center;min-width:0}
body.po-r .r-vitrine__photo{display:block;border-radius:26px;overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,255,255,.1),0 50px 90px -40px rgba(0,0,0,.85),0 0 120px -30px rgba(61,107,255,.45)}
body.po-r .r-vitrine__photo img{display:block;width:auto;height:auto;max-width:100%;max-height:min(68vh,560px)}
/* Sur la vitrine, la fiche devient une barre compacte qui ne mord que le bas
   de la photo. En carte haute, elle couvrait la moitié d'une photo prise en
   paysage — c'est-à-dire, souvent, la raquette elle-même. */
body.po-r .r-vitrine .r-fiche{position:absolute;left:22px;right:22px;bottom:-50px;z-index:2;width:auto;
  flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:14px 18px 15px}
body.po-r .r-vitrine .r-fiche::after{content:"";order:2;flex-basis:100%;height:0}
body.po-r .r-vitrine .r-fiche__tete{flex:0 0 100%}
body.po-r .r-vitrine .r-fiche__nom{flex:1 1 auto;margin:0;font-size:18px}
body.po-r .r-vitrine .r-fiche__prix{order:2;margin:0;padding:0;border:0;flex:0 0 auto}
body.po-r .r-vitrine .r-fiche__prix b{font-size:26px}
body.po-r .r-vitrine .r-fiche__l{order:3;border:0;padding:4px 11px;border-radius:999px;background:rgba(255,255,255,.08);font-size:11px;gap:7px}
body.po-r .r-vitrine .r-fiche__voir{display:none}
body.po-r .r-tag{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#C9D0F5}
body.po-r .r-tag i{width:8px;height:8px;border-radius:50%;background:var(--orange);box-shadow:0 0 14px var(--orange)}
body.po-r .r-hero h1{font-size:clamp(40px,5.6vw,80px);line-height:.95;margin:22px 0 24px;color:#fff;text-wrap:balance}
body.po-r .r-hero h1 em{font-style:normal;color:var(--orange)}
body.po-r .r-hero__lead{font-size:18.5px;line-height:1.6;color:#B9C1EA;max-width:52ch}
body.po-r .r-hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}

/* La fiche flottante : la vraie fiche de la raquette en photo. */
body.po-r .r-fiche{display:flex;flex-direction:column;gap:2px;width:290px;padding:18px 20px 16px;border-radius:18px;
  background:rgba(10,15,52,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(122,145,255,.28);box-shadow:0 30px 60px -30px rgba(0,0,0,.8);color:#fff;transition:transform .25s ease,border-color .25s ease}
body.po-r .r-fiche:hover{transform:translateY(-3px);border-color:rgba(122,145,255,.6)}
body.po-r .r-fiche__tete{display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:#8C96CC}
body.po-r .r-fiche__tete i{width:6px;height:6px;border-radius:50%;background:#3CE08A;box-shadow:0 0 10px #3CE08A}
body.po-r .r-fiche__nom{font-family:var(--display);font-variation-settings:"wdth" 105;font-size:17px;font-weight:750;margin:8px 0 8px;line-height:1.2}
body.po-r .r-fiche__l{display:flex;justify-content:space-between;gap:12px;font-family:var(--mono);font-size:12px;padding:7px 0;border-top:1px solid rgba(255,255,255,.08);color:#9AA3D6}
body.po-r .r-fiche__l b{color:#fff;font-weight:600}
body.po-r .r-fiche__prix{display:flex;align-items:baseline;gap:10px;margin-top:10px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12)}
body.po-r .r-fiche__prix b{font-family:var(--display);font-variation-settings:var(--large);font-size:30px;font-weight:800;letter-spacing:-.03em}
body.po-r .r-fiche__prix s{font-family:var(--mono);font-size:12px;color:#7C86B8}
body.po-r .r-fiche__voir{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:13.5px;font-weight:600;color:var(--orange)}

/* Entrée du héros : jouée au chargement, sans script — « backwards » garantit
   que rien ne reste caché si l'animation ne se lance pas. */
@keyframes r-monte{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes r-fondu{from{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}
.po-anim body.po-r .r-hero__texte>*{animation:r-monte .7s cubic-bezier(.22,.61,.36,1) backwards}
.po-anim body.po-r .r-hero__texte>*:nth-child(2){animation-delay:.08s}
.po-anim body.po-r .r-hero__texte>*:nth-child(3){animation-delay:.16s}
.po-anim body.po-r .r-hero__texte>*:nth-child(4){animation-delay:.24s}
.po-anim body.po-r .r-vitrine__photo{animation:r-fondu 1s ease backwards .1s}
.po-anim body.po-r .r-fiche{animation:r-monte .7s cubic-bezier(.22,.61,.36,1) backwards .35s}

/* Les preuves, en carte blanche à cheval sur le héros. */
body.po-r .r-preuves{position:relative;z-index:3;margin-top:-56px;display:grid;grid-template-columns:repeat(4,1fr);
  background:#fff;border-radius:18px;box-shadow:0 24px 60px -28px rgba(13,18,75,.45)}
body.po-r .r-preuves>div{padding:24px 26px;border-right:1px solid var(--line)}
body.po-r .r-preuves>div:last-child{border-right:0}
body.po-r .r-preuves b{display:block;font-family:var(--display);font-variation-settings:var(--large);font-weight:800;font-size:25px;letter-spacing:-.03em;color:var(--nuit)}
body.po-r .r-preuves span{font-size:14px;color:var(--ink-2)}

/* =================================================== Grille et cartes produit */
body.po-r ul.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
body.po-r .po-card{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--ombre)}
body.po-r .po-card:hover{border-color:#C9D1E8;box-shadow:var(--ombre-lg);transform:translateY(-3px)}
body.po-r .po-card{transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease}
/* La vignette montre la photo ENTIÈRE sur un fond neutre clair : les photos
   de la boutique sont naturelles, prises debout ou couchées, et un recadrage
   en carré coupait la raquette — voire le défaut photographié exprès. */
body.po-r .po-card__vis{background:#EEF0F3;padding:0;min-height:0;aspect-ratio:1/1;border-bottom:0}
body.po-r .po-card__vis img{width:100%;height:100%;max-height:none;object-fit:contain}
body.po-r .po-card__vis .po-etat{top:12px;right:auto;left:12px}
body.po-r .po-remise{top:12px;left:auto;right:12px;border-radius:999px;background:var(--orange);color:#0B0F2E;font-weight:700;padding:5px 10px}
body.po-r .po-uniq{bottom:12px;left:12px;border-radius:999px;background:rgba(6,10,42,.7);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.18);padding:4px 10px}
body.po-r .po-card__body{padding:16px 18px 18px;gap:8px}
body.po-r .po-card__marque{color:var(--ink-3)}
body.po-r .po-card__nom{font-size:16.5px;font-weight:700}
body.po-r .po-specs li{background:var(--paper-2);border-radius:999px;padding:3px 9px}
body.po-r .po-card__prix b{font-variation-settings:var(--large);font-size:24px;color:var(--nuit)}
body.po-r .po-eco{color:#0E8A5F}

/* Tuiles de complément : le vide de la grille devient une action. */
body.po-r ul.products li.r-tuile{list-style:none}
body.po-r .r-tuile a{display:flex;flex-direction:column;gap:10px;height:100%;min-height:100%;padding:24px 22px;border-radius:18px;
  border:1.5px dashed #CDD3E4;background:transparent;color:var(--ink);transition:background .2s ease,border-color .2s ease,transform .2s ease}
body.po-r .r-tuile a:hover{background:#fff;border-style:solid;border-color:#C9D1E8;transform:translateY(-3px)}
body.po-r .r-tuile__sur{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--neon)}
body.po-r .r-tuile strong{font-family:var(--display);font-variation-settings:"wdth" 106;font-size:20px;line-height:1.15;letter-spacing:-.02em}
body.po-r .r-tuile__txt{font-size:14px;color:var(--ink-2);line-height:1.5}
body.po-r .r-tuile__lien{margin-top:auto;font-weight:650;font-size:14px;color:var(--neon)}
body.po-r .r-tuile--revendre a{background:var(--nuit);border:1px solid var(--nuit-4);color:#fff}
body.po-r .r-tuile--revendre a:hover{background:var(--nuit-2);border-color:var(--neon)}
body.po-r .r-tuile--revendre .r-tuile__txt{color:#AEB6E0}
body.po-r .r-tuile--revendre .r-tuile__sur,body.po-r .r-tuile--revendre .r-tuile__lien{color:var(--orange)}

/* ============================================= Le contrôle : la fiche */
body.po-r .po-controle{grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
body.po-r .r-certif{background:var(--nuit);color:#fff;border-radius:22px;padding:28px 28px 22px;position:relative;overflow:hidden;
  box-shadow:0 40px 80px -40px rgba(6,10,42,.65)}
body.po-r .r-certif::before{content:"";position:absolute;inset:-40% -20% auto auto;width:70%;height:90%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(61,107,255,.35),transparent)}
body.po-r .r-certif__tete{position:relative;display:flex;justify-content:space-between;align-items:baseline;padding-bottom:18px;border-bottom:1px dashed rgba(255,255,255,.18)}
body.po-r .r-certif__titre{font-family:var(--display);font-variation-settings:var(--large);font-size:24px;font-weight:800;letter-spacing:-.02em}
body.po-r .r-certif__ref{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#7C86B8}
body.po-r .r-certif__points{position:relative;list-style:none;margin:0;padding:0}
body.po-r .r-certif__points li{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.07)}
body.po-r .r-certif__n{font-family:var(--mono);font-size:12px;color:#6B76B0}
body.po-r .r-certif__t strong{display:block;font-size:15.5px;font-weight:600;color:#fff}
body.po-r .r-certif__t small{display:block;font-size:13px;color:#8C96CC;margin-top:2px;line-height:1.45}
body.po-r .r-certif__v{display:inline-flex;align-items:center;gap:5px;font-family:var(--mono);font-size:11.5px;font-weight:600;padding:5px 10px;border-radius:999px;
  background:rgba(60,224,138,.12);color:#5BE6A0;white-space:nowrap}
body.po-r .r-certif__v--mesure{background:rgba(138,164,255,.14);color:var(--neon-clair)}
body.po-r .r-certif__v--remise{background:rgba(252,154,32,.14);color:#FFB45A}
body.po-r .r-certif__pied{position:relative;display:flex;justify-content:space-between;margin-top:16px;font-family:var(--mono);font-size:12px;color:#8C96CC}
body.po-r .r-certif__pied b{color:#fff;font-weight:600}
body.po-r .po-controle__texte h2{font-size:clamp(28px,3.3vw,42px);line-height:1.02}
body.po-r .po-intro{font-size:17px;line-height:1.65;margin-top:18px}
body.po-r .po-note{background:#fff;border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:12px;padding:18px 20px;margin-top:26px}

/* ==================================================== Réparation (accueil) */
body.po-r .po-repar-accueil .po-duo{grid-template-columns:1.1fr .9fr;gap:20px}
body.po-r .po-tuile{border-radius:22px;padding:40px;border-color:var(--line);box-shadow:var(--ombre)}
body.po-r .po-tuile h2{font-size:clamp(26px,2.8vw,36px);line-height:1.04}
body.po-r .po-eyebrow{font-size:11.5px;color:var(--orange)}
body.po-r .r-zones{background:var(--nuit);color:#fff;border-radius:22px;padding:30px;display:flex;flex-direction:column;gap:18px;position:relative;overflow:hidden}
body.po-r .r-zones::after{content:"";position:absolute;right:-30%;bottom:-40%;width:80%;height:80%;pointer-events:none;background:radial-gradient(closest-side,rgba(252,154,32,.18),transparent)}
body.po-r .r-zones__titre{font-family:var(--mono);font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:#8C96CC}
body.po-r .r-zones ul{list-style:none;margin:0;padding:0}
body.po-r .r-zones li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:15px}
body.po-r .r-zones__v{font-family:var(--mono);font-size:11px;font-weight:600;padding:4px 10px;border-radius:999px;white-space:nowrap}
body.po-r .r-zones__v--oui{background:rgba(60,224,138,.12);color:#5BE6A0}
body.po-r .r-zones__v--prudence{background:rgba(252,154,32,.14);color:#FFB45A}
body.po-r .r-zones__v--non{background:rgba(255,92,92,.14);color:#FF8A8A}
body.po-r .r-zones__prix{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:relative;z-index:1}
body.po-r .r-zones__prix div{background:var(--nuit-3);border:1px solid var(--trait-nuit);border-radius:14px;padding:14px 16px}
body.po-r .r-zones__prix b{display:block;font-family:var(--display);font-variation-settings:var(--large);font-size:28px;font-weight:800;color:var(--orange);letter-spacing:-.03em}
body.po-r .r-zones__prix span{font-size:12.5px;color:#AEB6E0;line-height:1.4}
body.po-r .r-zones__garantie{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#5BE6A0;position:relative;z-index:1}

/* ====================================================== Guide d'achat */
body.po-r #guide{background:#fff}
body.po-r .po-guide{gap:20px}
body.po-r .po-guide__bloc{border-top:0;background:var(--fond);border-radius:20px;padding:30px 28px}
body.po-r .po-guide__bloc h3{font-size:20px;font-variation-settings:"wdth" 106;line-height:1.2}
body.po-r .po-guide__bloc p{font-size:15px;line-height:1.65}
body.po-r .po-guide__liens a{color:var(--ink);font-weight:600}
body.po-r .po-guide__liens a:hover{color:var(--neon)}

/* ================================================================== FAQ */
body.po-r .po-faq details{border-radius:16px;border-color:var(--line);background:#fff;transition:box-shadow .2s ease}
body.po-r .po-faq details[open]{box-shadow:var(--ombre);border-color:#D3D9E8}
body.po-r .po-faq summary h3{font-size:17px}

/* ============================================== Bannière « revendre » : néon */
body.po-r .po-banniere{background:var(--nuit);min-height:440px}
body.po-r .po-banniere::after{background:
  radial-gradient(40% 70% at 82% 50%,rgba(36,72,255,.38),transparent 70%),
  linear-gradient(90deg,transparent 64%,rgba(61,107,255,.0) 64%)}
/* Deux tubes néon, en CSS : le décor des photos studio, sans image à charger. */
body.po-r .po-banniere::before{content:"";position:absolute;z-index:1;top:16%;bottom:16%;right:12%;width:3px;border-radius:3px;
  background:var(--neon);box-shadow:0 0 18px 3px #2756ff,0 0 70px 10px rgba(39,86,255,.5),-240px 0 0 0 var(--neon),-240px 0 18px 3px #2756ff,-240px 0 60px 8px rgba(39,86,255,.35)}
body.po-r .po-banniere__contenu h2{font-size:clamp(30px,3.6vw,50px);line-height:1;max-width:16ch}
body.po-r .po-banniere__contenu p{color:#B9C1EA;font-size:17.5px;line-height:1.6}
body.po-r .po-banniere__contenu .po-btn{background:var(--orange);color:#0B0F2E;border-radius:999px}
body.po-r .po-banniere__contenu .po-btn:hover{background:#FFB04A}

/* ======================================================= Aide au choix */
body.po-r .po-aide{grid-template-columns:1fr 1fr;gap:64px}
body.po-r .po-aide h2{font-size:clamp(28px,3.3vw,42px);line-height:1.02}
body.po-r .po-aide p{font-size:17px;line-height:1.65}
body.po-r .r-quiz{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:q}
body.po-r .r-quiz li{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 18px;font-weight:600;font-size:15.5px;box-shadow:var(--ombre)}
body.po-r .r-quiz li span{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-family:var(--mono);font-size:13px;background:var(--nuit);color:#fff}
body.po-r .r-quiz li:nth-child(5){border-color:var(--orange);background:var(--orange-soft)}
body.po-r .r-quiz li:nth-child(5) span{background:var(--orange);color:#0B0F2E}

/* =========================================================== Parrainage */
body.po-r .po-parr{border-radius:24px;padding:48px;background:#fff;box-shadow:var(--ombre);border-color:var(--line)}
body.po-r .po-parr h2{font-size:clamp(28px,3.2vw,40px);line-height:1.02}
body.po-r .po-pcard{background:var(--nuit);color:#fff;border-radius:18px;padding:24px}
body.po-r .po-pcard .gros{font-variation-settings:var(--large);font-size:40px;color:var(--orange)}
body.po-r .po-pcard small{color:#AEB6E0}

/* ========================================================= Pied de page */
body.po-r .po-footer{background:var(--nuit);position:relative;padding-top:64px}
body.po-r .po-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--neon),transparent);opacity:.7}
body.po-r .po-footer .po-logo__txt{font-variation-settings:"wdth" 125;font-size:26px}
body.po-r .po-footer .po-logo__txt em{color:var(--neon-clair)}
body.po-r .po-footer h5{color:#8C96CC}
body.po-r .po-footer a{color:#C3CAF0}
body.po-r .po-footer a:hover{color:#fff}

/* =========================================================== Responsive */
@media (max-width:1100px){
  body.po-r ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  body.po-r .po-header__in{height:64px}
  body.po-r .r-hero__in{grid-template-columns:1fr;min-height:0;padding-block:56px 92px;gap:28px}
  body.po-r .r-vitrine{flex-direction:column}
  body.po-r .r-vitrine__photo img{max-height:420px}
  body.po-r .r-vitrine .r-fiche{position:relative;left:auto;right:auto;bottom:auto;margin-top:-40px;width:calc(100% - 28px)}
  body.po-r .r-fiche{width:100%;max-width:420px}
  body.po-r .r-preuves{grid-template-columns:1fr 1fr}
  body.po-r .r-preuves>div:nth-child(2){border-right:0}
  body.po-r .r-preuves>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  body.po-r .po-controle,body.po-r .po-aide,body.po-r .po-repar-accueil .po-duo{grid-template-columns:1fr;gap:28px}
  body.po-r .po-guide{grid-template-columns:1fr}
  body.po-r ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}
@media (max-width:620px){
  body.po-r .po-section{padding-block:56px}
  body.po-r .r-hero h1{font-size:40px}
  body.po-r .r-hero__lead{font-size:16.5px}
  body.po-r .r-hero__cta .po-btn{flex:1 1 100%}
  body.po-r .r-preuves>div{padding:18px}
  body.po-r .r-preuves b{font-size:20px}
  body.po-r .po-tuile,body.po-r .po-parr{padding:26px}
  body.po-r .r-certif,body.po-r .r-zones{padding:22px}
  body.po-r .r-certif__points li{grid-template-columns:26px 1fr;row-gap:6px}
  body.po-r .r-certif__v{grid-column:2;justify-self:start}
  body.po-r .po-banniere::before{right:6%;box-shadow:0 0 18px 3px #2756ff,0 0 50px 8px rgba(39,86,255,.45)}
  body.po-r .po-card__body{padding:12px 13px 14px}
  body.po-r .po-card__nom{font-size:14.5px}
  body.po-r .po-card__prix b{font-size:20px}
  body.po-r .r-tuile a{padding:18px 16px}
  body.po-r .r-tuile strong{font-size:17px}
}

/* ===================================================== Bandeaux-titres
   Toutes les pages intérieures ouvrent sur un bandeau bleu nuit qui prolonge
   l'en-tête : c'est ce qui donne au site une continuité, au lieu d'un titre
   posé tout seul sur du blanc juste sous la navigation. */
body.po-r .r-titre{position:relative;isolation:isolate;overflow:hidden;background:var(--nuit);color:#fff;padding:64px 0 62px}
body.po-r .r-titre::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:
  radial-gradient(45% 120% at 85% 10%,rgba(36,72,255,.32),transparent 70%),
  radial-gradient(30% 90% at 0% 100%,rgba(252,154,32,.10),transparent 70%)}
body.po-r .r-titre h1{font-size:clamp(34px,4.6vw,62px);line-height:.98;color:#fff;margin-top:16px;max-width:22ch}
body.po-r .r-titre .r-tag{margin:0}
body.po-r .r-titre__lead{color:#B9C1EA;font-size:17.5px;line-height:1.6;max-width:60ch;margin-top:18px}
body.po-r .r-page{padding-top:58px}

/* Les en-têtes de WooCommerce et des pages modèle vivent DANS le conteneur
   centré : l'ombre portée géante, découpée à la hauteur du bloc, étend leur
   fond bord à bord sans toucher à leur gabarit. */
body.po-r .woocommerce-products-header,
body.po-r .po-modele .po-fil,
body.po-r .po-modele__tete{background:var(--nuit);box-shadow:0 0 0 100vmax var(--nuit);clip-path:inset(0 -100vmax);color:#fff}
body.po-r .po-shop{padding-top:0}
body.po-r .woocommerce-products-header{padding:58px 0 54px;margin:0 0 44px}
body.po-r .woocommerce-products-header__title{font-size:clamp(34px,4.6vw,62px);line-height:.98;color:#fff}
body.po-r .woocommerce-products-header .term-description{color:#B9C1EA;font-size:16.5px;line-height:1.65;max-width:68ch;margin-top:18px}
body.po-r .woocommerce-products-header .term-description a{color:var(--neon-clair)}
body.po-r .po-page.po-modele{padding-top:0}
body.po-r .po-modele .po-fil{margin:0;padding:26px 0 0;color:#7C86B8}
body.po-r .po-modele .po-fil a:hover{color:#fff}
body.po-r .po-modele__tete{max-width:none;margin:0 0 46px;padding:22px 0 54px}
body.po-r .po-modele__tete h1{font-size:clamp(34px,4.6vw,62px);line-height:.98;color:#fff;max-width:20ch}
body.po-r .po-modele__chapeau{color:#B9C1EA;max-width:62ch}
body.po-r .po-modele__note{color:#8C96CC}
body.po-r .po-modele__note a{color:var(--neon-clair)}

/* Le texte de fond des archives : une colonne de lecture, pas une page entière. */
body.po-r .po-archive-fond{border-top:0;background:#fff;border-radius:22px;padding:44px;margin-top:64px;box-shadow:var(--ombre)}

/* ============================================================ Contenu long */
body.po-r .po-contenu{font-size:16.5px;line-height:1.7;color:#2A3045}
body.po-r .po-contenu > h2{font-size:clamp(24px,2.4vw,30px);line-height:1.1;color:var(--ink);margin-top:1.9em}
body.po-r .po-contenu > h3{font-size:19px;color:var(--ink)}
body.po-r .po-contenu a{color:var(--neon);text-decoration-color:rgba(61,107,255,.35)}
body.po-r .po-contenu a:hover{text-decoration-color:var(--neon)}
body.po-r .po-contenu blockquote{margin:1.6em 0;padding:18px 22px;border-left:3px solid var(--orange);background:#fff;border-radius:0 14px 14px 0}
body.po-r .po-contenu thead th{background:var(--nuit)}
body.po-r .po-contenu table{border-radius:14px;overflow:hidden;box-shadow:var(--ombre);background:#fff}

@media (max-width:620px){
  body.po-r .r-titre{padding:44px 0 42px}
  body.po-r .woocommerce-products-header{padding:40px 0 38px}
  body.po-r .po-modele__tete{padding-bottom:40px}
  body.po-r .po-archive-fond{padding:26px}
}

/* ========================================================== Fiche produit */
/* Galerie : photo entière, jamais recadrée. Sur une fiche d'occasion, le bord
   de l'image est souvent l'endroit où se trouve le défaut qu'on montre. */
body.po-r .po-galerie__principale{background:#EEF0F3;border:0;border-radius:24px;box-shadow:var(--ombre)}
body.po-r .po-galerie__principale img{padding:0;object-fit:contain}
body.po-r .po-galerie__vignettes{gap:12px;margin-top:12px}
body.po-r .po-galerie__vignettes button{border-radius:14px;border:2px solid transparent;background:#EEF0F3;opacity:.65;transition:opacity .2s ease,border-color .2s ease}
body.po-r .po-galerie__vignettes button:hover{opacity:1;border-color:transparent}
body.po-r .po-galerie__vignettes button.est-actif{opacity:1;border-color:var(--orange);border-width:2px}
body.po-r .po-galerie__vignettes img{width:100%;height:100%;object-fit:cover}

body.po-r .po-fp__infos h1{font-size:clamp(32px,3.6vw,48px);line-height:1}
body.po-r .po-fp__prix b,body.po-r .po-fp__prix .amount{font-variation-settings:var(--large)}
body.po-r .po-fp__etat{background:#fff;border-radius:18px;box-shadow:var(--ombre)}
body.po-r .po-mesures{background:#fff;border-radius:18px;box-shadow:var(--ombre)}
body.po-r .po-mesures h2{font-variation-settings:normal;letter-spacing:.12em}

/* Le bouton d'achat : l'action la plus importante du site, en orange. */
body.po-r .po-fp__achat button.single_add_to_cart_button{background:var(--orange);color:#0B0F2E;border-radius:999px;font-weight:700;font-size:16.5px;padding:18px 32px;
  box-shadow:0 14px 30px -14px rgba(252,154,32,.75)}
body.po-r .po-fp__achat button.single_add_to_cart_button:hover{background:#FFB04A}

/* ========================================================= Outils (plugin)
   La reprise, le quiz et le parrainage s'affichaient dans la colonne de
   lecture de 70 caractères : trop étroite pour un outil à deux colonnes. */
body.po-r .po-contenu:has(.poc-outil){max-width:none}
body.po-r .poc-outil{--poc-rad:16px;--poc-navy:var(--nuit);--poc-bleu:var(--neon);--poc-orange:var(--orange)}
body.po-r .poc-resultat{border-radius:22px;border:0;box-shadow:0 30px 70px -40px rgba(6,10,42,.6);overflow:hidden}
body.po-r .poc-resultat__tete{background:var(--nuit)}
body.po-r .poc-resultat__tete h3{color:#fff;font-variation-settings:var(--large)}
body.po-r .poc-offre{border-radius:16px}
body.po-r .poc-offre__valeur{font-variation-settings:var(--large)}
body.po-r .poc-envoi .po-btn,body.po-r .poc-outil .po-btn--lg{background:var(--orange);color:#0B0F2E}
body.po-r .poc-envoi .po-btn:hover,body.po-r .poc-outil .po-btn--lg:hover{background:#FFB04A}
body.po-r .poc-etat-choix{border-radius:14px}
body.po-r .poc-champ select,body.po-r .poc-outil input[type=email],body.po-r .poc-libre input[type=text]{border-radius:12px}

/* ======================================================= Panier et commande
   On n'habille QUE les couleurs et les boutons : la mise en page du tunnel
   reste celle de theme.css, testée en production avec Stripe.

   Les titres des blocs WooCommerce ne doivent pas hériter de la largeur
   étendue des titres éditoriaux : la légende « Validation de commande
   express », agrandie, passait derrière les boutons Apple Pay et Google Pay. */
body.po-r .wp-block-woocommerce-cart :is(h1,h2,h3),
body.po-r .wp-block-woocommerce-checkout :is(h1,h2,h3){font-variation-settings:normal;letter-spacing:normal}
body.po-r .wc-block-cart__submit-button,
body.po-r .wc-block-components-checkout-place-order-button{background:var(--orange);color:#0B0F2E;border-radius:999px;border:0;
  font-weight:700;box-shadow:0 14px 30px -14px rgba(252,154,32,.75)}
body.po-r .wc-block-cart__submit-button:hover,
body.po-r .wc-block-components-checkout-place-order-button:hover{background:#FFB04A;color:#0B0F2E}
body.po-r .wc-block-components-text-input input,
body.po-r .wc-block-components-combobox .wc-block-components-combobox-control input,
body.po-r .wc-blocks-components-select .wc-blocks-components-select__select{border-radius:12px}
/* Le libellé vit dans une balise interne qui garde son propre blanc. */
body.po-r .wc-block-cart__submit-button *,
body.po-r .wc-block-components-checkout-place-order-button *{color:#0B0F2E}
