/* (c) 2026 YANOVA SAS — Tous droits réservés */
/* Socle famille-yanova : composants communs aux sites de la famille YANOVA.
   Préfixe fy-. N'utilise que les rôles de couleur (jetons-defaut.css, redéfinis par jetons-site.css).
   Aucun style en ligne n'est nécessaire : compatible avec une CSP stricte. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hauteur-entete) + 56px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 17px/27px var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-survol); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.fy-masque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fy-evitement { position: absolute; left: var(--espace-4); top: -100px; z-index: 100; padding: var(--espace-2) var(--espace-4); background: var(--action); color: var(--texte-sur-action); border-radius: var(--rayon-sm); }
.fy-evitement:focus { top: var(--espace-2); }

/* ---------- Typographie ---------- */
.fy-display, .fy-h1, .fy-h2, .fy-h3 { color: var(--titre); margin: 0; }
.fy-display { font: 700 56px/60px var(--font-sans); letter-spacing: -.02em; }
.fy-h1 { font: 700 40px/46px var(--font-sans); letter-spacing: -.015em; }
.fy-h2 { font: 700 30px/38px var(--font-sans); letter-spacing: -.01em; }
.fy-h3 { font: 600 21px/28px var(--font-sans); }
.fy-surtitre { margin: 0 0 var(--espace-3); font: 600 13px/18px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-texte); }
.fy-chapo { font-size: 20px; line-height: 31px; color: var(--texte); max-width: var(--largeur-texte); }
.fy-petit { font-size: 14px; line-height: 21px; color: var(--texte-discret); }
.fy-donnee { font: 400 14px/21px var(--font-mono); }
.fy-chiffre { font: 500 40px/44px var(--font-mono); color: var(--titre); }
.fy-a-def { font-style: italic; color: var(--texte-discret); }
@media (max-width: 640px) {
  .fy-display { font-size: 36px; line-height: 40px; }
  .fy-h1 { font-size: 30px; line-height: 36px; }
  .fy-h2 { font-size: 24px; line-height: 30px; }
  .fy-chapo { font-size: 18px; line-height: 28px; }
}

