/* Polices hébergées ici (assets/fonts/, sous-ensemble latin) : aucun appel à Google Fonts */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/manrope-normal-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/manrope-normal-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-normal-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/manrope-normal-500.woff2) format('woff2');
}

/* Refonte Arts & Autographes. Classes préfixées « aa- » : aucune collision avec Bootstrap (conservé pour les pages statiques).
   Couleur principale #C92929. */
:root {
  --aa-red: #C92929; --aa-red-fg: #C92929; --aa-red-d: #A31F1F; --aa-red-soft: #FBEAEA;
  --aa-ink: #15110F; --aa-ink-2: #4B433E; --aa-mute: #6F655E; --aa-line: #E9E3DB; --aa-bg: #FBF9F6; --aa-card: #FFFFFF;
  --aa-dark: #12100E; --aa-dark-2: #1B1816; --aa-dline: #2D2825; --aa-dtext: #F5F0EA; --aa-dmute: #B5A99F;
  --aa-surface: #FFFFFF; --aa-field: #D9D0C5; --aa-btnline: #CFC6BB; --aa-nav: rgba(251,249,246,.96);
  --aa-thumb-bg: linear-gradient(165deg, #F6EEDD, #EADFC9); --aa-thumb-line: #E2D6BE; --aa-thumb-ink: #CDBFA5;
  --aa-photo-bg: linear-gradient(150deg, #F1E6D7, #E9DAC6); --aa-hero-bg: linear-gradient(150deg, #F3E8E4, #EFE1D3 55%, #E9D8C8);
  --aa-ok-bg: #E4F6EE; --aa-ok-ink: #0B5A40; --aa-soft-line: #F3CFCF; --aa-img-bg: #EFE9E0; color-scheme: light;
  --aa-r: 14px; --aa-sh: 0 1px 2px rgba(21,17,15,.05), 0 10px 30px rgba(21,17,15,.07);
}
/* Thème sombre : suit le système, ou le choix du visiteur (bouton de l'en-tête, mémorisé) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --aa-red: #D23232; --aa-red-fg: #F06565; --aa-red-d: #F09A9A; --aa-red-soft: #3A1D1D;
    --aa-ink: #F5F0EA; --aa-ink-2: #CFC4BA; --aa-mute: #A89D94; --aa-line: #322C28; --aa-bg: #14110F; --aa-card: #1C1816;
    --aa-dark: #0C0A09; --aa-dark-2: #14110F; --aa-dline: #2D2825;
    --aa-surface: #1C1816; --aa-field: #453D37; --aa-btnline: #4F463F; --aa-nav: rgba(20,17,15,.94);
    --aa-thumb-bg: linear-gradient(165deg, #2A241F, #221D19); --aa-thumb-line: #3A322C; --aa-thumb-ink: #52483F;
    --aa-photo-bg: linear-gradient(150deg, #2A231D, #1F1A16); --aa-hero-bg: linear-gradient(150deg, #2A201D, #241C17 55%, #1F1814);
    --aa-ok-bg: #12301F; --aa-ok-ink: #8FE0B5; --aa-soft-line: #5A2B2B; --aa-img-bg: #221D19;
    --aa-sh: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --aa-red: #D23232; --aa-red-fg: #F06565; --aa-red-d: #F09A9A; --aa-red-soft: #3A1D1D;
  --aa-ink: #F5F0EA; --aa-ink-2: #CFC4BA; --aa-mute: #A89D94; --aa-line: #322C28; --aa-bg: #14110F; --aa-card: #1C1816;
  --aa-dark: #0C0A09; --aa-dark-2: #14110F; --aa-dline: #2D2825;
  --aa-surface: #1C1816; --aa-field: #453D37; --aa-btnline: #4F463F; --aa-nav: rgba(20,17,15,.94);
  --aa-thumb-bg: linear-gradient(165deg, #2A241F, #221D19); --aa-thumb-line: #3A322C; --aa-thumb-ink: #52483F;
  --aa-photo-bg: linear-gradient(150deg, #2A231D, #1F1A16); --aa-hero-bg: linear-gradient(150deg, #2A201D, #241C17 55%, #1F1814);
  --aa-ok-bg: #12301F; --aa-ok-ink: #8FE0B5; --aa-soft-line: #5A2B2B; --aa-img-bg: #221D19;
  --aa-sh: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark;
}
/* Remise à zéro minimale (l'ancienne feuille Bootstrap n'est plus chargée). :where() = spécificité nulle : les composants gardent la main. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
:where(body.aa img, body.aa svg) { vertical-align: middle; border-style: none; }
:where(body.aa strong, body.aa b) { font-weight: bolder; }
:where(body.aa fieldset) { min-width: 0; margin: 0; padding: 0; border: 0; }
:where(body.aa legend) { display: block; width: 100%; padding: 0; }
:where(body.aa label) { display: inline-block; margin-bottom: .5rem; }
:where(body.aa button, body.aa input, body.aa textarea, body.aa select) { font-family: inherit; margin: 0; }
:where(body.aa ul, body.aa ol, body.aa dl) { margin-top: 0; margin-bottom: 1rem; }
:where(body.aa figure) { margin: 0 0 1rem; }
:where(body.aa hr) { border: 0; border-top: 1px solid var(--aa-line); margin: 1rem 0; }
:where(body.aa table) { border-collapse: collapse; }

body.aa { margin: 0; font-family: 'Manrope', system-ui, sans-serif; color: var(--aa-ink); background: var(--aa-bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.aa h1, body.aa h2, body.aa h3, body.aa h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; letter-spacing: -.012em; line-height: 1.1; margin: 0; color: var(--aa-ink); }
body.aa p { margin: 0; }
body.aa a { color: inherit; text-decoration: none; }
body.aa a:hover { color: var(--aa-red-fg); text-decoration: none; }
body.aa img { max-width: 100%; }
body.aa :focus-visible { outline: 2px solid var(--aa-red); outline-offset: 2px; }
/* Toute la largeur de la fenêtre : marges latérales proportionnelles, plafond très haut seulement pour les écrans géants */
.aa-wrap { width: 100%; max-width: 2200px; margin: 0 auto; padding: 0 clamp(18px, 3.2vw, 72px); }
.aa-dark { background: var(--aa-dark); color: var(--aa-dtext); }
.aa-dark h1, .aa-dark h2, .aa-dark h3 { color: #fff !important; }
.aa-mute { color: var(--aa-mute); }
.aa-dark .aa-mute { color: var(--aa-dmute); }
.aa-serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.aa-red { color: var(--aa-red-fg); }
.aa-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aa-red-fg); }
.aa-dark .aa-eyebrow { color: #F08A8A; }
.aa-stack { display: flex; flex-direction: column; }
.aa-row { display: flex; align-items: center; }
.aa-flexwrap { display: flex; flex-wrap: wrap; gap: 8px; }
.aa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Barre d'information et navigation (le menu tient sur une seule ligne) */
.aa-topbar { background: var(--aa-dark); color: #D9CFC6; font-size: 12.5px; }
.aa-topbar .aa-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.aa-topbar b { color: #fff; font-weight: 600; }
.aa-topbar a { color: #fff; font-weight: 700; }
.aa-topbar a:hover { color: #F4A3A3 !important; }
.aa-topbar .aa-top-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.aa-topbar .aa-estim { background: var(--aa-red); padding: 5px 12px; border-radius: 999px; font-size: 12px; }
.aa-nav { position: sticky; top: 0; z-index: 50; background: var(--aa-nav); backdrop-filter: blur(8px); border-bottom: 1px solid var(--aa-line); }
.aa-nav .aa-wrap { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.aa-logo { display: flex; align-items: center; gap: 11px; flex: none; }
.aa-logo-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--aa-red); color: #fff; display: grid; place-items: center; font: 700 20px 'Cormorant Garamond', serif; letter-spacing: -.04em; }
.aa-logo-text { font: 700 21px/1 'Cormorant Garamond', serif; letter-spacing: -.01em; white-space: nowrap; }
.aa-logo-text small { display: block; font: 600 9px/1 'Manrope', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--aa-mute); margin-top: 5px; }
.aa-menu { display: flex; flex-wrap: nowrap; gap: 2px; flex: 1; justify-content: center; }
.aa-menu a { font-size: 13px; font-weight: 600; padding: 9px 8px; border-radius: 8px; color: var(--aa-ink-2); white-space: nowrap; }
.aa-menu a:hover { background: rgba(201,41,41,.08); color: var(--aa-red-fg); }
.aa-menu a.on { color: var(--aa-red-fg); box-shadow: inset 0 -2px 0 var(--aa-red); border-radius: 0; }
.aa-nav-tools { display: flex; align-items: center; gap: 6px; position: relative; flex: none; }
.aa-icon-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--aa-line); background: var(--aa-surface); display: grid; place-items: center; cursor: pointer; list-style: none; color: var(--aa-ink); }
.aa-icon-btn::-webkit-details-marker { display: none; }
.aa-icon-btn:hover { border-color: var(--aa-red); color: var(--aa-red-fg); }
details.aa-pop { position: relative; }
details.aa-pop > .aa-pop-panel { position: absolute; right: 0; top: 52px; width: 400px; max-width: calc(100vw - 32px); background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: 14px; box-shadow: 0 24px 60px rgba(21,17,15,.2); padding: 18px; z-index: 60; }
.aa-pop-panel form { display: flex; gap: 8px; }
.aa-pop-panel h4 { font: 700 11.5px 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--aa-mute); margin: 14px 0 8px; }
.aa-burger { display: none; }
@media (max-width: 1160px) {
  .aa-menu { display: none; }
  .aa-nav .aa-wrap { justify-content: space-between; }
  .aa-burger { display: block; }
  .aa-burger > .aa-pop-panel { width: 300px; }
  .aa-burger .aa-m-list { display: flex; flex-direction: column; }
  .aa-burger .aa-m-list a { padding: 12px 8px; border-bottom: 1px solid var(--aa-line); font-weight: 600; }
}
@media (max-width: 720px) { .aa-topbar .aa-top-left { display: none; } .aa-topbar .aa-wrap { justify-content: center; } }

/* Boutons, étiquettes, cartes */
.aa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 22px; border-radius: 10px; font: 700 14px 'Manrope', sans-serif; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s; text-decoration: none; }
.aa-btn-red { background: var(--aa-red); color: #fff !important; box-shadow: 0 6px 18px rgba(201,41,41,.28); }
.aa-btn-red:hover { background: var(--aa-red-d); transform: translateY(-1px); }
.aa-btn-line { background: transparent; color: var(--aa-ink) !important; border-color: var(--aa-btnline); }
.aa-btn-line:hover { border-color: var(--aa-red); color: var(--aa-red-fg) !important; }
.aa-dark .aa-btn-line { color: var(--aa-dtext) !important; border-color: #4A413B; }
.aa-btn-white { background: #fff; color: var(--aa-red-d) !important; }
.aa-btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.aa-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--aa-line); background: var(--aa-surface); font-size: 13px; font-weight: 600; color: var(--aa-ink-2); white-space: nowrap; }
.aa-chip:hover, .aa-chip.on { background: var(--aa-red); border-color: var(--aa-red); color: #fff !important; }
.aa-tag { display: inline-block; padding: 3px 9px; border-radius: 6px; background: var(--aa-red-soft); color: var(--aa-red-d); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.aa-card { background: var(--aa-card); border: 1px solid var(--aa-line); border-radius: var(--aa-r); box-shadow: var(--aa-sh); }
.aa-grid { display: grid; gap: 20px; }
.aa-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aa-g3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.aa-g4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.aa-g5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.aa-sec { padding-top: 40px; padding-bottom: 40px; }
.aa-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.aa-sec-head h2 { font-size: 40px; }
.aa-more { font-size: 13.5px; font-weight: 700; color: var(--aa-red-fg) !important; }

/* Vignettes de documents et couvertures (images réelles) */
.aa-thumb { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--aa-thumb-bg); border: 1px solid var(--aa-thumb-line); aspect-ratio: 4 / 3; }
.aa-thumb img, .aa-thumb picture { width: 100%; height: 100%; display: block; }
.aa-thumb img { object-fit: contain; }
.aa-thumb.aa-ph::after { content: "AA"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 34px 'Cormorant Garamond', serif; color: var(--aa-thumb-ink); letter-spacing: -.04em; }
.aa-item { display: flex; flex-direction: column; gap: 10px; }
.aa-item h3 { font-size: 22px; line-height: 1.1; }
.aa-sub { font-size: 12.5px; color: var(--aa-mute); }
.aa-price { font-weight: 800; font-size: 15px; color: var(--aa-ink); }
.aa-cover { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--aa-surface); border: 1px solid var(--aa-line); box-shadow: 0 16px 34px rgba(21,17,15,.16); aspect-ratio: 3 / 4; }
.aa-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aa-cover.aa-ph { background: linear-gradient(180deg, var(--aa-red) 0 34%, var(--aa-surface) 34%); }
.aa-cover.aa-ph b { position: absolute; left: 12%; top: 8%; color: #fff; font: 700 clamp(26px, 5vw, 64px) / .95 'Cormorant Garamond', serif; }
.aa-cover.dark.aa-ph { background: linear-gradient(180deg, #1B1816 0 34%, var(--aa-surface) 34%); }

/* Formulaires */
.aa-field { display: flex; flex-direction: column; gap: 6px; }
.aa-field > label, .aa-label { font-size: 12.5px; font-weight: 700; color: var(--aa-ink-2); }
.aa-input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--aa-field); border-radius: 10px; background: var(--aa-surface); font: 500 15px 'Manrope', sans-serif; color: var(--aa-ink); }
.aa-input:focus { outline: 2px solid var(--aa-red); outline-offset: 1px; border-color: var(--aa-red); }
textarea.aa-input { min-height: 140px; resize: vertical; line-height: 1.5; }
.aa-seg { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.aa-seg label { margin: 0; }
.aa-seg input { position: absolute; opacity: 0; pointer-events: none; }
.aa-seg span { display: inline-block; padding: 10px 16px; border: 1px solid var(--aa-field); border-radius: 10px; font-size: 13.5px; font-weight: 600; background: var(--aa-surface); cursor: pointer; }
.aa-seg input:checked + span { background: var(--aa-red); border-color: var(--aa-red); color: #fff; }
.aa-seg input:focus-visible + span { outline: 2px solid var(--aa-red); outline-offset: 2px; }
.aa-error { color: var(--aa-red-d); font-size: 12.5px; font-weight: 600; }
.aa-alert { border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.aa-alert-ok { background: var(--aa-ok-bg); color: var(--aa-ok-ink); }
.aa-alert-ko { background: var(--aa-red-soft); color: var(--aa-red-d); }

/* Listes détaillées (une ligne par document) */
.aa-crumbs { font-size: 12.5px; color: var(--aa-mute); }
.aa-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 640px), 1fr)); column-gap: clamp(28px, 4vw, 80px); }
.aa-list-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 22px; padding: 18px 0; border-top: 1px solid var(--aa-line); align-items: center; }
.aa-list-row { border-bottom: 0; }
.aa-list { border-bottom: 1px solid var(--aa-line); }
.aa-list-row .aa-thumb { aspect-ratio: 4 / 3; }
.aa-list-row h3 { font-size: 28px; }
.aa-list-row p { color: var(--aa-mute); font-size: 13.5px; max-width: 680px; }
.aa-list-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.aa-list-buy .aa-price { font-size: 22px; }
.aa-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; flex-wrap: wrap; color: var(--aa-mute); font-size: 13px; }

