/* ==========================================================================
   af-dons — Tunnel de don : étapier, champs du tunnel, choix du paiement, bloc de don.
   Chargé seulement si le site l'active (filtre af_dons_tunnel ou add_theme_support( 'af-dons-tunnel' )).
   Couleurs : jetons --af-dons-*, par défaut l'accent et les textes du Customizer BB ; le thème les redéfinit.
   Bloc de don : colonne de classe af_dons_bloc (ou #soutenir) portant un champ « propositions de dons ».
   Sommaire :
   1. Jetons
   2. Étapier [af_dons_etapes]
   3. Champs du tunnel (formulaire TunnelForm, instructions de virement)
   4. Choix du paiement
   5. Bloc de don (formulaires avec suggestions de dons)
   6. Responsive (≤ 768px)
   ========================================================================== */

/* 1. Jetons (sans poids : le thème les redéfinit sur :root) */
:where(:root) {
  --af-dons-accent: var(--wp--preset--color--fl-accent, LinkText);
  --af-dons-accent-fonce: color-mix(in srgb, var(--af-dons-accent) 91%, black);
  --af-dons-texte: var(--wp--preset--color--fl-body-text, CanvasText);
  --af-dons-sombre: var(--wp--preset--color--fl-heading-text, CanvasText);
  --af-dons-discret: color-mix(in srgb, var(--af-dons-texte) 62%, Canvas);
  --af-dons-bordure: color-mix(in srgb, var(--af-dons-texte) 26%, Canvas);
  --af-dons-bordure-douce: color-mix(in srgb, var(--af-dons-texte) 12%, Canvas);
  --af-dons-gris-clair: color-mix(in srgb, var(--af-dons-texte) 9%, Canvas);
  --af-dons-lecture: color-mix(in srgb, var(--af-dons-texte) 5%, Canvas);
  --af-dons-valide: var(--af-dons-accent);
  --af-dons-valide-50: color-mix(in srgb, var(--af-dons-valide) 9%, Canvas);
  --af-dons-blanc: Canvas;
  --af-dons-marque: var(--af-btn-primaire, transparent);
  --af-dons-titre: inherit;
  --af-dons-police: inherit;
  --af-dons-rayon: 12px;
  --af-dons-icone-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --af-dons-icone-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --af-dons-icone-carte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
  --af-dons-icone-paypal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.3 21.5H3.8a.6.6 0 0 1-.6-.7L5.9 3.2a.9.9 0 0 1 .9-.7h6.6c3.4 0 5.6 1.8 5 5.1-.7 3.9-3.4 5.6-6.9 5.6H9.4a.9.9 0 0 0-.9.7Z'/%3E%3Cpath fill='black' opacity='.6' d='M19.4 8.2c.6 3.4-1.7 6.4-5.9 6.4h-1.6a.9.9 0 0 0-.9.7l-.8 5.6a.6.6 0 0 1-.6.6H7.3l.3-2 1-6.4h2.1c3.6 0 6.3-1.7 7-5.6Z'/%3E%3C/svg%3E");
  --af-dons-icone-banque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10 12 4l9 6'/%3E%3Cpath d='M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 20h18'/%3E%3C/svg%3E");
}