/* ---------- Mise en page ---------- */
.fy-conteneur { max-width: var(--largeur-page); margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
.fy-section { padding-block: var(--espace-24); }
.fy-section--alt { background: var(--fond-alt); }
.fy-section--nuit, .fy-bande-nuit { background: var(--bande-nuit); color: var(--texte-sur-nuit); }
.fy-section--nuit .fy-h2, .fy-section--nuit .fy-h3, .fy-section--nuit .fy-display, .fy-bande-nuit .fy-h2 { color: var(--texte-sur-nuit); }
.fy-section--nuit .fy-surtitre, .fy-bande-nuit .fy-surtitre { color: var(--accent-sur-nuit); }
.fy-section--nuit a:not(.fy-bouton) { color: var(--accent-sur-nuit); }
.fy-section__tete { max-width: var(--largeur-texte); margin-bottom: var(--espace-12); }
.fy-section__tete .fy-h2 + p { margin-top: var(--espace-4); }
@media (max-width: 640px) {
  .fy-conteneur { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .fy-section { padding-block: var(--espace-16); }
}

/* ---------- Icônes (sprite Lucide, trait 1,75) ---------- */
.fy-icone { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons ---------- */
.fy-bouton { display: inline-flex; align-items: center; justify-content: center; gap: var(--espace-2); white-space: nowrap; font: 600 16px/20px var(--font-sans); padding: 12px 20px; border-radius: var(--rayon-md); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.fy-bouton .fy-icone { width: 18px; height: 18px; }
.fy-bouton--principal { background: var(--action); color: var(--texte-sur-action); }
.fy-bouton--principal:hover { background: var(--action-survol); color: var(--texte-sur-action); }
.fy-bouton--secondaire { background: transparent; color: var(--action); border-color: var(--action); }
.fy-bouton--secondaire:hover { color: var(--action-survol); border-color: var(--action-survol); }
.fy-bouton--nuit { background: var(--accent-sur-nuit); color: var(--bande-nuit); }
.fy-bouton--nuit:hover { background: var(--texte-sur-nuit); color: var(--bande-nuit); }
.fy-bouton--grand { padding: 16px 28px; font-size: 17px; }
.fy-bouton--compact { padding: 8px 16px; font-size: 15px; }
.fy-boutons { display: flex; flex-wrap: wrap; gap: var(--espace-3); margin-top: var(--espace-8); }

/* ---------- Cartes et pastilles ---------- */
.fy-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--espace-6); }
.fy-carte { display: flex; flex-direction: column; gap: var(--espace-3); padding: var(--espace-6); background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--rayon-md); box-shadow: var(--ombre-carte); color: var(--texte); text-decoration: none; transition: box-shadow .2s, transform .2s; }
a.fy-carte:hover { box-shadow: var(--ombre-survol); transform: translateY(-2px); color: var(--texte); }
.fy-carte__suite { margin-top: auto; display: inline-flex; gap: var(--espace-2); align-items: center; font-weight: 600; color: var(--action); }
.fy-pastille { display: inline-flex; align-items: center; gap: var(--espace-1); padding: 2px 10px; border-radius: var(--rayon-pilule); border: 1px solid var(--bordure); font: 500 12px/18px var(--font-mono); color: var(--texte-discret); background: var(--surface); }
.fy-carte .fy-pastille { align-self: flex-start; }
@media (max-width: 960px) { .fy-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fy-cartes { grid-template-columns: 1fr; } }

/* ---------- En-tête ---------- */
.fy-entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--fond); border-bottom: 1px solid var(--bordure); }
.fy-entete__barre { display: flex; align-items: center; gap: var(--espace-6); height: var(--hauteur-entete); }
.fy-logo { display: flex; align-items: center; flex: none; height: 40px; text-decoration: none; }
.fy-logo img { display: block; height: 40px; width: auto; }
.fy-logo__sombre { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fy-logo__clair { display: none !important; } :root:not([data-theme="light"]) .fy-logo__sombre { display: block !important; } }
:root[data-theme="dark"] .fy-logo__clair { display: none !important; }
:root[data-theme="dark"] .fy-logo__sombre { display: block !important; }
.fy-nav { display: flex; align-items: center; gap: var(--espace-4); flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.fy-nav > a, .fy-nav__deroulant { font: 600 15px/20px var(--font-sans); color: var(--titre); text-decoration: none; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--espace-1); }
.fy-nav > a:hover, .fy-nav__deroulant:hover, .fy-nav > a[aria-current="page"], .fy-nav__deroulant[aria-expanded="true"] { color: var(--action); border-bottom-color: var(--action); }
.fy-nav__deroulant .fy-icone { width: 16px; height: 16px; transition: transform .2s; }
.fy-nav__deroulant[aria-expanded="true"] .fy-icone { transform: rotate(180deg); }
.fy-nav__seul-burger, .fy-nav__connexion { display: none !important; }
.fy-actions { display: flex; align-items: center; gap: var(--espace-2); flex: none; }
.fy-burger { display: none; background: none; border: 0; color: var(--titre); padding: var(--espace-2); cursor: pointer; }
.fy-burger .fy-icone { width: 24px; height: 24px; }
.fy-burger__fermer { display: none; }
.fy-entete.fy-menu-ouvert .fy-burger__ouvrir { display: none; }
.fy-entete.fy-menu-ouvert .fy-burger__fermer { display: inline; }

/* Sélecteur de langue (texte, pas de drapeau) */
.fy-langues { position: relative; }
.fy-langues__bouton { font: 600 14px/20px var(--font-mono); color: var(--titre); background: none; border: 1px solid var(--bordure); border-radius: var(--rayon-sm); padding: 6px 10px; cursor: pointer; }
.fy-langues__liste { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; list-style: none; margin: 0; padding: var(--espace-1); min-width: 160px; background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--rayon-sm); box-shadow: var(--ombre-panneau); }
.fy-langues__liste a { display: flex; justify-content: space-between; gap: var(--espace-3); padding: 6px 10px; border-radius: 6px; color: var(--titre); text-decoration: none; font-size: 15px; }
.fy-langues__liste a:hover, .fy-langues__liste a[aria-current="true"] { background: var(--fond-alt); color: var(--action); }
.fy-langues__liste b { font: 500 12px/20px var(--font-mono); color: var(--texte-discret); }