/* Fiche document */
.aa-fiche { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 3.5vw, 72px); align-items: start; }
.aa-fiche-photo { background: var(--aa-photo-bg); border-radius: 20px; padding: 28px; display: grid; place-items: center; min-height: 360px; }
.aa-fiche-photo img { max-width: 100%; max-height: 78vh; box-shadow: 0 18px 40px rgba(70,45,20,.22); border-radius: 3px; }
.aa-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aa-fact { border: 1px solid var(--aa-line); border-radius: 12px; padding: 12px 14px; background: var(--aa-surface); }
.aa-fact small { display: block; color: var(--aa-mute); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }

/* Contenu éditorial des pages statiques */
.aa-prose { max-width: min(1180px, 100%); }
.aa-prose h1 { font-size: 56px; margin-bottom: 18px; }
.aa-prose h2 { font-size: 36px; margin: 28px 0 12px; }
.aa-prose h3 { font-size: 26px; margin: 20px 0 8px; }
.aa-prose p, .aa-prose li { margin-bottom: 12px; color: var(--aa-ink-2); }
.aa-prose a { color: var(--aa-red-fg); font-weight: 600; }
.aa-prose img { height: auto; border-radius: 8px; }

/* Pied de page */
.aa-foot { background: var(--aa-dark); color: #CFC4BA; font-size: 13.5px; }
.aa-foot .aa-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 38px; padding-bottom: 26px; }
.aa-foot h4 { font: 700 11.5px 'Manrope', sans-serif !important; letter-spacing: .16em; text-transform: uppercase; color: #fff !important; margin-bottom: 12px !important; }
.aa-foot a { display: block; padding: 3px 0; color: #CFC4BA; }
.aa-foot a:hover { color: #fff !important; }
.aa-foot .aa-legal { border-top: 1px solid var(--aa-dline); }
.aa-foot .aa-legal .aa-wrap { display: flex; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; font-size: 12px; color: #8F847B; gap: 12px; flex-wrap: wrap; }
.aa-news { display: flex; gap: 8px; margin-top: 4px; }
.aa-news .aa-input { min-height: 42px; background: #1E1A18; border-color: #36302C; color: #fff; }
.aa-news-msg { font-size: 12.5px; margin-top: 8px; min-height: 18px; }

@media (max-width: 900px) {
  .aa-hero { grid-template-columns: minmax(0, 1fr) !important; }
  .aa-cardsplit { grid-template-columns: minmax(0, 1fr) !important; }
  .aa-cardsplit > div:last-child { flex-wrap: wrap; }
  .aa-wrap { padding: 0 18px; }
  .aa-g3, .aa-g4, .aa-g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa-foot .aa-foot-grid { grid-template-columns: 1fr 1fr; }
  .aa-fiche { grid-template-columns: 1fr; gap: 24px; }
  .aa-list-row { grid-template-columns: 110px minmax(0, 1fr); }
  .aa-list-buy { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .aa-sec-head h2 { font-size: 32px; }
}
@media (max-width: 560px) {
  .aa-g2, .aa-g3, .aa-g4, .aa-g5, .aa-foot .aa-foot-grid { grid-template-columns: 1fr; }
  .aa-list-row { grid-template-columns: 1fr; }
}

/* Formulaire de réservation (balisage historique conservé) */
.aa-form h1 { font-size: 54px; text-align: center; margin-bottom: 8px; }
.aa-form hr.separator { border: 0; height: 1px; background: var(--aa-line); margin: 10px auto 24px; max-width: 220px; }
.aa-form input[type=text], .aa-form input[type=email], .aa-form textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--aa-field); border-radius: 10px; background: var(--aa-surface); font: 500 15px 'Manrope', sans-serif; color: var(--aa-ink); }
.aa-form textarea { min-height: 150px; }
.aa-form input:focus, .aa-form textarea:focus { outline: 2px solid var(--aa-red); outline-offset: 1px; border-color: var(--aa-red); }
.aa-form label { font-size: 12.5px; font-weight: 700; color: var(--aa-ink-2); }
.aa-form input[type=submit], .aa-form button[type=submit], .aa-form .btn { background: var(--aa-red); color: #fff; border: 0; border-radius: 10px; min-height: 46px; padding: 0 22px; font: 700 14px 'Manrope', sans-serif; cursor: pointer; }
.aa-form .address { color: var(--aa-mute); }
.aa-prose .alignright, .aa-prose .wp-caption { float: right; margin: 0 0 16px 28px; max-width: 320px; }
.aa-prose .wp-caption-text { font-size: 12.5px; color: var(--aa-mute); margin-top: 6px; }
.aa-prose .w-65 { overflow: hidden; }

.aa-foot .aa-logo { display: flex; padding: 0; }
.aa-foot .aa-logo-text { color: #fff; }

@media (max-width: 700px) {
  body.aa h1 { font-size: 42px !important; }
  body.aa .aa-sec-head h2, body.aa section h2 { font-size: 30px; }
}

/* Titres de page : de la place pour les accents */
.aa-sec-head h1, section h1 { padding-top: .08em; }

/* Aucun élément ne doit élargir la page sur mobile */
.aa-wrap > *, .aa-card, .aa-stack { min-width: 0; }

/* Lightbox (assets/js/lightbox.js) */
a[data-lightbox] { cursor: zoom-in; }
.aa-lb { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 64px 28px; background: rgba(18, 14, 12, .92); animation: aa-lb-in .18s ease; }
@keyframes aa-lb-in { from { opacity: 0; } to { opacity: 1; } }
.aa-lb-img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 3px; box-shadow: 0 24px 80px rgba(0, 0, 0, .55); background: #fff; }
.aa-lb-cap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; color: #f3ece4; font-size: 15px; text-align: center; }
.aa-lb-cap a { color: #fff; font-weight: 700; border-bottom: 1px solid var(--aa-red, #C92929); }
.aa-lb button { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); width: 44px; height: 44px; border-radius: 50%; font-size: 24px; line-height: 1; display: grid; place-items: center; }
.aa-lb button:hover, .aa-lb button:focus-visible { background: var(--aa-red, #C92929); outline: none; }
.aa-lb-close { top: 14px; right: 16px; } .aa-lb-prev { left: 12px; top: 50%; } .aa-lb-next { right: 12px; top: 50%; }
@media (max-width: 700px) { .aa-lb { padding: 56px 12px 22px; } .aa-lb-prev, .aa-lb-next { top: auto; bottom: 14px; } }
body.aa-lb-open { overflow: hidden; }
@media (max-width: 360px) { .aa-logo { flex: 0 1 auto; min-width: 0; gap: 8px; } .aa-logo-text { font-size: 17px; } .aa-logo-text small { display: none; } .aa-nav-tools { gap: 0; } .aa-nav .aa-wrap { gap: 6px; } .aa-icon-btn { width: 38px; height: 38px; } }

/* Charger plus (assets/js/loadmore.js) : la pagination classique reste dans le HTML pour les robots et sans JavaScript */
.aa-loadmore { display: flex; justify-content: center; padding: 26px 0 6px; }
.aa-loadmore .aa-btn { min-width: 260px; }
.aa-pager-js .aa-flexwrap { display: none; }
.aa-pager-js { justify-content: center; text-align: center; }

/* Bouton clair / sombre */
.aa-theme .aa-sun { display: none; }
:root[data-theme="dark"] .aa-theme .aa-sun { display: block; } :root[data-theme="dark"] .aa-theme .aa-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .aa-theme .aa-sun { display: block; } :root:not([data-theme="light"]) .aa-theme .aa-moon { display: none; } }
.aa-theme { cursor: pointer; font: inherit; }
body.aa, .aa-card, .aa-nav { transition: background-color .2s ease, color .2s ease; }
@media (prefers-reduced-motion: reduce) { body.aa, .aa-card, .aa-nav { transition: none; } }

.aa-card.aa-prose { max-width: none; }
.aa-prose p + p { margin-top: 12px; }

/* Vidéos : vignette cliquable, le lecteur n'est chargé qu'au clic */
.aa-video { position: relative; display: block; aspect-ratio: 16 / 9; background: #14110F; overflow: hidden; }
.aa-video img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: opacity .2s, transform .3s; }
.aa-video:hover img { opacity: 1; transform: scale(1.03); }
.aa-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--aa-red); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.aa-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.aa-video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }

/* Logo : fichier clair / sombre selon le thème (le pied de page est toujours sombre) */
.aa-logo-img { display: block; height: 46px; width: auto; }
.aa-foot .aa-logo-img { height: 50px; }
.aa-logo-on-dark { display: none; }
:root[data-theme="dark"] .aa-logo-on-light { display: none; } :root[data-theme="dark"] .aa-logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .aa-logo-on-light { display: none; } :root:not([data-theme="light"]) .aa-logo-on-dark { display: block; } }
@media (max-width: 360px) { .aa-logo-img { height: 38px; } }