/* 2. Étapier [af_dons_etapes] */
.af_dons_etapes { max-width: 560px; margin: 0 auto; font-family: var(--af-dons-police); }
.af_dons_etapes ol { position: relative; display: flex; margin: 0; padding: 0; list-style: none; }
.af_dons_etapes ol::before {
  content: ""; position: absolute; top: 12px; left: 16.66%; right: 16.66%;
  height: 1px; background: var(--af-dons-bordure-douce);
}
.af_dons_etape {
  position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 0; padding: 0; text-align: center;
}
.af_dons_etape::before, .af_dons_etape::marker { content: none; }
.af_dons_etape_pastille {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-family: var(--af-dons-titre); font-size: 11px; font-weight: 700; line-height: 1;
  color: var(--af-dons-discret); background: var(--af-dons-gris-clair);
}
.af_dons_etape.is-faite .af_dons_etape_pastille,
.af_dons_etape.is-courante .af_dons_etape_pastille { color: var(--af-dons-blanc); background: var(--af-dons-accent); }
.af_dons_etape.is-faite .af_dons_etape_pastille { font-size: 0; }
.af_dons_etape.is-faite .af_dons_etape_pastille::after {
  content: ""; width: 12px; height: 12px; background: var(--af-dons-blanc);
  -webkit-mask: var(--af-dons-icone-check) center / contain no-repeat; mask: var(--af-dons-icone-check) center / contain no-repeat;
}
.af_dons_etape_libelle { font-size: 13px; line-height: 1.4; color: var(--af-dons-discret); }
.af_dons_etape.is-courante .af_dons_etape_libelle { font-weight: 600; color: var(--af-dons-texte); }
.af_dons_etapes_mobile { display: none; }

