/* Unité Ronin · thème global boutons et champs · v9 (22 oct. 2026)
   Boutons : rectangle rouge, quatre coins coupés droits (clip-path), pas d'arrondi.
   Champs : texte nu, trait rouge sous le texte, pas de cadre. */
:root{--rn-popup-shadow:drop-shadow(0 30px 50px rgba(0,0,0,.55)) drop-shadow(0 6px 12px rgba(0,0,0,.25));--rn-popup-veil:rgba(43,43,43,.45);--rn-red:#A32A2E;--rn-red-dark:#8C2327;--rn-ink:#2B2B2B;--rn-cut:8px;
  --rn-oct:polygon(var(--rn-cut) 0,calc(100% - var(--rn-cut)) 0,100% var(--rn-cut),100% calc(100% - var(--rn-cut)),calc(100% - var(--rn-cut)) 100%,var(--rn-cut) 100%,0 calc(100% - var(--rn-cut)),0 var(--rn-cut));
  --rn-oct-in:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px)}

/* ---------- Boutons pleins ---------- */
.fwc-btn,.fwc-btn--primary,
.fwc-mega__card a,.fwc-cmp__btn,.fwc-actions > a[style*="background"],
a[style*="background:#A32A2E"],a[style*="background: #A32A2E"],a[style*="background:#a32a2e"],a[style*="background-color:#A32A2E"],a[style*="background-color: #A32A2E"],
.fwc-adh__btn,
.fwc-nl__btn,.fwc-oc__btn,.fwc-car__btn,
header a.hs-elevate-link--primary.hs-elevate-menu__menu-item-link,
.hs-elevate-button,.hs-elevate-button--primary,
.hs-button,.cta_button,
.hs-form input[type=submit],
#submitbutton,.hs-subscriptions-secondary-button,
.fwc-g__seg button.is-on{
  border-radius:0!important;
  clip-path:var(--rn-oct);
  background:var(--rn-red)!important;
  border-color:var(--rn-red)!important;
  color:#fff!important;
  font-family:Montserrat,sans-serif!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:none!important}
.fwc-btn:hover,.fwc-mega__card a:hover,.fwc-cmp__btn:hover,.fwc-actions > a[style*="background"]:hover,a[style*="background:#A32A2E"]:hover,a[style*="background: #A32A2E"]:hover,.fwc-adh__btn:hover,.fwc-nl__btn:hover,.fwc-oc__btn:hover,.fwc-car__btn:hover,
header a.hs-elevate-link--primary.hs-elevate-menu__menu-item-link:hover,
.hs-elevate-button:hover,.hs-button:hover,.cta_button:hover,.hs-form input[type=submit]:hover,
#submitbutton:hover,.hs-subscriptions-secondary-button:hover{
  background:var(--rn-red-dark)!important;border-color:var(--rn-red-dark)!important;color:#fff!important}
.fwc-adh__btn.is-off{opacity:.45}