@media (max-width: 1060px) {
  .fy-nav { display: none; }
  .fy-burger { display: inline-flex; }
  .fy-entete__barre { justify-content: space-between; }
  .fy-entete.fy-menu-ouvert .fy-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: var(--espace-2) var(--espace-6) var(--espace-4); background: var(--fond); border-bottom: 1px solid var(--bordure); max-height: calc(100vh - var(--hauteur-entete)); overflow-y: auto; }
  .fy-entete.fy-menu-ouvert .fy-nav > a, .fy-entete.fy-menu-ouvert .fy-nav__deroulant { display: flex; width: 100%; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--bordure); }
  .fy-entete.fy-menu-ouvert .fy-nav__seul-burger { display: flex !important; }
  .fy-entete.fy-menu-ouvert .fy-sous-nav { display: none; }
  .fy-entete.fy-menu-ouvert .fy-nav__appel { margin-top: var(--espace-3); justify-content: center !important; padding: 12px 16px !important; border: 0 !important; border-radius: var(--rayon-md); background: var(--action); color: var(--texte-sur-action) !important; }
}
@media (max-width: 960px) {
  :root { --hauteur-entete: 64px; }
  .fy-logo, .fy-logo img { height: 32px; }
  .fy-actions .fy-bouton--secondaire { display: none; }
  .fy-entete.fy-menu-ouvert .fy-nav__connexion { display: flex !important; }
  .fy-entete.fy-menu-ouvert .fy-nav > a.fy-nav__connexion { margin-top: var(--espace-2); justify-content: center; padding: 11px 16px; border: 1px solid var(--action); border-radius: var(--rayon-md); color: var(--action); }
}
@media (max-width: 480px) { .fy-actions .fy-bouton--principal { display: none; } }

/* ---------- Méga-menu (un ou plusieurs panneaux) ---------- */
.fy-mega { position: absolute; top: 100%; left: 0; right: 0; z-index: 25; background: var(--fond); border-bottom: 1px solid var(--bordure); box-shadow: var(--ombre-panneau); max-height: calc(100vh - var(--hauteur-entete) - 8px); overflow-y: auto; }
.fy-mega .fy-conteneur { padding-block: var(--espace-6); }
.fy-mega__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--espace-6) 28px; }
.fy-mega__vedette { grid-column: span 2; display: flex; flex-direction: column; gap: var(--espace-2); padding: var(--espace-6); border-radius: var(--rayon-md); background: var(--fond-alt); color: var(--titre); text-decoration: none; }
.fy-mega__vedette:hover { color: var(--action); }
.fy-mega__vedette p { margin: 0; color: var(--texte); font-size: 15px; line-height: 22px; }
.fy-mega__titre { margin: 0 0 var(--espace-2); font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-texte); }
.fy-mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fy-mega li a { display: flex; flex-direction: column; padding: 6px 8px; margin: 0 -8px; border-radius: var(--rayon-sm); color: var(--titre); text-decoration: none; font-size: 15px; line-height: 20px; }
.fy-mega li a span { font-size: 13px; line-height: 18px; color: var(--texte-discret); }
.fy-mega li a:hover, .fy-mega li a[aria-current="page"] { background: var(--fond-alt); color: var(--action); }
.fy-mega__pied { margin: var(--espace-6) 0 0; padding-top: var(--espace-4); border-top: 1px solid var(--bordure); }
.fy-mega__pied a { font-weight: 600; }
@media (max-width: 640px) { .fy-mega__vedette { grid-column: auto; } }

/* ---------- Sous-navigation de la page ---------- */
.fy-sous-nav { border-top: 1px solid var(--bordure); }
.fy-sous-nav .fy-conteneur { display: flex; gap: var(--espace-6); overflow-x: auto; scrollbar-width: none; }
.fy-sous-nav .fy-conteneur::-webkit-scrollbar { display: none; }
.fy-sous-nav a { flex: none; display: inline-flex; gap: var(--espace-1); align-items: center; padding: 10px 0; font-size: 14px; line-height: 20px; color: var(--texte-discret); text-decoration: none; border-bottom: 2px solid transparent; }
.fy-sous-nav a:hover, .fy-sous-nav a[aria-current="location"] { color: var(--action); border-bottom-color: var(--action); }
.fy-sous-nav .fy-icone { width: 16px; height: 16px; }

/* ---------- Rail droit ---------- */
.fy-rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 19; display: flex; flex-direction: column; gap: var(--espace-2); }
.fy-rail a { writing-mode: vertical-rl; transform: rotate(180deg); padding: 18px 10px; font: 600 14px/18px var(--font-sans); text-decoration: none; border: 1.5px solid var(--action); border-left: 0; border-radius: 0 var(--rayon-md) var(--rayon-md) 0; box-shadow: var(--ombre-carte); transition: background-color .15s, color .15s, padding .15s; }
.fy-rail a:hover { padding-left: 14px; }
.fy-rail__principal { background: var(--action); color: var(--texte-sur-action); }
.fy-rail__principal:hover { background: var(--action-survol); border-color: var(--action-survol); color: var(--texte-sur-action); }
.fy-rail__secondaire { background: var(--fond); color: var(--action); }
.fy-rail a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) { .fy-rail { display: none; } }
@media print { .fy-rail, .fy-entete, .fy-cookies-bandeau, .fy-cookies-flottant { display: none; } }

