/*
Theme Name: Gatinel
Theme URI: https://gatinel.com
Author: Studio Cassette
Description: Theme de blocs (FSE) pour le Pr. Damien Gatinel. Pixel-perfect sur le prototype Lovable, 100% administrable.
Version: 1.14.0
Text Domain: gatinel
*/

/* ============ BASE ============ */
.gatinel-eyebrow { font-family: var(--wp--preset--font-family--body) !important; font-weight: 600; font-size: 0.6875rem !important; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wp--preset--color--gold) !important; display: block; }
.gatinel-sub { color: var(--wp--preset--color--muted-foreground) !important; font-size: 1rem !important; line-height: 1.7; }
.gatinel-card { background: var(--wp--preset--color--card); border: 1px solid rgba(227,230,235,0.7); border-radius: 1rem; transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1); box-shadow: 0 1px 2px 0 hsl(220 20% 20% / .04); }
.gatinel-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px hsl(220 20% 20% / .12); }
.gatinel-cta-gold .wp-block-button__link { background: var(--wp--preset--color--gold); color: #fff; box-shadow: 0 10px 15px -3px rgba(192,152,90,0.2), 0 4px 6px -4px rgba(192,152,90,0.2); height: 3rem; display: inline-flex; align-items: center; padding: 0 2rem; border-radius: 0.75rem; font-size: 0.9375rem; font-weight: 600; }
.gatinel-cta-gold .wp-block-button__link:hover { background: var(--wp--preset--color--gold-hover); }
.gatinel-cta-ghost .wp-block-button__link { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.25); color: #fff; height: 3rem; display: inline-flex; align-items: center; padding: 0 2rem; border-radius: 0.75rem; font-size: 0.9375rem; font-weight: 500; }
.gatinel-cta-ghost .wp-block-button__link:hover { background: rgba(255,255,255,0.12); }
.wp-site-blocks > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.gatinel-link-gold, .gatinel-link-gold a { color: var(--wp--preset--color--gold); text-decoration: none; font-weight: 600; }

/* ============ HEADER ============ */
.gatinel-header { position: sticky; top: 0; z-index: 100; background: rgba(246,247,249,0.97); border-bottom: 1px solid var(--wp--preset--color--border); transition: background .4s ease, box-shadow .4s ease, border-color .4s ease; padding: 1.25rem 1.5rem; }
.gatinel-header .wp-block-group { margin: 0; }
.gatinel-header.is-scrolled { background: rgba(246,247,249,0.95); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 4px 24px -10px hsl(220 30% 20% / .2); }
body.home .gatinel-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
body.home .gatinel-header.is-scrolled { background: rgba(246,247,249,0.95); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 4px 24px -10px hsl(220 30% 20% / .2); border-bottom-color: var(--wp--preset--color--border); }
.gatinel-logo .wp-block-site-title { font-family: var(--wp--preset--font-family--heading); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.gatinel-logo .wp-block-site-title a { color: var(--wp--preset--color--primary); text-decoration: none; transition: color .3s ease; }
.gatinel-logo-sub { margin: 0 !important; font-weight: 400; font-size: 0.6875rem !important; letter-spacing: 0.08em; color: var(--wp--preset--color--gold) !important; }

/* --- Mega menu --- */
.gatinel-menu { align-items: center; }
.gatinel-mi, .gatinel-mi-link { margin: 0 !important; }
.gatinel-mi { position: static; }
.gatinel-mi-link a { display: inline-flex; align-items: center; font-size: 0.875rem; font-weight: 500; color: var(--wp--preset--color--primary); padding: 0.5rem 0.875rem; border-radius: 0.75rem; text-decoration: none; transition: background .2s ease, color .2s ease; }
.gatinel-mi.has-mega > .gatinel-mi-link a::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 0.45rem; transition: transform .2s ease; }
.gatinel-mi:hover > .gatinel-mi-link a, .gatinel-mi.open > .gatinel-mi-link a { background: var(--wp--preset--color--muted); }
.gatinel-mi.has-mega.open > .gatinel-mi-link a::after { transform: rotate(-135deg) translateY(2px); }
.gatinel-mega { visibility: hidden; opacity: 0; pointer-events: none; position: absolute; left: 0; right: 0; top: 100%; max-width: none !important; background: rgb(246,247,249); border-bottom: 1px solid rgba(227,230,235,0.6); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); padding: 2rem 1.5rem; transition: opacity .18s ease; z-index: 90; margin: 0 !important; }
.gatinel-mi.open > .gatinel-mega { visibility: visible; opacity: 1; pointer-events: auto; }
.gatinel-mega-cols { max-width: 1200px; margin: 0 auto !important; }
.gatinel-mega-title { font-size: 0.6875rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--wp--preset--color--primary) !important; margin: 0 0 1rem !important; }
.gatinel-mega-item { margin: 0 0 0.25rem !important; }
.gatinel-mega-item a { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem; border-radius: 0.75rem; text-decoration: none; transition: background .15s ease; }
.gatinel-mega-item .mi-t { display: block; color: var(--wp--preset--color--muted-foreground); font-size: 0.75rem; line-height: 1.55; }
.gatinel-mega-item a strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--wp--preset--color--foreground); margin-bottom: 0.125rem; line-height: 1.4; transition: color .15s ease; }
.gatinel-mega-item a:hover { background: rgba(192,152,90,0.05); }
.gatinel-mega-item a:hover strong { color: var(--wp--preset--color--gold); }
.gicon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.5rem; background: rgba(192,152,90,0.08); flex-shrink: 0; margin-top: 2px; transition: background .15s ease; }
.gatinel-mega-item a:hover .gicon { background: rgba(192,152,90,0.15); }
.gicon::before { content: ""; width: 1rem; height: 1rem; background: var(--wp--preset--color--gold); -webkit-mask: var(--gi) center / contain no-repeat; mask: var(--gi) center / contain no-repeat; }
.gi-eye { --gi: 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='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.gi-scaneye { --gi: 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='M3 7V5a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M17 3h2a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M21 17v2a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M7 21H5a2 2 0 0 1-2-2v-2'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Cpath d='M5.1 12a7.5 7.5 0 0 1 13.8 0 7.5 7.5 0 0 1-13.8 0'/%3E%3C/svg%3E"); }
.gi-circledot { --gi: 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%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3C/svg%3E"); }
.gi-layers { --gi: 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%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); }
.gi-zap { --gi: 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%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
.gi-sparkles { --gi: 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='M12 3l1.9 5.8a2 2 0 0 0 1.3 1.3L21 12l-5.8 1.9a2 2 0 0 0-1.3 1.3L12 21l-1.9-5.8a2 2 0 0 0-1.3-1.3L3 12l5.8-1.9a2 2 0 0 0 1.3-1.3z'/%3E%3Cpath d='M19 3v4'/%3E%3Cpath d='M21 5h-4'/%3E%3C/svg%3E"); }
.gi-activity { --gi: 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%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E"); }
.gi-bookopen { --gi: 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='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
.gi-scissors { --gi: 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%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cline x1='20' y1='4' x2='8.12' y2='15.88'/%3E%3Cline x1='14.47' y1='14.48' x2='20' y2='20'/%3E%3Cline x1='8.12' y1='8.12' x2='12' y2='12'/%3E%3C/svg%3E"); }
.gi-microscope { --gi: 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 18h8'/%3E%3Cpath d='M3 22h18'/%3E%3Cpath d='M14 22a7 7 0 1 0 0-14h-1'/%3E%3Cpath d='M9 14h2'/%3E%3Cpath d='M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z'/%3E%3Cpath d='M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3'/%3E%3C/svg%3E"); }
.gi-gradcap { --gi: 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='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c0 1.7 2.7 3 6 3s6-1.3 6-3v-5'/%3E%3C/svg%3E"); }
.gi-flask { --gi: 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='M10 2v7.5L4.7 20.6a1 1 0 0 0 .9 1.4h12.8a1 1 0 0 0 .9-1.4L14 9.5V2'/%3E%3Cpath d='M8.5 2h7'/%3E%3Cpath d='M7 16h10'/%3E%3C/svg%3E"); }
.gi-calc { --gi: 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%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cline x1='8' y1='6' x2='16' y2='6'/%3E%3Cline x1='16' y1='14' x2='16' y2='18'/%3E%3Cpath d='M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E"); }
.gi-building { --gi: 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 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E"); }
.gi-users { --gi: 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='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.gi-award { --gi: 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%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 12.9 17 22l-5-3-5 3 1.5-9.1'/%3E%3C/svg%3E"); }
/* Icône « lien externe » inline — hérite la couleur du texte (gext) */
.gext { display: inline-block; width: 0.85em; height: 0.85em; margin-left: 0.32em; vertical-align: -0.08em; background: currentColor; -webkit-mask: var(--gext) center / contain no-repeat; mask: var(--gext) center / contain no-repeat; --gext: 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='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E"); }
.gatinel-mega-feat { background: rgba(3,14,63,0.05); border: 1px solid rgba(3,14,63,0.1); border-radius: 1rem; padding: 1.25rem !important; align-self: flex-start; }
.gatinel-mega-feat-t { font-family: var(--wp--preset--font-family--body) !important; font-weight: 600; font-size: 1.125rem !important; color: var(--wp--preset--color--foreground) !important; margin: 0 0 0.5rem !important; }
.gatinel-mega-feat-d { font-size: 0.875rem !important; color: var(--wp--preset--color--muted-foreground) !important; margin: 0 !important; line-height: 1.6; }
.gatinel-mega-feat-img { display: block; width: 100%; aspect-ratio: 2/1; border-radius: 0.75rem; margin-top: 0.75rem; background-size: cover; background-position: center 30%; }
.fi-refractive { background-image: url('assets/images/refractive-card.jpg'); }
.fi-cataract { background-image: url('assets/images/cataract-card.jpg'); }
.fi-research { background-image: url('assets/images/research-card.jpg'); }
.gatinel-mega-feat-l { margin: 0.75rem 0 0 !important; }
.gatinel-mega-feat-l a { color: var(--wp--preset--color--gold); font-weight: 500; font-size: 0.875rem; text-decoration: none; }
/* Header solide quand le mega est ouvert (comportement du prototype) */
.gatinel-header.mega-open { background: rgba(246,247,249,0.95); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 2px rgba(0,0,0,0.05); border-bottom-color: rgba(227,230,235,0.5); }
body.home .gatinel-header.mega-open { background: rgba(246,247,249,0.95); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: rgba(227,230,235,0.5); }
/* Recherche + RDV */
.gatinel-search-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: none; color: var(--wp--preset--color--muted-foreground); padding: 0.45rem; border-radius: 0.5rem; cursor: pointer; }
.gatinel-search-toggle svg { width: 1.15rem; height: 1.15rem; }
.gatinel-search-toggle:hover { background: var(--wp--preset--color--muted); color: var(--wp--preset--color--primary); }
/* Barre de recherche déroulante (ouverte au clic sur la loupe) */
.gatinel-searchbar { position: absolute; top: 100%; left: 0; right: 0; width: 100%; background: var(--wp--preset--color--background, #f6f7f9); border-bottom: 1px solid var(--wp--preset--color--border); box-shadow: 0 16px 30px -18px rgba(10,20,50,0.3); z-index: 90; padding: 1.1rem 1.5rem; animation: gatinel-searchbar-in .22s ease; }
.gatinel-searchbar[hidden] { display: none; }
.gatinel-searchbar-inner { max-width: 1200px; margin: 0 auto; }
.gatinel-searchbar-form { display: flex; align-items: center; gap: 0.85rem; background: #fff; border: 1px solid rgba(192,152,90,0.45); border-radius: 0.85rem; padding: 0.85rem 1.15rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.gatinel-searchbar-ico { display: inline-flex; flex: 0 0 auto; color: var(--wp--preset--color--gold); }
.gatinel-searchbar-ico svg { width: 1.35rem; height: 1.35rem; }
.gatinel-searchbar-input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--wp--preset--font-family--body); font-size: 1.05rem; color: var(--wp--preset--color--foreground); }
.gatinel-searchbar-input::placeholder { color: var(--wp--preset--color--muted-foreground); }
.gatinel-searchbar-close { flex: 0 0 auto; background: none; border: 0; cursor: pointer; color: var(--wp--preset--color--muted-foreground); font-size: 1.6rem; line-height: 1; padding: 0 0.3rem; }
.gatinel-searchbar-close:hover { color: var(--wp--preset--color--primary); }
@keyframes gatinel-searchbar-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.gatinel-rdv { margin-left: 0.5rem; }
.gatinel-rdv .wp-block-button__link { background: var(--wp--preset--color--gold); color: #fff; height: 2.25rem; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 0.375rem; font-weight: 600; font-size: 0.8125rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.gatinel-rdv .wp-block-button__link:hover { background: var(--wp--preset--color--gold-hover); }
/* Accueil transparent : texte blanc */
body.home .gatinel-header:not(.is-scrolled):not(.mega-open) .gatinel-logo .wp-block-site-title a { color: #fff; }
body.home .gatinel-header:not(.is-scrolled):not(.mega-open) .gatinel-mi-link a { color: rgba(255,255,255,0.6); }
body.home .gatinel-header:not(.is-scrolled):not(.mega-open) .gatinel-mi:hover > .gatinel-mi-link a { background: rgba(255,255,255,0.08); color: #fff; }
body.home .gatinel-header:not(.is-scrolled):not(.mega-open) .gatinel-search-toggle { color: rgba(255,255,255,0.75); }
body.home .gatinel-header:not(.is-scrolled):not(.mega-open) .gatinel-search-toggle:hover { background: rgba(255,255,255,0.08); color: #fff; }
/* Burger */
.gatinel-burger { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.gatinel-burger span { display: block; width: 22px; height: 2px; background: var(--wp--preset--color--primary); margin: 5px 0; transition: .2s; }
body.home .gatinel-header:not(.is-scrolled):not(.mega-open) .gatinel-burger span { background: #fff; }
.gatinel-mega-all { display: none; }
@media (max-width:1080px){
	/* !important pour battre la règle de layout flex générée par WordPress */
	.gatinel-menu { display: none !important; }
	.gatinel-burger { display: block; }
	.gatinel-header.menu-open .gatinel-menu { display: flex !important; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 0.5rem 1.5rem 1.5rem; box-shadow: 0 30px 60px -20px rgba(10,20,50,0.3); max-height: 82vh; overflow-y: auto; gap: 0; }
	/* Rubriques de 1er niveau */
	.gatinel-header.menu-open .gatinel-mi { position: static; }
	.gatinel-header.menu-open .gatinel-mi-link a { display: flex; align-items: center; justify-content: space-between; color: var(--wp--preset--color--primary) !important; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--wp--preset--color--border); border-radius: 0; background: none !important; font-size: 0.95rem; }
	.gatinel-header.menu-open .gatinel-mi.has-mega.open > .gatinel-mi-link a::after { transform: rotate(-135deg) translateY(2px); }
	/* Panneau méga -> accordéon inline (replié par défaut, déplié si .open) */
	.gatinel-header.menu-open .gatinel-mega { display: none; position: static; visibility: visible; opacity: 1; pointer-events: auto; box-shadow: none; border: 0; background: transparent; padding: 0.4rem 0 0.6rem 0.75rem; max-width: none !important; }
	.gatinel-header.menu-open .gatinel-mi.open > .gatinel-mega { display: block; }
	.gatinel-header.menu-open .gatinel-mega-cols { display: block !important; max-width: none; margin: 0 !important; }
	.gatinel-header.menu-open .gatinel-mega-cols .wp-block-column { flex-basis: auto !important; width: auto !important; margin: 0 0 0.5rem !important; }
	.gatinel-header.menu-open .gatinel-mega-feat { display: none; }
	.gatinel-header.menu-open .gatinel-mega-title { margin: 0.5rem 0 0.25rem !important; }
	.gatinel-header.menu-open .gatinel-mega-item a { padding: 0.5rem; }
	.gatinel-header.menu-open .gatinel-mega-all { display: block; margin: 0 0 0.25rem !important; }
	.gatinel-header.menu-open .gatinel-mega-all a { color: var(--wp--preset--color--gold); font-weight: 600; font-size: 0.85rem; text-decoration: none; }
}

/* ============ HERO (cover natif) ============ */
.gatinel-hero { position: relative; }
.gatinel-hero .wp-block-cover__image-background { opacity: 1; }
.gatinel-hero .wp-block-cover__background { background: rgba(0,0,0,0.4) !important; opacity: 1 !important; }
.gatinel-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14rem; background: linear-gradient(to top, rgba(0,0,0,0.25), transparent); pointer-events: none; z-index: 1; }
.gatinel-hero .wp-block-cover__inner-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 8.75rem 1.5rem 4.375rem; position: relative; z-index: 2; }
.gatinel-hero-eyebrow { display: inline-flex !important; align-items: center; gap: 0.625rem; margin: 0 0 2rem !important; }
.gicon-award { display: inline-block; width: 24px; height: 24px; background: var(--wp--preset--color--gold); -webkit-mask: var(--gaw) center / contain no-repeat; mask: var(--gaw) center / contain no-repeat; --gaw: 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%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 12.9 17 22l-5-3-5 3 1.5-9.1'/%3E%3C/svg%3E"); }
.gatinel-hero-title { font-family: var(--wp--preset--font-family--heading); font-weight: 300 !important; color: #fff !important; font-size: clamp(2rem, 5vw, 4rem) !important; line-height: 1.1 !important; letter-spacing: -0.025em; margin: 0 0 1.75rem !important; overflow-wrap: break-word; }
.gatinel-hero-title em { font-style: normal; color: var(--wp--preset--color--gold); }
.gatinel-hero-lead { color: #ffffff !important; font-size: 1rem !important; line-height: 1.7; max-width: 32rem; margin: 0 0 2.5rem !important; font-weight: 400; }
.gatinel-hero-ctas { margin: 0 !important; }
.gicon-calc { display: inline-block; width: 1rem; height: 1rem; margin-right: 0.5rem; vertical-align: -2px; background: #fff; -webkit-mask: var(--gca) center / contain no-repeat; mask: var(--gca) center / contain no-repeat; --gca: 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%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cline x1='8' y1='6' x2='16' y2='6'/%3E%3Cline x1='16' y1='14' x2='16' y2='18'/%3E%3Cpath d='M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E"); }
.gatinel-hero-stats { margin-top: 2.5rem !important; flex-wrap: nowrap !important; gap: 2.5rem !important; align-items: flex-start; justify-content: flex-start; }
.gatinel-hero-stats > div { min-width: 0; flex: 0 0 auto; max-width: 15rem; }
.gatinel-hero-stats h3 { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 600 !important; font-size: 1.625rem !important; letter-spacing: -0.025em; color: #fff !important; margin: 0 !important; line-height: 1.2; }
@media (max-width:1080px){ .gatinel-hero-stats { flex-wrap: wrap !important; } .gatinel-hero-stats > div { flex: 1 1 40%; max-width: none; } }
.gatinel-hero-stats h3 a { color: #fff; text-decoration: none; transition: color .2s ease; }
.gatinel-hero-stats h3 a:hover { color: var(--wp--preset--color--gold); }
.gatinel-hero-stats p { font-size: 0.875rem !important; color: rgba(255,255,255,0.8) !important; line-height: 1.375; font-weight: 500; margin: 0 !important; }
.gatinel-hero-stats p em { font-style: normal; color: var(--wp--preset--color--gold); }
.gatinel-hero-visual { position: relative; flex-grow: 0 !important; }
.gatinel-hero-eye-img { margin: 0 !important; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); outline: 1px solid rgba(192,152,90,0.3); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4); }
.gatinel-hero-eye-img img { width: 100%; height: auto; display: block; }
.gatinel-hero-caption { position: absolute; right: -2.5rem; bottom: -2rem; max-width: 440px; text-align: right; font-family: var(--wp--preset--font-family--heading) !important; font-style: italic; color: #fff !important; font-size: 1.875rem !important; line-height: 1.25; text-shadow: 0 2px 12px rgba(0,0,0,0.85); margin: 0 !important; }
.gatinel-hero-caption em { color: var(--wp--preset--color--gold); font-style: normal; }
@media (max-width:1024px){ .gatinel-hero-visual { display:none; } .gatinel-hero .wp-block-cover__inner-container { padding: 7.5rem 1.5rem 4rem; } }
/* ============ TITRES DE SECTION ============ */
.gatinel-rubrics h2, .gatinel-tools h2, .gatinel-reco h2, .gatinel-faq h2, .gatinel-contact h2 { font-family: var(--wp--preset--font-family--heading); font-weight: 400 !important; font-size: clamp(1.9rem, 3.5vw, 3rem) !important; line-height: 1.15; letter-spacing: -0.01em; margin: 0 !important; color: var(--wp--preset--color--primary); }

/* ============ EXPERTISES ============ */
.gatinel-rubrics { background: rgba(240,241,245,0.3); padding: 3rem 1.5rem !important; }
@media (min-width:768px){ .gatinel-rubrics { padding: 70px 1.5rem 100px !important; } }
.gatinel-rubrics-head { text-align: center; margin-bottom: 3.5rem !important; }
.gatinel-rubrics-head h2 { max-width: 48rem !important; margin-left: auto !important; margin-right: auto !important; }
.gatinel-rubrics-grid { margin-top: 0 !important; }
.gatinel-rubric { background: var(--wp--preset--color--card); border: 1px solid rgba(227,230,235,0.7); border-radius: 1rem; overflow: hidden; transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, border-color .35s ease; }
.gatinel-rubric:hover { box-shadow: 0 12px 32px -8px hsl(220 20% 20% / .12); border-color: rgba(192,152,90,0.25); }
.gatinel-rubric-img { margin: 0 !important; }
.gatinel-rubric-img img { width: 100%; height: 160px; object-fit: cover; display: block; }
.gatinel-rubric-body { padding: 2rem; }
.gatinel-rubric-body h3 { font-family: var(--wp--preset--font-family--body) !important; font-size: 1.125rem !important; font-weight: 600; margin: 0 0 1rem !important; }
.gatinel-rubric-body h3 a { color: var(--wp--preset--color--primary); text-decoration: none; }
.gatinel-rubric-body h3 a:hover { color: var(--wp--preset--color--gold); }
.gatinel-rubric-body p:not(.gatinel-rubric-more) { color: var(--wp--preset--color--foreground); font-size: 0.875rem; line-height: 1.625; margin: 0 0 1.25rem !important; }
.gatinel-rubric-more { margin: 0 !important; }
.gatinel-rubric-more a { color: var(--wp--preset--color--gold) !important; font-weight: 500; font-size: 0.9rem; text-decoration: none; }
.gatinel-rubric-ico { margin: 0 0 1rem !important; }
.gatinel-rubric-ico .gicon { width: 2.75rem; height: 2.75rem; border-radius: 0.85rem; margin-top: 0; }
.gatinel-rubric-ico .gicon::before { width: 1.4rem; height: 1.4rem; }

/* ============ OUTILS ============ */
.gatinel-tools { position: relative; padding: 3rem 1.5rem !important; overflow: hidden; background: #030E3F; }
@media (min-width:768px){ .gatinel-tools { padding: 7rem 1.5rem !important; } }
.gatinel-tools::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(3,14,64,0.5), rgba(3,14,64,0.5)), url('assets/images/tools-bg.jpg') center / cover fixed; }
.gatinel-tools > * { position: relative; z-index: 1; }
.gatinel-tools-head { margin-bottom: 3.5rem !important; }
.gatinel-tools h2 { color: #fff !important; }
.gatinel-tools-sub { color: rgba(255,255,255,0.8) !important; max-width: 34rem; }
.gatinel-tool-feat { background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: 0 14px 36px -16px rgba(0,0,0,0.4); transition: transform .35s ease, box-shadow .35s ease; display: flex; flex-direction: column; }
.gatinel-tool-feat:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -16px rgba(0,0,0,0.5); }
.gatinel-tool-feat h3 { font-family: var(--wp--preset--font-family--body) !important; font-size: 1.5rem !important; font-weight: 700; margin: 0 0 0.25rem !important; }
.gatinel-tool-feat h3 a { color: var(--wp--preset--color--primary); text-decoration: none; }
.gatinel-tool-feat h3 a:hover { color: var(--wp--preset--color--gold); }
.gatinel-tool-sub { color: var(--wp--preset--color--gold) !important; font-weight: 600; font-size: 0.92rem !important; margin: 0 0 0.6rem !important; }
.gatinel-tool-desc { color: var(--wp--preset--color--muted-foreground) !important; font-size: 0.875rem !important; line-height: 1.6; margin: 0 !important; }
.gatinel-tool-link { margin: auto 0 0 !important; padding-top: 1.25rem; }
.gatinel-tool-link a { color: var(--wp--preset--color--gold); font-weight: 500; font-size: 0.875rem; text-decoration: none; }
.gatinel-tool-minis { display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; align-items: stretch; }
.gatinel-tool-mini { background: #fff; border-radius: 0.75rem; padding: 1.25rem; box-shadow: 0 14px 36px -16px rgba(0,0,0,0.4); transition: transform .35s ease, box-shadow .35s ease; display: flex; flex-direction: column; align-self: stretch !important; height: 100% !important; margin: 0 !important; }
.gatinel-tool-mini:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -16px rgba(0,0,0,0.5); }
.gatinel-tool-mini .t { margin: 0 !important; font-size: 0.875rem !important; line-height: 1.3 !important; }
.gatinel-tool-mini .t a { color: var(--wp--preset--color--primary); font-weight: 600; font-size: 0.875rem; line-height: 1.3; text-decoration: none; }
.gatinel-tool-mini .t a:hover { color: var(--wp--preset--color--gold); }
.gatinel-tool-mini .d { color: var(--wp--preset--color--muted-foreground) !important; font-size: 0.8rem !important; line-height: 1.4; margin: 0 !important; }
@media (max-width:900px){ .gatinel-tool-minis { grid-template-columns: 1fr; grid-template-rows: none; } }

/* ============ PUBLICATIONS ============ */
.gatinel-pubs { padding: 3rem 1.5rem !important; }
@media (min-width:768px){ .gatinel-pubs { padding: 80px 1.5rem !important; } }
.gatinel-pubs-cols { margin-top: 3rem !important; }
.gatinel-pubs-colhead { margin-bottom: 1.5rem !important; }
.gatinel-pubs-colhead h3 { font-family: var(--wp--preset--font-family--body) !important; font-size: 1.5rem !important; font-weight: 700; color: var(--wp--preset--color--primary); margin: 0 !important; }
.gatinel-pubs-alllink { margin: 0 !important; }
.gatinel-pubs-alllink a { display: inline-flex; align-items: center; color: var(--wp--preset--color--gold); font-weight: 500; font-size: 0.875rem; text-decoration: none; white-space: nowrap; }
.gatinel-pubs-meta { align-items: center; margin-bottom: 0.5rem !important; }
.gatinel-pubs-meta .gatinel-eyebrow { margin: 0 !important; }
.gatinel-pubs-date { color: var(--wp--preset--color--muted-foreground) !important; font-size: 0.7rem !important; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.gatinel-pubs-date::before { content: "·"; margin-right: 0.5rem; color: var(--wp--preset--color--muted-foreground); }
.gatinel-pubs-card .wp-block-post-title { font-family: var(--wp--preset--font-family--body) !important; font-size: 1.05rem !important; font-weight: 700; line-height: 1.35; margin: 0 0 0.5rem !important; }
.gatinel-pubs-card .wp-block-post-title a { color: var(--wp--preset--color--primary); text-decoration: none; }
.gatinel-pubs-card .wp-block-post-title a:hover { color: var(--wp--preset--color--gold); }
.gatinel-pubs-card .wp-block-post-excerpt__excerpt { font-size: 0.875rem !important; line-height: 1.6; margin: 0 !important; }
.gatinel-pubs-card .wp-block-post-excerpt__more-link { display: none; }
/* Flux PubMed stylé (maquette) */
.gatinel-pubmed-list { display: grid; gap: 0.75rem; }
.gatinel-pubmed-item { position: relative; display: flex; align-items: flex-start; gap: 0.9rem; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 0.85rem; padding: 1rem 1.1rem; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.gatinel-pubmed-item:hover { border-color: rgba(192,152,90,0.45); box-shadow: 0 10px 28px -14px rgba(10,20,50,0.35); transform: translateY(-1px); }
.gatinel-pubmed-ico { flex: 0 0 auto; width: 2.25rem; height: 2.25rem; border-radius: 0.6rem; background: var(--wp--preset--color--gold); display: inline-flex; }
.gatinel-pubmed-ico::before { content: ""; width: 1.15rem; height: 1.15rem; margin: auto; background: #fff; -webkit-mask: var(--gi-book) center / contain no-repeat; mask: var(--gi-book) center / contain no-repeat; --gi-book: 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='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
.gatinel-pubmed-body { flex: 1 1 auto; min-width: 0; padding-right: 1.5rem; }
.gatinel-pubmed-title { display: block; color: var(--wp--preset--color--primary); font-weight: 600; font-size: 0.92rem; line-height: 1.35; }
.gatinel-pubmed-meta { display: block; margin-top: 0.3rem; font-size: 0.8rem; color: var(--wp--preset--color--muted-foreground); }
.gatinel-pubmed-meta em { font-style: italic; color: var(--wp--preset--color--gold); font-weight: 500; }
.gatinel-pubmed-ext { position: absolute; top: 1rem; right: 1rem; color: var(--wp--preset--color--muted-foreground); margin: 0; }
.gatinel-pubmed-item:hover .gatinel-pubmed-ext { color: var(--wp--preset--color--gold); }
.gatinel-pubmed-empty { color: var(--wp--preset--color--muted-foreground); font-size: 0.9rem; }
@media (max-width:781px){ .gatinel-pubs-cols { gap: 2.5rem; } }

/* ============ RECONNAISSANCE ============ */
.gatinel-reco { padding: 3rem 1.5rem !important; background: var(--wp--preset--color--background); }
@media (min-width:768px){ .gatinel-reco { padding: 80px 1.5rem !important; } }
.gatinel-reco-head { margin-bottom: 3.5rem !important; max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; width: 100%; }
.gatinel-reco-head > * { margin-left: 0 !important; margin-right: auto !important; }
.gatinel-reco-head h2 { max-width: none; }
.gatinel-reco-head .gatinel-sub { max-width: 46rem; }
.gatinel-reco-grid { margin-bottom: 3rem !important; }
.gatinel-reco-card { padding: 2rem; }
.gatinel-reco-card h3 { font-family: var(--wp--preset--font-family--body) !important; font-size: 1.05rem !important; font-weight: 600; color: var(--wp--preset--color--primary); margin: 0 0 1.1rem !important; }
.gatinel-reco-card ul { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 0.85rem; }
.gatinel-reco-card li { color: var(--wp--preset--color--muted-foreground); font-size: 0.875rem; line-height: 1.55; }
/* Icônes de cartes (outils + affiliations) */
.gatinel-tool-ico, .gatinel-reco-ico { margin: 0 0 1.1rem !important; }
.gatinel-tool-ico .gicon, .gatinel-reco-ico .gicon { width: 2.75rem; height: 2.75rem; border-radius: 0.85rem; margin-top: 0; }
.gatinel-tool-ico .gicon::before, .gatinel-reco-ico .gicon::before { width: 1.4rem; height: 1.4rem; }
.gatinel-tool-mini .gatinel-tool-ico { margin: 0 0 0.65rem !important; }
.gatinel-tool-mini .gatinel-tool-ico .gicon { width: 2.25rem; height: 2.25rem; border-radius: 0.65rem; }
.gatinel-tool-mini .gatinel-tool-ico .gicon::before { width: 1.15rem; height: 1.15rem; }
.gatinel-biblio { background: rgba(238,240,243,0.3); border: 1px solid rgba(227,230,235,0.6); border-radius: 1rem; padding: 2.5rem !important; }
.gatinel-biblio-left h3 { font-family: var(--wp--preset--font-family--heading) !important; font-size: 1.5rem !important; margin: 0 !important; color: var(--wp--preset--color--primary); }
.gatinel-biblio-stats .num { font-family: var(--wp--preset--font-family--heading) !important; font-size: 2.25rem !important; color: var(--wp--preset--color--primary) !important; margin: 0 !important; }
.gatinel-biblio-stats .lbl { font-size: 0.7rem !important; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wp--preset--color--muted-foreground) !important; margin: 0 !important; }
.gatinel-biblio-link { flex-basis: 100%; width: 100%; margin: 2rem 0 0 !important; padding-top: 1.75rem; border-top: 1px solid rgba(227,230,235,0.7); }
.gatinel-biblio-link a { display: inline-flex; align-items: center; }
.gatinel-biblio-link a { color: var(--wp--preset--color--gold); font-weight: 500; font-size: 0.875rem; text-decoration: none; }

/* ============ FAQ (bloc Details natif) ============ */
.gatinel-faq { padding: 3rem 1.5rem !important; background: rgba(240,241,245,0.3); }
@media (min-width:768px){ .gatinel-faq { padding: 7rem 1.5rem !important; } }
.gatinel-faq-item { background: var(--wp--preset--color--card); border: 1px solid rgba(227,230,235,0.6); border-radius: 0.75rem; margin: 0 0 0.75rem !important; padding: 0 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.gatinel-faq-item summary { cursor: pointer; list-style: none; padding: 1.25rem 0; font-weight: 600; color: var(--wp--preset--color--primary); font-size: 0.95rem; display: flex; align-items: center; gap: 0.85rem; }
.gatinel-faq-item summary::-webkit-details-marker { display: none; }
.gatinel-faq-item summary::before { content: "?"; flex: 0 0 auto; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: rgba(192,152,90,0.12); color: var(--wp--preset--color--gold); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; }
.gatinel-faq-item summary::after { content: ""; width: 1.05rem; height: 1.05rem; flex-shrink: 0; margin-left: auto; background: var(--wp--preset--color--muted-foreground); -webkit-mask: var(--gchev) center / contain no-repeat; mask: var(--gchev) center / contain no-repeat; --gchev: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); transition: transform .2s ease; }
.gatinel-faq-item[open] summary::after { transform: rotate(180deg); }
.gatinel-faq-item p { padding: 0 0 1.25rem 2.5rem; color: var(--wp--preset--color--muted-foreground); line-height: 1.625; font-size: 0.9375rem; margin: 0 !important; }

/* ============ CONTACT ============ */
.gatinel-contact { position: relative; padding: 3rem 1.5rem !important; overflow: hidden; background: linear-gradient(135deg, #ffffff 0%, rgba(192,152,90,0.03) 50%, rgba(192,152,90,0.07) 100%); }
@media (min-width:768px){ .gatinel-contact { padding: 7rem 1.5rem !important; } }
.gatinel-contact-head { max-width: 48rem; margin-bottom: 3rem !important; }
.gatinel-contact-map { border-radius: 1rem; overflow: hidden; border: 1px solid var(--wp--preset--color--border); box-shadow: 0 10px 30px -12px rgba(0,0,0,0.18); min-height: 360px; }
.gatinel-contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
/* Carte Leaflet (Carto Voyager + épingles dorées) */
.gatinel-map { width: 100%; height: 440px; min-height: 360px; background: #eef0f3; }
.gatinel-map.leaflet-container { font-family: var(--wp--preset--font-family--body); }
.gatinel-pin svg { width: 30px; height: 42px; filter: drop-shadow(0 3px 4px rgba(3,14,63,0.35)); }
.gatinel-map .leaflet-popup-content-wrapper { border-radius: 0.6rem; box-shadow: 0 8px 24px -10px rgba(3,14,63,0.35); }
.gatinel-map .leaflet-popup-content { margin: 0.7rem 0.9rem; font-size: 0.85rem; color: var(--wp--preset--color--foreground); line-height: 1.5; }
.gatinel-map .leaflet-popup-content strong { color: var(--wp--preset--color--primary); }
.gatinel-map .leaflet-bar a { color: var(--wp--preset--color--primary); }
.gatinel-map .leaflet-control-attribution { font-size: 0.62rem; }
.gatinel-site { padding: 1.5rem; margin-bottom: 1.25rem; background: rgba(255,255,255,0.78); backdrop-filter: blur(4px); }
.gatinel-site-name { font-family: var(--wp--preset--font-family--heading) !important; font-size: 1.1rem !important; color: var(--wp--preset--color--primary) !important; margin: 0 !important; }
.gatinel-site-addr { color: var(--wp--preset--color--muted-foreground) !important; font-size: 0.9rem !important; margin: 0 !important; }
.gatinel-site-links { margin: 0.35rem 0 0 !important; }
.gatinel-site-links a { text-decoration: none; color: var(--wp--preset--color--primary); font-weight: 600; font-size: 0.9rem; }
.gatinel-site-links a:hover { color: var(--wp--preset--color--gold); }

/* ============ FOOTER ============ */
.gatinel-footer { background: var(--wp--preset--color--primary); color: #fff; padding: 4rem 1.5rem 0 !important; }
/* ===== Bande newsletter (haut du footer) ===== */
.gatinel-footer-news { gap: 1.5rem 2rem !important; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.gatinel-footer-news-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: 1.4rem !important; color: #fff !important; margin: 0 !important; }
.gatinel-footer-news-sub { color: rgba(255,255,255,0.6) !important; font-size: 0.9rem !important; margin: 0 !important; max-width: 30rem; }
.gatinel-footer-news .gform_wrapper { margin: 0 !important; min-width: min(420px, 100%); }
.gatinel-footer-news .gform_wrapper form { margin: 0 !important; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center !important; }
.gatinel-footer-news .gform_footer br, .gatinel-footer-news .gform_footer p:empty, .gatinel-footer-news .gform-footer br, .gatinel-footer-news .gform-footer p:empty { display: none !important; }
.gatinel-footer-news .gform-body, .gatinel-footer-news .gform_body { flex: 1 1 240px; }
.gatinel-footer-news .gform_fields { display: block !important; }
.gatinel-footer-news .gfield { margin: 0 !important; padding: 0 !important; }
.gatinel-footer-news .gfield_label { display: none !important; }
.gatinel-footer-news input[type="email"] { width: 100%; border: 1px solid rgba(255,255,255,0.25) !important; background: rgba(255,255,255,0.08) !important; color: #fff !important; border-radius: 999px !important; padding: 0.72rem 1.2rem !important; font-size: 0.9rem; }
.gatinel-footer-news input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
.gatinel-footer-news .gform_footer { margin: 0 !important; padding: 0 !important; display: flex; align-items: center; flex: 0 0 auto; }
.gatinel-footer-news .gform_button { background: var(--wp--preset--color--gold) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 0.72rem 1.6rem !important; font-weight: 600 !important; font-size: 0.9rem !important; cursor: pointer; white-space: nowrap; transition: filter .18s ease; }
.gatinel-footer-news .gform_button:hover { filter: brightness(0.93); }
.gatinel-footer-news .gform_confirmation_message { color: #fff !important; font-size: 0.95rem; }
.gatinel-footer-news .gfield_required { color: var(--wp--preset--color--gold); }
.gatinel-footer-news .validation_message, .gatinel-footer-news .gform_validation_errors { color: #ffd9d9 !important; font-size: 0.8rem; }
@media (max-width:560px){ .gatinel-footer-news .gform_fields { flex-direction: column; } .gatinel-footer-news .gform_footer .gform_button { width: 100%; } }
/* ===== Page « Médias TV Presse » : grille de cartes média uniformes ===== */
.gatinel-media-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin: 1.5rem 0 2.5rem; }
.gatinel-media-card { background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 0.9rem; padding: 0 0 1.25rem !important; overflow: hidden; box-shadow: 0 6px 24px -16px rgba(3,14,63,0.18); display: flex; flex-direction: column; gap: 0 !important; transition: box-shadow .2s ease, transform .2s ease; }
.gatinel-media-card:hover { box-shadow: 0 16px 36px -18px rgba(3,14,63,0.3); transform: translateY(-2px); }
.gatinel-media-thumb { margin: 0 0 1rem !important; }
.gatinel-media-card .gatinel-media-thumb img { display: block; width: 100%; height: 190px !important; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; border: 0 !important; }
.gatinel-media-card > :not(.gatinel-media-thumb) { padding-left: 1.25rem; padding-right: 1.25rem; }
.gatinel-media-meta { font-family: var(--wp--preset--font-family--base,'Inter',sans-serif) !important; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem !important; font-weight: 600; color: var(--wp--preset--color--gold) !important; margin: 0 0 0.4rem !important; }
.gatinel-media-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: 1.15rem !important; margin: 0 0 0.4rem !important; line-height: 1.25; border: 0 !important; padding: 0 1.25rem !important; }
.gatinel-media-desc { font-size: 0.9rem !important; line-height: 1.55; color: var(--wp--preset--color--muted-foreground) !important; margin: 0 0 0.7rem !important; }
.gatinel-media-link { margin: auto 0 0 !important; }
.gatinel-media-link a { color: var(--wp--preset--color--gold) !important; font-weight: 600; font-size: 0.85rem; text-decoration: none; }
.gatinel-media-link a:hover { text-decoration: underline; }

/* ===== Page Livres : ouvrage en ligne (couverture + texte) ===== */
.gatinel-livre { margin: 0 !important; align-items: center; gap: 2.5rem; }
.gatinel-livre + .gatinel-livre { margin-top: 2.75rem !important; padding-top: 2.75rem; border-top: 1px solid var(--wp--preset--color--border,#e7e3da); }
.gatinel-livre .gatinel-book-cover { margin: 0 !important; text-align: center; }
.gatinel-livre .gatinel-book-cover img { width: auto; max-width: 200px; height: auto; border-radius: 4px; box-shadow: 0 8px 26px rgba(10,22,50,.16); }
.gatinel-livre h2 { margin-top: 0 !important; }
.gatinel-livre p { margin-bottom: 0.6rem; }
.gatinel-book-ref { font-size: 0.82rem !important; color: var(--wp--preset--color--muted-foreground) !important; border-left: 3px solid var(--wp--preset--color--gold); padding-left: 0.85rem; margin: 0.6rem 0 1rem !important; line-height: 1.5; }
.gatinel-livre .wp-block-buttons { margin-top: 0.4rem; }
@media (max-width: 781px) {
	.gatinel-livre { gap: 1.25rem; text-align: center; }
	.gatinel-livre h2 { text-align: center; }
}

/* ===== Page Contact : nom de lieu (titre de carte) ===== */
.gatinel-loc-name { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 600; font-size: 1.1rem; color: var(--wp--preset--color--primary,#0a1632); display: inline-block; margin-bottom: 0.35rem; line-height: 1.3; }
.gatinel-contact-hero .wp-block-columns { align-items: center; gap: 1.5rem; margin: 0; }
.gatinel-contact-hero .gatinel-hero-photo { margin: 0 !important; }
.gatinel-contact-hero .gatinel-hero-photo img { max-width: 130px; width: 100%; height: auto; border-radius: 10px; display: block; }
@media (max-width: 600px) { .gatinel-contact-hero .gatinel-hero-photo img { max-width: 96px; } }

/* ===== Rangée de liens secondaire (menu « Menu pied de page ») ===== */
.gatinel-footer-nav { gap: 0.5rem 1.5rem !important; margin: 2.5rem 0 0 !important; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.12); justify-content: center !important; }
.gatinel-footer-nav p { margin: 0 !important; font-size: 0.85rem; }
.gatinel-footer-nav a { color: rgba(255,255,255,0.6) !important; font-size: 0.85rem; }
.gatinel-footer-nav a:hover { color: #fff !important; }
.gatinel-footer p, .gatinel-footer li { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; }
.gatinel-footer a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s ease; }
.gatinel-footer a:hover { color: #fff; }
.gatinel-footer-name { font-family: var(--wp--preset--font-family--heading) !important; font-size: 1.5rem !important; color: #fff !important; margin: 0 0 0.75rem !important; }
.gatinel-footer-brand p { font-weight: 300; color: rgba(255,255,255,0.85); }
.gatinel-footer-secteur { color: var(--wp--preset--color--gold) !important; font-style: italic; font-size: 0.78rem !important; }
.gatinel-footer-title { font-size: 0.6875rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--wp--preset--color--gold) !important; margin: 0 0 1.25rem !important; }
.gatinel-footer-site { margin-bottom: 1.1rem !important; }
.gatinel-footer-site .n { color: rgba(255,255,255,0.92) !important; font-weight: 500; }
.gatinel-footer-links p { margin: 0 !important; }
.gatinel-footer-grid { padding-bottom: 3rem; }
.gatinel-footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 0 !important; }
.gatinel-footer-legal p, .gatinel-footer-legal a { font-size: 0.6875rem !important; }
.gatinel-footer-legal-links p { margin: 0 !important; }
.gatinel-footer-disclaimer { font-size: 0.6875rem !important; color: rgba(255,255,255,0.4) !important; font-style: italic; font-weight: 300; max-width: 48rem; padding-bottom: 1.5rem; }

/* Articles (Query Loop) */
.gatinel-card .wp-block-post-title a, .gatinel-card .wp-block-post-title { color: var(--wp--preset--color--primary); text-decoration: none; }
.gatinel-card .wp-block-post-title a:hover { color: var(--wp--preset--color--gold); }

/* Sidebar — design repris de la maquette Lovable (RubricSidebar.tsx) */
/* Le wrapper de template-part (div.wp-block-template-part) forme un bloc conteneur
   aussi court que la sidebar, ce qui empêche le sticky. display:contents le retire
   du flux → la sidebar colle dans la colonne (haute). */
.gatinel-interior-cols .wp-block-template-part { display: contents; }
.gatinel-sidebar { position: sticky; top: 6rem; max-height: calc(100vh - 7.5rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--wp--preset--color--border) transparent; }
.gatinel-sidebar::-webkit-scrollbar { width: 6px; }
.gatinel-sidebar::-webkit-scrollbar-thumb { background: var(--wp--preset--color--border); border-radius: 3px; }
.gatinel-sidebar::-webkit-scrollbar-thumb:hover { background: var(--wp--preset--color--muted-foreground); }
/* Titre de rubrique (eyebrow doré, uppercase) */
.gatinel-sidebar .gatinel-sidebar-rubrique { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 0.75rem; }
.gatinel-sidebar .gatinel-sidebar-rubrique a { color: inherit; text-decoration: none; }
/* Arborescence : liste verticale serrée, sans séparateurs */
.gatinel-sidebar-tree ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.125rem; }
.gatinel-sidebar-tree li { display: flex; flex-direction: column; }
.gatinel-sidebar-tree a { display: block; padding: 0.25rem 0.5rem; font-size: 0.75rem; line-height: 1.25; font-weight: 500; color: var(--wp--preset--color--foreground); text-decoration: none; border-radius: 0.25rem; transition: color .15s, background-color .15s; }
.gatinel-sidebar-tree a:hover { color: var(--wp--preset--color--gold); background: var(--wp--preset--color--background); }
.gatinel-sidebar-tree a[aria-current="page"] { color: var(--wp--preset--color--gold); font-weight: 600; background: rgba(192,152,90,0.06); }
/* Parent dépliable : lien (flex:1) + chevron à droite */
.gatinel-sidebar-tree details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; }
.gatinel-sidebar-tree details > summary::-webkit-details-marker { display: none; }
.gatinel-sidebar-tree details > summary > a { flex: 1; }
/* Chevron › qui pivote vers le bas à l'ouverture */
.gatinel-sidebar-toggle { flex: 0 0 auto; width: 0.85rem; height: 0.85rem; display: inline-flex; align-items: center; justify-content: center; }
.gatinel-sidebar-toggle::before { content: ""; width: 0.34rem; height: 0.34rem; border-top: 1.5px solid var(--wp--preset--color--muted-foreground); border-right: 1.5px solid var(--wp--preset--color--muted-foreground); transform: rotate(45deg); transition: transform .15s; }
.gatinel-sidebar-tree details[open] > summary .gatinel-sidebar-toggle::before { transform: rotate(135deg); }
/* Sous-niveaux : retrait + filet vertical */
.gatinel-sidebar-tree details > ul { margin: 0.125rem 0 0.125rem 0.25rem; padding-left: 0.5rem; border-left: 1px solid var(--wp--preset--color--border); }
.gatinel-sidebar .gatinel-sidebar-hint { font-size: 0.85rem; color: var(--wp--preset--color--muted-foreground); margin: 0; }
/* Toggle mobile « Dans cette rubrique » — masqué en desktop (sidebar toujours dépliée) */
.gatinel-sidebar-mtoggle { display: none; }
@media (max-width:781px){
	.gatinel-sidebar { position: static; margin-bottom: 2rem; max-height: none; overflow: visible; }
	/* En mobile, la sidebar (dernière colonne) passe AU-DESSUS du contenu */
	.gatinel-interior-cols > .wp-block-column:last-child { order: -1; }
	.gatinel-sidebar-mtoggle { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 600; font-size: 0.9rem; color: var(--wp--preset--color--primary); }
	.gatinel-sidebar-mtoggle::-webkit-details-marker { display: none; }
	.gatinel-sidebar-wrap[open] > .gatinel-sidebar-rubrique { margin-top: 0.85rem; }
	/* chevron du toggle : pointe en bas (fermé), en haut (ouvert) */
	.gatinel-sidebar-mtoggle .gatinel-sidebar-toggle::before { transform: rotate(135deg); }
	.gatinel-sidebar-wrap[open] > .gatinel-sidebar-mtoggle .gatinel-sidebar-toggle::before { transform: rotate(-45deg); }
}

/* ============ VISUELS DANS LE CONTENU (images + vidéos + lightbox) ============ */
/* Habillage des images de contenu */
.wp-block-post-content img, .entry-content img { border-radius: 0.75rem; height: auto; }
.wp-block-post-content figure, .entry-content figure { margin: 2rem 0; text-align: center; }
.wp-block-post-content figure img, .entry-content figure img { border: 1px solid var(--wp--preset--color--border); box-shadow: 0 10px 30px -14px rgba(3,14,63,0.25); }
.wp-block-post-content figcaption, .entry-content figcaption { margin-top: 0.65rem; color: var(--wp--preset--color--muted-foreground); font-size: 0.875rem; font-style: italic; text-align: center; }
.gatinel-zoomable { cursor: zoom-in; transition: filter .2s ease, transform .2s ease; }
.gatinel-zoomable:hover { filter: brightness(0.96); }
/* Vidéos : conteneur 16:9 responsive + <video> natif */
.gatinel-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 2rem 0; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 14px 36px -16px rgba(3,14,63,0.3); background: #000; }
.gatinel-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.wp-block-post-content video, .entry-content video { max-width: 100%; height: auto; border-radius: 0.75rem; display: block; margin: 2rem auto; }
.wp-block-post-content iframe, .entry-content iframe { max-width: 100%; }
/* Lightbox */
.gatinel-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; background: rgba(3,14,63,0.92); opacity: 0; transition: opacity .22s ease; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gatinel-lightbox.open { display: flex; opacity: 1; }
.gatinel-lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; width: auto; height: auto; border-radius: 0.5rem; box-shadow: 0 40px 90px -20px rgba(0,0,0,0.7); animation: gatinel-lb-in .25s ease; }
@keyframes gatinel-lb-in { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.gatinel-lightbox-close { position: absolute; top: 1.25rem; right: 1.5rem; width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; transition: background .2s ease; }
.gatinel-lightbox-close:hover { background: var(--wp--preset--color--gold); }

/* ============ SOMMAIRE (table des matières) ============ */
.gatinel-toc { background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--border); border-radius: 1.25rem; padding: 2rem 2.25rem; margin: 0 0 2.5rem; box-shadow: 0 4px 28px -14px rgba(3,14,63,0.1); }
.gatinel-toc-title { font-family: var(--wp--preset--font-family--heading) !important; font-size: 0.8rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--wp--preset--color--primary) !important; margin: 0 0 1.4rem !important; }
.gatinel-toc-list { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem 2rem; }
.gatinel-toc-list li { margin: 0 !important; }
.gatinel-toc-list a { display: flex; gap: 0.6rem; align-items: baseline; text-decoration: none; color: var(--wp--preset--color--primary); font-size: 0.875rem; line-height: 1.4; }
.gatinel-toc-num { color: var(--wp--preset--color--gold); font-weight: 600; font-size: 0.875rem; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.gatinel-toc-list a:hover .gatinel-toc-label { color: var(--wp--preset--color--gold); }
@media (max-width:1024px){ .gatinel-toc-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:600px){ .gatinel-toc-list { grid-template-columns: 1fr; } }

/* ============ CHIFFRES CLÉS ============ */
.gatinel-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1rem; margin: 2rem 0 2.5rem; text-align: center; }
.gatinel-stats .gatinel-stat { margin: 0 !important; }
.gatinel-stat-num { font-family: var(--wp--preset--font-family--heading) !important; font-size: 2.5rem !important; font-weight: 700; color: var(--wp--preset--color--gold) !important; line-height: 1; margin: 0 0 0.35rem !important; }
.gatinel-stat-label { color: var(--wp--preset--color--primary) !important; font-weight: 600; font-size: 0.875rem !important; line-height: 1.35; margin: 0 !important; }
@media (max-width:600px){ .gatinel-stats { grid-template-columns: repeat(2, 1fr); } }

/* Force Inter dans le contenu legacy qui impose une police inline (Georgia/serif…) */
.wp-block-post-content [style*="font-family"], .entry-content [style*="font-family"] { font-family: var(--wp--preset--font-family--body) !important; }

/* Corps de texte des pages : Inter 16px / interligne 24px (1.5) / couleur foreground.
   Cible les paragraphes/listes legacy (interligne 1.9 inline), sans toucher la bannière. */
.wp-block-post-content p[style*="line-height: 1.9"],
.entry-content p[style*="line-height: 1.9"],
.wp-block-post-content li[style*="line-height: 1.9"],
.entry-content li[style*="line-height: 1.9"] {
	font-size: 16px !important;
	line-height: 1.5 !important;
	color: var(--wp--preset--color--foreground) !important;
}

/* ============ ARCHIVE CALCULATEURS (maquette Lovable) ============ */
.gatinel-calc-hero { background: linear-gradient(135deg, #0a1e54 0%, var(--wp--preset--color--primary) 70%); padding: 8.5rem 1.5rem 4.5rem !important; position: relative; overflow: hidden; }
.gatinel-calc-hero > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.gatinel-calc-bc { font-size: 0.8rem !important; color: rgba(255,255,255,0.55) !important; margin: 0 auto 1.25rem !important; }
.gatinel-calc-bc a { color: rgba(255,255,255,0.7); text-decoration: none; }
.gatinel-calc-bc a:hover { color: var(--wp--preset--color--gold); }
.gatinel-calc-h1 { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400 !important; color: #fff !important; font-size: clamp(2.25rem, 4vw, 3rem) !important; line-height: 1.1 !important; margin: 0 auto 1rem !important; }
.gatinel-calc-sub { color: rgba(255,255,255,0.5) !important; font-weight: 300; font-size: 1.05rem !important; line-height: 1.6; margin: 0 auto 0 !important; }
/* Sections */
.gatinel-calc-cat { margin-bottom: 4rem; }
.gatinel-calc-cat-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400; font-size: 1.7rem !important; color: var(--wp--preset--color--foreground) !important; margin: 0 0 0.4rem !important; }
.gatinel-calc-cat-desc { font-size: 0.9rem !important; color: var(--wp--preset--color--muted-foreground) !important; font-weight: 300; margin: 0 0 1.5rem !important; }
.gatinel-calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
/* Carte */
.gatinel-calc-card { display: flex; flex-direction: column; background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--border); border-radius: 1rem; padding: 1.75rem; text-decoration: none; position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, border-color .3s ease; box-shadow: 0 1px 2px rgba(3,14,63,0.04); }
.gatinel-calc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -16px rgba(3,14,63,0.22); border-color: rgba(192,152,90,0.35); }
.gatinel-calc-card.is-featured { border-color: rgba(192,152,90,0.3); }
.gatinel-calc-card.is-featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(192,152,90,0.5), transparent); }
.gatinel-calc-top { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.gatinel-calc-ico { width: 2.75rem !important; height: 2.75rem !important; border-radius: 0.75rem; margin: 0 !important; flex: 0 0 auto; background: var(--wp--preset--color--muted, #eef0f3); }
.gatinel-calc-card.is-featured .gatinel-calc-ico { background: rgba(192,152,90,0.12); }
.gatinel-calc-ico::before { width: 1.25rem !important; height: 1.25rem !important; }
.gatinel-calc-top-r { flex: 1; min-width: 0; }
.gatinel-calc-titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.gatinel-calc-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400; font-size: 1.0625rem !important; line-height: 1.3; color: var(--wp--preset--color--foreground) !important; margin: 0 !important; transition: color .2s ease; }
.gatinel-calc-card:hover .gatinel-calc-title { color: var(--wp--preset--color--gold) !important; }
.gatinel-calc-title a { color: inherit; text-decoration: none; }
.gatinel-calc-title a:hover { color: var(--wp--preset--color--gold) !important; }
.gatinel-calc-badge { flex: 0 0 auto; font-size: 0.5625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(192,152,90,0.12); color: var(--wp--preset--color--gold); padding: 0.15rem 0.5rem; border-radius: 1rem; margin-top: 0.15rem; white-space: nowrap; }
.gatinel-calc-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.gatinel-calc-tag { font-size: 0.625rem; font-weight: 500; color: var(--wp--preset--color--muted-foreground); background: var(--wp--preset--color--muted, #eef0f3); border-radius: 1rem; padding: 0.1rem 0.55rem; }
.gatinel-calc-desc { font-size: 0.8125rem !important; color: var(--wp--preset--color--muted-foreground) !important; font-weight: 300; line-height: 1.6; margin: 0 0 1.25rem !important; flex: 1; }
.gatinel-calc-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; font-weight: 600; color: var(--wp--preset--color--gold); text-decoration: none; align-self: flex-start; transition: gap 0.18s ease, color 0.18s ease; }
.gatinel-calc-link:hover { color: var(--wp--preset--color--gold); gap: 0.6rem; }
.gatinel-calc-link:hover .gatinel-calc-licon { transform: translateX(2px); }
.gatinel-calc-licon { width: 0.95rem; height: 0.95rem; flex: 0 0 auto; stroke: currentColor; transition: transform 0.18s ease; }
.gatinel-calc-card:hover .gatinel-calc-licon { transform: translateX(2px); }
.gatinel-calc-note { border-top: 1px solid var(--wp--preset--color--border); margin-top: 1rem; padding-top: 2rem; }
.gatinel-outil-acces a { display: inline-flex; align-items: center; gap: 0.5rem; }
.gatinel-outil-acces a .gatinel-calc-licon { width: 1rem; height: 1rem; flex: 0 0 auto; stroke: currentColor; transition: transform 0.18s ease; }
.gatinel-outil-acces a:hover .gatinel-calc-licon { transform: translate(2px, -2px); }
.gatinel-calc-note p { font-size: 0.8125rem !important; color: var(--wp--preset--color--muted-foreground) !important; font-weight: 300; max-width: 42rem; margin: 0 !important; }
.gatinel-calc-note strong { color: var(--wp--preset--color--foreground); font-weight: 600; }

/* Aération sous le menu (padding ne collapse pas, contrairement à margin-top) */
.gatinel-article-main { padding-top: 2.75rem; }

/* ===== Single Question / Réponse ===== */
.gatinel-qr-bc { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--wp--preset--color--muted-foreground); margin: 0 auto 1.5rem; }
.gatinel-qr-bc a { color: var(--wp--preset--color--muted-foreground); text-decoration: none; transition: color .18s ease; }
.gatinel-qr-bc a:hover { color: var(--wp--preset--color--gold); }
.gatinel-qr-bc span[aria-hidden] { color: var(--wp--preset--color--border); }
.gatinel-qr-bc-cur { color: var(--wp--preset--color--foreground); font-weight: 500; }
.gatinel-qr-ctx { display: block; font-size: 0.75rem !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wp--preset--color--gold) !important; margin: 0 auto 0.5rem !important; }
.gatinel-qr-ctx a { color: inherit; text-decoration: none; }
.gatinel-qr-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.4rem) !important; line-height: 1.15; color: var(--wp--preset--color--foreground); margin: 0 auto 1.75rem !important; }

.gatinel-qr-question { background: rgba(192,152,90,0.07); border-left: 3px solid var(--wp--preset--color--gold); border-radius: 0 0.85rem 0.85rem 0; padding: 1.4rem 1.75rem !important; margin: 0 auto 2rem !important; }
.gatinel-qr-answer { margin: 0 auto 2.5rem !important; }
.gatinel-qr-label { font-family: var(--wp--preset--font-family--base, 'Inter', sans-serif) !important; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.8rem !important; font-weight: 600; color: var(--wp--preset--color--gold) !important; margin: 0 0 0.85rem !important; padding: 0 0 0.55rem; border-bottom: 1px solid rgba(192,152,90,0.25); }
.gatinel-qr-question .wp-block-post-excerpt__excerpt, .gatinel-qr-question-text { font-style: italic; font-size: 1.05rem; line-height: 1.7; color: var(--wp--preset--color--foreground); margin: 0; }
.gatinel-qr-answer .wp-block-post-content, .gatinel-qr-answer p, .gatinel-qr-answer li { font-size: 1rem; line-height: 1.75; color: var(--wp--preset--color--foreground); }

.gatinel-qr-foot { border-top: 1px solid var(--wp--preset--color--border); padding-top: 1.25rem; margin-top: 0.5rem; gap: 0.75rem 1.5rem; align-items: center; }
.gatinel-qr-tags { font-size: 0; margin: 0 !important; }
.gatinel-qr-tags a { display: inline-block; font-size: 0.7rem; font-weight: 500; color: var(--wp--preset--color--muted-foreground); background: var(--wp--preset--color--muted, #eef0f3); border-radius: 1rem; padding: 0.18rem 0.6rem; margin: 0 0.35rem 0.35rem 0; text-decoration: none; transition: background .18s ease, color .18s ease; }
.gatinel-qr-tags a:hover { background: rgba(192,152,90,0.15); color: var(--wp--preset--color--gold); }
.gatinel-qr-updated { font-size: 0.8125rem !important; font-weight: 500; color: var(--wp--preset--color--gold) !important; margin: 0 !important; white-space: nowrap; }

/* Commentaires */
.gatinel-qr-comments { margin-top: 3rem !important; border-top: 1px solid var(--wp--preset--color--border); padding-top: 2.25rem; }
.gatinel-qr-comments .wp-block-comments-title { font-family: var(--wp--preset--font-family--base, 'Inter', sans-serif) !important; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.8rem !important; font-weight: 600; color: var(--wp--preset--color--gold) !important; margin: 0 0 1.5rem !important; }
.gatinel-qr-comment { background: var(--wp--preset--color--card, #fff); border: 1px solid var(--wp--preset--color--border); border-radius: 0.85rem; padding: 1.15rem 1.5rem !important; margin: 0 0 1rem !important; gap: 0.5rem !important; }
.gatinel-qr-comment-head { justify-content: space-between; align-items: baseline; gap: 1rem; }
.gatinel-qr-comment-author { font-weight: 600; color: var(--wp--preset--color--foreground); }
.gatinel-qr-comment-author a { color: inherit; text-decoration: none; }
.gatinel-qr-comment-date, .gatinel-qr-comment-date a { font-size: 0.75rem; color: var(--wp--preset--color--muted-foreground); text-decoration: none; }
.gatinel-qr-comment .wp-block-comment-content p { font-size: 0.95rem; line-height: 1.65; color: var(--wp--preset--color--foreground); margin: 0; }
.gatinel-qr-comment .wp-block-comment-reply-link { font-size: 0.8rem; }
.gatinel-qr-comment .wp-block-comment-reply-link a { color: var(--wp--preset--color--gold); text-decoration: none; }
.gatinel-qr-comments .wp-block-comment-template { margin: 0; padding: 0; list-style: none; }
.gatinel-qr-comments .wp-block-comment-template ol { list-style: none; margin: 0; padding-left: 1.5rem; }
.gatinel-qr-comments .comment-form input[type="text"], .gatinel-qr-comments .comment-form input[type="email"], .gatinel-qr-comments .comment-form input[type="url"], .gatinel-qr-comments .comment-form textarea { width: 100%; border: 1px solid var(--wp--preset--color--border); border-radius: 0.5rem; padding: 0.6rem 0.8rem; font-family: inherit; }
.gatinel-qr-comments .wp-block-post-comments-form { margin-top: 2rem; }

/* ===== Commentaires des pages : repli + pagination + design ===== */
.gatinel-comments-toggle { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--wp--preset--font-family--base, 'Inter', sans-serif); font-weight: 600; font-size: 0.85rem; color: var(--wp--preset--color--foreground); background: #F2F1ED; border: 1px solid var(--wp--preset--color--border); border-radius: 999px; padding: 0.6rem 1.35rem; margin: 0 0 1.5rem; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.gatinel-comments-toggle svg { color: var(--wp--preset--color--gold); transition: color .18s ease; }
.gatinel-comments-toggle:hover { background: var(--wp--preset--color--gold); color: #fff; border-color: var(--wp--preset--color--gold); }
.gatinel-comments-toggle:hover svg { color: #fff; }
.gatinel-comments-collapse[hidden] { display: none; }
/* Cartes commentaires : petit liseré or à gauche + survol discret */
.gatinel-page-comments .gatinel-qr-comment { border-left: 3px solid rgba(192,152,90,0.4); transition: box-shadow .18s ease, border-color .18s ease; }
.gatinel-page-comments .gatinel-qr-comment:hover { box-shadow: 0 6px 18px -10px rgba(3,14,63,0.25); border-left-color: var(--wp--preset--color--gold); }
/* Réponses imbriquées : léger décalage + trait */
.gatinel-page-comments .wp-block-comment-template ol { list-style: none; margin: 0.75rem 0 0; padding-left: 1.5rem; border-left: 1px solid var(--wp--preset--color--border); }
/* Pagination des commentaires : pastilles propres */
.gatinel-page-comments .wp-block-comments-pagination { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; justify-content: center; }
.gatinel-page-comments .wp-block-comments-pagination a, .gatinel-page-comments .wp-block-comments-pagination .page-numbers { text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 0.55rem; color: var(--wp--preset--color--foreground); border: 1px solid var(--wp--preset--color--border); transition: background .18s ease, color .18s ease; }
.gatinel-page-comments .wp-block-comments-pagination a:hover { background: #F2F1ED; }
.gatinel-page-comments .wp-block-comments-pagination .current { background: var(--wp--preset--color--gold); color: #fff; border-color: var(--wp--preset--color--gold); }

/* ===== Base de connaissances (archive Questions/Réponses) ===== */
.gatinel-kb-hero { text-align: center; margin: 0 auto 2.5rem !important; }
.gatinel-kb-h1 { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: clamp(2rem, 4vw, 2.9rem) !important; line-height: 1.1; color: var(--wp--preset--color--foreground); margin: 0.4rem auto 0.75rem !important; }
.gatinel-kb-sub { color: var(--wp--preset--color--muted-foreground) !important; font-size: 1.05rem; font-weight: 300; line-height: 1.6; margin: 0 auto !important; max-width: 640px; }

.gatinel-kb-search { position: relative; display: flex; align-items: center; max-width: 680px; margin: 0 auto 1.5rem; }
.gatinel-kb-search-ico { position: absolute; left: 1.1rem; width: 1.15rem; height: 1.15rem; color: var(--wp--preset--color--muted-foreground); pointer-events: none; }
.gatinel-kb-search input[type="search"] { flex: 1; border: 1px solid var(--wp--preset--color--border); border-radius: 999px; padding: 0.9rem 1rem 0.9rem 3rem; font-family: inherit; font-size: 0.95rem; background: var(--wp--preset--color--card, #fff); transition: border-color .18s ease, box-shadow .18s ease; }
.gatinel-kb-search input[type="search"]:focus { outline: none; border-color: var(--wp--preset--color--gold); box-shadow: 0 0 0 3px rgba(192,152,90,0.15); }
.gatinel-kb-search button { position: absolute; right: 0.4rem; border: none; background: var(--wp--preset--color--gold); color: #fff; font-weight: 600; font-size: 0.85rem; padding: 0.6rem 1.25rem; border-radius: 999px; cursor: pointer; transition: filter .18s ease; }
.gatinel-kb-search button:hover { filter: brightness(0.94); }

.gatinel-kb-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0 auto 1.75rem; }
.gatinel-kb-pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 500; color: var(--wp--preset--color--foreground); background: var(--wp--preset--color--card, #fff); border: 1px solid var(--wp--preset--color--border); border-radius: 999px; padding: 0.4rem 0.9rem; text-decoration: none; transition: all .18s ease; }
.gatinel-kb-pill span { font-size: 0.7rem; color: var(--wp--preset--color--muted-foreground); background: var(--wp--preset--color--muted, #eef0f3); border-radius: 999px; padding: 0.05rem 0.45rem; }
.gatinel-kb-pill:hover { border-color: rgba(192,152,90,0.5); color: var(--wp--preset--color--gold); }
.gatinel-kb-pill.is-active { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: #fff; }
.gatinel-kb-pill.is-active span { background: rgba(255,255,255,0.25); color: #fff; }

.gatinel-kb-count { text-align: center; font-size: 0.85rem; color: var(--wp--preset--color--muted-foreground); margin: 0 0 1.5rem; }
.gatinel-kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.gatinel-kb-card { display: flex; flex-direction: column; background: var(--wp--preset--color--card, #fff); border: 1px solid var(--wp--preset--color--border); border-radius: 0.9rem; padding: 1.4rem 1.5rem; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(3,14,63,0.04); transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s ease, border-color .25s ease; }
.gatinel-kb-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -16px rgba(3,14,63,0.22); border-color: rgba(192,152,90,0.35); }
.gatinel-kb-card-ctx { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--wp--preset--color--gold); margin-bottom: 0.5rem; }
.gatinel-kb-card-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400; font-size: 1.1rem !important; line-height: 1.3; color: var(--wp--preset--color--foreground) !important; margin: 0 0 0.5rem !important; transition: color .2s ease; }
.gatinel-kb-card:hover .gatinel-kb-card-title { color: var(--wp--preset--color--gold) !important; }
.gatinel-kb-card-q { font-size: 0.85rem; color: var(--wp--preset--color--muted-foreground); font-weight: 300; line-height: 1.6; margin: 0 0 1.1rem; flex: 1; }
.gatinel-kb-card-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--wp--preset--color--gold); align-self: flex-start; }
.gatinel-kb-card:hover .gatinel-kb-card-link .gatinel-calc-licon { transform: translateX(2px); }

.gatinel-kb-pagination { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2.5rem; }
.gatinel-kb-page { font-size: 0.85rem; font-weight: 600; color: var(--wp--preset--color--gold); text-decoration: none; border: 1px solid var(--wp--preset--color--border); border-radius: 999px; padding: 0.5rem 1.1rem; transition: border-color .18s ease; }
.gatinel-kb-page:hover { border-color: var(--wp--preset--color--gold); }
.gatinel-kb-page-info { font-size: 0.82rem; color: var(--wp--preset--color--muted-foreground); }
.gatinel-kb-empty { text-align: center; padding: 3rem 1rem; color: var(--wp--preset--color--muted-foreground); }
.gatinel-kb-reset { display: inline-block; margin-top: 0.75rem; color: var(--wp--preset--color--gold); font-weight: 600; text-decoration: none; }

/* ===== Teaser base de connaissances (accueil) ===== */
.gatinel-kbcta { background: var(--wp--preset--color--navy, #030e3f); border-radius: 1.25rem; padding: clamp(2.25rem, 5vw, 3.5rem) 1.5rem; margin: 0 auto; }
.gatinel-kbcta-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.gatinel-kbcta-eyebrow { color: var(--wp--preset--color--gold) !important; justify-content: center; }
.gatinel-kbcta-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.2rem) !important; line-height: 1.15; color: #fff !important; margin: 0.3rem auto 0.6rem !important; }
.gatinel-kbcta-sub { color: rgba(255,255,255,0.72) !important; font-weight: 300; font-size: 1rem; line-height: 1.6; margin: 0 auto 1.75rem !important; max-width: 520px; }
.gatinel-kbcta-search { position: relative; display: flex; align-items: center; max-width: 560px; margin: 0 auto 1.25rem; }
.gatinel-kbcta-search .gatinel-kb-search-ico { position: absolute; left: 1.1rem; width: 1.15rem; height: 1.15rem; color: var(--wp--preset--color--muted-foreground); }
.gatinel-kbcta-search input[type="search"] { flex: 1; border: 1px solid transparent; border-radius: 999px; padding: 0.9rem 1rem 0.9rem 3rem; font-family: inherit; font-size: 0.95rem; background: #fff; }
.gatinel-kbcta-search input[type="search"]:focus { outline: none; box-shadow: 0 0 0 3px rgba(192,152,90,0.4); }
.gatinel-kbcta-search button { position: absolute; right: 0.4rem; border: none; background: var(--wp--preset--color--gold); color: #fff; font-weight: 600; font-size: 0.85rem; padding: 0.6rem 1.25rem; border-radius: 999px; cursor: pointer; transition: filter .18s ease; }
.gatinel-kbcta-search button:hover { filter: brightness(0.94); }
.gatinel-kbcta-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1.75rem; }
.gatinel-kbcta-pills .gatinel-kb-pill { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); }
.gatinel-kbcta-pills .gatinel-kb-pill span { background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.75); }
.gatinel-kbcta-pills .gatinel-kb-pill:hover { border-color: var(--wp--preset--color--gold); color: #fff; }
.gatinel-kbcta-btn { display: inline-block; background: var(--wp--preset--color--gold); color: #fff; font-weight: 600; font-size: 0.9rem; padding: 0.8rem 1.75rem; border-radius: 999px; text-decoration: none; transition: filter .18s ease, transform .18s ease; }
.gatinel-kbcta-btn:hover { filter: brightness(0.95); transform: translateY(-1px); }

/* ===== Aération avant le footer (neutralisée si une section navy le précède) ===== */
.gatinel-footer { margin-top: 4rem; }
/* Si la page contient déjà une section navy (RDV/contact), le footer reste collé (pas de bande claire). */
body:has(.gatinel-contact) .gatinel-footer { margin-top: 0; }

/* ===== Retheme du contenu legacy (styles inline des anciennes pages) ===== */
/* Liserés bleus sous les titres -> or */
[style*="3px solid #3182ce"] { border-bottom-color: var(--wp--preset--color--gold) !important; }
/* Titres bleus -> navy du thème */
[style*="color: #1a365d"], [style*="color: #2c5282"] { color: var(--wp--preset--color--foreground) !important; }
/* Liens bleus -> or */
[style*="color: #3182ce"] { color: var(--wp--preset--color--gold) !important; }
/* Encadrés colorés (dégradés violet/bleu/jaune/vert) -> teinte or harmonieuse + liseré or */
[style*="linear-gradient"][style*="border-left: 5px solid"] { background: rgba(192,152,90,0.07) !important; border-left-color: var(--wp--preset--color--gold) !important; }
/* Titres internes des encadrés (violet/vert/brun) -> navy */
[style*="color: #6b46c1"], [style*="color: #276749"], [style*="color: #975a16"] { color: var(--wp--preset--color--foreground) !important; }

/* Sommaire legacy (<nav> fond #f8fafc) -> style du thème */
nav[style*="#f8fafc"] { background: rgba(192,152,90,0.06) !important; border: 1px solid rgba(192,152,90,0.22) !important; border-radius: 0.85rem !important; padding: 1.5rem 1.75rem !important; }
nav[style*="#f8fafc"] > p { color: var(--wp--preset--color--gold) !important; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem !important; font-weight: 600 !important; }
nav[style*="#f8fafc"] a { color: var(--wp--preset--color--foreground) !important; text-decoration: none; transition: color .18s ease; }
nav[style*="#f8fafc"] a:hover { color: var(--wp--preset--color--gold) !important; }
nav[style*="#f8fafc"] li { margin-bottom: 0.5rem; }
nav[style*="#f8fafc"] li::marker { color: var(--wp--preset--color--gold); }

/* ===== Bouton retour en haut ===== */
.gatinel-totop { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 950; width: 2.85rem; height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 50%; background: var(--wp--preset--color--navy, #030e3f); color: var(--wp--preset--color--gold); cursor: pointer; box-shadow: 0 8px 24px -8px rgba(3,14,63,0.5); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease; }
.gatinel-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.gatinel-totop:hover { background: var(--wp--preset--color--gold); color: #fff; }
@media (max-width: 600px) { .gatinel-totop { right: 1rem; bottom: 1rem; width: 2.5rem; height: 2.5rem; } }

/* ===== Page résultats de recherche ===== */
.gatinel-search-hero { text-align: center; margin: 0 auto 1.5rem !important; }
.gatinel-search-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.3rem) !important; line-height: 1.15; color: var(--wp--preset--color--foreground) !important; margin: 0.3rem auto 1.25rem !important; }
.gatinel-search-form { max-width: 560px; margin: 0 auto !important; }
.gatinel-search-form .wp-block-search__input { border: 1px solid var(--wp--preset--color--border) !important; border-radius: 999px !important; padding: 0.8rem 1rem !important; }
.gatinel-search-form .wp-block-search__button { background: var(--wp--preset--color--gold) !important; color: #fff !important; border: none !important; border-radius: 999px !important; font-weight: 600; margin: 0.25rem !important; padding: 0.5rem 1.1rem !important; }
.gatinel-search-results { max-width: 760px; margin-left: auto; margin-right: auto; }
.gatinel-search-card { background: var(--wp--preset--color--card, #fff) !important; border: 1px solid var(--wp--preset--color--border); border-radius: 0.85rem; padding: 1.25rem 1.5rem !important; margin-bottom: 1rem !important; transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s ease, border-color .25s ease; }
.gatinel-search-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(3,14,63,0.2); border-color: rgba(192,152,90,0.35); }
.gatinel-search-card-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400; font-size: 1.2rem !important; line-height: 1.3; margin: 0 0 0.4rem !important; }
.gatinel-search-card-title a { color: var(--wp--preset--color--foreground) !important; text-decoration: none; transition: color .2s ease; }
.gatinel-search-card-title a:hover { color: var(--wp--preset--color--gold) !important; }
.gatinel-search-card-excerpt { font-size: 0.9rem !important; color: var(--wp--preset--color--muted-foreground) !important; font-weight: 300; line-height: 1.6; margin: 0 0 0.5rem !important; }
.gatinel-search-card-date { font-size: 0.72rem !important; text-transform: uppercase; letter-spacing: 0.05em; color: var(--wp--preset--color--gold) !important; margin: 0 !important; }
.gatinel-search-pagination { margin-top: 2rem; gap: 0.75rem; }
.gatinel-search-pagination a, .gatinel-search-pagination .page-numbers { color: var(--wp--preset--color--gold); text-decoration: none; font-weight: 600; font-size: 0.85rem; }
.gatinel-search-pagination .current { color: var(--wp--preset--color--foreground); }
.gatinel-search-empty { max-width: 560px; margin: 0 auto !important; text-align: center; padding: 2rem 1rem; color: var(--wp--preset--color--muted-foreground); }
.gatinel-search-empty .wp-block-buttons { margin-top: 1.25rem; }
/* Pas de cadre noir autour du champ de recherche */
.gatinel-search-form .wp-block-search__inside-wrapper { border: none !important; padding: 0 !important; }
.gatinel-search-form .wp-block-search__input { border: 1px solid var(--wp--preset--color--border) !important; background: #fff !important; }
/* Pas de fond blanc derrière le champ de recherche */
.gatinel-search-form, .gatinel-search-form .wp-block-search__inside-wrapper { background: transparent !important; box-shadow: none !important; }
/* Boutons élégants de l'état « aucun résultat » */
.gatinel-search-empty .wp-block-button__link { border: 1px solid var(--wp--preset--color--border) !important; color: var(--wp--preset--color--foreground) !important; background: var(--wp--preset--color--card, #fff) !important; border-radius: 999px !important; padding: 0.7rem 1.5rem !important; font-weight: 600; font-size: 0.85rem; box-shadow: 0 1px 2px rgba(3,14,63,0.04); transition: all .2s ease; }
.gatinel-search-empty .wp-block-button__link:hover { border-color: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--gold) !important; transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(3,14,63,0.25); }
.gatinel-search-empty .wp-block-buttons { gap: 0.75rem; }

/* Barre de filtres de recherche */
.gatinel-sf { max-width: 760px; margin: 1.5rem auto 0; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: center; }
.gatinel-sf-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.gatinel-sf-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--wp--preset--color--muted-foreground); margin-right: 0.25rem; }
.gatinel-sf-pill { font-size: 0.8rem; font-weight: 500; color: var(--wp--preset--color--foreground); background: var(--wp--preset--color--card, #fff); border: 1px solid var(--wp--preset--color--border); border-radius: 999px; padding: 0.32rem 0.8rem; text-decoration: none; transition: all .18s ease; }
.gatinel-sf-pill:hover { border-color: rgba(192,152,90,0.5); color: var(--wp--preset--color--gold); }
.gatinel-sf-pill.is-active { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: #fff; }

/* Gravity Forms : « (Nécessaire) » en or (pas en rouge) */
.gatinel-qr-ask .gfield_required, .gatinel-qr-ask .gfield_required *, .gatinel-qr-ask .gfield_required_text, .gatinel-qr-ask .gfield_required_asterisk { color: var(--wp--preset--color--gold) !important; }

/* ===== Uniformisation color-agnostic du contenu legacy (styles inline) ===== */
/* Liserés sous les titres -> or (toute couleur) */
.entry-content :is(h1,h2,h3,h4,h5,h6)[style*="border-bottom"], .wp-block-post-content :is(h1,h2,h3,h4,h5,h6)[style*="border-bottom"] { border-bottom-color: var(--wp--preset--color--gold) !important; }
/* Titres au texte coloré -> navy du thème (sauf titres en blanc, ex. encadrés navy) */
.entry-content :is(h1,h2,h3,h4,h5,h6)[style*="color"]:not([style*="color: white"]):not([style*="color: #fff"]), .wp-block-post-content :is(h1,h2,h3,h4,h5,h6)[style*="color"]:not([style*="color: white"]):not([style*="color: #fff"]) { color: var(--wp--preset--color--foreground) !important; }
/* Liens colorés du contenu -> or */
.entry-content a[style*="color"], .wp-block-post-content a[style*="color"] { color: var(--wp--preset--color--gold) !important; }
/* Texte de corps coloré inline (legacy : <span style="color:#0000ff/#3366ff/#000000">…) -> couleur du thème.
   Exclut le texte blanc (boîtes navy, gérées plus bas avec une spécificité supérieure) et les liens (or, ci-dessus). */
.entry-content :is(p,li,span,strong,em,b,td,th,div,font)[style*="color"]:not(:is([style*="color: #fff"],[style*="color: white"],[style*="color:#fff"],[style*="color:white"])),
.wp-block-post-content :is(p,li,span,strong,em,b,td,th,div,font)[style*="color"]:not(:is([style*="color: #fff"],[style*="color: white"],[style*="color:#fff"],[style*="color:white"])) { color: var(--wp--preset--color--foreground) !important; }
/* <font color> legacy (attribut, pas style) -> couleur du thème */
.entry-content font[color]:not([color="#fff" i]):not([color="#ffffff" i]):not([color="white" i]), .wp-block-post-content font[color]:not([color="#fff" i]):not([color="#ffffff" i]):not([color="white" i]) { color: var(--wp--preset--color--foreground) !important; }
/* Figures/images à largeur fixe inline (legacy width:590px…) -> responsives */
.entry-content figure[style*="width"], .wp-block-post-content figure[style*="width"] { max-width: 100% !important; height: auto !important; }
.entry-content figure[style*="width"] img, .wp-block-post-content figure[style*="width"] img { height: auto !important; }
/* ===== Blocs « Références » / Bibliographie : style bibliographie unifié (tagués par interactions.js) ===== */
.gatinel-refs-title { margin-top: 2.75rem !important; padding-top: 1.5rem !important; border-top: 1px solid rgba(192,152,90,0.28) !important; border-bottom: 0 !important; font-size: clamp(1.15rem,2.2vw,1.5rem) !important; }
.gatinel-refs-wrap { background: none !important; background-color: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; max-width: none !important; }
.gatinel-ref-list { list-style: none !important; padding-left: 0 !important; margin: 0 !important; }
.gatinel-ref-list.gatinel-ref-counter { counter-reset: gref; }
.entry-content :is(li,p).gatinel-ref-item, .wp-block-post-content :is(li,p).gatinel-ref-item { font-size: 0.9rem !important; line-height: 1.6 !important; color: var(--wp--preset--color--muted-foreground, #5b6472) !important; margin: 0 0 0.55rem !important; padding-left: 2.2rem !important; text-indent: -2.2rem !important; }
.gatinel-ref-counter > li.gatinel-ref-item { counter-increment: gref; }
.gatinel-ref-counter > li.gatinel-ref-item::before { content: counter(gref) ". "; color: var(--wp--preset--color--gold); font-weight: 600; }
.gatinel-ref-item a { color: var(--wp--preset--color--gold) !important; text-decoration: none; }
.gatinel-ref-item a:hover { text-decoration: underline; }
.gatinel-ref-item :is(strong,b,span) { font-weight: inherit !important; color: inherit !important; }

/* Encadrés : fond crème uni #F2F1ED, SANS bordure */
.entry-content [style*="linear-gradient"], .entry-content [style*="border-left"][style*="solid"], .wp-block-post-content [style*="linear-gradient"], .wp-block-post-content [style*="border-left"][style*="solid"] { background-image: none !important; background-color: #F2F1ED !important; border: 0 !important; border-left: 0 !important; }
/* Encadrés dont le texte est blanc -> fond navy (lisibilité) */
.entry-content [style*="linear-gradient"][style*="color: white"], .entry-content [style*="linear-gradient"][style*="color: #fff"], .entry-content [style*="border-left"][style*="color: white"], .wp-block-post-content [style*="linear-gradient"][style*="color: white"], .wp-block-post-content [style*="linear-gradient"][style*="color: #fff"] { background-color: var(--wp--preset--color--navy, #030e3f) !important; }
/* Encadré CONTENANT du texte blanc (le blanc est sur un enfant) -> navy */
.entry-content [style*="linear-gradient"]:has(:not(a)[style*="color: #fff"]), .entry-content [style*="linear-gradient"]:has(:not(a)[style*="color: white"]), .entry-content [style*="border-left"][style*="solid"]:has(:not(a)[style*="color: #fff"]), .entry-content [style*="border-left"][style*="solid"]:has(:not(a)[style*="color: white"]), .wp-block-post-content [style*="linear-gradient"]:has(:not(a)[style*="color: #fff"]), .wp-block-post-content [style*="linear-gradient"]:has(:not(a)[style*="color: white"]) { background-color: var(--wp--preset--color--navy, #030e3f) !important; background-image: none !important; }
/* Titres de contenu mesurés (dont anciens H1 rétrogradés en H2) */
.entry-content :is(h1,h2), .wp-block-post-content :is(h1,h2) { font-size: clamp(1.4rem, 2.6vw, 1.95rem) !important; line-height: 1.2 !important; }
/* Fil d'Ariane (espacement) */
.gatinel-breadcrumb { margin-bottom: 1.5rem !important; }
/* Fil d'Ariane clair dans un hero navy (À propos) */
.gatinel-ab-hero .gatinel-breadcrumb, .gatinel-ab-hero .gatinel-breadcrumb a, .gatinel-ab-hero .gatinel-breadcrumb .gatinel-qr-bc-cur { color: rgba(255,255,255,0.72) !important; }
.gatinel-ab-hero .gatinel-breadcrumb a:hover { color: #fff !important; }
.gatinel-ab-hero .gatinel-breadcrumb { margin: 0 auto 1.4rem !important; }

/* ===== Aperçu distinctions (accueil) ===== */
.gatinel-distf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0 auto 1.5rem; max-width: 1200px; }
.gatinel-distf-card { display: flex; flex-direction: column; gap: 0.35rem; background: var(--wp--preset--color--card, #fff); border: 1px solid var(--wp--preset--color--border); border-radius: 0.85rem; padding: 1.1rem 1.25rem; text-decoration: none; box-shadow: 0 1px 2px rgba(3,14,63,0.04); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.gatinel-distf-card:hover { border-color: rgba(192,152,90,0.45); transform: translateY(-3px); box-shadow: 0 16px 40px -18px rgba(3,14,63,0.22); }
.gatinel-distf-year { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.1rem; color: var(--wp--preset--color--gold); }
.gatinel-distf-title { font-size: 0.9rem; line-height: 1.35; color: var(--wp--preset--color--foreground); font-weight: 500; }
.gatinel-distf-type { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--wp--preset--color--muted-foreground); }
@media (max-width: 980px) { .gatinel-distf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gatinel-distf { grid-template-columns: 1fr; } }

/* ===== Indicateurs Google Scholar (accueil) ===== */
.gatinel-scholar { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.gatinel-scholar-stat { display: flex; flex-direction: column; }
.gatinel-scholar-num { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--wp--preset--color--gold); }
.gatinel-scholar-lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--wp--preset--color--muted-foreground); margin-top: 0.25rem; }
.gatinel-scholar-link { align-self: center; font-size: 0.85rem; font-weight: 600; color: var(--wp--preset--color--gold); text-decoration: none; }
.gatinel-scholar-link:hover { text-decoration: underline; }
/* Titres/textes colorés DANS les encadrés -> navy ; liens -> or */
.entry-content [style*="border-left"] p[style*="color"], .entry-content [style*="linear-gradient"] p[style*="color"], .entry-content [style*="border-left"] strong[style*="color"], .entry-content [style*="linear-gradient"] strong[style*="color"] { color: var(--wp--preset--color--foreground) !important; }
.entry-content [style*="linear-gradient"] a, .entry-content [style*="border-left"] a { color: var(--wp--preset--color--gold) !important; }

/* Sommaires legacy (toutes variantes) -> carte or façon .gatinel-toc */
.entry-content nav[style*="#f8fafc"], .entry-content nav.gatinel-sidebar { background: rgba(192,152,90,0.06) !important; border: 1px solid rgba(192,152,90,0.22) !important; border-radius: 0.85rem !important; padding: 1.4rem 1.75rem !important; }
.entry-content nav.gatinel-sidebar > p:first-child, .entry-content nav.gatinel-sidebar .wp-block-heading { color: var(--wp--preset--color--gold) !important; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem !important; font-weight: 600 !important; }
.entry-content nav.gatinel-sidebar a { color: var(--wp--preset--color--foreground) !important; text-decoration: none; }
.entry-content nav.gatinel-sidebar a:hover { color: var(--wp--preset--color--gold) !important; }
.entry-content nav.gatinel-sidebar li::marker { color: var(--wp--preset--color--gold); }

/* ===== Encadrés réutilisables (patterns gatinel/encadre*) ===== */
.gatinel-callout { background: #F2F1ED; border: 0; border-radius: 0.85rem; padding: 1.5rem 1.75rem !important; margin: 1.75rem 0 !important; }
.gatinel-callout-title { font-family: var(--wp--preset--font-family--base, 'Inter', sans-serif) !important; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem !important; font-weight: 600; color: var(--wp--preset--color--gold) !important; margin: 0 0 0.5rem !important; }
.gatinel-callout p { margin: 0 !important; line-height: 1.65; }
.gatinel-callout.is-important { background: var(--wp--preset--color--navy, #030e3f); border-left-color: var(--wp--preset--color--gold); }
.gatinel-callout.is-important p { color: rgba(255,255,255,0.92) !important; }
.gatinel-callout.is-important .gatinel-callout-title { color: var(--wp--preset--color--gold) !important; }

/* ===== Styles de bloc « maison » (UI fixe — applicables en 1 clic, sans code) ===== */
/* Groupe -> Encadré (crème) */
.wp-block-group.is-style-gatinel-encadre { background: #F2F1ED; border: 0; border-radius: 0.85rem; padding: 1.5rem 1.75rem !important; margin: 1.75rem 0 !important; }
/* Groupe -> Encadré important (navy) */
.wp-block-group.is-style-gatinel-encadre-important { background: var(--wp--preset--color--navy, #030e3f); border: 0; border-radius: 0.85rem; padding: 1.5rem 1.75rem !important; margin: 1.75rem 0 !important; color: #fff; }
.wp-block-group.is-style-gatinel-encadre-important :where(p,li,h2,h3,h4,h5,h6) { color: #fff !important; }
/* Titre de hero (paragraphe) dans un encadré navy : grand, blanc, Playfair */
.wp-block-group.is-style-gatinel-encadre-important .gatinel-hero-title { font-family: var(--wp--preset--font-family--heading,'Playfair Display',serif) !important; font-size: clamp(1.5rem,3vw,2.15rem) !important; font-weight: 500 !important; line-height: 1.15 !important; margin: 0 0 0.5rem !important; text-transform: none !important; letter-spacing: normal !important; }
.wp-block-group.is-style-gatinel-encadre-important .gatinel-hero-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem !important; font-weight: 600; color: rgba(255,255,255,0.8) !important; margin: 0 0 0.4rem !important; }
/* Groupe -> Points clés (liseré or) */
.wp-block-group.is-style-gatinel-points-cles { background: #F2F1ED; border: 0; border-left: 4px solid var(--wp--preset--color--gold) !important; border-radius: 0.4rem; padding: 1.35rem 1.6rem !important; margin: 1.75rem 0 !important; }
/* Titres dans tous les encadrés (pattern .gatinel-callout OU styles de bloc) -> doré, Inter, capitales */
:is(.is-style-gatinel-encadre,.is-style-gatinel-points-cles) :is(h2,h3,h4,h5,h6),
.wp-block-group.is-style-gatinel-encadre-important :is(h2,h3,h4,h5,h6) { font-family: var(--wp--preset--font-family--base,'Inter',sans-serif) !important; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem !important; font-weight: 600 !important; color: var(--wp--preset--color--gold) !important; margin: 0 0 0.6rem !important; }
:is(.is-style-gatinel-encadre,.is-style-gatinel-encadre-important,.is-style-gatinel-points-cles) > :last-child { margin-bottom: 0 !important; }
/* Citation -> Citation dorée (Playfair italique, liseré or) */
.wp-block-quote.is-style-gatinel-citation { border: 0; border-left: 4px solid var(--wp--preset--color--gold) !important; background: transparent; padding: 0.4rem 0 0.4rem 1.6rem !important; margin: 1.9rem 0 !important; }
.wp-block-quote.is-style-gatinel-citation p { font-family: var(--wp--preset--font-family--heading,'Playfair Display',serif) !important; font-style: italic; font-size: 1.25rem !important; line-height: 1.5; color: var(--wp--preset--color--foreground) !important; }
.wp-block-quote.is-style-gatinel-citation cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.85rem; font-weight: 600; color: var(--wp--preset--color--gold); }
/* Groupe -> Avertissement (ambre) */
.wp-block-group.is-style-gatinel-avertissement { background: #FBF6EC; border: 0; border-left: 4px solid #C0985A !important; border-radius: 0.4rem; padding: 1.35rem 1.6rem !important; margin: 1.75rem 0 !important; }
.wp-block-group.is-style-gatinel-avertissement :is(h2,h3,h4,h5,h6) { font-family: var(--wp--preset--font-family--base,'Inter',sans-serif) !important; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem !important; font-weight: 600 !important; color: #9a6b1f !important; margin: 0 0 0.6rem !important; }
.wp-block-group.is-style-gatinel-avertissement > :last-child { margin-bottom: 0 !important; }
/* Séparateur -> Filet doré */
.wp-block-separator.is-style-gatinel-filet-or { border: 0; border-top: 2px solid var(--wp--preset--color--gold) !important; opacity: 1; max-width: 4rem; margin: 2.25rem auto !important; background: none; }
/* Liste -> Liste à coches */
.wp-block-list.is-style-gatinel-coches { list-style: none !important; padding-left: 0 !important; }
.wp-block-list.is-style-gatinel-coches li { position: relative; padding-left: 1.9rem; margin-bottom: 0.5rem; }
.wp-block-list.is-style-gatinel-coches li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 1.15rem; height: 1.15rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0985A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Image -> Cadre (arrondi + ombre douce) */
.wp-block-image.is-style-gatinel-cadre img { border-radius: 0.85rem; box-shadow: 0 12px 30px -14px rgba(3,14,63,0.35); border: 1px solid var(--wp--preset--color--border); }
/* Le contenu des encadrés remplit la boîte (sinon, en layout « contenu centré » sur un gabarit large, le texte est resserré/indenté) */
.wp-block-group.is-style-gatinel-encadre.is-layout-constrained > *, .wp-block-group.is-style-gatinel-encadre-important.is-layout-constrained > *, .wp-block-group.is-style-gatinel-points-cles.is-layout-constrained > *, .wp-block-group.is-style-gatinel-avertissement.is-layout-constrained > * { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

/* ===== Section « Poser une question » (archive Q/R) ===== */
.gatinel-qr-ask { background: var(--wp--preset--color--navy, #030e3f); border-radius: 1.25rem; padding: clamp(2rem,4vw,3rem) clamp(1.25rem,3vw,2.5rem); margin: 3rem auto 0; max-width: 760px; }
.gatinel-qr-ask-eyebrow { color: var(--wp--preset--color--gold) !important; text-align: center; justify-content: center; }
.gatinel-qr-ask-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: clamp(1.4rem,3vw,1.9rem) !important; color: #fff !important; text-align: center; margin: 0.3rem auto 0.5rem !important; }
.gatinel-qr-ask-sub { color: rgba(255,255,255,0.72) !important; text-align: center; font-weight: 300; margin: 0 auto 1.75rem !important; max-width: 520px; }
.gatinel-qr-ask .gform_wrapper { margin: 0 !important; }
.gatinel-qr-ask .gform_wrapper label, .gatinel-qr-ask .gfield_label { color: rgba(255,255,255,0.9) !important; font-weight: 500 !important; }
.gatinel-qr-ask .gform_wrapper input[type="text"], .gatinel-qr-ask .gform_wrapper input[type="email"], .gatinel-qr-ask .gform_wrapper textarea { width: 100% !important; border: 1px solid rgba(255,255,255,0.2) !important; border-radius: 0.6rem !important; padding: 0.7rem 0.9rem !important; background: rgba(255,255,255,0.97) !important; font-family: inherit !important; }
.gatinel-qr-ask .gform_footer { text-align: center; }
.gatinel-qr-ask .gform_wrapper .gform_footer input[type="submit"], .gatinel-qr-ask .gform_button { background: var(--wp--preset--color--gold) !important; color: #fff !important; border: none !important; border-radius: 999px !important; padding: 0.8rem 2rem !important; font-weight: 600 !important; cursor: pointer; font-size: 0.95rem !important; }
.gatinel-qr-ask .gform_confirmation_message { color: #fff !important; text-align: center; }

/* ===== Boutons CV (page À propos) ===== */
.gatinel-ab-cv { margin: 2.5rem auto 0 !important; }

/* ===== Archive Distinctions ===== */
.gatinel-dist { max-width: 1000px; margin-left: auto; margin-right: auto; } /* le main est en 1200 (breadcrumb calé sur le logo) ; on garde la frise à 1000 */
.gatinel-dist-hero { text-align: center; margin: 0 auto 2.5rem !important; }
.gatinel-dist-h1 { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: clamp(2rem,4vw,2.9rem) !important; line-height: 1.1; color: var(--wp--preset--color--foreground) !important; margin: 0.4rem auto 0.75rem !important; }
.gatinel-dist-sub { color: var(--wp--preset--color--muted-foreground) !important; font-weight: 300; font-size: 1.05rem; line-height: 1.6; margin: 0 auto !important; max-width: 600px; }
.gatinel-dist-group { margin-bottom: 3rem; }
.gatinel-dist-cat { font-family: var(--wp--preset--font-family--base, 'Inter', sans-serif) !important; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.85rem !important; font-weight: 600; color: var(--wp--preset--color--gold) !important; margin: 0 0 1.5rem !important; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(192,152,90,0.25); }
.gatinel-dist-list { display: flex; flex-direction: column; }
.gatinel-dist-item { display: flex; gap: 1.5rem; padding: 0 0 1.6rem; position: relative; }
.gatinel-dist-item::before { content: ""; position: absolute; left: 3.25rem; top: 0.55rem; bottom: -0.4rem; width: 1px; background: var(--wp--preset--color--border); }
.gatinel-dist-item:last-child::before { display: none; }
.gatinel-dist-year { flex: 0 0 4.5rem; text-align: right; font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: 1.05rem; color: var(--wp--preset--color--gold); position: relative; padding-top: 0.1rem; }
.gatinel-dist-year::after { content: ""; position: absolute; right: -1.5rem; top: 0.55rem; width: 9px; height: 9px; margin-right: -4px; border-radius: 50%; background: var(--wp--preset--color--gold); box-shadow: 0 0 0 3px var(--wp--preset--color--background, #f6f7f9); }
.gatinel-dist-body { flex: 1; padding-left: 0.5rem; }
.gatinel-dist-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: 1.15rem !important; line-height: 1.3; color: var(--wp--preset--color--foreground) !important; margin: 0 0 0.2rem !important; }
.gatinel-dist-org { font-size: 0.8rem !important; font-weight: 600; color: var(--wp--preset--color--gold) !important; margin: 0 0 0.4rem !important; }
.gatinel-dist-desc { font-size: 0.9rem !important; color: var(--wp--preset--color--muted-foreground) !important; font-weight: 300; line-height: 1.6; margin: 0 0 0.5rem !important; }
.gatinel-dist-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 600; color: var(--wp--preset--color--gold); text-decoration: none; }
.gatinel-dist-link:hover { text-decoration: underline; }
@media (max-width: 600px) { .gatinel-dist-item::before { left: 0.3rem; } .gatinel-dist-year { flex-basis: 3rem; font-size: 0.95rem; } .gatinel-dist-year::after { display: none; } }
@media (max-width:781px){ .gatinel-calc-grid { grid-template-columns: 1fr; } .gatinel-calc-hero { padding: 7rem 1.5rem 3rem !important; } }

/* ============ PAGE À PROPOS (blocs natifs, administrable) ============ */
/* Sections en groupes align:full + layout constrained (contenu 1200 centré) */
.gatinel-ab-hero, .gatinel-ab-formation, .gatinel-ab-prix { color: #fff; background: #030E3F; }
.gatinel-ab-hero { padding: 4rem 1.5rem 3.5rem !important; position: relative; overflow: hidden; }
.gatinel-ab-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(3,14,64,0.55), rgba(3,14,64,0.9)), url('assets/images/tools-bg.jpg') center / cover; opacity: 0.55; pointer-events: none; }
.gatinel-ab-hero > * { position: relative; z-index: 1; }
.gatinel-ab-formation, .gatinel-ab-prix { padding: 4.5rem 1.5rem !important; }
.gatinel-ab-bio { padding: 4.5rem 1.5rem !important; background: var(--wp--preset--color--background); }
.gatinel-ab-section { padding: 4.5rem 1.5rem !important; background: var(--wp--preset--color--background); }
.gatinel-ab-section-alt { background: rgba(240,241,245,0.5); }
/* Eyebrow + icône award (hero) */
.gatinel-ab-eyebrow-aw::before { content: ""; display: inline-block; width: 1.05rem; height: 1.05rem; margin-right: 0.45rem; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0985A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 12.9 17 22l-5-3-5 3 1.5-9.1'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Hero */
.gatinel-ab-name { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 300 !important; color: #fff !important; font-size: clamp(2.4rem, 5vw, 3.75rem) !important; line-height: 1.05 !important; letter-spacing: -0.02em; margin: 0.5rem auto 0.85rem !important; }
.gatinel-ab-role { color: #fff !important; font-size: 1.15rem !important; font-weight: 500; margin: 0 auto 0.4rem !important; }
.gatinel-ab-loc { color: rgba(255,255,255,0.7) !important; margin: 0 auto 2.25rem !important; }
.gatinel-ab-hstats { gap: 2.75rem !important; margin: 0 auto 2.25rem !important; margin-left: auto !important; margin-right: auto !important; align-items: flex-start; }
.gatinel-ab-hstats > .wp-block-group { flex: 0 0 auto; }
.gatinel-ab-hstats h3 { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 600 !important; font-size: 1.55rem !important; color: #fff !important; line-height: 1.1 !important; margin: 0 !important; }
.gatinel-ab-hstats p { font-size: 0.78rem !important; color: rgba(255,255,255,0.65) !important; text-transform: uppercase; letter-spacing: 0.05em; margin: 0.3rem 0 0 !important; }
.gatinel-ab-hero .wp-block-button__link { background: var(--wp--preset--color--gold); color: #fff; font-weight: 600; font-size: 0.95rem; padding: 0.85rem 1.6rem; border-radius: 0.5rem; }
.gatinel-ab-hero .wp-block-button__link:hover { background: var(--wp--preset--color--gold-hover, #b08542); }
/* Bio */
.gatinel-ab-bio-grid { gap: 3.5rem !important; align-items: center; }
.gatinel-ab-photo img { width: 100%; border-radius: 1.25rem; display: block; box-shadow: 0 24px 48px -20px rgba(3,14,63,0.35); }
.gatinel-ab-biotext h2 { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400 !important; font-size: clamp(1.8rem, 3vw, 2.5rem) !important; color: var(--wp--preset--color--primary) !important; line-height: 1.15 !important; margin: 0.4rem 0 1.5rem !important; }
.gatinel-ab-biotext p:not(.gatinel-eyebrow) { color: var(--wp--preset--color--foreground) !important; line-height: 1.7; margin: 0 0 1.1rem !important; }
/* Titres de section clairs/sombres */
.gatinel-ab-h2-light { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400 !important; font-size: clamp(1.8rem, 3vw, 2.5rem) !important; color: #fff !important; line-height: 1.15 !important; margin: 0.4rem auto 0 !important; }
/* Titres des sections navy : toujours blancs (prime sur une couleur appliquée par erreur dans l'éditeur) */
.gatinel-ab-hero h1, .gatinel-ab-hero h2, .gatinel-ab-hero h3, .gatinel-ab-formation h2, .gatinel-ab-formation h3, .gatinel-ab-formation h4, .gatinel-ab-prix h2, .gatinel-ab-prix h3 { color: #fff !important; }
.gatinel-ab-head { margin: 0 auto 3rem !important; }
.gatinel-ab-head h2 { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400 !important; font-size: clamp(1.8rem, 3vw, 2.5rem) !important; color: var(--wp--preset--color--primary) !important; line-height: 1.15 !important; margin: 0.4rem 0 0 !important; }
.gatinel-ab-sub-light { color: rgba(255,255,255,0.7) !important; max-width: 42rem; margin: 1rem auto 0 !important; line-height: 1.6; }
/* Formation : timeline */
.gatinel-ab-timeline { position: relative; max-width: 820px !important; margin: 2.75rem auto 0 !important; }
.gatinel-ab-timeline > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.gatinel-ab-timeline::before { content: ""; position: absolute; left: 7.5rem; top: 1.1rem; bottom: 1.5rem; width: 2px; background: rgba(255,255,255,0.18); }
.gatinel-ab-tl-item { display: grid !important; grid-template-columns: 6rem 1fr; column-gap: 3rem !important; row-gap: 0 !important; align-items: baseline; padding: 0.95rem 0 !important; border-bottom: 0 !important; position: relative; }
.gatinel-ab-tl-item::before { content: ""; position: absolute; left: 7.5rem; transform: translateX(-50%); top: 1.2rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--wp--preset--color--gold); box-shadow: 0 0 0 4px #030E3F; }
.gatinel-ab-year { text-align: right; color: var(--wp--preset--color--gold) !important; font-weight: 600; font-size: 0.95rem !important; margin: 0 !important; }
.gatinel-ab-tl-item h4 { color: #fff !important; font-weight: 600; font-size: 1.02rem !important; margin: 0 !important; font-family: var(--wp--preset--font-family--body) !important; line-height: 1.4; }
.gatinel-ab-tl-item p:not(.gatinel-ab-year) { color: rgba(255,255,255,0.55) !important; font-size: 0.9rem !important; font-style: italic; margin: 0.3rem 0 0 !important; }
@media (max-width:600px){ .gatinel-ab-timeline::before, .gatinel-ab-tl-item::before { display: none; } .gatinel-ab-tl-item { grid-template-columns: 1fr; column-gap: 0 !important; row-gap: 0.2rem !important; } .gatinel-ab-year { text-align: left; } }
/* Cartes + icônes (via ::before, gold) */
.gatinel-ab-place, .gatinel-ab-teach-card, .gatinel-ab-award { position: relative; }
.gatinel-ab-place::before, .gatinel-ab-teach-card::before { content: ""; display: block; width: 2.75rem; height: 2.75rem; border-radius: 0.85rem; background-color: rgba(192,152,90,0.1); background-repeat: no-repeat; background-position: center; background-size: 1.4rem; margin: 0 0 1.1rem; }
.gatinel-ab-award::before { content: ""; display: block; width: 2.6rem; height: 2.6rem; border-radius: 0.8rem; background-color: rgba(192,152,90,0.18); background-repeat: no-repeat; background-position: center; background-size: 1.3rem; margin: 0 0 1rem; }
.gicard-building::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0985A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E"); }
.gicard-eye::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0985A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.gicard-gradcap::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0985A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c0 1.7 2.7 3 6 3s6-1.3 6-3v-5'/%3E%3C/svg%3E"); }
.gicard-activity::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0985A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E"); }
.gicard-bookopen::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0985A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
.gicard-sparkles::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0985A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.8a2 2 0 0 0 1.3 1.3L21 12l-5.8 1.9a2 2 0 0 0-1.3 1.3L12 21l-1.9-5.8a2 2 0 0 0-1.3-1.3L3 12l5.8-1.9a2 2 0 0 0 1.3-1.3z'/%3E%3C/svg%3E"); }
.gicard-award::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0985A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 12.9 17 22l-5-3-5 3 1.5-9.1'/%3E%3C/svg%3E"); }
.gatinel-ab-place { padding: 2rem !important; }
.gatinel-ab-place h3 { font-family: var(--wp--preset--font-family--body) !important; font-size: 1.1rem !important; font-weight: 700; color: var(--wp--preset--color--primary) !important; margin: 0 0 0.6rem !important; line-height: 1.3; }
.gatinel-ab-place-role { color: var(--wp--preset--color--muted-foreground) !important; font-size: 0.9rem !important; line-height: 1.55; margin: 0 0 0.8rem !important; }
.gatinel-ab-place-addr { color: var(--wp--preset--color--foreground) !important; font-size: 0.875rem !important; line-height: 1.55; margin: 0 !important; font-weight: 500; }
.gatinel-ab-teach-card { padding: 1.75rem !important; }
.gatinel-ab-teach-card h3 { font-family: var(--wp--preset--font-family--body) !important; font-size: 1.05rem !important; font-weight: 700; color: var(--wp--preset--color--primary) !important; margin: 0 0 0.5rem !important; }
.gatinel-ab-teach-card p { color: var(--wp--preset--color--muted-foreground) !important; font-size: 0.875rem !important; line-height: 1.55; margin: 0 !important; }
.gatinel-ab-award { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem; padding: 1.75rem !important; }
.gatinel-ab-award h3 { font-family: var(--wp--preset--font-family--body) !important; font-size: 1.02rem !important; font-weight: 700; color: #fff !important; margin: 0 0 0.5rem !important; line-height: 1.3; }
.gatinel-ab-award p { color: rgba(255,255,255,0.65) !important; font-size: 0.875rem !important; line-height: 1.55; margin: 0 !important; }
.gatinel-ab-societes { text-align: center; color: rgba(255,255,255,0.6) !important; font-size: 0.9rem !important; margin: 3rem 0 0 !important; }
.gatinel-ab-societes strong { display: block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; color: rgba(255,255,255,0.4); font-weight: 600; margin-bottom: 0.6rem; }
@media (max-width:781px){
	.gatinel-ab-hstats { gap: 1.5rem !important; }
	.gatinel-ab-year { flex-basis: 5rem; }
}

/* ===== Boutons unifiés (premium · minimal · capsule or) ===== */
.wp-block-button__link, .wp-element-button { border-radius: 999px !important; font-weight: 600 !important; letter-spacing: 0.01em; padding: 0.72rem 1.7rem !important; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link, .wp-element-button:not(.is-style-outline) { background-color: var(--wp--preset--color--gold) !important; color: #fff !important; border: 1px solid var(--wp--preset--color--gold) !important; box-shadow: 0 1px 2px rgba(3,14,63,0.06); }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover, .wp-element-button:not(.is-style-outline):hover { filter: brightness(0.93); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(192,152,90,0.55); }
.wp-block-button.is-style-outline .wp-block-button__link { background-color: transparent !important; color: var(--wp--preset--color--gold) !important; border: 1px solid var(--wp--preset--color--gold) !important; box-shadow: none; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background-color: var(--wp--preset--color--gold) !important; color: #fff !important; transform: translateY(-2px); }

/* Lignes d'aide « comment faire » (page de démonstration du kit UI) */
.gatinel-demo-tip { font-size: 0.85rem !important; color: var(--wp--preset--color--muted-foreground, #5b6472) !important; border-left: 2px solid var(--wp--preset--color--gold); padding-left: 0.85rem !important; margin: 0.4rem 0 1.75rem !important; }

/* H1 de page plus mesurés */
.wp-block-post-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem) !important; line-height: 1.12 !important; }

/* Titres de CARTES (blog /blog/, résultats de recherche, query loops) : nettement plus petits
   (la règle .wp-block-post-title ci-dessus les gonflait à 2.7rem). Placé après pour gagner. */
.wp-block-query .wp-block-post-title, .wp-block-query .wp-block-post-title a,
.gatinel-search-card-title, .gatinel-search-card-title a,
.gatinel-arch-card .wp-block-post-title, .gatinel-arch-card .wp-block-post-title a { font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important; line-height: 1.3 !important; }
/* Cartes « Derniers articles » de l'accueil : titres plus compacts (la règle query loop ci-dessus les gonflait) */
.wp-block-query .gatinel-pubs-card .wp-block-post-title, .wp-block-query .gatinel-pubs-card .wp-block-post-title a { font-size: 1.05rem !important; line-height: 1.4 !important; }
/* Single calculateur : H1 plus mesuré que les autres single */
body.single-outil .wp-block-post-title { font-size: clamp(1.5rem, 2.6vw, 2rem) !important; line-height: 1.15 !important; }

/* ===== Bouton « Voir toutes les distinctions » en haut-droite du titre reconnaissance ===== */
.gatinel-reco-head { position: relative; }
.gatinel-reco-head .gatinel-reco-cta { position: absolute; top: 0.35rem; right: 0; margin: 0 !important; }
@media (max-width: 880px) { .gatinel-reco-head .gatinel-reco-cta { position: static; margin: 1rem 0 0 !important; justify-content: flex-start !important; } }

/* ===== Titres des encadrés en Inter (pas Playfair) ===== */
.entry-content [style*="border-left"] :is(h1,h2,h3,h4,h5,h6),
.entry-content [style*="linear-gradient"] :is(h1,h2,h3,h4,h5,h6),
.wp-block-post-content [style*="border-left"] :is(h1,h2,h3,h4,h5,h6),
.wp-block-post-content [style*="linear-gradient"] :is(h1,h2,h3,h4,h5,h6),
.gatinel-callout :is(h1,h2,h3,h4,h5,h6),
.gatinel-toc-title { font-family: var(--wp--preset--font-family--base, 'Inter', -apple-system, sans-serif) !important; }

/* ===== Sommaires legacy -> carte claire façon .gatinel-toc (détection : encadré contenant des liens d'ancre) ===== */
.entry-content [style*="linear-gradient"]:has(> ul a[href^="#"]), .entry-content [style*="linear-gradient"]:has(> h2 + ul a[href^="#"]), .entry-content [style*="border-left"][style*="solid"]:has(ul a[href^="#"]), .wp-block-post-content [style*="linear-gradient"]:has(ul a[href^="#"]), .entry-content [style*="linear-gradient"]:has(ul a[href^="#"]) { background-color: #F2F1ED !important; background-image: none !important; }
.entry-content [style*="linear-gradient"]:has(ul a[href^="#"]) :is(h2,h3,h4), .wp-block-post-content [style*="linear-gradient"]:has(ul a[href^="#"]) :is(h2,h3,h4), .entry-content [style*="border-left"]:has(ul a[href^="#"]) :is(h2,h3,h4) { color: var(--wp--preset--color--gold) !important; font-family: var(--wp--preset--font-family--base,'Inter',sans-serif) !important; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.82rem !important; font-weight: 600 !important; border-bottom: 0 !important; padding-bottom: 0 !important; margin: 0 0 1.1rem !important; }
.entry-content [style*="linear-gradient"]:has(ul a[href^="#"]) ul, .wp-block-post-content [style*="linear-gradient"]:has(ul a[href^="#"]) ul, .entry-content [style*="border-left"]:has(ul a[href^="#"]) ul { column-count: 2; column-gap: 2.5rem; list-style: none !important; padding-left: 0 !important; margin: 0 !important; }
.entry-content [style*="linear-gradient"]:has(ul a[href^="#"]) li, .entry-content [style*="border-left"]:has(ul a[href^="#"]) li { margin: 0 0 0.55rem !important; break-inside: avoid; }
.entry-content [style*="linear-gradient"]:has(ul a[href^="#"]) a, .wp-block-post-content [style*="linear-gradient"]:has(ul a[href^="#"]) a, .entry-content [style*="border-left"]:has(ul a[href^="#"]) a { color: var(--wp--preset--color--foreground) !important; text-decoration: none !important; font-size: 0.9rem; transition: color .18s ease; }
.entry-content [style*="linear-gradient"]:has(ul a[href^="#"]) a:hover, .entry-content [style*="border-left"]:has(ul a[href^="#"]) a:hover { color: var(--wp--preset--color--gold) !important; }
@media (max-width: 640px){ .entry-content [style*="linear-gradient"]:has(ul a[href^="#"]) ul, .entry-content [style*="border-left"]:has(ul a[href^="#"]) ul { column-count: 1; } }

/* ===== Boîtes à fond sombre + texte blanc : forcer tout le texte en clair (haute spécificité pour battre l'override "titre coloré -> navy") ===== */
.entry-content [style*="color"][style*="color: #fff"][style*="background"][style*="padding"] :is(h1,h2,h3,h4,h5,h6),
.entry-content [style*="color"][style*="color: #fff"][style*="background"][style*="padding"] *:not(a),
.entry-content [style*="color"][style*="color: white"][style*="background"][style*="padding"] :is(h1,h2,h3,h4,h5,h6),
.entry-content [style*="color"][style*="color: white"][style*="background"][style*="padding"] *:not(a),
.wp-block-post-content [style*="color"][style*="color: #fff"][style*="background"][style*="padding"] :is(h1,h2,h3,h4,h5,h6),
.wp-block-post-content [style*="color"][style*="color: #fff"][style*="background"][style*="padding"] *:not(a),
.wp-block-post-content [style*="color"][style*="color: white"][style*="background"][style*="padding"] :is(h1,h2,h3,h4,h5,h6),
.wp-block-post-content [style*="color"][style*="color: white"][style*="background"][style*="padding"] *:not(a) { color: #fff !important; }
/* sauf si la boîte est un sommaire reclassé en clair (liens d'ancre) -> géré par les règles sommaire ci-dessus */
.entry-content [style*="linear-gradient"]:has(ul a[href^="#"]) *:not(a), .entry-content [style*="border-left"]:has(ul a[href^="#"]) *:not(a) { color: var(--wp--preset--color--foreground) !important; }
.entry-content [style*="linear-gradient"]:has(ul a[href^="#"]) :is(h2,h3,h4), .entry-content [style*="border-left"]:has(ul a[href^="#"]) :is(h2,h3,h4) { color: var(--wp--preset--color--gold) !important; }

/* ===== Titres des encadrés : poids 600 ===== */
.entry-content [style*="border-left"] :is(h1,h2,h3,h4,h5,h6), .entry-content [style*="linear-gradient"] :is(h1,h2,h3,h4,h5,h6), .wp-block-post-content [style*="border-left"] :is(h1,h2,h3,h4,h5,h6), .wp-block-post-content [style*="linear-gradient"] :is(h1,h2,h3,h4,h5,h6), .gatinel-callout :is(h1,h2,h3,h4,h5,h6), .gatinel-toc-title { font-weight: 600 !important; }

/* ===== Boutons legacy inline (lien stylé en bouton) -> capsule or unifiée ===== */
.entry-content a[style*="background"][style*="padding"]:not([href^="#"]), .wp-block-post-content a[style*="background"][style*="padding"]:not([href^="#"]) { background-color: var(--wp--preset--color--gold) !important; background-image: none !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 0.72rem 1.7rem !important; font-weight: 600 !important; display: inline-flex !important; align-items: center !important; gap: 0.5rem; text-decoration: none !important; line-height: 1.2 !important; box-shadow: 0 1px 2px rgba(3,14,63,0.06); transition: filter .18s ease, transform .18s ease; }
.entry-content a[style*="background"][style*="padding"]:hover, .wp-block-post-content a[style*="background"][style*="padding"]:hover { filter: brightness(0.93); transform: translateY(-2px); }

/* ===== Encadrés à fond solide + bordure complète : normalisés crème (navy si texte blanc) ===== */
.entry-content [style*="background-color"][style*="border"][style*="padding"]:not(a), .wp-block-post-content [style*="background-color"][style*="border"][style*="padding"]:not(a) { background-color: #F2F1ED !important; background-image: none !important; border: 0 !important; border-radius: 0.9rem !important; }
.entry-content [style*="background-color"][style*="border"][style*="padding"][style*="color: #fff"]:not(a), .entry-content [style*="background-color"][style*="border"][style*="padding"][style*="color: white"]:not(a), .entry-content [style*="background-color"][style*="border"][style*="padding"]:not(a):has(:not(a)[style*="color: #fff"]), .entry-content [style*="background-color"][style*="border"][style*="padding"]:not(a):has(:not(a)[style*="color: white"]), .wp-block-post-content [style*="background-color"][style*="border"][style*="padding"][style*="color: #fff"]:not(a), .wp-block-post-content [style*="background-color"][style*="border"][style*="padding"]:not(a):has(:not(a)[style*="color: #fff"]) { background-color: var(--wp--preset--color--navy, #030e3f) !important; }

/* ===== Légendes sous les images : design soigné, cohérent partout ===== */
.entry-content figcaption, .wp-block-post-content figcaption, .entry-content .wp-element-caption, .wp-block-post-content .wp-element-caption, .entry-content p[style*="font-style: italic"], .wp-block-post-content p[style*="font-style: italic"] { text-align: center !important; font-style: italic !important; font-size: 0.85rem !important; line-height: 1.6 !important; color: var(--wp--preset--color--muted-foreground) !important; max-width: 680px; margin: 0.9rem auto 1.5rem !important; }

/* ===== Titres des encadrés à fond solide aussi en Inter 600 ===== */
.entry-content [style*="background-color"][style*="border"][style*="padding"] :is(h1,h2,h3,h4,h5,h6), .wp-block-post-content [style*="background-color"][style*="border"][style*="padding"] :is(h1,h2,h3,h4,h5,h6) { font-family: var(--wp--preset--font-family--base,'Inter',sans-serif) !important; font-weight: 600 !important; }

/* ===== Lignes de tableau bleu/violet clair -> doré clair (toute casse) ===== */
.entry-content [style*="#EAF8FF" i], .entry-content [style*="#F5F3FF" i], .entry-content [style*="#EBF8FF" i], .wp-block-post-content [style*="#EAF8FF" i], .wp-block-post-content [style*="#F5F3FF" i], .wp-block-post-content [style*="#EBF8FF" i] { background-color: rgba(192,152,90,0.08) !important; background-image: none !important; }

/* ===== Police du contenu en Inter (corrige les font-family inline legacy : Arial…) ===== */
.entry-content [style*="font-family"], .wp-block-post-content [style*="font-family"] { font-family: var(--wp--preset--font-family--base,'Inter',sans-serif) !important; }

/* ===== Taille du corps de texte : neutralise les font-size inline legacy (ex. <span style="font-size:13px">) qui rendaient le texte minuscule ===== */
.entry-content :is(p,li,td,blockquote) :is(span,font,em,strong)[style*="font-size"],
.wp-block-post-content :is(p,li,td,blockquote) :is(span,font,em,strong)[style*="font-size"] { font-size: inherit !important; }

/* ===== Graisse : neutralise les font-weight inline legacy (ex. <span style="font-weight:900"> noir trop lourd) + gras standard pour strong/b ===== */
.entry-content :is(p,li,td,th,span,div,font)[style*="font-weight"], .wp-block-post-content :is(p,li,td,th,span,div,font)[style*="font-weight"] { font-weight: inherit !important; }
.entry-content :is(strong,b), .wp-block-post-content :is(strong,b) { font-weight: 700 !important; }

/* ===== Tous les h4 du contenu en Inter 600 ===== */
.entry-content h4, .wp-block-post-content h4, h4.wp-block-heading { font-family: var(--wp--preset--font-family--base,'Inter',sans-serif) !important; font-weight: 600 !important; }

/* ============================================================
   ENCADRÉS — SYSTÈME UNIFIÉ (capte background / background-color / gradient)
   ============================================================ */
/* 1. Toute boîte de contenu -> crème, sans bordure (hors liens-boutons) */
.entry-content [style*="background"][style*="border"][style*="padding"]:not(a), .wp-block-post-content [style*="background"][style*="border"][style*="padding"]:not(a) { background-color: #F2F1ED !important; background-image: none !important; border: 0 !important; border-radius: 0.9rem !important; }
/* 2. Boîte à TEXTE BLANC déclaré (color:#fff/white sur la boîte ou un enfant non-lien) -> navy */
.entry-content [style*="background"][style*="border"][style*="padding"]:not(a):is([style*="color: #fff"],[style*="color: white"],[style*="color:#fff"],[style*="color:white"],:has(:not(a)[style*="color: #fff"]),:has(:not(a)[style*="color: white"])), .wp-block-post-content [style*="background"][style*="border"][style*="padding"]:not(a):is([style*="color: #fff"],[style*="color: white"],[style*="color:#fff"],[style*="color:white"],:has(:not(a)[style*="color: #fff"]),:has(:not(a)[style*="color: white"])) { background-color: var(--wp--preset--color--navy, #030e3f) !important; background-image: none !important; }
/* 3. Texte coloré dans une boîte crème (= sans texte blanc) -> navy du thème */
.entry-content [style*="background"][style*="border"][style*="padding"]:not(a):not([style*="color: #fff"]):not([style*="color: white"]):not([style*="color:#fff"]):not([style*="color:white"]):not(:has(:not(a)[style*="color: #fff"])):not(:has(:not(a)[style*="color: white"])) :is(h1,h2,h3,h4,h5,h6,p,li,strong,em,span)[style*="color"] { color: var(--wp--preset--color--foreground) !important; }
/* 4. Sommaires (boîte contenant des liens d'ancre) -> carte claire façon .gatinel-toc */
.entry-content [style*="background"][style*="border"][style*="padding"]:not(a):has(ul a[href^="#"]), .wp-block-post-content [style*="background"][style*="border"][style*="padding"]:not(a):has(ul a[href^="#"]) { background-color: #F2F1ED !important; }
.entry-content [style*="background"]:not(a):has(ul a[href^="#"]) :is(h2,h3,h4), .wp-block-post-content [style*="background"]:not(a):has(ul a[href^="#"]) :is(h2,h3,h4) { color: var(--wp--preset--color--gold) !important; font-family: var(--wp--preset--font-family--base,'Inter',sans-serif) !important; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.82rem !important; font-weight: 600 !important; border-bottom: 0 !important; padding-bottom: 0 !important; }
.entry-content [style*="background"]:not(a):has(ul a[href^="#"]) ul, .wp-block-post-content [style*="background"]:not(a):has(ul a[href^="#"]) ul { column-count: 2; column-gap: 2.5rem; list-style: none !important; padding-left: 0 !important; margin: 0 !important; }
.entry-content [style*="background"]:not(a):has(ul a[href^="#"]) a, .wp-block-post-content [style*="background"]:not(a):has(ul a[href^="#"]) a { color: var(--wp--preset--color--foreground) !important; text-decoration: none !important; }
.entry-content [style*="background"]:not(a):has(ul a[href^="#"]) a:hover { color: var(--wp--preset--color--gold) !important; }

/* ===== Sommaires tout format (ul OU boutons-ancres) -> carte claire + liens toc ===== */
.entry-content [style*="background"][style*="padding"]:not(a):has(a[href^="#"]), .wp-block-post-content [style*="background"][style*="padding"]:not(a):has(a[href^="#"]) { background-color: #F2F1ED !important; background-image: none !important; border: 0 !important; border-radius: 1rem !important; }
.entry-content [style*="background"][style*="padding"]:not(a):has(a[href^="#"]) :is(h2,h3,h4), .entry-content [style*="background"][style*="padding"]:not(a):has(a[href^="#"]) > p:first-child, .wp-block-post-content [style*="background"][style*="padding"]:not(a):has(a[href^="#"]) :is(h2,h3,h4) { color: var(--wp--preset--color--gold) !important; font-family: var(--wp--preset--font-family--base,'Inter',sans-serif) !important; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.82rem !important; font-weight: 600 !important; border-bottom: 0 !important; padding-bottom: 0 !important; margin: 0 0 1rem !important; }
.entry-content [style*="background"][style*="padding"]:not(a):has(a[href^="#"]) a[href^="#"], .wp-block-post-content [style*="background"][style*="padding"]:not(a):has(a[href^="#"]) a[href^="#"] { background: transparent !important; background-color: transparent !important; border: 0 !important; color: var(--wp--preset--color--foreground) !important; padding: 0.15rem 0.9rem 0.15rem 0 !important; border-radius: 0 !important; font-weight: 500 !important; text-decoration: none !important; box-shadow: none !important; display: inline-block; }
.entry-content [style*="background"][style*="padding"]:not(a):has(a[href^="#"]) a[href^="#"]:hover { color: var(--wp--preset--color--gold) !important; transform: none !important; }

/* ===== Archive catégorie (Publications) — design premium ===== */
.gatinel-arch-hero { text-align: center; margin: 0 auto 1rem !important; }
.gatinel-arch-h1 { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: clamp(2rem, 4vw, 2.9rem) !important; line-height: 1.1; color: var(--wp--preset--color--foreground) !important; margin: 0.4rem auto 0.6rem !important; }
.gatinel-arch-sub { color: var(--wp--preset--color--muted-foreground) !important; font-weight: 300; font-size: 1.02rem; line-height: 1.6; margin: 0 auto !important; max-width: 620px; }
.gatinel-arch-grid { gap: 1.25rem !important; }
.gatinel-arch-card { display: flex !important; flex-direction: column; background: var(--wp--preset--color--card, #fff); border: 1px solid var(--wp--preset--color--border); border-radius: 0.9rem; padding: 1.5rem 1.6rem !important; box-shadow: 0 1px 2px rgba(3,14,63,0.04); transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s ease, border-color .25s ease; height: 100%; }
.gatinel-arch-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px -20px rgba(3,14,63,0.25); border-color: rgba(192,152,90,0.4); }
.gatinel-arch-date { font-size: 0.72rem !important; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; color: var(--wp--preset--color--gold) !important; margin: 0 0 0.6rem !important; }
.gatinel-arch-title { font-family: var(--wp--preset--font-family--heading) !important; font-weight: 400; font-size: 1.18rem !important; line-height: 1.32; margin: 0 0 0.6rem !important; }
.gatinel-arch-title a { color: var(--wp--preset--color--foreground) !important; text-decoration: none; transition: color .2s ease; }
.gatinel-arch-card:hover .gatinel-arch-title a { color: var(--wp--preset--color--gold) !important; }
.gatinel-arch-excerpt { font-size: 0.9rem !important; color: var(--wp--preset--color--muted-foreground) !important; font-weight: 300; line-height: 1.6; margin: 0 0 1.1rem !important; flex: 1; }
.gatinel-arch-more, .gatinel-arch-more a { font-size: 0.8rem !important; font-weight: 600 !important; margin: 0 !important; color: var(--wp--preset--color--gold) !important; text-decoration: none !important; align-self: flex-start; }
.gatinel-arch-more:hover { text-decoration: underline !important; }
.gatinel-arch-pagination { gap: 0.5rem; }
.gatinel-arch-pagination .wp-block-query-pagination-previous, .gatinel-arch-pagination .wp-block-query-pagination-next, .gatinel-arch-pagination .page-numbers { color: var(--wp--preset--color--gold); text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 0.4rem 0.8rem; border-radius: 999px; }
.gatinel-arch-pagination .page-numbers.current { background: var(--wp--preset--color--gold); color: #fff; }
@media (max-width: 980px) { .gatinel-arch-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 600px) { .gatinel-arch-grid { grid-template-columns: 1fr !important; } }

/* ===== Texte des boîtes navy -> blanc (corrige texte sombre invisible quand le navy vient d'un enfant blanc) ===== */
.entry-content [style*="background"][style*="border"][style*="padding"]:not(a):is([style*="color: #fff"],[style*="color: white"],[style*="color:#fff"],[style*="color:white"],:has(:not(a)[style*="color: #fff"]),:has(:not(a)[style*="color: white"])) *:not(a), .wp-block-post-content [style*="background"][style*="border"][style*="padding"]:not(a):is([style*="color: #fff"],[style*="color: white"],[style*="color:#fff"],[style*="color:white"],:has(:not(a)[style*="color: #fff"]),:has(:not(a)[style*="color: white"])) *:not(a) { color: #fff !important; }

/* ===== Page CV — en-tête + sections (administrable) ===== */
.gatinel-cv-hero { background: var(--wp--preset--color--navy, #030e3f); border-radius: 0; padding: clamp(2.75rem,5vw,4rem) 1.5rem !important; margin-top: 0 !important; margin-bottom: 2.75rem !important; color: #fff; position: relative; overflow: hidden; }
.gatinel-cv-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(3,14,64,0.55), rgba(3,14,64,0.9)), url('assets/images/tools-bg.jpg') center / cover; opacity: 0.5; pointer-events: none; }
.gatinel-cv-hero > * { position: relative; z-index: 1; }
.gatinel-cv-hero > .wp-block-columns { max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; }
.gatinel-cv-hero-cols { gap: 2.5rem !important; align-items: center; }
.gatinel-cv-photo img { border-radius: 0.8rem; border: 3px solid rgba(255,255,255,0.15); display: block; }
.gatinel-cv-eyebrow { color: var(--wp--preset--color--gold) !important; margin: 0 0 0.3rem !important; }
.gatinel-cv-name { color: #fff !important; font-family: var(--wp--preset--font-family--heading) !important; font-weight: 500; font-size: clamp(2rem,4vw,2.8rem) !important; line-height: 1.1; margin: 0.2rem 0 0.5rem !important; }
.gatinel-cv-degree { color: rgba(255,255,255,0.8) !important; font-size: 1.05rem; margin: 0 0 1.1rem !important; }
.gatinel-cv-role { color: rgba(255,255,255,0.9) !important; margin: 0 0 0.5rem !important; line-height: 1.55; font-size: 0.95rem; }
.gatinel-cv-role strong { color: #fff; }
.gatinel-cv-hero .wp-block-button__link { background-color: var(--wp--preset--color--gold) !important; color: #fff !important; }
.gatinel-cv-body { margin: 0 auto !important; }
.gatinel-cv-body h2 { border-bottom: 2px solid rgba(192,152,90,0.35) !important; padding-bottom: 0.5rem !important; margin: 2.75rem 0 1.25rem !important; }
.gatinel-cv-body h2:first-child { margin-top: 0 !important; }
.gatinel-cv-body ul { padding-left: 1.1rem; }
.gatinel-cv-body li { margin-bottom: 0.4rem; line-height: 1.6; }
@media (max-width: 700px){ .gatinel-cv-photo img { width: 130px !important; } }

/* ===== Effets premium : reveal au scroll, sommaire actif + barre collante ===== */
.gatinel-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.gatinel-reveal.is-revealed { opacity: 1; transform: none; }

.gatinel-toc-list li > a { transition: color .2s ease; }
.gatinel-toc-list li.is-active > a,
.gatinel-toc-list li.is-active .gatinel-toc-num { color: var(--wp--preset--color--gold); }
.gatinel-toc-list li.is-active .gatinel-toc-label { font-weight: 600; }

.gatinel-toc-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 90; transform: translateY(-130%); transition: transform .35s ease; background: rgba(246,247,249,0.92); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid var(--wp--preset--color--border); cursor: pointer; }
.gatinel-toc-bar.is-visible { transform: translateY(0); }
.gatinel-toc-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0.6rem 1.5rem; display: flex; align-items: center; gap: 0.85rem; }
.gatinel-toc-bar-eyebrow { font-family: var(--wp--preset--font-family--base,'Inter',sans-serif); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; font-weight: 600; color: var(--wp--preset--color--gold); flex: none; }
.gatinel-toc-bar-label { font-family: var(--wp--preset--font-family--heading); font-size: 0.95rem; color: var(--wp--preset--color--primary,#0a1632); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gatinel-toc-bar-progress { margin-left: auto; flex: none; width: 120px; height: 4px; border-radius: 4px; background: rgba(10,22,50,0.1); overflow: hidden; }
.gatinel-toc-bar-progress i { display: block; height: 100%; width: 0; background: var(--wp--preset--color--gold); transition: width .15s linear; }
@media (max-width: 600px) { .gatinel-toc-bar-progress { width: 64px; } .gatinel-toc-bar-inner { padding: 0.55rem 1rem; } }
@media (prefers-reduced-motion: reduce) { .gatinel-reveal { transition: none !important; opacity: 1 !important; transform: none !important; } }

/* Le wrapper de template-part limitait la zone de collage du header sticky : on le neutralise */
.wp-site-blocks > header.wp-block-template-part { display: contents; }

/* Ancres du sommaire : éviter que les titres passent sous l'en-tête collant + défilement doux */
.wp-block-post-content :is(h2,h3)[id], .entry-content :is(h2,h3)[id] { scroll-margin-top: 140px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ===== Quick wins : téléphones cliquables, ancre copiable, CTA mobile ===== */
.gatinel-tel { color: inherit; text-decoration: none; white-space: nowrap; border-bottom: 1px dotted rgba(192,152,90,0.6); }
.gatinel-tel:hover { color: var(--wp--preset--color--gold); border-bottom-color: var(--wp--preset--color--gold); }

.gatinel-has-anchor { position: relative; }
.gatinel-anchor-copy { margin-left: 0.45rem; padding: 0; border: 0; background: none; color: var(--wp--preset--color--gold); cursor: pointer; opacity: 0; vertical-align: middle; line-height: 0; position: relative; transition: opacity .2s ease; }
.gatinel-has-anchor:hover .gatinel-anchor-copy, .gatinel-anchor-copy:focus-visible { opacity: 0.5; }
.gatinel-anchor-copy:hover { opacity: 1; }
.gatinel-has-anchor.is-copied .gatinel-anchor-copy { opacity: 1; }
.gatinel-has-anchor.is-copied .gatinel-anchor-copy::after { content: "Lien copié"; position: absolute; left: 50%; bottom: calc(100% + 7px); transform: translateX(-50%); background: var(--wp--preset--color--navy,#030e3f); color: #fff; font-family: var(--wp--preset--font-family--base,'Inter',sans-serif); font-size: 0.7rem; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 0.25rem 0.5rem; border-radius: 6px; white-space: nowrap; pointer-events: none; }

.gatinel-mobile-cta { display: none; }
@media (max-width: 782px) {
	.gatinel-mobile-cta { display: flex; align-items: center; justify-content: center; gap: 0.55rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 940; min-height: 56px; padding: 0.85rem 1rem; background: var(--wp--preset--color--gold,#c0985a); color: #fff; font-family: var(--wp--preset--font-family--base,'Inter',sans-serif); font-weight: 600; font-size: 1rem; text-decoration: none; box-shadow: 0 -6px 20px -8px rgba(10,22,50,0.35); }
	.gatinel-mobile-cta svg { flex: none; }
	body { padding-bottom: 56px; }
	.gatinel-totop { bottom: calc(56px + 1rem) !important; }
}

/* ===== Accessibilité : lien d'évitement + anneau de focus ===== */
.gatinel-skip { position: fixed; top: -120px; left: 1rem; z-index: 100001; background: var(--wp--preset--color--navy,#030e3f); color: #fff; padding: 0.7rem 1.1rem; border-radius: 8px; font-family: var(--wp--preset--font-family--base,'Inter',sans-serif); font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px -8px rgba(3,14,63,0.5); transition: top .2s ease; }
.gatinel-skip:focus { top: 1rem; }
:where(a, button, input, select, textarea, summary, .wp-block-button__link):focus-visible { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 2px; border-radius: 2px; }
#gatinel-contenu { scroll-margin-top: 100px; }
#gatinel-contenu:focus { outline: none; }

/* ===== Survol des cartes restantes ===== */
.gatinel-pubs-card, .gatinel-reco-card { transition: transform .25s ease, box-shadow .25s ease; }
.gatinel-pubs-card:hover, .gatinel-reco-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -18px rgba(3,14,63,0.18); }

/* ===== Impression : page propre (sans habillage) ===== */
@media print {
	.gatinel-header, .gatinel-toc-bar, .gatinel-mobile-cta, .gatinel-totop, .gatinel-footer, .gatinel-sidebar-wrap, .gatinel-skip, .gatinel-qr-comments, .gatinel-page-comments, .gatinel-anchor-copy, .gatinel-searchbar, .gatinel-breadcrumb, .gatinel-qr-bc, #wpadminbar { display: none !important; }
	html, body { background: #fff !important; color: #000 !important; padding: 0 !important; margin: 0 !important; }
	.gatinel-article-main, .wp-block-post-content, .entry-content { max-width: 100% !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
	.gatinel-reveal { opacity: 1 !important; transform: none !important; }
	a { color: #000 !important; text-decoration: underline; }
	img { max-width: 100% !important; height: auto !important; }
	:is(h1,h2,h3,h4) { break-after: avoid; page-break-after: avoid; }
	:is([class*="encadre"], .gatinel-media-card, .gatinel-livre, .gatinel-toc, table, figure) { break-inside: avoid; page-break-inside: avoid; }
	@page { margin: 1.5cm; }
}

/* ===== Optimisation design : largeur de lecture + rythme vertical ===== */
/* Texte courant limité à ~46rem (lignes confortables), aligné à gauche ;
   images, encadrés, colonnes, grilles, tableaux et sommaire gardent la pleine largeur. */
body:not(.home) :is(.wp-block-post-content, .entry-content) > :is(p, ul, ol, blockquote, h2, h3, h4, h5, .wp-block-heading) {
	max-width: 46rem;
	margin-left: 0;
	margin-right: auto;
}
/* Rythme vertical : plus d'air avant les titres de section */
body:not(.home) :is(.wp-block-post-content, .entry-content) > :is(h2, .wp-block-heading):not(:first-child) { margin-top: 3rem; }
body:not(.home) :is(.wp-block-post-content, .entry-content) > h3 { margin-top: 2rem; }

/* ===== #5 Liens de contenu : soulignement doré raffiné ===== */
:is(.wp-block-post-content, .entry-content) :is(p, li, blockquote, td) a:not([class]) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
	transition: text-decoration-color .2s ease;
}
:is(.wp-block-post-content, .entry-content) :is(p, li, blockquote, td) a:not([class]):hover {
	text-decoration-color: currentColor;
}

/* ===== Recherche instantanée : résultats sous la barre ===== */
.gatinel-search-live { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 2px; }
.gatinel-search-live-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.9rem; border-radius: 0.6rem; text-decoration: none; color: var(--wp--preset--color--foreground); transition: background .15s ease; }
.gatinel-search-live-item:hover { background: rgba(192,152,90,0.1); }
.gatinel-search-live-t { font-family: var(--wp--preset--font-family--heading); font-size: 0.98rem; }
.gatinel-search-live-badge { flex: none; font-family: var(--wp--preset--font-family--base,'Inter',sans-serif); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--wp--preset--color--gold); border: 1px solid rgba(192,152,90,0.4); border-radius: 999px; padding: 0.12rem 0.5rem; white-space: nowrap; }
.gatinel-search-live-all { padding: 0.65rem 0.9rem; font-family: var(--wp--preset--font-family--base,'Inter',sans-serif); font-weight: 600; font-size: 0.85rem; color: var(--wp--preset--color--gold); text-decoration: none; }
.gatinel-search-live-all:hover { text-decoration: underline; }
.gatinel-search-live-empty { padding: 0.65rem 0.9rem; color: var(--wp--preset--color--muted-foreground); font-style: italic; margin: 0; }

/* ===== Glossaire : terme souligné + infobulle ===== */
.gatinel-gloss { border-bottom: 1px dotted var(--wp--preset--color--gold); cursor: help; position: relative; }
.gatinel-gloss-pop { position: absolute; left: 0; bottom: calc(100% + 9px); width: max-content; max-width: 280px; background: var(--wp--preset--color--navy,#030e3f); color: #fff; font-family: var(--wp--preset--font-family--base,'Inter',sans-serif); font-weight: 400; font-size: 0.82rem; line-height: 1.45; text-transform: none; letter-spacing: 0; font-style: normal; padding: 0.6rem 0.75rem; border-radius: 8px; box-shadow: 0 12px 30px -10px rgba(3,14,63,0.5); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60; pointer-events: none; }
.gatinel-gloss:hover .gatinel-gloss-pop, .gatinel-gloss:focus .gatinel-gloss-pop, .gatinel-gloss:focus-within .gatinel-gloss-pop { opacity: 1; visibility: visible; transform: none; }
.gatinel-gloss-pop::after { content: ''; position: absolute; top: 100%; left: 16px; border: 6px solid transparent; border-top-color: var(--wp--preset--color--navy,#030e3f); }

/* ===== #6 Séparateurs de section (rythme, sans bandes qui casseraient la colonne de lecture) ===== */
body:not(.home) :is(.wp-block-post-content, .entry-content) > :is(h2, .wp-block-heading):not(:first-child)::before {
	content: ''; display: block; width: 2.5rem; height: 2px; background: var(--wp--preset--color--gold); border-radius: 2px; margin-bottom: 1.15rem; opacity: 0.85;
}

/* Pas de soulignement sur les liens de navigation (sommaire, sidebar, breadcrumb, menus) */
:is(.gatinel-toc, .gatinel-toc-bar, .gatinel-sidebar-wrap, .gatinel-sidebar, .gatinel-breadcrumb, .gatinel-qr-bc, nav, .wp-block-navigation, .gatinel-search-live) a { text-decoration: none !important; }