/* ---------- Boutons contour : trait par border-image SVG (suit le biseau, identique sur tous les navigateurs) ---------- */
.fwc-adh__btn--ghost,.fwc-btn--ghost,.hs-elevate-button--secondary{
  background:#fff!important;border:12px solid transparent!important;border-radius:0!important;clip-path:var(--rn-oct);
  border-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2040%2040%27%3E%3Cpath%20d%3D%27M8%201H32L39%208V32L32%2039H8L1%2032V8Z%27%20fill%3D%27none%27%20stroke%3D%27%23A32A2E%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%2F%3E%3C%2Fsvg%3E") 12 / 12px stretch!important;color:var(--rn-red)!important;padding:1px 12px!important}
.fwc-adh__btn--ghost{border-image-source:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2040%2040%27%3E%3Cpath%20d%3D%27M8%201H32L39%208V32L32%2039H8L1%2032V8Z%27%20fill%3D%27none%27%20stroke%3D%27%232B2B2B%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%2F%3E%3C%2Fsvg%3E")!important;color:var(--rn-ink)!important}
.fwc-adh__btn--ghost:hover,.fwc-btn--ghost:hover,.hs-elevate-button--secondary:hover{background:var(--rn-red)!important;color:#fff!important;border-image-source:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2040%2040%27%3E%3Cpath%20d%3D%27M8%201H32L39%208V32L32%2039H8L1%2032V8Z%27%20fill%3D%27none%27%20stroke%3D%27%23A32A2E%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%2F%3E%3C%2Fsvg%3E")!important}

/* ---------- Groupes de boutons (Homme / Femme, Entreprise…) ---------- */
.fwc-g__seg{border-radius:0!important;clip-path:var(--rn-oct)}
.fwc-g__seg button{border-radius:0!important}
.fwc-g__seg button.is-on{clip-path:none;font-weight:600!important}

/* ---------- Champs : trait rouge sous le texte ---------- */
.fwc-g__tile{
  background:transparent!important;border:0!important;border-radius:0!important;
  border-bottom:2px solid var(--rn-red)!important;
  padding:6px 0 7px!important;box-shadow:none!important}
.fwc-g__tile:focus-within{border-bottom-color:var(--rn-red-dark)!important;box-shadow:0 1px 0 var(--rn-red-dark)!important}
.fwc-g__tile--search{padding-left:30px!important}
.fwc-g__tile--search svg{left:2px!important}
.fwc-g__res{left:0!important;right:0!important;border-radius:0!important}
.fwc-g__tile input::placeholder{color:#A7A7A7}

.fwc-nl__in{
  border:0!important;border-bottom:2px solid var(--rn-red)!important;border-radius:0!important;
  background:transparent!important;padding:10px 2px!important;box-shadow:none!important;font-size:14px!important;font-weight:400!important}
.fwc-nl__in:focus{border-bottom-color:var(--rn-red-dark)!important;box-shadow:0 1px 0 var(--rn-red-dark)!important}
.fwc-nl__in::placeholder{color:#A7A7A7}

.hs-form input.hs-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]),
.hs-form select.hs-input,.hs-form textarea.hs-input,
#email-prefs-form input[type=email],.hs-subscriptions input[type=email],form.email-prefs input[type=email],
.hs-elevate-form input[type=text],.hs-elevate-form input[type=email],.hs-elevate-form input[type=tel],.hs-elevate-form textarea,.hs-elevate-form select{
  background:transparent!important;border:0!important;border-bottom:2px solid var(--rn-red)!important;border-radius:0!important;
  padding:10px 2px!important;box-shadow:none!important;outline:none!important;
  font-family:Montserrat,sans-serif!important;color:var(--rn-ink)!important}
.hs-form input.hs-input:focus,.hs-form select.hs-input:focus,.hs-form textarea.hs-input:focus,
#email-prefs-form input[type=email]:focus,.hs-subscriptions input[type=email]:focus{
  border-bottom-color:var(--rn-red-dark)!important;box-shadow:0 1px 0 var(--rn-red-dark)!important}
.hs-form input.hs-input::placeholder{color:#A7A7A7}

/* ---------- Fenêtres : ombre et voile communs ---------- */
.fwc-nl__wrap,#hs-banner-parent .fwc-ck__wrap,#hs-banner-parent .fwc-ck__mwrap{filter:var(--rn-popup-shadow)!important}
.fwc-nl__ov,#hs-banner-parent #hs-eu-cookie-confirmation,#hs-banner-parent #hs-modal{background:var(--rn-popup-veil)!important}

/* ---------- Barre de défilement toujours présente (évite aussi le décalage à l'ouverture des fenêtres) ---------- */
html{overflow-y:scroll!important}
/* ---------- Kicker rouge + titre noir : écart resserré ---------- */
.fwc-sub{margin:0!important;line-height:1!important}
.fwc-sub .fwc-kicker,.fwc-kicker{line-height:1.2!important}
.fwc-sub + .fwc-car__h,.fwc-sub + h1,.fwc-sub + h2,.fwc-sub + h3,.fwc-sub + .fwc-h2,.fwc-sub + div > h1:first-child,.fwc-sub + div > h2:first-child{margin-top:0!important;line-height:1.08!important}
.fwc-nl__k{margin:0 0 2px!important;line-height:1.2!important}.fwc-nl__t{line-height:1.08!important}
#hs-banner-parent #hs-eu-cookie-confirmation-inner::before,#hs-banner-parent #hs-modal-content #hs-modal-introduction::before{margin-bottom:2px!important;line-height:1.2!important}
#hs-banner-parent #hs-eu-policy-wording::before{line-height:1.08!important}#hs-banner-parent #hs-modal-content #hs-modal-introduction span{line-height:1.08!important}
/* ---------- Espace sous les titres noirs : réduit de moitié ---------- */
.fwc-sub + h1,.fwc-sub + div > h1:first-child{margin-bottom:16px!important}
.fwc-h2,h1.fwc-h2,h2.fwc-h2{margin-bottom:20px!important}
.fwc-car__h{margin-bottom:10px!important}
/* ---------- Menu principal à la taille du texte courant (16 px) ---------- */
header .hs-elevate-menu__menu-item-span,header .hs-elevate-menu__menu-item-link,header a.hs-elevate-link--primary.hs-elevate-menu__menu-item-link{font-size:16px!important}
/* ---------- FAQ : sans traits gris ---------- */
.fwc-faq{border-top:0!important}.fwc-faq details{border-bottom:0!important;border-top:0!important}

/* ---------- v9 · navigation des domaines (pages /plateforme/domaines/*) : contour rouge, page courante pleine ---------- */
.fwc-uh__nav a{border-radius:0!important;clip-path:var(--rn-oct);background:#fff!important;border:12px solid transparent!important;
  border-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2040%2040%27%3E%3Cpath%20d%3D%27M8%201H32L39%208V32L32%2039H8L1%2032V8Z%27%20fill%3D%27none%27%20stroke%3D%27%23A32A2E%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%2F%3E%3C%2Fsvg%3E") 12 / 12px stretch!important;padding:0 6px!important;line-height:18px!important;color:var(--rn-red)!important}
.fwc-uh__nav a:hover,.fwc-uh__nav a[aria-current]{background:var(--rn-red)!important;color:#fff!important}
/* ---------- v9 · flèches du carrousel de témoignages (accueil) : contour encre, survol rouge ---------- */
.fwc-temnav button{border-radius:0!important;clip-path:var(--rn-oct);background:#fff!important;border:12px solid transparent!important;
  border-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2040%2040%27%3E%3Cpath%20d%3D%27M8%201H32L39%208V32L32%2039H8L1%2032V8Z%27%20fill%3D%27none%27%20stroke%3D%27%232B2B2B%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%2F%3E%3C%2Fsvg%3E") 12 / 12px stretch!important;padding:0!important;line-height:16px!important;color:var(--rn-ink)!important}
.fwc-temnav button:hover{background:var(--rn-red)!important;color:#fff!important;border-image-source:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2040%2040%27%3E%3Cpath%20d%3D%27M8%201H32L39%208V32L32%2039H8L1%2032V8Z%27%20fill%3D%27none%27%20stroke%3D%27%23A32A2E%27%20stroke-width%3D%272%27%20stroke-linejoin%3D%27miter%27%2F%3E%3C%2Fsvg%3E")!important}
