/* =====================================================================
   Thème « Agence eGwii » (content/themes/agence-egwii) — site de l'agence et des logiciels eGwii
   Construit sur Bootstrap 5.3 : grille (container / row / col-*), boutons (.btn + variantes), onglets (nav-pills),
   accordéon (FAQ), offcanvas (menu mobile). Cette feuille ne fait que l'habillage (préfixe ag-).
   Charte eGwii modernisée : rose #e43c5c (couleur principale du site, réglée dans Apparence › Thèmes), encre #0d0d12,
   logo « eGwii » en Righteous ; titres Bricolage Grotesque, texte Inter.
   Couleurs des produits : CMS rose, hotelier bleu nuit, restaurant turquoise, artisans ocre.
   Injectée aussi dans le page builder (config.json → editor_css). Maquette d'origine : maquette/home.html.
   ===================================================================== */

:root {
  --ag-ink: #0d0d12;
  --ag-paper: #fafaf7;
  --ag-muted: #5d6068;
  --ag-line: rgba(13, 13, 18, .1);
  --ag-pink: var(--pb-g2, #e43c5c);            /* rose eGwii : couleur d'accent (la couleur principale est l'encre) */
  --ag-pink-soft: #fde8ec;
  --ag-blue: #1e3a8a;
  --ag-blue-soft: #e6ebf7;
  --ag-teal: #0f766e;
  --ag-teal-soft: #e2f2f0;
  --ag-ochre: #b45309;
  --ag-ochre-soft: #fbeedd;
  --ag-display: "Bricolage Grotesque", system-ui, sans-serif;
  --ag-radius: 8px;
  --ag-hd: 76px;
}
@media (min-width: 1400px) { .container { max-width: 1260px; } }
html { scroll-padding-top: calc(var(--ag-hd) + 16px); }
html, body, .hotel-main { overflow-x: clip; }
body { font-size: 1.0625rem; line-height: 1.65; background: var(--ag-paper); color: var(--ag-ink); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
h1, h2, h3, .ag-display { font-family: var(--ag-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; }
h4, h5 { font-family: var(--ag-display); font-weight: 700; letter-spacing: -.01em; }

/* ---------- Typographie ---------- */
.ag-h1 { font-size: clamp(2.6rem, 5.2vw, 4.9rem); }
.ag-h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.ag-h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.ag-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ag-muted); max-width: 640px; }
.ag-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ag-pink); }
.ag-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ag-grad { color: var(--ag-pink); }
.text-ag-muted { color: var(--ag-muted) !important; }
.logo { font: 400 1.9rem/1 "Righteous", system-ui, sans-serif; color: var(--ag-ink); letter-spacing: -.01em; }
.logo:hover { color: var(--ag-ink); }
.logo img { max-height: 40px; width: auto; display: block; }

