/* Formations du Sourire – styles partagés : responsive + animations */

/* Marges homogènes : le padding est compté dans la largeur de chaque bloc */
*, *::before, *::after { box-sizing: border-box; }

/* ---------- Responsive (largeur du conteneur de page) ---------- */
@container fs (max-width: 860px) {
  .fs-desk { display: none !important; }
  .fs-mob { display: flex !important; }
  .fs-1col { grid-template-columns: minmax(0, 1fr) !important; }
  .fs-2col { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .fs-stack { flex-direction: column !important; align-items: stretch !important; }
  .fs-pad { padding-left: 20px !important; padding-right: 20px !important; }
  .fs-sec { padding-top: 64px !important; padding-bottom: 64px !important; }
  .fs-sec-s { padding-top: 40px !important; padding-bottom: 56px !important; }
  .fs-gap { gap: 32px !important; }
  .fs-gap-s { gap: 24px !important; }
  .fs-span { grid-column: 1 / -1 !important; }
  .fs-full { width: 100% !important; justify-content: center !important; box-sizing: border-box; }
  .fs-card { padding: 22px !important; }
  .fs-first { order: -1 !important; }
  .fs-wm { height: 10px !important; }
  .fs-heromark { max-width: 300px !important; margin: 0 auto 8px !important; }
  .fs-barout { bottom: 0 !important; }
  .fs-barwrap { padding: 0 !important; }
  .fs-bar { border-radius: 16px 16px 0 0 !important; max-width: none !important; padding: 10px 10px 10px 16px !important; gap: 12px !important; }
  .fs-bartext { font-size: 14px !important; line-height: 1.3 !important; }
  .fs-barbtn { padding: 12px 16px !important; font-size: 14px !important; }
  .fs-footlogo { width: 220px !important; }
  .fs-overlay { position: static !important; padding: 0 !important; }
  .fs-overlay-card { max-width: none !important; border-radius: 0 !important; padding: 28px 20px 40px !important; background: #EAF1F7 !important; }
  .fs-thumb { width: 96px !important; }
}

/* ---------- Images ---------- */
.fs-img { display: block; height: auto; max-width: 100%; }

/* ---------- Keyframes ---------- */
@keyframes fs-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fs-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fs-barin { from { opacity: 0; transform: translateY(130%); } to { opacity: 1; transform: none; } }
@keyframes fs-tick { 0%, 18% { transform: scale(0); } 28%, 86% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes fs-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fs-ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); } 80%, 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
@keyframes fs-shadow { from { box-shadow: 0 0 0 rgba(12,34,58,0); } to { box-shadow: 0 10px 30px rgba(12,34,58,0.08); } }

/* ---------- Apparition au chargement (haut de page) ---------- */
.fs-in { animation: fs-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.fs-d1 { animation-delay: 0.08s; }
.fs-d2 { animation-delay: 0.2s; }
.fs-d3 { animation-delay: 0.32s; }
.fs-d4 { animation-delay: 0.44s; }
.fs-d5 { animation-delay: 0.56s; }
.fs-d6 { animation-delay: 0.68s; }

/* Logo dentaire : dévoilement de gauche à droite (du plein au filaire), puis flottement */
.fs-mark { animation: fs-wipe 1.8s cubic-bezier(0.6, 0.05, 0.2, 1) 0.25s both, fs-float 8s ease-in-out 2.2s infinite; }

/* ---------- Apparition au défilement (navigateurs compatibles) ---------- */
@supports (animation-timeline: view()) {
  .fs-reveal { animation: fs-up linear both; animation-timeline: view(); animation-range: entry 0% entry 65%; }
  .fs-r2 { animation-range: entry 12% entry 77%; }
  .fs-r3 { animation-range: entry 24% entry 89%; }
  .fs-headshadow { animation: fs-shadow linear both; animation-timeline: scroll(); animation-range: 0 140px; }
  .fs-progress { animation: fs-grow linear both; animation-timeline: scroll(); }
}

/* ---------- Bandeau défilant des expertises ---------- */
.fs-marquee { overflow: hidden; }
.fs-marquee-track { display: flex; width: max-content; animation: fs-marquee 42s linear infinite; }
.fs-marquee:hover .fs-marquee-track { animation-play-state: paused; }

/* ---------- Livret : flottement et cases cochées ---------- */
.fs-float { animation: fs-float 7s ease-in-out infinite; }
.fs-float-b { animation: fs-float 7s ease-in-out -3.5s infinite; }
.fs-tick { animation: fs-tick 6s ease-in-out infinite; transform-origin: center; }
.fs-t2 { animation-delay: 0.7s; }
.fs-t3 { animation-delay: 1.4s; }

/* ---------- Bandeau d'inscription ---------- */
.fs-barin { animation: fs-barin 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 1s both; }
.fs-ring { animation: fs-ring 2.4s ease-out 2s 3; }

/* ---------- Survols ---------- */
.fs-btn { transition: translate 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease; }
.fs-btn:hover { translate: 0 -2px; box-shadow: 0 10px 24px rgba(12,34,58,0.18); }
.fs-btn svg { transition: translate 0.25s ease; }
.fs-btn:hover svg { translate: 4px 0; }
.fs-hcard { transition: translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease; }
.fs-hcard:hover { translate: 0 -6px; box-shadow: 0 24px 48px rgba(12,34,58,0.10); border-color: #102944 !important; }
.fs-hphoto { transition: scale 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.45s ease; }
figure:hover .fs-hphoto { scale: 1.03; background-color: #D5E0EA !important; }
.fs-ul { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.3s ease; }
.fs-ul:hover { background-size: 100% 1.5px; }
.fs-field { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.fs-field:focus { outline: none; border-color: #102944 !important; box-shadow: 0 0 0 3px rgba(16,41,68,0.12); }
.fs-choice { transition: border-color 0.2s ease, background-color 0.2s ease; }
.fs-choice:hover { border-color: #102944 !important; }
.fs-choice:has(input:checked) { border-color: #102944 !important; background-color: #E3ECF4 !important; }

/* ---------- Désactivation des animations ---------- */
.fs-nomotion *, .fs-nomotion *::before, .fs-nomotion *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Confirmation d'inscription ---------- */
@keyframes fs-pop { 0% { opacity: 0; transform: scale(0.6); } 60% { opacity: 1; transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes fs-draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
.fs-pop { animation: fs-pop 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
.fs-draw { stroke-dasharray: 40; animation: fs-draw 0.7s ease-out 0.6s both; }
.fs-social { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, translate 0.2s ease; }
.fs-social:hover { translate: 0 -2px; background-color: #102944 !important; color: #FFFFFF !important; border-color: #102944 !important; }
.fs-social-d:hover { background-color: #FAFBFD !important; color: #102944 !important; border-color: #FFFFFF !important; }

/* ---------- v5 : haut de page accueil avec photo + affiche ---------- */
.fs-heroaff { rotate: -2deg; }
@container fs (max-width: 860px) {
  .fs-heroimg { aspect-ratio: 4 / 3.4 !important; }
  .fs-heroaff { left: 12px !important; bottom: 12px !important; width: 56% !important; padding: 5px !important; }
}

/* ---------- v6 : accueil bleu marine et fluo ---------- */
.fs-grow { transform-origin: left center; animation: fs-grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both; }
@keyframes fs-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.fs-pulse { animation: fs-pulse 2.2s ease-out 1.2s infinite; }
@keyframes fs-pulse { 0% { box-shadow: 0 0 0 0 rgba(200,249,0,0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(200,249,0,0); } }
.fs-lime { transition: translate 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; }
.fs-lime:hover { translate: 0 -2px; background-color: #D8FF3D !important; box-shadow: 0 14px 34px rgba(200,249,0,0.35) !important; }
.fs-lime svg { transition: translate 0.25s ease; }
.fs-lime:hover svg { translate: 4px 0; }
.fs-ghost { transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.fs-ghost:hover { background-color: #FAFBFD !important; color: #022336 !important; border-color: #FFFFFF !important; }
.fs-ghostd { transition: background-color 0.25s ease, color 0.25s ease; }
.fs-ghostd:hover { background-color: #022336 !important; color: #FFFFFF !important; }
.fs-navw:hover { color: #C8F900 !important; }
.fs-igtile img { transition: scale 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fs-igtile:hover img { scale: 1.06; }
.fs-igtile .fs-igic { opacity: 0; transition: opacity 0.3s ease; }
.fs-igtile:hover .fs-igic { opacity: 1; }
.fs-place img { transition: scale 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fs-place:hover img { scale: 1.05; }
@container fs (max-width: 860px) {
  .fs-3col { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .fs-hero { min-height: 0 !important; }
  .fs-place { aspect-ratio: 4 / 3.4 !important; }
  .fs-tile { padding: 18px !important; gap: 12px !important; flex-direction: column !important; align-items: flex-start !important; }
  .fs-tile > span { width: 44px !important; height: 44px !important; }
  .fs-tile h3 { font-size: 15px !important; }
}

/* ---------- v6c : logo complet (sourire + nom) aussi sur mobile ---------- */
@container fs (max-width: 860px) {
  .fs-mk { height: 20px !important; }
  .fs-wm { height: 7.2px !important; }
}

/* ---------- v6d : menu déroulant « Nos formations » ---------- */
.fs-dd { position: relative; }
.fs-dd-menu { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); padding-top: 12px; display: none; z-index: 40; }
.fs-dd:hover .fs-dd-menu, .fs-dd:focus-within .fs-dd-menu { display: block; }
.fs-dd-menu a { transition: background-color 0.2s ease; }
.fs-dd-menu a:hover { background-color: rgba(255,255,255,0.08); }
.fs-dd-caret { transition: rotate 0.25s ease; }
.fs-dd:hover .fs-dd-caret, .fs-dd:focus-within .fs-dd-caret { rotate: 180deg; }

/* ---------- v7 : animations sur tout le site ---------- */
@keyframes fs-title { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(0.35em); } to { opacity: 1; clip-path: inset(-20% -4% -20% -4%); transform: none; } }
@keyframes fs-zoomout { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes fs-popin { from { opacity: 0; transform: scale(0.4) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes fs-drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(140px, 90px) scale(1.18); } }
@keyframes fs-shine { 0%, 55% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
@keyframes fs-sway { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Titres de section : dévoilement du texte, trait de l'étiquette qui se dessine */
@supports (animation-timeline: view()) {
  section:not(#haut) h2 { animation: fs-title linear both; animation-timeline: view(); animation-range: entry 8% entry 70%; }
  section p > span[aria-hidden="true"]:first-child[style*="width: 28px"] { transform-origin: left center; animation: fs-grow linear both; animation-timeline: view(); animation-range: entry 10% entry 80%; }
  /* Photos : léger zoom arrière en entrant dans l'écran */
  section:not(#lieux):not(#haut) [style*="overflow: hidden"] > img:not(.fs-mark) { animation: fs-zoomout linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  /* Icônes des domaines et des cartes : apparition en rebond */
  .fs-tile > span:first-child, section article > span:first-child[style*="border-radius"], section article > div:first-child > span:first-child[style*="border-radius"] { animation: fs-popin linear both; animation-timeline: view(); animation-range: entry 20% entry 85%; }
}

/* Hauts de page : halo qui dérive doucement, affiche qui flotte, date qui brille */
section > span[aria-hidden="true"]:first-child[style*="radial-gradient"] { animation: fs-drift 16s ease-in-out infinite alternate; }
.fs-hero figure > img, .fs-hero aside > img { animation: fs-sway 7s ease-in-out 1.6s infinite; }
.fs-shine { background-image: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0) 60%) !important; background-size: 250% 100% !important; background-repeat: no-repeat !important; animation: fs-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.32s both, fs-shine 5s ease-in-out 2.4s infinite; }

/* Survols : cartes qui se soulèvent, photos qui s'agrandissent, icônes qui bougent */
section .fs-reveal[style*="border-radius: 18px"], section .fs-reveal[style*="border-radius: 16px"], section .fs-reveal[style*="border-radius: 14px"] { transition: translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease; }
section .fs-reveal[style*="border-radius: 18px"]:hover, section .fs-reveal[style*="border-radius: 16px"]:hover { translate: 0 -6px; box-shadow: 0 24px 48px rgba(12,34,58,0.12); }
.fs-hcard:hover { border-color: currentColor !important; }
section:not(#lieux) [style*="overflow: hidden"] > img { transition: scale 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
section:not(#lieux) [style*="overflow: hidden"]:hover > img { scale: 1.05; }
.fs-tile > span:first-child { transition: rotate 0.35s ease, scale 0.35s ease; }
.fs-tile:hover > span:first-child { rotate: -8deg; scale: 1.1; }
/* Menu : soulignement fluo au survol */
.fs-navw { background-image: linear-gradient(#C8F900, #C8F900) !important; background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.3s ease, color 0.2s ease; }
.fs-navw:hover { background-size: 100% 2px; }

/* ---------- v8b : haut de l'accueil, photos en fondu (en attendant la vidéo) ---------- */
@keyframes fs-xfade { 0% { opacity: 0; transform: scale(1.12); } 4% { opacity: 1; } 20% { opacity: 1; } 25% { opacity: 0; transform: scale(1.02); } 100% { opacity: 0; transform: scale(1.02); } }
.fs-xf { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: fs-xfade 30s linear infinite; }
.fs-xf1 { opacity: 1; animation-delay: -1.2s; }
.fs-xf2 { animation-delay: 4.8s; }
.fs-xf3 { animation-delay: 10.8s; }
.fs-xf4 { animation-delay: 16.8s; }
.fs-xf5 { animation-delay: 22.8s; }
.fs-nomotion .fs-xf1 { opacity: 1 !important; }

/* ---------- v8c : à propos, deux photos en fondu ---------- */
@keyframes fs-xfade2 { 0% { opacity: 0; transform: scale(1.08); } 8% { opacity: 1; } 50% { opacity: 1; } 58% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes fs-dot2 { 0%, 54% { width: 22px; background-color: #FAFBFD; } 54.01%, 100% { width: 8px; background-color: rgba(255,255,255,0.55); } }
.fs-xs { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: fs-xfade2 12s linear infinite; }
.fs-xs1 { opacity: 1; animation-delay: -1s; }
.fs-xs2 { animation-delay: 5s; }
.fs-xsdot { display: block; height: 8px; width: 8px; border-radius: 999px; background: rgba(255,255,255,0.55); animation: fs-dot2 12s linear infinite; }
.fs-xsdot1 { animation-delay: -1s; }
.fs-xsdot2 { animation-delay: 5s; }
.fs-nomotion .fs-xs1 { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .fs-xf1, .fs-xs1 { opacity: 1 !important; } }

/* ---------- v11 : animations supplémentaires (éléments, pas les sections) ---------- */
@keyframes fs-hl { from { box-shadow: inset 0 0 0 transparent; } }
@keyframes fs-li { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes fs-badge { 0% { opacity: 0; transform: scale(0.5) rotate(-10deg); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes fs-par { from { transform: translateY(-5%) scale(1.12); } to { transform: translateY(5%) scale(1.12); } }
@keyframes fs-sheen { 0%, 72% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(380%) skewX(-20deg); } }
@keyframes fs-tilt-in { from { opacity: 0; transform: translateY(40px) rotate(4deg); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  /* Surlignages fluo / or : le trait se remplit en arrivant à l'écran */
  span[style*="box-shadow: inset 0 -0.38em"], span[style*="box-shadow: inset 0 -0.45em"] { animation: fs-hl linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
  /* Listes : les lignes arrivent une à une */
  section li { animation: fs-li linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  /* Numéros et horaires des cartes : petit rebond */
  section article span[style*="height: 46px"][style*="border-radius: 12px"] { animation: fs-badge linear both; animation-timeline: view(); animation-range: entry 15% entry 75%; }
  /* Photos : léger effet de profondeur au défilement */
  section:not(#lieux):not(#haut):not(#video) [style*="overflow: hidden"] > img:not(.fs-mark):not(.fs-xs):not(.fs-xf) { animation: fs-par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  /* Affiche de la carte Rencontres (accueil) : arrive en pivotant */
  #formations img[style*="rotate: -2deg"] { animation: fs-tilt-in linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
}

/* Affiches : se redressent au survol */
img[style*="rotate: -2deg"], img[style*="rotate: 2deg"] { transition: rotate 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), scale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
img[style*="rotate: -2deg"]:hover, img[style*="rotate: 2deg"]:hover { rotate: 0deg !important; scale: 1.03; }

/* Portraits des intervenants : léger zoom au survol */
figure:hover img.fs-hphoto { scale: 1.06; }

/* ---------- v11b : bandeau cookies ---------- */
.fs-cookie { position: fixed; left: 24px; bottom: 104px; width: 390px; max-width: calc(100% - 24px); z-index: 45; animation: fs-up 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s both; }
.fs-cookie-low { bottom: 24px; }
.fs-ckbtn { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.fs-ckbtn:hover { background-color: #102944 !important; color: #FFFFFF !important; border-color: #102944 !important; }
.fs-ckdark:hover { background-color: #3A3733 !important; }
.fs-cktog span { transition: transform 0.25s ease; }
@container fs (max-width: 860px) {
  .fs-cookie { left: 12px !important; right: 12px; width: auto !important; max-width: none; bottom: 84px; }
  .fs-cookie-low { bottom: 12px; }
}

/* ---------- v11c : écran de chargement ---------- */
@keyframes fs-load-out { to { opacity: 0; visibility: hidden; } }
@keyframes fs-load-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fs-load-mark { from { opacity: 0; transform: translateY(10px) scale(0.96); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.fs-loader { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #0C223A; pointer-events: none; animation: fs-load-out 0.55s ease 1.25s forwards; }
.fs-loader-mark { width: min(260px, 60%); height: auto; animation: fs-load-mark 0.9s cubic-bezier(0.6, 0.05, 0.2, 1) 0.05s both; }
.fs-loader-word { height: 18px; width: auto; filter: brightness(0) invert(1); opacity: 0; animation: fs-fade 0.5s ease 0.45s forwards; }
.fs-loader-bar { width: 140px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.14); overflow: hidden; }
.fs-loader-bar span { display: block; height: 100%; background: #C8F900; transform-origin: left center; animation: fs-load-bar 1.1s cubic-bezier(0.4, 0, 0.2, 1) both; }
.fs-nomotion .fs-loader { display: none !important; }
@media (prefers-reduced-motion: reduce) { .fs-loader { display: none !important; } }
/* les éléments fixes arrivent après le chargement */
.fs-barin { animation-delay: 1.9s; }
.fs-cookie { animation-delay: 2.2s; }

/* ---------- v11d : logo du pied de page plus petit ---------- */
@container fs (max-width: 860px) { .fs-footlogo { width: 200px !important; } }
.fs-loader-bar span { background: #FAFBFD; }

/* ---------- v12 : domaines d'expertise en mosaïque ---------- */
.fs-dom { position: relative; overflow: hidden; border-radius: 18px; transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fs-dom-t:hover { background-color: #102944 !important; color: #FFFFFF !important; border-color: #102944 !important; translate: 0 -4px; }
.fs-dom-t:hover .fs-dom-n { color: rgba(255,255,255,0.6) !important; }
.fs-dom-p img { transition: scale 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fs-dom-p:hover img { scale: 1.06; }
.fs-dom-n { transition: color 0.35s ease; }
@container fs (max-width: 860px) {
  .fs-domgrid { grid-auto-rows: 132px !important; gap: 10px !important; }
  .fs-dom { padding: 16px !important; border-radius: 14px !important; }
  .fs-dom h3 { font-size: 17px !important; }
  .fs-dom-big h3 { font-size: 26px !important; }
}
.fs-dom-t:hover .fs-dom-big-n { color: rgba(255,255,255,0.12) !important; }
.fs-dom-big-n { transition: color 0.35s ease; }
@container fs (max-width: 860px) { .fs-dom-big-n { font-size: 40px !important; right: 12px !important; } }
@container fs (max-width: 860px) { .fs-dom-n { font-size: 10px !important; letter-spacing: 0.16em !important; } }

@container fs (max-width: 560px) {
  .fs-2col-1 { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Export : le chargement animé ne s’affiche qu’à la première page de la visite */
.fs-noload .fs-loader { display: none !important; }