/* ---------- Pied de page unique, sur bande nuit ---------- */
.fy-pied { background: var(--bande-nuit); color: var(--texte-sur-nuit); padding-block: var(--espace-16) var(--espace-8); font-size: 14px; line-height: 21px; }
.fy-pied a { color: var(--texte-sur-nuit); text-decoration: none; }
.fy-pied a:hover { color: var(--accent-sur-nuit); text-decoration: underline; }
.fy-pied__grille { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--espace-8); }
.fy-pied__marque img { height: 40px; width: auto; }
.fy-pied__marque p { margin: var(--espace-4) 0 0; max-width: 300px; opacity: .85; }
.fy-pied h2 { margin: 0 0 var(--espace-3); font: 600 13px/18px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-sur-nuit); }
.fy-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--espace-2); }
.fy-pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--espace-4); margin-top: var(--espace-12); padding-top: var(--espace-6); border-top: 1px solid rgba(255, 255, 255, .16); opacity: .9; }
.fy-pied__bas button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 960px) { .fy-pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .fy-pied__grille { grid-template-columns: 1fr; } }

/* Bandeau croisé « Une solution YANOVA » */
.fy-bandeau { margin-top: var(--espace-12); padding-top: var(--espace-6); border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3) var(--espace-6); }
.fy-bandeau__titre { margin: 0; font: 600 13px/18px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-sur-nuit); }
.fy-bandeau ul { display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.fy-bandeau a { display: inline-flex; flex-direction: column; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--rayon-sm); }
.fy-bandeau a b { font-weight: 700; letter-spacing: .02em; }
.fy-bandeau a span { font-size: 12px; line-height: 16px; opacity: .8; }
.fy-bandeau a[aria-current="true"] { border-color: var(--accent-sur-nuit); }
.fy-bandeau a:hover { text-decoration: none; border-color: var(--accent-sur-nuit); }

/* ---------- Texte courant (pages de texte) ---------- */
.fy-texte { max-width: var(--largeur-texte); }
.fy-texte h2 { font: 700 24px/32px var(--font-sans); color: var(--titre); margin: var(--espace-12) 0 var(--espace-3); }
.fy-texte h3 { font: 600 19px/26px var(--font-sans); color: var(--titre); margin: var(--espace-8) 0 var(--espace-2); }
.fy-texte table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.fy-texte th, .fy-texte td { text-align: left; padding: var(--espace-2) var(--espace-3); border-bottom: 1px solid var(--bordure); vertical-align: top; }
@media (max-width: 640px) { .fy-texte table { display: block; overflow-x: auto; } .fy-texte th, .fy-texte td { min-width: 140px; } }
.fy-avertissement { display: flex; gap: var(--espace-3); padding: var(--espace-4); margin-bottom: var(--espace-8); border: 1px solid var(--bordure); border-radius: var(--rayon-md); background: var(--fond-alt); font-size: 15px; line-height: 22px; }
.fy-avertissement .fy-icone { color: var(--accent-texte); margin-top: 1px; }
mark.fy-a-verifier { background: var(--danger-fond); color: var(--danger-texte); padding: 0 2px; }