/* ---------- Boutons (Bootstrap .btn + variantes eGwii) ---------- */
.btn { --bs-btn-font-weight: 600; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.btn-ag { --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: .95rem; border-radius: 6px; display: inline-flex; align-items: center; gap: .6rem; }
.btn-ag:hover { transform: translateY(-2px); }
.btn-ag .arr { transition: transform .2s; }
.btn-ag:hover .arr { transform: translateX(3px); }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--ag-pink); --bs-btn-border-color: var(--ag-pink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #c92f4d; --bs-btn-hover-border-color: #c92f4d; --bs-btn-active-bg: #c92f4d; --bs-btn-active-color: #fff; }
.btn-hotel { --bs-btn-color: #fff; --bs-btn-bg: var(--ag-blue); --bs-btn-border-color: var(--ag-blue); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #172d6b; --bs-btn-hover-border-color: #172d6b; --bs-btn-active-bg: #172d6b; --bs-btn-active-color: #fff; }
.btn-resto { --bs-btn-color: #fff; --bs-btn-bg: var(--ag-teal); --bs-btn-border-color: var(--ag-teal); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #0b5c56; --bs-btn-hover-border-color: #0b5c56; --bs-btn-active-bg: #0b5c56; --bs-btn-active-color: #fff; }
.btn-artisan { --bs-btn-color: #fff; --bs-btn-bg: var(--ag-ochre); --bs-btn-border-color: var(--ag-ochre); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #8f4107; --bs-btn-hover-border-color: #8f4107; --bs-btn-active-bg: #8f4107; --bs-btn-active-color: #fff; }

/* ---------- Sections ---------- */
.ag-sec { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.ag-sec-sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.ag-white { background: #fff; }
.ag-dark { background: var(--ag-ink); color: #fff; }
.ag-dark .ag-lead { color: rgba(255, 255, 255, .68); }
.ag-dark .ag-eyebrow { color: #ff8fa4; }
.ag-rounded { border-radius: 0; margin-left: clamp(8px, 1.5vw, 20px); margin-right: clamp(8px, 1.5vw, 20px); }
.ag-head { margin-bottom: 3.5rem; }

/* ===================================================================== */
/* En-tête (includes/layout.php)                                         */
/* ===================================================================== */
.ag-hd { position: sticky; top: 0; z-index: 1030; background: rgba(250, 250, 247, .85); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--ag-line); }
.ag-hd .container { display: flex; align-items: center; gap: 2rem; height: var(--ag-hd); }
.ag-nav > ul { display: flex; gap: .25rem; list-style: none; margin: 0 0 0 .5rem; padding: 0; }
.ag-nav li { position: relative; }
.ag-nav a { display: inline-flex; align-items: center; padding: .55rem .9rem; border-radius: 6px; font-weight: 500; font-size: .95rem; color: #34363d; }
.ag-nav a:hover { background: rgba(13, 13, 18, .06); color: var(--ag-ink); }
.ag-nav a.active { color: var(--ag-pink); }
.ag-nav a.dd::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-2px, -2px); margin-left: .5rem; }
.ag-nav .sub { position: absolute; top: 100%; left: 0; padding-top: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; }
.ag-nav .sub ul { list-style: none; margin: 0; min-width: 260px; background: #fff; border-radius: 8px; box-shadow: 0 24px 50px -20px rgba(13, 13, 18, .35); padding: .5rem; border: 1px solid var(--ag-line); }
.ag-nav .sub a { display: block; border-radius: 6px; white-space: nowrap; }
.ag-nav .has-sub:hover .sub, .ag-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.ag-hd-right { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.ag-hd-right .btn-ag { --bs-btn-padding-y: .6rem; --bs-btn-font-size: .875rem; }
.ag-lang { display: flex; gap: .2rem; }
.ag-lang a { font-size: .8rem; font-weight: 600; padding: .35rem .5rem; border-radius: 8px; color: var(--ag-muted); }
.ag-lang a.active { color: var(--ag-ink); background: rgba(13, 13, 18, .06); }
.ag-burger { display: none; background: none; border: 0; width: 42px; height: 42px; }
.ag-burger span { display: block; width: 22px; height: 2px; background: var(--ag-ink); margin: 5px auto; border-radius: 2px; }
.ag-menu { --bs-offcanvas-width: min(420px, 100vw); background: var(--ag-paper); padding: 1.25rem 1.5rem 1.75rem; }
.ag-menu-links { list-style: none; margin: 1.75rem 0; padding: 0; overflow-y: auto; }
.ag-menu-links > li > a { display: block; font: 800 1.6rem/1.2 var(--ag-display); padding: .5rem 0; letter-spacing: -.02em; color: var(--ag-ink); }
.ag-menu-links ul { list-style: none; padding: 0 0 .5rem; }
.ag-menu-links ul a { display: block; padding: .3rem 0; color: var(--ag-muted); }
.ag-menu-foot { margin-top: auto; display: grid; gap: .75rem; }
@media (max-width: 1199.98px) {
  .ag-nav { display: none; }
  .ag-burger { display: block; }
}
@media (max-width: 575.98px) {
  .ag-hd-right .btn-ag, .ag-hd-right .ag-lang { display: none; }
}

/* ===================================================================== */
/* Grand visuel d'accueil                                                */
/* ===================================================================== */
.ag-hero { position: relative; overflow: hidden; background: var(--ag-ink); color: #fff; padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 7.5rem); }
.ag-hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -250px; top: -380px; background: radial-gradient(circle, rgba(228, 60, 92, .22), transparent 62%); }
.ag-hero::after { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -420px; background: radial-gradient(circle, rgba(30, 58, 138, .65), transparent 60%); }
.ag-hero .container { position: relative; z-index: 1; }
.ag-hero .ag-eyebrow { color: #ff8fa4; }
.ag-hero p { font-size: 1.25rem; color: rgba(255, 255, 255, .72); max-width: 540px; }
.ag-hero-trust { color: rgba(255, 255, 255, .6); font-size: .875rem; }
.ag-hero-trust b { display: block; font: 800 1.6rem var(--ag-display); color: #fff; }
.ag-stage { position: relative; height: 560px; }
.ag-browser { position: absolute; inset: 20px 0 auto 30px; border-radius: 8px; background: #fff; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); overflow: hidden; transform: rotate(-2deg); }
.ag-browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef0f3; }
.ag-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d7dd; }
.ag-browser-bar i:nth-child(1) { background: #ff5f57; } .ag-browser-bar i:nth-child(2) { background: #febc2e; } .ag-browser-bar i:nth-child(3) { background: #28c840; }
.ag-browser-bar span { margin-left: 12px; font-size: 11px; color: #7a7f88; background: #fff; border-radius: 6px; padding: 3px 12px; }
.ag-browser img { width: 100%; height: auto; display: block; }
.ag-float { position: absolute; background: #fff; color: var(--ag-ink); border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); padding: 1.1rem 1.25rem; animation: ag-float 6s ease-in-out infinite; }
@keyframes ag-float { 50% { transform: translateY(-10px); } }
.ag-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 4px; }
.ag-tag.is-hotel { background: var(--ag-blue-soft); color: var(--ag-blue); }
.ag-tag.is-resto { background: var(--ag-teal-soft); color: var(--ag-teal); }
.ag-float-book { left: -10px; bottom: 30px; width: 300px; }
.ag-float-book .f { border: 1px solid var(--ag-line); border-radius: 6px; padding: 8px 10px; font-size: 12px; color: var(--ag-muted); }
.ag-float-book .f b { display: block; color: var(--ag-ink); font-size: 14px; }
.ag-float-book .go { display: block; text-align: center; background: var(--ag-blue); color: #fff; border-radius: 6px; padding: 11px; font-weight: 600; font-size: 14px; }
.ag-float-table { right: -10px; bottom: -10px; width: 250px; animation-delay: -2s; }
.ag-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 4px; }
.ag-slots span { text-align: center; border: 1px solid var(--ag-line); border-radius: 8px; padding: 7px 0; font-size: 13px; font-weight: 600; }
.ag-slots span.on { background: var(--ag-teal); border-color: var(--ag-teal); color: #fff; }
.ag-float-notif { right: 30px; top: -6px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; animation-delay: -1s; }
.ag-float-notif i, .ag-floor .ag-float i { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--ag-pink-soft); color: var(--ag-pink); }
.ag-float b { display: block; font-size: 14px; }
.ag-float small { font-size: 12px; color: var(--ag-muted); }
@media (max-width: 991.98px) { .ag-stage { height: 460px; max-width: 640px; margin-top: 3rem; } }
@media (max-width: 575.98px) {
  .ag-stage { height: 360px; }
  .ag-float-book { width: 240px; } .ag-float-table { width: 200px; } .ag-float-notif { display: none; }
}

/* ---------- Bandeau de références ---------- */
.ag-logos { padding: 2.8rem 0; background: #fff; border-bottom: 1px solid var(--ag-line); }
.ag-logos .container { display: flex; align-items: center; gap: 2rem; }
.ag-logos p { flex: none; margin: 0; padding-right: 2rem; border-right: 1px solid var(--ag-line); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ag-muted); line-height: 1.5; max-width: 11rem; }
.ag-logos-track { flex: 1; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ag-logos-track > div { display: flex; flex: none; animation: ag-marquee 40s linear infinite; }
.ag-logos-track:hover > div { animation-play-state: paused; }
.ag-logos-track span { display: flex; align-items: center; white-space: nowrap; font: 800 1.35rem var(--ag-display); letter-spacing: -.02em; color: #a7aab1; }
.ag-logos-track span::after { content: ""; width: 6px; height: 6px; margin: 0 2.25rem; border-radius: 50%; background: var(--ag-pink); opacity: .55; }
@media (max-width: 767.98px) { .ag-logos .container { flex-direction: column; align-items: stretch; gap: 1rem; } .ag-logos p { border: 0; padding: 0; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .ag-logos-track > div { animation: none; } .ag-logos-track { overflow-x: auto; } }

/* ---------- Tuiles des 3 outils ---------- */
.ag-tile { position: relative; height: 100%; border-radius: var(--ag-radius); padding: 2.1rem; display: flex; flex-direction: column; transition: transform .3s; color: var(--ag-ink); }
.ag-tile:hover { transform: translateY(-6px); color: var(--ag-ink); }
.ag-tile h3 { font-size: 1.85rem; margin: 1.1rem 0 .75rem; }
.ag-tile p { color: var(--ag-muted); font-size: 1rem; }
.ag-tile .chip { align-self: flex-start; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; padding: 6px 12px; border-radius: 4px; background: #fff; }
.ag-tile .more { margin-top: auto; padding-top: 1.5rem; font-weight: 600; }
.ag-tile.is-cms { background: #ededf0; } .ag-tile.is-cms .chip, .ag-tile.is-cms .more { color: var(--ag-pink); }
.ag-tile.is-hotel { background: var(--ag-blue-soft); } .ag-tile.is-hotel .chip, .ag-tile.is-hotel .more { color: var(--ag-blue); }
.ag-tile.is-resto { background: var(--ag-teal-soft); } .ag-tile.is-resto .chip, .ag-tile.is-resto .more { color: var(--ag-teal); }
.ag-mini { margin-top: 1.6rem; background: #fff; border-radius: 8px; box-shadow: 0 20px 40px -24px rgba(13, 13, 18, .35); padding: 14px; }
.ag-mini-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ag-mini-blocks span { height: 54px; border-radius: 8px; background: #f2f2f4; }
.ag-mini-blocks span:nth-child(1) { grid-column: span 3; height: 70px; background: linear-gradient(120deg, #ffd0d9, #fff); }
.ag-mini-blocks span.drag { outline: 2px dashed var(--ag-pink); background: #fff4f6; }
.ag-mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 11px; text-align: center; }
.ag-mini-cal b { color: var(--ag-muted); font-weight: 500; }
.ag-mini-cal span { padding: 6px 0; border-radius: 6px; }
.ag-mini-cal .in { background: var(--ag-blue); color: #fff; } .ag-mini-cal .mid { background: #c8d3ef; }
.ag-mini-list div { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 4px; border-bottom: 1px solid var(--ag-line); }
.ag-mini-list div:last-child { border: 0; }
.ag-mini-list em { font-style: normal; font-weight: 600; color: var(--ag-teal); }

/* ---------- Mise en avant eGwii restaurant ---------- */
.ag-resto { background: linear-gradient(180deg, var(--ag-teal-soft), #fff); }
.ag-resto .ag-eyebrow { color: var(--ag-teal); }
.ag-resto h2 em, .ag-hotel h2 em { font-style: normal; color: var(--ag-teal); }
.ag-hotel { background: linear-gradient(180deg, var(--ag-blue-soft), #fff); }
.ag-hotel .ag-eyebrow { color: var(--ag-blue); }
.ag-hotel h2 em { color: var(--ag-blue); }
.ag-stat { height: 100%; background: #fff; border-radius: 8px; padding: 1rem; font-size: .875rem; color: var(--ag-muted); box-shadow: 0 10px 30px -22px rgba(15, 118, 110, .6); }
.ag-stat b { display: block; font: 800 1.6rem var(--ag-display); color: var(--ag-teal); }
.ag-hotel .ag-stat b { color: var(--ag-blue); }
.ag-floor { position: relative; background: #fff; border-radius: 6px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(15, 118, 110, .6); }
.ag-floor-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 14px; }
.ag-floor-head span { color: var(--ag-teal); font-weight: 600; }
.ag-floor-plan { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 26px 22px 70px; border-radius: 8px; background: repeating-linear-gradient(0deg, #f7faf9 0 22px, #f2f6f5 22px 23px); }
.ag-t { display: grid; place-items: center; height: 62px; font-weight: 600; font-size: 14px; font-style: normal; background: #fff; border: 2px solid #cfe3e0; color: var(--ag-teal); }
.ag-t.r { border-radius: 50%; width: 62px; justify-self: center; }
.ag-t.sq { border-radius: 6px; }
.ag-t.long { grid-column: span 2; border-radius: 6px; }
.ag-t.busy { background: var(--ag-teal); border-color: var(--ag-teal); color: #fff; }
.ag-t.soon { background: #fff7e6; border-color: #f3c46b; color: #9a6a0c; }
.ag-floor-plan .zone { position: absolute; bottom: 16px; font-size: 12px; font-weight: 600; color: #7c8b89; border: 1px dashed #b9cfcb; border-radius: 6px; padding: 8px 14px; }
.ag-floor-plan .zone.l { left: 22px; } .ag-floor-plan .zone.r { right: 22px; }
.ag-floor-legend { display: flex; gap: 18px; font-size: 13px; color: var(--ag-muted); margin-top: 14px; }
.ag-floor-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; border: 2px solid #cfe3e0; margin-right: 6px; vertical-align: -1px; }
.ag-floor-legend i.busy { background: var(--ag-teal); border-color: var(--ag-teal); } .ag-floor-legend i.soon { background: #fff7e6; border-color: #f3c46b; }
.ag-floor .ag-float { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.ag-floor .ag-float i { background: var(--ag-teal-soft); color: var(--ag-teal); }
.ag-floor .n1 { right: -24px; top: -26px; }
.ag-floor .n2 { left: -30px; bottom: 56px; animation-delay: -2s; }
@media (max-width: 991.98px) { .ag-floor .n1 { right: 0; } .ag-floor .n2 { left: 0; } }
@media (max-width: 575.98px) { .ag-floor-plan { gap: 12px; padding: 18px 14px 64px; } .ag-t { height: 48px; } .ag-t.r { width: 48px; } }

/* ---------- Atouts (cartes) ---------- */
.ag-feat { height: 100%; background: #fff; border-radius: 8px; padding: 1.75rem; border: 1px solid var(--ag-line); }
.ag-feat h3 { font-size: 1.3rem; letter-spacing: -.015em; margin-bottom: .5rem; }
.ag-feat h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--ag-pink); margin-bottom: 1rem; }
.ag-feat p { color: var(--ag-muted); font-size: .95rem; margin: 0; }
.is-hotel .ag-feat h3::before { background: var(--ag-blue); }
.is-resto .ag-feat h3::before { background: var(--ag-teal); }
.is-artisan .ag-feat h3::before { background: var(--ag-ochre); }

/* ---------- Onglets des secteurs (Bootstrap nav-pills + tab-content) ---------- */
.ag-tabs { gap: .6rem; margin-bottom: 2.5rem; }
.ag-tabs .nav-link { border-radius: 6px; padding: .75rem 1.35rem; font-weight: 600; background: rgba(255, 255, 255, .08); color: #fff; }
.ag-tabs .nav-link.active { background: #fff; color: var(--ag-ink); }
.ag-dark .tab-pane h3 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 1.1rem; }
.ag-dark .tab-pane p { color: rgba(255, 255, 255, .7); }
.ag-soon { font-size: .875rem; color: rgba(255, 255, 255, .55); }

/* ---------- Listes à coches ---------- */
.ag-checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .75rem; }
.ag-checks li { display: flex; gap: .75rem; }
.ag-checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--ag-pink-soft); color: var(--ag-pink); }
.ag-dark .ag-checks li::before { background: rgba(255, 255, 255, .12); color: #fff; }
.is-hotel .ag-checks li::before { background: var(--ag-blue-soft); color: var(--ag-blue); }
.is-resto .ag-checks li::before { background: var(--ag-teal-soft); color: var(--ag-teal); }
.is-artisan .ag-checks li::before { background: var(--ag-ochre-soft); color: var(--ag-ochre); }

/* ---------- Captures d'écran ---------- */
.ag-shot { border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(13, 13, 18, .55); border: 1px solid var(--ag-line); background: #fff; margin: 0; }
.ag-dark .ag-shot { border-color: rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.ag-shot img { width: 100%; height: auto; display: block; }

/* ---------- Réalisations (mosaïque) ---------- */
.ag-work-item { position: relative; display: block; height: auto; border-radius: var(--ag-radius); overflow: hidden; background: #e9e9ec; color: var(--ag-ink); }
.ag-work-item img { width: 100%; height: auto; transition: transform .8s ease; display: block; }
.ag-work-item:hover img { transform: scale(1.04); }
.ag-work-item figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: 8px; padding: 12px 16px; }
.ag-work-item figcaption b { font-family: var(--ag-display); font-size: 1.1rem; }
.ag-chip { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.k-hotel { background: var(--ag-blue-soft); color: var(--ag-blue); }
.k-resto { background: var(--ag-teal-soft); color: var(--ag-teal); }
.k-gite, .k-site { background: var(--ag-pink-soft); color: var(--ag-pink); }
.k-artisan { background: var(--ag-ochre-soft); color: var(--ag-ochre); }
.k-shop { background: #ede9fe; color: #6d28d9; }

/* ---------- Services ---------- */
.ag-services { border: 1px solid var(--ag-line); border-radius: var(--ag-radius); overflow: hidden; }
.ag-service { height: 100%; background: var(--ag-paper); padding: 2rem 1.75rem; transition: background .3s; color: var(--ag-ink); display: block; }
a.ag-service:hover { background: #fff; color: var(--ag-ink); }
.ag-service .ic { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; background: var(--ag-ink); color: #fff; margin-bottom: 1.6rem; font-size: 1.35rem; }
.ag-service h3 { font-size: 1.35rem; letter-spacing: -.015em; margin-bottom: .6rem; }
.ag-service p { color: var(--ag-muted); font-size: .95rem; margin: 0; }

/* ---------- Méthode ---------- */
.ag-steps { counter-reset: s; }
.ag-step { border-top: 2px solid var(--ag-ink); padding-top: 1.35rem; height: 100%; }
.ag-step::before { counter-increment: s; content: "0" counter(s); font: 800 .95rem var(--ag-display); color: var(--ag-pink); }
.ag-step h3 { font-size: 1.5rem; margin: .75rem 0 .6rem; }
.ag-step p { color: var(--ag-muted); font-size: .95rem; margin: 0; }

/* ---------- Agence ---------- */
.ag-photo { position: relative; }
.ag-photo img { border-radius: 6px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ag-badge { position: absolute; right: -20px; bottom: 30px; background: var(--ag-ink); color: #fff; border-radius: 8px; padding: 1.25rem 1.5rem; box-shadow: 0 20px 40px -16px rgba(13, 13, 18, .6); }
.ag-badge b { display: block; font: 800 2.5rem/1 var(--ag-display); }
@media (max-width: 575.98px) { .ag-badge { right: 10px; } }
.ag-quote { font: 600 clamp(1.4rem, 2.2vw, 1.9rem)/1.3 var(--ag-display); letter-spacing: -.015em; margin: 1.4rem 0 1.6rem; }
.ag-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.ag-pills span { border: 1px solid var(--ag-line); border-radius: 6px; padding: .5rem 1rem; font-size: .875rem; font-weight: 500; background: #fff; }

/* ---------- Articles (cartes) ---------- */
.ag-post { display: block; color: var(--ag-ink); height: 100%; }
.ag-post:hover { color: var(--ag-ink); }
.ag-post-img { display: block; overflow: hidden; border-radius: 8px; margin-bottom: 1.1rem; background: #ececef; aspect-ratio: 4 / 3; }
.ag-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; display: block; }
.ag-post:hover .ag-post-img img { transform: scale(1.04); }
.ag-post .k { font-size: .8rem; font-weight: 600; color: var(--ag-pink); }
.ag-post h3 { font-size: 1.35rem; margin: .5rem 0; letter-spacing: -.015em; line-height: 1.15; transition: color .2s; }
.ag-post:hover h3 { color: var(--ag-pink); }
.ag-post p { color: var(--ag-muted); font-size: .95rem; margin: 0; }

/* ---------- Appel final ---------- */
.ag-cta { background: var(--ag-ink); color: #fff; position: relative; overflow: hidden; margin-bottom: clamp(8px, 1.5vw, 20px); }
.ag-cta::after { content: "eGwii"; position: absolute; right: -30px; bottom: -90px; font: 400 clamp(160px, 24vw, 360px)/1 "Righteous"; color: rgba(255, 255, 255, .1); pointer-events: none; }
.ag-cta .container { position: relative; z-index: 1; }
.ag-cta p { font-size: 1.2rem; opacity: .85; }
.ag-cta-list { display: grid; gap: .75rem; }
.ag-cta-list a, .ag-cta-list div { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.1rem 1.4rem; border-radius: 8px; background: rgba(255, 255, 255, .14); font-weight: 600; color: #fff; }
.ag-cta-list a:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.ag-cta-list small { font-weight: 400; opacity: .8; }

/* ---------- En-tête des pages intérieures ---------- */
.ag-pagehead { position: relative; overflow: hidden; background: var(--ag-ink); color: #fff; padding: clamp(5rem, 10vw, 8rem) 0 clamp(4.5rem, 8vw, 7rem); }
.ag-pagehead::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -380px; background: radial-gradient(circle, rgba(228, 60, 92, .2), transparent 62%); }
.ag-pagehead .container { position: relative; z-index: 1; }
.ag-pagehead .ag-eyebrow { color: #ff8fa4; }
.ag-pagehead h1 { font-size: clamp(2.6rem, 6vw, 5.1rem); margin: 1.1rem 0 1.25rem; max-width: 980px; }
.ag-pagehead h1 em { font-style: normal; color: #ff8fa4; }
.ag-pagehead p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .72); max-width: 680px; }
.ag-pagehead.is-hotel::before { background: radial-gradient(circle, rgba(59, 91, 219, .6), transparent 62%); }
.ag-pagehead.is-hotel .ag-eyebrow, .ag-pagehead.is-hotel h1 em { color: #9fb4ff; }
.ag-pagehead.is-resto::before { background: radial-gradient(circle, rgba(20, 184, 166, .5), transparent 62%); }
.ag-pagehead.is-resto .ag-eyebrow, .ag-pagehead.is-resto h1 em { color: #5eead4; }
.ag-pagehead.is-artisan::before { background: radial-gradient(circle, rgba(217, 119, 6, .5), transparent 62%); }
.ag-pagehead.is-artisan .ag-eyebrow, .ag-pagehead.is-artisan h1 em { color: #fbbf74; }

/* ---------- FAQ (accordéon Bootstrap) ---------- */
.ag-faq { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--ag-line); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ag-ink); max-width: 860px; }
.ag-faq .accordion-button { font: 700 1.2rem/1.3 var(--ag-display); letter-spacing: -.01em; padding: 1.25rem 0; background: transparent; }
.ag-faq .accordion-body { padding: 0 0 1.25rem; color: var(--ag-muted); }

/* ---------- Formulaires (plugin Formulaires) ---------- */
.ag-formcard { background: #fff; border-radius: 6px; padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: 0 30px 70px -40px rgba(13, 13, 18, .45); border: 1px solid var(--ag-line); }
.ag-formcard .form-control, .ag-formcard .form-select { border-radius: 6px; padding: .8rem 1rem; border-color: #dcdde2; }
.ag-formcard .form-control:focus, .ag-formcard .form-select:focus { border-color: var(--ag-pink); box-shadow: 0 0 0 .2rem rgba(228, 60, 92, .15); }
.ag-formcard .form-label { font-weight: 600; font-size: .875rem; }
.ag-formcard [type=submit] { border-radius: 6px; padding: .85rem 1.8rem; font-weight: 600; }
.ag-contact-list { display: grid; gap: .75rem; margin-top: 1.6rem; }
.ag-contact-list a, .ag-contact-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-radius: 8px; background: #fff; border: 1px solid var(--ag-line); font-weight: 600; color: var(--ag-ink); }
.ag-contact-list small { font-weight: 400; color: var(--ag-muted); }

/* ---------- Articles et réalisations (pages) ---------- */
.ag-posthead { padding: clamp(3rem, 7vw, 5.5rem) 0 0; }
.ag-back { display: inline-block; font-size: .875rem; font-weight: 600; color: var(--ag-muted); margin-bottom: 1.5rem; }
.ag-back:hover { color: var(--ag-pink); }
.ag-meta { display: flex; align-items: center; gap: .9rem; font-size: .875rem; color: var(--ag-muted); margin-bottom: 1rem; }
.ag-posthead h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: .4rem 0 1.1rem; }
.ag-posthead .ag-lead { max-width: none; }
.ag-cover { margin: 2.5rem 0 0; }
.ag-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 6px; }
.ag-posthead .ag-browser { position: relative; inset: auto; transform: none; margin-top: 2.5rem; }
.ag-posthead .ag-browser img { aspect-ratio: auto; }
.ag-prose { max-width: 820px; font-size: 1.125rem; line-height: 1.75; padding-top: clamp(2.5rem, 5vw, 3.75rem); }
.ag-prose h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 2.2em 0 .6em; }
.ag-prose h3 { font-size: 1.4rem; margin: 1.8em 0 .5em; }
.ag-prose p, .ag-prose ul, .ag-prose ol { margin: 0 0 1.2em; color: #2c2e34; }
.ag-prose a { color: var(--ag-pink); text-decoration: underline; text-underline-offset: 3px; }
.ag-prose img { border-radius: 8px; margin: 1.5em 0; max-width: 100%; height: auto; }

/* ---------- Pied de page ---------- */
.ag-ft { padding: 4.5rem 0 2.5rem; }
.ag-ft h4 { font: 600 .875rem system-ui, sans-serif; font-family: inherit; margin-bottom: 1rem; }
.ag-ft-links { list-style: none; display: grid; gap: .6rem; font-size: .95rem; padding: 0; margin: 0; }
.ag-ft-links a, .ag-ft-contact a { color: var(--ag-muted); }
.ag-ft-links a:hover, .ag-ft-contact a:hover { color: var(--ag-ink); }
.ag-ft-brand p { color: var(--ag-muted); font-size: .95rem; margin: .9rem 0; max-width: 300px; }
.ag-ft-contact { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; font-size: .95rem; color: var(--ag-muted); }
.ag-ft-social { display: flex; gap: .5rem; }
.ag-ft-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(13, 13, 18, .06); color: var(--ag-ink); }
.ag-ft-social a:hover { background: var(--ag-pink); color: #fff; }
.ag-ft-bot { display: flex; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; margin-top: 3.75rem; padding-top: 1.5rem; border-top: 1px solid var(--ag-line); font-size: .875rem; color: var(--ag-muted); }

/* Filtres des pages de liste */
.hotel-filters .btn { border-radius: 6px; }
.hotel-filters .btn.active { background: var(--ag-ink); border-color: var(--ag-ink); color: #fff; }

/* Aperçu du moteur de réservation (eGwii hotelier) */
.ag-f { border: 1px solid var(--ag-line); border-radius: 6px; padding: 8px 10px; font-size: 12px; color: var(--ag-muted); }
.ag-f b { display: block; color: var(--ag-ink); font-size: 14px; }
.ag-rates { border: 1px solid var(--ag-line); border-radius: 8px; padding: 4px 14px; }
.ag-rates div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ag-line); }
.ag-rates div:last-child { border: 0; }
.ag-rates small { display: block; font-size: 12px; color: var(--ag-muted); }
.ag-rates em { font-style: normal; font-weight: 700; color: var(--ag-blue); }
.ag-go { display: block; margin-top: 14px; text-align: center; background: var(--ag-blue); color: #fff; border-radius: 6px; padding: 11px; font-weight: 600; font-size: 14px; }
.ag-floor.is-hotel { box-shadow: 0 40px 80px -40px rgba(30, 58, 138, .55); }
.ag-floor.is-hotel .ag-floor-head span { color: var(--ag-blue); }
.ag-floor.is-hotel .ag-float i { background: var(--ag-blue-soft); color: var(--ag-blue); }

/* Sections sombres et roses : titres en blanc (couleur des titres réglée dans le thème) */
.ag-hero, .ag-pagehead, .ag-dark, .ag-cta { --bs-heading-color: #fff; --bs-body-color: #fff; }
@media (min-width: 768px) { .ag-services .row > div:nth-child(even) .ag-service { border-left: 1px solid var(--ag-line); } }
@media (min-width: 992px) { .ag-services .row > div + div .ag-service { border-left: 1px solid var(--ag-line); } }
@media (max-width: 991.98px) { .ag-services .row > div:nth-child(n+3) .ag-service { border-top: 1px solid var(--ag-line); } }
.ag-cta-list small, .ag-contact-list small { white-space: nowrap; }
.ag-prose img { display: block; width: auto; max-height: 520px; }
.ag-hero .col-lg-6:first-child, .ag-pagehead .container { animation: ag-rise 1s cubic-bezier(.22, .61, .36, 1) .1s both; }
@keyframes ag-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ag-hero .col-lg-6:first-child, .ag-pagehead .container, .ag-float { animation: none; } }

/* Accent rose sur fond sombre (appel final) */
.ag-cta::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -320px; background: radial-gradient(circle, rgba(228, 60, 92, .25), transparent 62%); }
.ag-cta h2 em { font-style: normal; color: var(--ag-pink); }

/* Moteurs de réservation compatibles : bandeaux qui défilent sans fin */
.ag-marquee + .ag-marquee { margin-top: 2rem; }
.ag-marquee h3 { font-size: .8rem; font-family: inherit; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ag-muted); margin-bottom: 1rem; }
.ag-marquee-track { display: flex; overflow: hidden; border-block: 1px solid var(--ag-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ag-marquee-track > div { display: flex; flex: none; animation: ag-marquee 45s linear infinite; }
.ag-marquee.is-reverse .ag-marquee-track > div { animation-direction: reverse; }
.ag-marquee-track:hover > div { animation-play-state: paused; }
.ag-marquee-track span { display: flex; align-items: center; justify-content: center; height: 88px; padding: 0 2.5rem; white-space: nowrap;
  font: 800 1.35rem/1 var(--ag-display); letter-spacing: -.02em; color: #a3a6ae; transition: color .2s; }
.ag-marquee-track span:hover { color: var(--ag-ink); }
.ag-marquee-track img { max-height: 34px; max-width: 150px; filter: grayscale(1); opacity: .55; transition: opacity .2s, filter .2s; }
.ag-marquee-track span:hover img { filter: none; opacity: 1; }
@keyframes ag-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ag-marquee-track > div { animation: none; } .ag-marquee-track { overflow-x: auto; } }

/* Tuiles de la plateforme : capture de l'outil */
.ag-mini-shot { padding: 0; overflow: hidden; }
.ag-mini-shot img { width: 100%; height: auto; display: block; }

/* Sommaire de page en pastilles (prestations) */
.ag-anchors { position: sticky; top: var(--ag-header-h, 72px); z-index: 10; background: rgba(250, 250, 247, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ag-line); }
.ag-anchors .container { display: flex; gap: .5rem; overflow-x: auto; padding-block: .85rem; scrollbar-width: none; }
.ag-anchors a { flex: none; padding: .45rem 1rem; border: 1px solid var(--ag-line); border-radius: 6px; font-size: .9rem; font-weight: 500; color: var(--ag-ink); background: #fff; text-decoration: none; }
.ag-anchors a:hover { border-color: var(--ag-ink); }
.ag-sec[id] { scroll-margin-top: 40px; } /* l'espacement de la section passe sous l'en-tête et le sommaire */

/* Plugins du CMS */
.ag-plugin { display: flex; gap: 1rem; height: 100%; padding: 1.25rem 1.35rem; background: #fff; border: 1px solid var(--ag-line); border-radius: 8px; }
.ag-plugin > i { flex: none; width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center; background: var(--ag-ink); color: #fff; font-size: 1.15rem; }
.ag-plugin h3 { font-size: 1.1rem; margin: 0 0 .3rem; letter-spacing: -.01em; }
.ag-plugin h3 .ag-chip { font-family: var(--bs-body-font-family); vertical-align: middle; margin-left: .25rem; }
.ag-plugin p { color: var(--ag-muted); font-size: .9rem; margin: 0; }

/* Captures des outils */
.ag-browser.ag-screen { position: relative; inset: auto; transform: none; border: 1px solid #e3e5ea; box-shadow: 0 30px 60px -30px rgba(13, 13, 18, .35); }
.ag-dark .ag-browser.ag-screen { border-color: rgba(255, 255, 255, .12); }

/* Sections sombres : bouton principal en rose */
.ag-hero .btn-primary, .ag-pagehead .btn-primary, .ag-dark .btn-primary, .ag-cta .btn-primary { --bs-btn-color: #fff; --bs-btn-bg: var(--ag-pink); --bs-btn-border-color: var(--ag-pink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #c92f4d; --bs-btn-hover-border-color: #c92f4d; --bs-btn-active-bg: #c92f4d; --bs-btn-active-color: #fff; }
/* Fenêtre de terminal (prestations techniques) */
.ag-term { border-radius: 8px; overflow: hidden; background: #0d0d12; border: 1px solid #23232b; box-shadow: 0 30px 60px -30px rgba(13, 13, 18, .5); }
.ag-term .ag-browser-bar { background: #1a1a21; }
.ag-term .ag-browser-bar span { background: #26262f; color: #9a9da6; }
.ag-term pre { margin: 0; padding: 1.4rem 1.5rem; font: 400 .85rem/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #c9ccd3; white-space: pre-wrap; }
.ag-term pre b { color: #fff; font-weight: 500; }
.ag-term .p { color: var(--ag-pink); }
.ag-term .ok { color: #3ecf8e; }
.ag-term .c { color: #6b6f7a; }
.ag-term .o { color: #9a9da6; }

.ag-marquee-note { margin: 1.5rem 0 0; font-size: .8rem; color: var(--ag-muted); }

/* Deux sections de même fond qui se suivent : pas de double espacement */
.ag-sec.ag-white + .ag-sec.ag-white,
.ag-sec:not(.ag-white, .ag-dark, .ag-hotel, .ag-resto, .ag-cta) + .ag-sec:not(.ag-white, .ag-dark, .ag-hotel, .ag-resto, .ag-cta) { padding-top: 0; }

/* Illustration « programme de formation » */
.ag-course { background: #fff; border: 1px solid var(--ag-line); border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(13, 13, 18, .35); overflow: hidden; }
.ag-course-head { padding: 1.6rem 1.75rem 1.2rem; background: var(--ag-ink); color: #fff; position: relative; overflow: hidden; }
.ag-course-head::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(228, 60, 92, .35), transparent 65%); }
.ag-course-head h3 { color: #fff; font-size: 1.45rem; margin: .5rem 0 .3rem; }
.ag-course-head p { margin: 0; color: rgba(255, 255, 255, .6); font-size: .875rem; }
.ag-course ol { list-style: none; margin: 0; padding: .6rem 1.75rem; }
.ag-course li { display: flex; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--ag-line); }
.ag-course li:last-child { border-bottom: 0; }
.ag-course li i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8rem; font-weight: 700; background: #f2f2f4; color: var(--ag-muted); }
.ag-course li.is-done i { background: #e7f8f0; color: #1f9d63; }
.ag-course li.is-now i { background: var(--ag-pink); color: #fff; }
.ag-course li div { flex: 1; min-width: 0; }
.ag-course li b { display: block; font-weight: 600; font-size: .95rem; }
.ag-course li.is-done b { color: var(--ag-muted); }
.ag-course li small { color: var(--ag-muted); font-size: .8rem; }
.ag-course .bar { display: block; height: 4px; margin-top: .5rem; border-radius: 4px; background: #f2f2f4; overflow: hidden; }
.ag-course .bar span { display: block; width: 60%; height: 100%; background: var(--ag-pink); }
.ag-course-foot { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.75rem 1.4rem; border-top: 1px solid var(--ag-line); background: #fafaf7; }
.ag-course-foot span { font-size: .8rem; font-weight: 500; padding: .3rem .75rem; border-radius: 6px; background: #fff; border: 1px solid var(--ag-line); }

/* Pages légales */
.ag-legal-toc { position: sticky; top: 100px; display: flex; flex-direction: column; border-left: 1px solid var(--ag-line); }
.ag-legal-toc a { display: flex; gap: .75rem; padding: .5rem 0 .5rem 1.1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--ag-muted); font-size: .92rem; text-decoration: none; }
.ag-legal-toc a span { font: 800 .8rem var(--ag-display); color: var(--ag-pink); padding-top: .15rem; }
.ag-legal-toc a:hover { color: var(--ag-ink); border-left-color: var(--ag-pink); }
.ag-legal-part { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--ag-line); scroll-margin-top: 100px; }
.ag-legal-part:last-of-type { border-bottom: 0; }
.ag-legal-part h2 { display: flex; align-items: baseline; gap: .9rem; font-size: 1.6rem; margin: 0 0 1.25rem; }
.ag-legal-part h2 span { font-size: .9rem; color: var(--ag-pink); }
.ag-dl { margin: 0 0 1rem; border: 1px solid var(--ag-line); border-radius: 8px; background: #fff; overflow: hidden; }
.ag-dl div { display: grid; grid-template-columns: minmax(10rem, 34%) 1fr; gap: 1rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--ag-line); }
.ag-dl div:last-child { border-bottom: 0; }
.ag-dl dt { font-weight: 600; font-size: .9rem; }
.ag-dl dd { margin: 0; color: var(--ag-muted); font-size: .95rem; }
.ag-legal-date { font-size: .85rem; color: var(--ag-muted); }
@media (max-width: 991.98px) { .ag-legal-toc { position: static; } }
@media (max-width: 575.98px) { .ag-dl div { grid-template-columns: 1fr; gap: .2rem; } }