/* 3. Champs du tunnel (TunnelForm, instructions de virement) */
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) { font-family: var(--af-dons-police) !important; color: var(--af-dons-texte) !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gform_fields { row-gap: 22px !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(.gfield_label, legend.gfield_label) {
  margin: 0 0 8px !important; padding: 0 !important;
  font-family: var(--af-dons-titre) !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.4 !important; color: var(--af-dons-texte) !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gfield_required_asterisk { color: var(--af-dons-discret) !important; font-weight: 400 !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gform-field-label--type-sub {
  margin: 0 0 6px !important; padding: 0 !important;
  font-family: var(--af-dons-titre) !important; font-size: 13px !important; font-weight: 600 !important; color: var(--af-dons-texte) !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(input[type=text], input[type=email], input[type=tel], input[type=number], input:not([type]), select, textarea) {
  width: 100% !important; min-height: 52px !important; margin: 0 !important; padding: 0 16px !important;
  font-family: var(--af-dons-police) !important; font-size: 15px !important; line-height: 1.4 !important; color: var(--af-dons-texte) !important;
  background-color: var(--af-dons-blanc) !important; border: 1px solid var(--af-dons-bordure) !important; border-radius: var(--af-dons-rayon) !important;
  box-shadow: none !important; transition: border-color .15s, box-shadow .15s !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) textarea { padding-block: 12px !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(input, select, textarea):hover { border-color: var(--af-dons-discret) !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(input, select, textarea):focus {
  outline: 0 !important; border-color: var(--af-dons-sombre) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--af-dons-sombre) 14%, transparent) !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) select {
  -webkit-appearance: none !important; appearance: none !important; padding-inline-end: 44px !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) select:not([multiple]) { line-height: 50px !important; box-sizing: border-box !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .ginput_container_select { position: relative !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .ginput_container_select::after {
  content: "" !important; position: absolute !important; top: 50% !important; right: 16px !important; width: 16px !important; height: 16px !important; margin-top: -8px !important; pointer-events: none !important;
  background: var(--af-dons-texte) !important;
  -webkit-mask: var(--af-dons-icone-caret) center / contain no-repeat !important; mask: var(--af-dons-icone-caret) center / contain no-repeat !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(input[readonly], select:disabled, input:disabled) {
  color: var(--af-dons-discret) !important; background-color: var(--af-dons-lecture) !important; border-color: var(--af-dons-bordure-douce) !important; cursor: default !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .ginput_container_select:has(select:disabled)::after { opacity: .4 !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .ginput_container_address { row-gap: 16px !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gfield_radio { display: flex !important; flex-wrap: wrap !important; gap: 8px 28px !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gchoice { display: flex !important; align-items: center !important; gap: 10px !important; margin: 0 !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) input[type=radio] {
  width: 20px !important; height: 20px !important; margin: 0 !important; accent-color: var(--af-dons-valide) !important; cursor: pointer !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gform-field-label--type-inline { margin: 0 !important; font-size: 15px !important; font-weight: 400 !important; color: var(--af-dons-texte) !important; cursor: pointer !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gfield_html { font-size: 14px !important; line-height: 1.6 !important; color: var(--af-dons-texte) !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gfield_html a,
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gform_description a { color: inherit !important; text-decoration: underline !important; text-underline-offset: 2px !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(.gform_page_footer, .gform_footer) {
  display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 12px !important; margin: 28px 0 0 !important; padding: 0 !important; border: 0 !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(.gform_page_footer, .gform_footer) :is(button, input[type=submit], input[type=button], a.gform_button) {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 48px !important; margin: 0 !important; padding: 0 32px !important;
  font-family: var(--af-dons-titre) !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase !important; text-decoration: none !important;
  color: var(--af-dons-blanc) !important; background: var(--af-dons-accent) !important; border: 0 !important; border-radius: 999px !important; box-shadow: none !important; cursor: pointer !important;
  transition: background-color .15s !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(.gform_page_footer, .gform_footer) :is(button, input[type=submit], input[type=button], a.gform_button):hover { background: var(--af-dons-accent-fonce) !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gform_page_footer .gform_previous_button {
  color: var(--af-dons-sombre) !important; background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--af-dons-sombre) !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gform_page_footer .gform_previous_button:hover { background: var(--af-dons-lecture) !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(button, input, select, a):focus-visible { outline: 2px solid var(--af-dons-sombre) !important; outline-offset: 2px !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gform_title { font-family: var(--af-dons-titre) !important; font-size: 24px !important; font-weight: 700 !important; }
html body .TunnelForm_wrapper.af-virement:is(#af_dons_tunnel, *) .af-virement__valeur { font-family: var(--af-dons-titre) !important; font-weight: 600 !important; cursor: text !important; }

/* 4. Choix du paiement */
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment .gfield_radio {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment .gchoice { position: relative !important; display: block !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment input[type=radio] {
  position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0 !important; cursor: pointer !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment .gform-field-label--type-inline {
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; min-height: 56px !important; padding: 0 14px !important;
  font-family: var(--af-dons-titre) !important; font-size: 14px !important; font-weight: 600 !important; text-align: center !important;
  color: var(--af-dons-texte) !important; background: var(--af-dons-blanc) !important;
  border: 1px solid var(--af-dons-bordure-douce) !important; border-radius: var(--af-dons-rayon) !important;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--af-dons-sombre) 7%, transparent) !important;
  transition: border-color .15s, background-color .15s !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment .gform-field-label--type-inline::before {
  content: "" !important; flex: none !important; width: 20px !important; height: 20px !important; background: currentColor !important;
  -webkit-mask: var(--af-dons-icone-carte) center / contain no-repeat !important; mask: var(--af-dons-icone-carte) center / contain no-repeat !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment input[value=paypal] + label::before {
  -webkit-mask-image: var(--af-dons-icone-paypal) !important; mask-image: var(--af-dons-icone-paypal) !important; background: var(--af-dons-sombre) !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment input[value=stripe_virement] + label::before {
  -webkit-mask-image: var(--af-dons-icone-banque) !important; mask-image: var(--af-dons-icone-banque) !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment input:hover + label { border-color: var(--af-dons-bordure) !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment input:checked + label {
  background: var(--af-dons-valide-50) !important; border-color: var(--af-dons-valide) !important; box-shadow: inset 0 0 0 .5px var(--af-dons-valide) !important;
}
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment input:focus-visible + label { outline: 2px solid var(--af-dons-sombre) !important; outline-offset: 2px !important; }

/* 5. Bloc de don (formulaires avec suggestions de dons)
   Limité à la colonne de classe af_dons_bloc, ou d'ID soutenir (fond posé par le site, Beaver ou Bricks).
   Cartes et rail : voile transparent posé sur le fond du bloc. js/af_dons_tunnel.js mesure ce fond
   et pose data-af-dons-fond : « fonce » (voile blanc), « moyen » (voile noir, par défaut), « clair » (voile noir, texte sombre),
   ainsi que --af-dons-bloc-fond (couleur mesurée). Le rail de périodicité reste un voile noir.
   Couleur de marque : --af-dons-marque (défaut : --af-btn-primaire d'af-work). Si elle est lisible sur le fond (contraste ≥ 4,5),
   le JS pose data-af-dons-choisi=plein : choix coché et bouton en couleur de marque. Sinon blanc.
   Le thème peut redéfinir sur :root --af-dons-marque, --af-dons-bloc-accent (texte du choix coché) et --af-dons-bouton-fond, -encre, -rayon. */
:is(#soutenir, .af_dons_bloc) {
  --af-dons-bloc-encre: #fff;
  --af-dons-voile: rgb(0 0 0 / .16);
  --af-dons-voile-fort: rgb(0 0 0 / .24);
  --af-dons-choisi-fond: #fff;
  --af-dons-choisi-encre: var(--af-dons-sombre);
  --af-dons-choisi-accent: var(--af-dons-bloc-accent, var(--af-dons-accent));
  --af-dons-rail: rgb(0 0 0 / .16);
}
:is(#soutenir, .af_dons_bloc)[data-af-dons-fond=fonce] { --af-dons-voile: rgb(255 255 255 / .1); --af-dons-voile-fort: rgb(255 255 255 / .18); --af-dons-rail: rgb(0 0 0 / .28); }
:is(#soutenir, .af_dons_bloc)[data-af-dons-fond=clair] {
  --af-dons-bloc-encre: var(--af-dons-sombre); --af-dons-voile: rgb(0 0 0 / .05); --af-dons-voile-fort: rgb(0 0 0 / .09); --af-dons-rail: rgb(0 0 0 / .07);
  --af-dons-choisi-fond: var(--af-dons-sombre); --af-dons-choisi-encre: #fff; --af-dons-choisi-accent: #fff;
}
:is(#soutenir, .af_dons_bloc)[data-af-dons-choisi=plein] { --af-dons-choisi-fond: var(--af-dons-marque); --af-dons-choisi-encre: var(--af-dons-marque-encre); --af-dons-choisi-accent: var(--af-dons-marque-encre); }
.af_dons_bloc > .fl-col-content:has(.af_gfield_propositionsdons),
.af_dons_bloc:not(:has(> .fl-col-content)):has(.af_gfield_propositionsdons) { padding: 32px 28px !important; background: var(--af-dons-accent) !important; }
:is(#soutenir, .af_dons_bloc) > .fl-col-content:has(.af_gfield_propositionsdons),
:is(#soutenir, .af_dons_bloc):not(:has(> .fl-col-content)):has(.af_gfield_propositionsdons) { border-radius: 16px !important; }
:is(#soutenir, .af_dons_bloc) > .fl-col-content:has(.af_gfield_propositionsdons) :is(h1, h2, h3, h4, .fl-heading, .fl-rich-text p):not(.gsection_title) {
  font-family: var(--af-dons-titre) !important; font-style: normal !important;
}
:is(#soutenir, .af_dons_bloc) > .fl-col-content:has(.af_gfield_propositionsdons) .fl-module:has(.fl-heading, h2, h3):not(:has(.gform_wrapper)) :is(.fl-heading, h2, h3),
:is(#soutenir, .af_dons_bloc):not(:has(> .fl-col-content)):has(.af_gfield_propositionsdons) :is(h2, h3, h4, .brxe-heading):not(.gsection_title, .gform_wrapper *) {
  font-size: 22px !important; font-weight: 700 !important; line-height: 1.25 !important; color: var(--af-dons-bloc-encre) !important; text-align: left !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) { font-family: var(--af-dons-police) !important; color: var(--af-dons-bloc-encre) !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gform_required_legend { display: none !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gform_fields { row-gap: 12px !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gsection { margin: 12px 0 0 !important; padding: 0 !important; border: 0 !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gsection_title {
  margin: 0 !important; font-family: var(--af-dons-titre) !important; font-size: 12px !important; font-style: normal !important; font-weight: 700 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important; color: var(--af-dons-bloc-encre) !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) :is(.gfield--type-select, .gfield--type-radio, .af_gfield_propositionsdons) > :is(.gfield_label, legend.gfield_label) {
  position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) select {
  width: 100% !important; min-height: 48px !important; padding: 0 44px 0 16px !important;
  font-family: var(--af-dons-police) !important; font-size: 15px !important; color: var(--af-dons-texte) !important;
  background: var(--af-dons-blanc) !important; border: 0 !important; border-radius: var(--af-dons-rayon) !important; box-shadow: none !important;
  -webkit-appearance: none !important; appearance: none !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .ginput_container_select { position: relative !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .ginput_container_select::after {
  content: "" !important; position: absolute !important; top: 50% !important; right: 16px !important; width: 16px !important; height: 16px !important; margin-top: -8px !important; pointer-events: none !important;
  background: var(--af-dons-texte) !important;
  -webkit-mask: var(--af-dons-icone-caret) center / contain no-repeat !important; mask: var(--af-dons-icone-caret) center / contain no-repeat !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gsection { border-bottom: 0 !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gsection_title { font-family: var(--af-dons-titre) !important; font-style: normal !important; font-size: 12px !important; padding: 0 !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) select { color: var(--af-dons-texte) !important; background-color: var(--af-dons-blanc) !important; background-image: none !important; border: 0 !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield_radio .gchoice { border: 0 !important; padding: 0 !important; justify-content: flex-start !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield_radio .gchoice label { width: 100% !important; max-width: none !important; border: 0 !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield_radio .gchoice label::before,
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield_radio .gchoice label::after { content: none !important; display: none !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice label span { width: auto !important; flex: 1 1 auto !important; position: static !important; font-size: 14px !important; text-align: left !important; }
:is(#soutenir, .af_dons_bloc) > .fl-col-content:has(.af_gfield_propositionsdons) .fl-module-separator { display: none !important; }
/* Périodicité : un rail, le choix en blanc */
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield--type-radio:not(.af_gfield_propositionsdons) .gfield_radio {
  display: flex !important; gap: 0 !important; margin: 0 !important; padding: 4px !important; background: var(--af-dons-rail) !important; border-radius: 999px !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield--type-radio:not(.af_gfield_propositionsdons) .gchoice { position: relative !important; flex: 1 1 0 !important; margin: 0 !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield_radio input[type=radio] {
  position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0 !important; cursor: pointer !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield--type-radio:not(.af_gfield_propositionsdons) label {
  display: flex !important; align-items: center !important; justify-content: center !important; min-height: 40px !important; margin: 0 !important; padding: 0 12px !important;
  font-family: var(--af-dons-titre) !important; font-size: 14px !important; font-weight: 700 !important; color: var(--af-dons-bloc-encre) !important;
  text-transform: capitalize !important; border-radius: 999px !important; cursor: pointer !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield--type-radio:not(.af_gfield_propositionsdons) input:checked + label {
  color: var(--af-dons-choisi-accent) !important; background: var(--af-dons-choisi-fond) !important;
}
/* Montants : cartes accent foncé, le choix en blanc ; sans description, en grille */
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gfield_radio {
  display: flex !important; flex-direction: column !important; gap: 8px !important; margin: 0 !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gfield_radio:not(:has(label span:not(:empty))) {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice {
  position: relative !important; display: flex !important; align-items: center !important; margin: 0 !important;
  background: var(--af-dons-voile) !important; border-radius: var(--af-dons-rayon) !important; transition: background-color .15s !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice:hover { background: var(--af-dons-voile-fort) !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice:has(input:checked):not(.other) { background: var(--af-dons-choisi-fond) !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice label {
  display: flex !important; align-items: center !important; gap: 14px !important; flex: 1 1 auto !important; min-height: 52px !important; margin: 0 !important; padding: 8px 16px !important;
  font-size: 14px !important; line-height: 1.35 !important; color: var(--af-dons-bloc-encre) !important; cursor: pointer !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice label em {
  flex: none !important; min-width: 64px !important; font-family: var(--af-dons-titre) !important; font-size: 18px !important; font-style: normal !important; font-weight: 700 !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gfield_radio:not(:has(label span:not(:empty))) .gchoice:not(.other) label { justify-content: center !important; min-height: 56px !important; padding-inline: 8px !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gfield_radio:not(:has(label span:not(:empty))) .gchoice:not(.other) label em { min-width: 0 !important; font-size: 22px !important; text-align: center !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice label span:empty { display: none !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice:has(input:checked):not(.other) label { color: var(--af-dons-choisi-encre) !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice:has(input:checked):not(.other) label em { color: var(--af-dons-choisi-accent) !important; }
/* Montant libre : cinquième option, champ discret tant qu'il n'est pas choisi */
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice.other { grid-column: 1 / -1 !important; gap: 12px !important; padding-right: 8px !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice.other input[type=radio] { width: calc(100% - 136px) !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice.other label { min-height: 56px !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice.other label em {
  min-width: 0 !important; font-family: var(--af-dons-police) !important; font-size: 14px !important; font-weight: 600 !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice_other_control {
  position: relative !important; z-index: 1 !important; flex: none !important; width: 120px !important; height: 40px !important; min-height: 0 !important; margin: 0 !important; padding: 0 12px !important;
  font-family: var(--af-dons-titre) !important; font-size: 16px !important; font-weight: 700 !important; text-align: center !important;
  color: var(--af-dons-bloc-encre) !important; background: var(--af-dons-bloc-fond, transparent) !important;
  border: 0 !important; border-radius: 8px !important; box-shadow: none !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice_other_control::placeholder { color: color-mix(in srgb, var(--af-dons-bloc-encre) 75%, transparent) !important; text-align: center !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice.other:has(input[type=radio]:checked) .gchoice_other_control,
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice_other_control:focus {
  color: var(--af-dons-choisi-accent) !important; background: var(--af-dons-choisi-fond) !important; outline: 0 !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice.other:has(input[type=radio]:checked) .gchoice_other_control::placeholder,
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice_other_control:focus::placeholder { color: var(--af-dons-choisi-accent) !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice:has(input:focus-visible) { outline: 2px solid var(--af-dons-bloc-encre) !important; outline-offset: 2px !important; }
/* Coût après déduction et bouton */
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield_html {
  margin: 12px 0 0 !important; font-size: 14px !important; line-height: 1.5 !important; text-align: center !important; color: var(--af-dons-bloc-encre) !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield_html .af_cout_reel { font-family: var(--af-dons-titre) !important; font-size: 16px !important; font-weight: 700 !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gform_footer { margin: 20px 0 0 !important; padding: 0 !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gform_footer :is(button, input[type=submit]) {
  width: 100% !important; min-height: 56px !important; margin: 0 !important; padding: 0 24px !important;
  font-family: var(--af-dons-titre) !important; font-size: 16px !important; font-weight: 800 !important; letter-spacing: .06em !important; text-transform: uppercase !important;
  color: var(--af-dons-bouton-encre, var(--af-dons-choisi-accent)) !important; background: var(--af-dons-bouton-fond, var(--af-dons-choisi-fond)) !important;
  border: 0 !important; border-radius: var(--af-dons-bouton-rayon, 999px) !important; box-shadow: none !important; cursor: pointer !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gform_footer :is(button, input[type=submit]):hover { filter: brightness(.94) !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gform_footer :is(button, input[type=submit]):focus-visible { outline: 2px solid var(--af-dons-bloc-encre) !important; outline-offset: 2px !important; }
/* Erreurs : message en pastille blanche, champ cerné de blanc */
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .validation_message {
  display: inline-flex !important; align-items: center !important; gap: 8px !important; width: auto !important; margin: 8px 0 0 !important; padding: 6px 12px !important;
  font-size: 13px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--af-dons-sombre) !important;
  background: var(--af-dons-blanc) !important; border: 0 !important; border-radius: 8px !important;
}
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .validation_message::before { color: var(--af-dons-accent) !important; margin: 0 !important; position: static !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield_error select,
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield_error.af_gfield_propositionsdons .gfield_radio {
  outline: 2px solid var(--af-dons-bloc-encre) !important; outline-offset: 3px !important; border-radius: var(--af-dons-rayon) !important;
}

/* Remises : icônes, marges et largeurs posées par le thème du site */
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) select { background-image: none !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice label em { margin: 0 !important; width: auto !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice label em::before { content: none !important; display: none !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice.other > label { width: auto !important; flex: 1 1 auto !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice_other_control:disabled { opacity: 1 !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gfield--type-radio:not(.af_gfield_propositionsdons) .gfield_radio { width: 100% !important; }

html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment .gfield_radio .gchoice { width: auto !important; max-width: none !important; margin: 0 !important; flex: none !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment .gfield_radio .gchoice label { width: 100% !important; margin: 0 !important; top: 0 !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment input:checked + label { color: var(--af-dons-texte) !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment .gform-field-label--type-inline::before { background: var(--af-dons-texte) !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(.gform_page_footer, .gform_footer) :is(button, input[type=submit], input[type=button]):is(:disabled, .gform_previous_button) { display: none !important; }

html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .gsection_title { text-align: left !important; }
html body :is(#soutenir, .af_dons_bloc) .gform_wrapper.gform_wrapper:has(.af_gfield_propositionsdons) .af_gfield_propositionsdons .gchoice.other label em { flex: 1 1 auto !important; min-width: 0 !important; }
:is(#soutenir, .af_dons_bloc) > .fl-col-content:has(.af_gfield_propositionsdons) .fl-module:has(.fl-heading, h2, h3):not(:has(.gform_wrapper)) :is(.fl-heading, h2, h3, .fl-heading-text) { text-align: left !important; }

html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gfield--width-third.hidden_label { margin-top: 29px !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .ginput_container_address .address_country { position: relative !important; }
html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .ginput_container_address .address_country::after {
  content: "" !important; position: absolute !important; right: 16px !important; bottom: 18px !important; width: 16px !important; height: 16px !important; pointer-events: none !important;
  background: var(--af-dons-texte) !important;
  -webkit-mask: var(--af-dons-icone-caret) center / contain no-repeat !important; mask: var(--af-dons-icone-caret) center / contain no-repeat !important;
}

/* Confirmation (page portant l'étapier à l'étape 3) */
body:has(.af_dons_etapes--3) .fl-module-icon .fl-icon {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 64px !important; height: 64px !important; border-radius: 50% !important; background: var(--af-dons-valide-50) !important;
}
body:has(.af_dons_etapes--3) .fl-module-icon .fl-icon i,
body:has(.af_dons_etapes--3) .fl-module-icon .fl-icon i::before { font-size: 28px !important; color: var(--af-dons-valide) !important; }
body:has(.af_dons_etapes--3) .fl-rich-text h2 {
  margin: 0 0 8px !important; font-family: var(--af-dons-titre) !important; font-size: 28px !important; font-weight: 700 !important; line-height: 1.25 !important; color: var(--af-dons-texte) !important;
}

/* 6. Responsive (≤ 768px) */
@media (max-width: 768px) {
  .af_dons_etape_libelle { display: none !important; }
  .af_dons_etapes_mobile { text-align: center !important; display: block !important; margin: 8px 0 0 !important; font-size: 13px !important; font-weight: 600 !important; color: var(--af-dons-texte) !important; }
  html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(input, select, textarea) { font-size: 16px !important; }
  html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .af_modepaiement_triggerpayment .gfield_radio { grid-template-columns: minmax(0, 1fr) !important; }
  html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) :is(.gform_page_footer, .gform_footer) :is(button, input[type=submit], input[type=button], a.gform_button) { width: 100% !important; }
  html body .TunnelForm_wrapper.TunnelForm_wrapper.gform_wrapper:is(#af_dons_tunnel, *) .gfield--width-third.hidden_label { margin-top: 0 !important; }
}