/* ---------- Révélations au défilement (sans script : tout est visible) ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .fy-revele { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .fy-revele.fy-vu { opacity: 1; transform: none; }
  .fy-revele-groupe > * { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
  .fy-revele-groupe.fy-vu > * { opacity: 1; transform: none; }
  .fy-revele-groupe.fy-vu > *:nth-child(2) { transition-delay: .08s; }
  .fy-revele-groupe.fy-vu > *:nth-child(3) { transition-delay: .16s; }
  .fy-revele-groupe.fy-vu > *:nth-child(4) { transition-delay: .24s; }
  .fy-revele-groupe.fy-vu > *:nth-child(5) { transition-delay: .32s; }
  .fy-revele-groupe.fy-vu > *:nth-child(n+6) { transition-delay: .4s; }
}

/* ---------- Boucle (anneau à N étapes) ---------- */
.fy-boucle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--espace-12); align-items: center; }
.fy-boucle__anneau { width: 100%; max-width: 440px; margin: 0 auto; }
.fy-boucle__anneau svg { display: block; width: 100%; height: auto; overflow: visible; }
.fy-boucle__segment { fill: var(--boucle-segment); stroke: var(--fond); stroke-width: 3; cursor: pointer; transition: fill .2s; }
.fy-section--alt .fy-boucle__segment { stroke: var(--fond-alt); }
.fy-boucle__segment:hover { fill: var(--boucle-segment-survol); }
.fy-boucle__segment.fy-actif { fill: var(--action); }
.fy-boucle__libelle { font: 600 13px/1 var(--font-sans); fill: var(--titre); pointer-events: none; }
.fy-boucle__libelle.fy-actif { fill: var(--texte-sur-action); }
.fy-boucle__point { fill: var(--accent-texte); }
.fy-boucle__centre { font: 700 18px/1 var(--font-sans); fill: var(--titre); }
.fy-boucle__etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--espace-2); counter-reset: etape; }
.fy-boucle__etapes button { width: 100%; text-align: left; display: grid; grid-template-columns: 32px 1fr; gap: var(--espace-3); padding: var(--espace-3) var(--espace-4); border: 1px solid var(--bordure); border-radius: var(--rayon-md); background: var(--surface); color: var(--texte); font: inherit; cursor: pointer; }
.fy-boucle__etapes button::before { counter-increment: etape; content: counter(etape, decimal-leading-zero); font: 500 14px/27px var(--font-mono); color: var(--accent-texte); }
.fy-boucle__etapes button strong { display: block; color: var(--titre); }
.fy-boucle__etapes button span { grid-column: 2; display: none; font-size: 15px; line-height: 22px; }
.fy-boucle__etapes button[aria-pressed="true"] { border-color: var(--action); box-shadow: var(--ombre-carte); }
.fy-boucle__etapes button[aria-pressed="true"] span { display: block; }
@media (max-width: 960px) { .fy-boucle { grid-template-columns: 1fr; } }

/* ---------- Consentement aux cookies ---------- */
.fy-cookies-bandeau { position: fixed; left: var(--espace-4); bottom: var(--espace-4); z-index: 60; max-width: 440px; padding: var(--espace-6); border-radius: var(--rayon-lg); background: var(--surface); color: var(--texte); border: 1px solid var(--bordure); box-shadow: var(--ombre-panneau); font-size: 15px; line-height: 22px; }
.fy-cookies-bandeau p { margin: 0 0 var(--espace-3); }
.fy-cookies-bandeau__titre { font-weight: 700; color: var(--titre); }
.fy-cookies-boutons { display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.fy-cookies-boutons .fy-bouton { flex: 1 1 auto; }
.fy-cookies-fenetre { max-width: 520px; width: calc(100% - 32px); border: 1px solid var(--bordure); border-radius: var(--rayon-lg); padding: var(--espace-6); background: var(--surface); color: var(--texte); font-size: 15px; line-height: 22px; }
.fy-cookies-fenetre::backdrop { background: rgba(10, 20, 30, .45); }
.fy-cookies-fenetre h2 { font-size: 22px; margin: 0 0 var(--espace-2); color: var(--titre); }
.fy-cookies-cat { border-top: 1px solid var(--bordure); padding-top: var(--espace-3); }
.fy-cookies-cat label { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--titre); cursor: pointer; }
.fy-cookies-cat input { width: 20px; height: 20px; accent-color: var(--action); }
.fy-cookies-flottant { position: fixed; left: var(--espace-4); bottom: var(--espace-4); z-index: 50; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--titre); border: 1px solid var(--bordure); box-shadow: var(--ombre-carte); cursor: pointer; }
@media (max-width: 520px) { .fy-cookies-bandeau { left: var(--espace-2); right: var(--espace-2); bottom: var(--espace-2); max-width: none; } }

/* ---------- Formulaires ---------- */
.fy-champ { display: grid; gap: var(--espace-1); margin-bottom: var(--espace-4); }
.fy-champ label { font-weight: 600; color: var(--titre); font-size: 15px; }
.fy-champ input, .fy-champ textarea, .fy-champ select { font: inherit; padding: 10px 12px; border: 1px solid var(--bordure-champ); border-radius: var(--rayon-sm); background: var(--surface); color: var(--texte); }
.fy-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fy-message--succes { background: var(--succes-fond); color: var(--succes-texte); padding: var(--espace-3) var(--espace-4); border-radius: var(--rayon-sm); }
.fy-message--erreur { background: var(--danger-fond); color: var(--danger-texte); padding: var(--espace-3) var(--espace-4); border-radius: var(--rayon-sm); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
