/* Thèmes de la boutique (Admin → Apparence). « Nature & forêt » est le style d'origine de style.css.
   Chaque thème définit ses couleurs et son style (polices, arrondis, boutons, cadre photo, décor animé). */

/* ---------- Décor animé de l'accueil (commun) ---------- */
.hero { position: relative; }
.hero-fx { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero .hero-grid { position: relative; z-index: 1; }

/* ---------- Surcharges communes à tous les thèmes ---------- */
body.themed { background: var(--bg) var(--pattern, none); color: var(--text); font-family: var(--sans), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.themed h1, .themed h2, .themed h3 { font-family: var(--serif); font-weight: var(--h-weight, 700); letter-spacing: var(--h-spacing, 0); text-transform: var(--h-case, none); }
.themed .card-body h3 { font-family: inherit; text-transform: none; letter-spacing: 0; }
.themed .topbar { background: var(--top-bg); color: var(--top-ink); }
.themed .topbar-mid { color: var(--top-accent); }
.themed .cat-nav { background: var(--nav-bg); }
.themed .cat-nav-row > li > a { color: var(--nav-ink); }
.themed .cat-nav-row > li > a::after { background: var(--nav-line, var(--leaf)); }
.themed .mega { border-top-color: var(--nav-line, var(--leaf)); }
.themed .btn { border-radius: var(--btn-radius); }
.themed .card, .themed .description, .themed .visit-card, .themed .summary, .themed .universe { border-radius: var(--radius); }
.themed .card-btn { border-radius: var(--btn-radius); }
.themed .search input { border-radius: var(--btn-radius) 0 0 var(--btn-radius); }
.themed .search button { border-radius: 0 var(--btn-radius) var(--btn-radius) 0; background: var(--brown); }
.themed .cart-link { border-radius: var(--btn-radius); background: var(--brown); }
.themed .badge { background: var(--leaf); color: var(--on-leaf, #fff); }
.themed .eyebrow { color: var(--eyebrow, var(--leaf)); font-family: var(--eyebrow-font, inherit); }
.themed .hero { background: var(--hero-bg); border-bottom-color: var(--line); }
.themed .hero h1 { color: var(--hero-ink); }
.themed .hero .lead { color: var(--hero-text); }
.themed .hero .eyebrow { color: var(--hero-accent); }
.themed .hero .btn { background: var(--hero-btn); border-color: var(--hero-btn); color: var(--hero-btn-ink); }
.themed .hero .btn:hover { filter: brightness(1.08); }
.themed .hero .btn.ghost { background: transparent; border-color: var(--hero-ghost); color: var(--hero-ink); }
.themed .hero .btn.ghost:hover { background: color-mix(in srgb, var(--hero-ink) 12%, transparent); }
.themed .hero-fx { background-image: var(--particles, none); background-size: var(--p-size, 300px 300px); opacity: var(--p-opacity, .8); animation: var(--p-anim, none); }
.themed .frame { background: var(--frame-bg); border-radius: var(--frame-radius); transform: rotate(var(--frame-rotate)); padding: var(--frame-pad, 12px); border: var(--frame-border, 1px solid var(--line)); }
.themed .frame img { border-radius: var(--img-radius); }
.themed .hero-badge { background: var(--frame-bg); }
.themed .section.alt { background: var(--alt-bg, var(--surface)); }
.themed .universe { border-color: var(--frame-bg); }
.themed .universe-text { background: linear-gradient(transparent, var(--uni-shade)); }
.themed .universe-text span, .themed .eyebrow.light { color: var(--accent-light); }
.themed .banner { background: var(--banner-bg); border-radius: calc(var(--radius) + 6px); }
.themed .banner .btn.light { color: var(--green-dark); border-radius: var(--btn-radius); }
.themed .reassure { background: var(--sand); }
.themed .reassure-row .ico { color: var(--green); background: var(--surface); }
.themed .site-footer { background: var(--foot-bg); color: var(--foot-ink); }
.themed .site-footer a { color: var(--foot-link); }
.themed .site-footer a:hover { color: var(--accent-light); }
.themed .site-footer h3 { color: var(--foot-link); border-bottom-color: var(--leaf); }
.themed .footer-bottom { background: var(--foot-bottom); color: var(--foot-muted); }
.themed .rich h4 { color: var(--green); }
.themed .rich ul li { border-radius: calc(var(--radius) * .7); }
@media (prefers-reduced-motion: reduce) { .themed .hero-fx { animation: none; } }
@media (max-width: 680px) {
  .themed .cat-nav { background: var(--surface); }
  .themed .cat-nav-row > li > a { color: var(--brown); }
}

/* ========== Printemps au pré : rond, doux, pétales ========== */
.theme-printemps { --bg: #fbf9f2; --surface: #fff; --sand: #f1ecdc; --sand-dark: #d8cba5; --text: #33392f; --muted: #7d7a6c; --line: #ebe4d0;
  --green: #5b8c4e; --green-dark: #3e6635; --leaf: #e58fa3; --brown: #6d5b3e; --on-leaf: #fff;
  --serif: "Quicksand", "Nunito Sans", sans-serif; --sans: "Nunito Sans"; --h-weight: 700;
  --radius: 22px; --btn-radius: 999px; --frame-bg: #fff; --frame-radius: 50% 50% 28px 28px / 32% 32% 28px 28px; --img-radius: 50% 50% 20px 20px / 30% 30% 20px 20px; --frame-rotate: 0deg; --frame-pad: 10px;
  --top-bg: #3e6635; --top-ink: #eaf3e2; --top-accent: #ffd6df;
  --nav-bg: linear-gradient(180deg, #6c9d5e, #5b8c4e); --nav-ink: #fbfff7; --nav-line: #ffd6df;
  --hero-bg: radial-gradient(ellipse at 85% 20%, rgba(233,185,73,.28), transparent 50%), radial-gradient(ellipse at 5% 90%, rgba(229,143,163,.3), transparent 55%), linear-gradient(160deg, #fdf5f3 0%, #f6f3e6 50%, #e7f1df 100%);
  --hero-ink: #3e6635; --hero-text: #5d5a4c; --hero-accent: #d9738c; --hero-btn: #5b8c4e; --hero-btn-ink: #fff; --hero-ghost: rgba(62,102,53,.45);
  --alt-bg: #fff; --uni-shade: rgba(46,70,40,.85); --accent-light: #ffd6df;
  --banner-bg: radial-gradient(ellipse at 90% 40%, rgba(233,185,73,.35), transparent 55%), linear-gradient(135deg, #6c9d5e, #3e6635);
  --foot-bg: #34522d; --foot-ink: #dbe7d4; --foot-link: #fffaf5; --foot-bottom: #29411f; --foot-muted: #a5b79c;
  --particles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cellipse cx='40' cy='40' rx='7' ry='4' fill='%23f4b6c2' transform='rotate(30 40 40)'/%3E%3Cellipse cx='200' cy='70' rx='7' ry='4' fill='%23f8cfd8' transform='rotate(-20 200 70)'/%3E%3Cellipse cx='130' cy='170' rx='6' ry='3.5' fill='%23eea3b5' transform='rotate(60 130 170)'/%3E%3Cellipse cx='270' cy='230' rx='7' ry='4' fill='%23f6c4cf' transform='rotate(10 270 230)'/%3E%3Cellipse cx='60' cy='260' rx='6' ry='3.5' fill='%23fbdde3' transform='rotate(-50 60 260)'/%3E%3Ccircle cx='240' cy='150' r='3' fill='%23f2d27a'/%3E%3Ccircle cx='100' cy='110' r='2.5' fill='%23ffffff'/%3E%3C/svg%3E");
  --p-size: 320px 320px; --p-opacity: .9; --p-anim: fx-move 26s linear infinite; --p-end: 320px 640px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23e58fa3' fill-opacity='0.07'%3E%3Ccircle r='4' cx='40' cy='24'/%3E%3Ccircle r='4' cx='46' cy='30'/%3E%3Ccircle r='4' cx='40' cy='36'/%3E%3Ccircle r='4' cx='34' cy='30'/%3E%3Ccircle cx='120' cy='110' r='3'/%3E%3C/g%3E%3C/svg%3E"); }
.theme-printemps .card-img { border-radius: var(--radius) var(--radius) 0 0; }
.theme-printemps .section-head h2::after { content: "✿"; display: block; color: var(--leaf); font-size: 1rem; margin-top: 4px; }

/* ========== Été au grand air : moderne, net, lumineux ========== */
.theme-ete { --bg: #fdf8ee; --surface: #fffdf8; --sand: #f6ead2; --sand-dark: #dcc394; --text: #23303a; --muted: #6f7a80; --line: #efe2c6;
  --green: #1f7a8c; --green-dark: #145566; --leaf: #e8833a; --brown: #145566; --on-leaf: #fff;
  --serif: "Montserrat", "Nunito Sans", sans-serif; --sans: "Nunito Sans"; --h-weight: 800; --h-spacing: -.02em;
  --radius: 6px; --btn-radius: 4px; --frame-bg: #fff; --frame-radius: 4px; --img-radius: 2px; --frame-rotate: 0deg; --frame-pad: 14px; --frame-border: 0;
  --top-bg: #145566; --top-ink: #e5f4f6; --top-accent: #f2c14e;
  --nav-bg: #1f7a8c; --nav-ink: #f4fdff; --nav-line: #f2c14e;
  --hero-bg: radial-gradient(circle at 84% 18%, rgba(255,214,107,.8), transparent 26%), linear-gradient(180deg, #d9f0f4 0%, #fdf1d8 62%, #f7dfb0 100%);
  --hero-ink: #145566; --hero-text: #4b5a5e; --hero-accent: #e8833a; --hero-btn: #e8833a; --hero-btn-ink: #fff; --hero-ghost: rgba(20,85,102,.45);
  --uni-shade: rgba(20,60,70,.85); --accent-light: #f2c14e;
  --banner-bg: linear-gradient(120deg, #1f7a8c 0%, #145566 70%, #0e3e4a 100%);
  --foot-bg: #123f4a; --foot-ink: #cfe3e6; --foot-link: #fffaf0; --foot-bottom: #0c2f37; --foot-muted: #8aa9ad;
  --particles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23fff6c8' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23ffd36b' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23g)'%3E%3Ccircle cx='50' cy='60' r='16'/%3E%3Ccircle cx='210' cy='40' r='10'/%3E%3Ccircle cx='150' cy='170' r='22'/%3E%3Ccircle cx='270' cy='230' r='12'/%3E%3Ccircle cx='60' cy='250' r='9'/%3E%3C/g%3E%3C/svg%3E");
  --p-size: 300px 300px; --p-opacity: .8; --p-anim: fx-move 30s linear infinite; --p-end: 0 -600px; }
.theme-ete .hero h1 { text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.theme-ete .section-head h2 { text-transform: uppercase; }
.theme-ete .frame { box-shadow: 14px 14px 0 #f2c14e; }
.theme-ete .card { box-shadow: 0 1px 0 var(--line); }

/* ========== Automne doré : chaleureux, polaroïd, feuilles ========== */
.theme-automne { --bg: #faf3e8; --surface: #fffaf2; --sand: #f2e1c6; --sand-dark: #d2ad79; --text: #3b2616; --muted: #8a6d55; --line: #ecd6b6;
  --green: #a4471c; --green-dark: #6e2c10; --leaf: #d48a1f; --brown: #6b3a1c; --on-leaf: #2c1a0e;
  --serif: "Fraunces", Georgia, serif; --sans: "Nunito Sans"; --h-weight: 700;
  --radius: 14px; --btn-radius: 12px; --frame-bg: #fffaf2; --frame-radius: 3px; --img-radius: 1px; --frame-rotate: 3deg; --frame-pad: 12px 12px 46px;
  --top-bg: #2c1a0e; --top-ink: #f3dcc0; --top-accent: #f0b85a;
  --nav-bg: linear-gradient(180deg, #a4471c, #7e3412); --nav-ink: #fff0de; --nav-line: #f0b85a;
  --hero-bg: radial-gradient(ellipse at 75% 40%, rgba(227,165,59,.4), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(164,71,28,.55), transparent 60%), linear-gradient(135deg, #2c1a0e 0%, #5a2a12 55%, #8a3e16 100%);
  --hero-ink: #fff6e8; --hero-text: #f3dcc0; --hero-accent: #f0b85a; --hero-btn: #e3a53b; --hero-btn-ink: #2c1a0e; --hero-ghost: rgba(255,236,205,.7);
  --uni-shade: rgba(44,26,14,.9); --accent-light: #f0b85a;
  --banner-bg: radial-gradient(ellipse at 90% 50%, rgba(227,165,59,.35), transparent 60%), linear-gradient(135deg, #a4471c, #4a220c);
  --foot-bg: #2c1a0e; --foot-ink: #ead1b2; --foot-link: #fff1de; --foot-bottom: #1b0f07; --foot-muted: #b0906e;
  --particles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cg transform='translate(50 50) rotate(20)'%3E%3Cpath d='M0 -12 C4 -8 9 -9 11 -4 C7 -3 8 1 11 4 C6 4 4 7 3 12 L0 9 L-3 12 C-4 7 -6 4 -11 4 C-8 1 -7 -3 -11 -4 C-9 -9 -4 -8 0 -12Z' fill='%23d9772b'/%3E%3C/g%3E%3Cg transform='translate(220 80) rotate(-30) scale(1.2)'%3E%3Cpath d='M0 -12 C4 -8 9 -9 11 -4 C7 -3 8 1 11 4 C6 4 4 7 3 12 L0 9 L-3 12 C-4 7 -6 4 -11 4 C-8 1 -7 -3 -11 -4 C-9 -9 -4 -8 0 -12Z' fill='%23b8461b'/%3E%3C/g%3E%3Cg transform='translate(140 190) rotate(60) scale(0.9)'%3E%3Cpath d='M0 -12 C4 -8 9 -9 11 -4 C7 -3 8 1 11 4 C6 4 4 7 3 12 L0 9 L-3 12 C-4 7 -6 4 -11 4 C-8 1 -7 -3 -11 -4 C-9 -9 -4 -8 0 -12Z' fill='%23e3a53b'/%3E%3C/g%3E%3Cg transform='translate(290 250) rotate(-10)'%3E%3Cpath d='M0 -12 C4 -8 9 -9 11 -4 C7 -3 8 1 11 4 C6 4 4 7 3 12 L0 9 L-3 12 C-4 7 -6 4 -11 4 C-8 1 -7 -3 -11 -4 C-9 -9 -4 -8 0 -12Z' fill='%23c0562a'/%3E%3C/g%3E%3Cg transform='translate(60 280) rotate(40) scale(1.1)'%3E%3Cpath d='M0 -12 C4 -8 9 -9 11 -4 C7 -3 8 1 11 4 C6 4 4 7 3 12 L0 9 L-3 12 C-4 7 -6 4 -11 4 C-8 1 -7 -3 -11 -4 C-9 -9 -4 -8 0 -12Z' fill='%23e8b04a'/%3E%3C/g%3E%3C/svg%3E");
  --p-size: 340px 340px; --p-opacity: .85; --p-anim: fx-move 28s linear infinite; --p-end: 340px 680px; }
.theme-automne .hero h1 { font-style: italic; }
.theme-automne .frame { box-shadow: 0 18px 40px rgba(0,0,0,.35); }

/* ========== Hiver au box : élégant, fin, angles droits, neige ========== */
.theme-hiver { --bg: #f2f6f9; --surface: #fff; --sand: #e3ecf2; --sand-dark: #a9bccb; --text: #1e2b38; --muted: #64788a; --line: #d9e4ec;
  --green: #2f5d86; --green-dark: #1b3a57; --leaf: #6f9cc0; --brown: #1b3a57; --on-leaf: #fff;
  --serif: "Cormorant Garamond", Georgia, serif; --sans: "Nunito Sans"; --h-weight: 700;
  --radius: 2px; --btn-radius: 0; --frame-bg: #fff; --frame-radius: 0; --img-radius: 0; --frame-rotate: 0deg; --frame-pad: 8px; --frame-border: 1px solid #c9d8e4;
  --top-bg: #0f1e2d; --top-ink: #d7e4ef; --top-accent: #cfe3f3;
  --nav-bg: #1b3a57; --nav-ink: #eef5fb; --nav-line: #cfe3f3;
  --hero-bg: radial-gradient(ellipse at 75% 30%, rgba(200,225,245,.35), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(111,156,192,.45), transparent 60%), linear-gradient(135deg, #0b1724 0%, #1b3a57 60%, #2f5d86 100%);
  --hero-ink: #fff; --hero-text: #d9e6f1; --hero-accent: #cfe3f3; --hero-btn: #fff; --hero-btn-ink: #1b3a57; --hero-ghost: rgba(255,255,255,.6);
  --uni-shade: rgba(11,23,36,.88); --accent-light: #cfe3f3;
  --banner-bg: radial-gradient(ellipse at 90% 50%, rgba(200,225,245,.3), transparent 60%), linear-gradient(135deg, #2f5d86, #0f1e2d);
  --foot-bg: #0f1e2d; --foot-ink: #c5d4e1; --foot-link: #f2f8fd; --foot-bottom: #08121c; --foot-muted: #7f94a8;
  --particles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='240'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='20' cy='30' r='2'/%3E%3Ccircle cx='90' cy='120' r='1.5'/%3E%3Ccircle cx='160' cy='60' r='2.2' fill='%23e6f2ff'/%3E%3Ccircle cx='220' cy='160' r='1.2'/%3E%3Ccircle cx='60' cy='200' r='1.7'/%3E%3Ccircle cx='130' cy='220' r='1'/%3E%3Ccircle cx='240' cy='20' r='1.4'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-opacity='0.7' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M180 114V126' transform='rotate(0 180 120)'/%3E%3Cpath d='M180 114V126' transform='rotate(60 180 120)'/%3E%3Cpath d='M180 114V126' transform='rotate(120 180 120)'/%3E%3C/g%3E%3C/svg%3E");
  --p-size: 260px 240px; --p-opacity: .85; --p-anim: fx-move 20s linear infinite; --p-end: 0 720px; }
.theme-hiver .hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: .01em; }
.theme-hiver .btn { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
.theme-hiver .frame { outline: 1px solid rgba(255,255,255,.5); outline-offset: 10px; }
.theme-hiver .section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }

/* ========== Noël à l'écurie : festif, liserés dorés ========== */
.theme-noel { --bg: #f7f3ec; --surface: #fffdf8; --sand: #efe6d6; --sand-dark: #cdb98f; --text: #23302a; --muted: #6b7a70; --line: #e6dccb;
  --green: #1f5c3f; --green-dark: #133a28; --leaf: #b8262e; --brown: #7d1420; --on-leaf: #fff;
  --serif: "Playfair Display", Georgia, serif; --sans: "Nunito Sans"; --h-weight: 700;
  --radius: 16px; --btn-radius: 999px; --frame-bg: #fffdf8; --frame-radius: 18px; --img-radius: 12px; --frame-rotate: -2deg; --frame-border: 2px solid #d4a640;
  --top-bg: #102519; --top-ink: #e3eadf; --top-accent: #e9c46a;
  --nav-bg: linear-gradient(180deg, #a51f2b, #7d1420); --nav-ink: #fff1e4; --nav-line: #e9c46a;
  --hero-bg: radial-gradient(ellipse at 78% 35%, rgba(212,166,64,.35), transparent 55%), radial-gradient(ellipse at 8% 95%, rgba(184,38,46,.55), transparent 60%), linear-gradient(135deg, #0d2318 0%, #133a28 55%, #1f5c3f 100%);
  --hero-ink: #fffdf6; --hero-text: #e8efe6; --hero-accent: #e9c46a; --hero-btn: #d4a640; --hero-btn-ink: #102519; --hero-ghost: rgba(255,253,246,.7);
  --uni-shade: rgba(13,35,24,.9); --accent-light: #e9c46a;
  --banner-bg: radial-gradient(ellipse at 90% 50%, rgba(212,166,64,.3), transparent 60%), linear-gradient(135deg, #a51f2b, #5e0f18);
  --foot-bg: #102519; --foot-ink: #cfdccf; --foot-link: #fff8ea; --foot-bottom: #081610; --foot-muted: #8fa596;
  --particles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cg stroke='%23fff' stroke-opacity='0.9' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M40 41V59' transform='rotate(0 40 50)'/%3E%3Cpath d='M40 41V59' transform='rotate(60 40 50)'/%3E%3Cpath d='M40 41V59' transform='rotate(120 40 50)'/%3E%3Cpath d='M150 169V191' transform='rotate(0 150 180)'/%3E%3Cpath d='M150 169V191' transform='rotate(60 150 180)'/%3E%3Cpath d='M150 169V191' transform='rotate(120 150 180)'/%3E%3C/g%3E%3Cpath fill='%23e9c46a' d='M230 50l3 8 8 1-6 5 2 8-7-4-7 4 2-8-6-5 8-1z'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='110' cy='90' r='2'/%3E%3Ccircle cx='240' cy='200' r='1.5'/%3E%3Ccircle cx='20' cy='160' r='1.6'/%3E%3Ccircle cx='190' cy='280' r='2'/%3E%3Ccircle cx='70' cy='250' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  --p-size: 300px 300px; --p-opacity: .8; --p-anim: fx-move 24s linear infinite; --p-end: 0 600px; }
.theme-noel .card { border-top: 3px solid #d4a640; }
.theme-noel .section-head h2::after { content: "✦ ✦ ✦"; display: block; color: #d4a640; font-size: .8rem; letter-spacing: .4em; margin-top: 6px; }

/* ========== Écurie cuir & sable : sellerie, coutures ========== */
.theme-ecurie { --bg: #f6efe3; --surface: #fffaf2; --sand: #ecdfc8; --sand-dark: #c8a46b; --text: #2d1f14; --muted: #7d6650; --line: #e3d2b5;
  --green: #7a4a26; --green-dark: #4e2e15; --leaf: #c8a46b; --brown: #4e2e15; --on-leaf: #2d1f14;
  --serif: "Roboto Slab", Georgia, serif; --sans: "Nunito Sans"; --h-weight: 700;
  --radius: 8px; --btn-radius: 6px; --frame-bg: #7a4a26; --frame-radius: 12px; --img-radius: 6px; --frame-rotate: 0deg; --frame-pad: 14px; --frame-border: 0;
  --top-bg: #2d1f14; --top-ink: #ead8bd; --top-accent: #c8a46b;
  --nav-bg: linear-gradient(180deg, #5a361b, #4e2e15); --nav-ink: #f6e7cf; --nav-line: #c8a46b;
  --hero-bg: linear-gradient(135deg, #3b2414 0%, #5a361b 55%, #7a4a26 100%);
  --hero-ink: #fff4e2; --hero-text: #ead8bd; --hero-accent: #c8a46b; --hero-btn: #c8a46b; --hero-btn-ink: #2d1f14; --hero-ghost: rgba(246,231,207,.6);
  --uni-shade: rgba(45,31,20,.9); --accent-light: #e2c48d;
  --banner-bg: linear-gradient(135deg, #7a4a26, #3b2414);
  --foot-bg: #2d1f14; --foot-ink: #dcc8a8; --foot-link: #fff4e2; --foot-bottom: #1d140c; --foot-muted: #a08a6c;
  --particles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg fill='%23e8c98f'%3E%3Ccircle cx='30' cy='40' r='1.4'/%3E%3Ccircle cx='120' cy='90' r='1'/%3E%3Ccircle cx='200' cy='30' r='1.6'/%3E%3Ccircle cx='250' cy='160' r='1.2'/%3E%3Ccircle cx='80' cy='200' r='1.8'/%3E%3Ccircle cx='170' cy='240' r='1'/%3E%3Ccircle cx='20' cy='260' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
  --p-size: 280px 280px; --p-opacity: .7; --p-anim: fx-move 40s linear infinite; --p-end: 0 -560px; }
.theme-ecurie .frame { box-shadow: 0 16px 36px rgba(0,0,0,.35); outline: 2px dashed rgba(232,201,143,.75); outline-offset: -8px; }
.theme-ecurie .btn { outline: 1.5px dashed rgba(255,255,255,.55); outline-offset: -5px; }
.theme-ecurie .btn.ghost, .theme-ecurie .btn.secondary { outline-color: currentColor; }
.theme-ecurie .banner, .theme-ecurie .card { outline: 1.5px dashed var(--sand-dark); outline-offset: -7px; }
.theme-ecurie .banner { outline-color: rgba(232,201,143,.6); }

/* ========== Épuré & moderne : blanc, noir, espace ========== */
.theme-epure { --bg: #ffffff; --surface: #ffffff; --sand: #f3f3ef; --sand-dark: #cfcfc8; --text: #111; --muted: #6b6b66; --line: #e7e7e2;
  --green: #111111; --green-dark: #000; --leaf: #3f7d58; --brown: #111; --on-leaf: #fff;
  --serif: "DM Sans", "Nunito Sans", sans-serif; --sans: "DM Sans"; --h-weight: 800; --h-spacing: -.03em;
  --radius: 0; --btn-radius: 0; --frame-bg: transparent; --frame-radius: 0; --img-radius: 0; --frame-rotate: 0deg; --frame-pad: 0; --frame-border: 0;
  --top-bg: #111; --top-ink: #d8d8d2; --top-accent: #fff;
  --nav-bg: #fff; --nav-ink: #111; --nav-line: #3f7d58;
  --hero-bg: #f3f3ef; --hero-ink: #111; --hero-text: #4a4a46; --hero-accent: #3f7d58; --hero-btn: #111; --hero-btn-ink: #fff; --hero-ghost: #111;
  --alt-bg: #f8f8f5; --uni-shade: rgba(0,0,0,.75); --accent-light: #b9dcc6;
  --banner-bg: #111; --foot-bg: #111; --foot-ink: #bdbdb6; --foot-link: #fff; --foot-bottom: #000; --foot-muted: #77776f; }
.theme-epure .cat-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.theme-epure .cat-nav-row > li > a:hover, .theme-epure .cat-nav-row > li:hover > a { background: #f3f3ef; color: #111; }
.theme-epure .hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
.theme-epure .frame { box-shadow: none; }
.theme-epure .hero-badge { display: none; }
.theme-epure .card, .theme-epure .card:hover { box-shadow: none; }
.theme-epure .card:hover { border-color: #111; }
.theme-epure .universe { border: 0; box-shadow: none; }
.theme-epure .eyebrow { letter-spacing: .2em; }
.theme-epure .site-header { box-shadow: none; }

/* ========== Prestige noir & or : sombre, majuscules, filets dorés ========== */
.theme-prestige { --bg: #f4efe6; --surface: #fffdf9; --sand: #ebe2d1; --sand-dark: #c9a45c; --text: #1f1a14; --muted: #7a6f60; --line: #e2d6c0;
  --green: #1f1a14; --green-dark: #14110d; --leaf: #c9a45c; --brown: #14110d; --on-leaf: #14110d;
  --serif: "Cinzel", Georgia, serif; --sans: "Nunito Sans"; --h-weight: 700; --h-spacing: .04em;
  --radius: 4px; --btn-radius: 2px; --frame-bg: #14110d; --frame-radius: 2px; --img-radius: 0; --frame-rotate: 0deg; --frame-pad: 10px; --frame-border: 1px solid #c9a45c;
  --top-bg: #0b0907; --top-ink: #cdbf9f; --top-accent: #c9a45c;
  --nav-bg: #14110d; --nav-ink: #e9dcc0; --nav-line: #c9a45c;
  --hero-bg: radial-gradient(ellipse at 80% 30%, rgba(201,164,92,.25), transparent 55%), linear-gradient(135deg, #0b0907 0%, #1f1a14 60%, #2a241c 100%);
  --hero-ink: #f4e7c8; --hero-text: #cdbf9f; --hero-accent: #c9a45c; --hero-btn: #c9a45c; --hero-btn-ink: #14110d; --hero-ghost: rgba(201,164,92,.7);
  --uni-shade: rgba(11,9,7,.9); --accent-light: #e2c48d;
  --banner-bg: linear-gradient(135deg, #1f1a14, #0b0907);
  --foot-bg: #0b0907; --foot-ink: #b8ab90; --foot-link: #f4e7c8; --foot-bottom: #000; --foot-muted: #7a6f60;
  --particles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='%23e2c48d'%3E%3Ccircle cx='30' cy='40' r='1.2'/%3E%3Ccircle cx='140' cy='80' r='.9'/%3E%3Ccircle cx='210' cy='30' r='1.4'/%3E%3Ccircle cx='240' cy='170' r='1'/%3E%3Ccircle cx='70' cy='210' r='1.5'/%3E%3Ccircle cx='160' cy='230' r='.8'/%3E%3C/g%3E%3Cpath fill='%23e2c48d' fill-opacity='.8' d='M110 150l1.5 4 4 1.5-4 1.5-1.5 4-1.5-4-4-1.5 4-1.5z'/%3E%3C/svg%3E");
  --p-size: 260px 260px; --p-opacity: .8; --p-anim: fx-move 36s linear infinite; --p-end: 0 -520px; }
.theme-prestige .hero h1, .theme-prestige .section-head h2 { text-transform: uppercase; }
.theme-prestige .hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.theme-prestige .btn { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; }
.theme-prestige .section-head h2::after { content: ""; display: block; width: 60px; height: 1px; background: #c9a45c; margin: 12px auto 0; }
.theme-prestige .card { border-color: var(--line); }
.theme-prestige .card:hover { border-color: #c9a45c; }
.theme-prestige .frame { box-shadow: 0 0 0 6px #14110d, 0 0 0 7px #c9a45c, 0 20px 40px rgba(0,0,0,.4); }

/* ========== Camargue sauvage : terre cuite, manuscrit ========== */
.theme-camargue { --bg: #fbf5ec; --surface: #fffaf3; --sand: #f0e2c8; --sand-dark: #d8bd91; --text: #3a2a20; --muted: #85705f; --line: #ead9bd;
  --green: #b5532f; --green-dark: #7d351b; --leaf: #5e7a6e; --brown: #5a3a26; --on-leaf: #fff;
  --serif: "Bitter", Georgia, serif; --sans: "Nunito Sans"; --h-weight: 700;
  --radius: 10px; --btn-radius: 10px 2px 10px 2px; --frame-bg: #fffaf3; --frame-radius: 6px 30px 6px 30px; --img-radius: 4px 24px 4px 24px; --frame-rotate: -1.5deg;
  --eyebrow-font: "Caveat", cursive;
  --top-bg: #5a3a26; --top-ink: #f0e2c8; --top-accent: #f3c9a4;
  --nav-bg: linear-gradient(180deg, #c0603a, #b5532f); --nav-ink: #fff5ea; --nav-line: #f0e2c8;
  --hero-bg: linear-gradient(180deg, #f6dcc0 0%, #efcfa8 45%, #d9b98c 100%);
  --hero-ink: #7d351b; --hero-text: #5a3a26; --hero-accent: #5e7a6e; --hero-btn: #b5532f; --hero-btn-ink: #fff; --hero-ghost: rgba(125,53,27,.5);
  --uni-shade: rgba(90,58,38,.88); --accent-light: #f3c9a4;
  --banner-bg: linear-gradient(135deg, #5e7a6e, #34473f);
  --foot-bg: #4a2f1f; --foot-ink: #e6d2b5; --foot-link: #fff5ea; --foot-bottom: #382316; --foot-muted: #a88c72;
  --particles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200'%3E%3Cg stroke='%23fff6e6' stroke-opacity='.55' stroke-width='1.4' fill='none' stroke-linecap='round'%3E%3Cpath d='M10 40 Q60 30 110 42'/%3E%3Cpath d='M170 110 Q220 100 270 112'/%3E%3Cpath d='M60 170 Q100 162 140 172'/%3E%3Cpath d='M230 30 Q260 24 300 32'/%3E%3C/g%3E%3C/svg%3E");
  --p-size: 320px 200px; --p-opacity: .9; --p-anim: fx-move 18s linear infinite; --p-end: 640px 0; }
.theme-camargue .eyebrow { text-transform: none; letter-spacing: 0; font-size: 1.5rem; font-weight: 700; }
.theme-camargue .hero .eyebrow .ico, .theme-camargue .section-head .eyebrow .ico { display: none; }
.theme-camargue .frame { box-shadow: 0 18px 36px rgba(90,58,38,.3); }

/* ---------- Animations du décor ---------- */
@keyframes fx-move { from { background-position: 0 0; } to { background-position: var(--p-end); } }

/* ---------- Barre d'aperçu (admin) ---------- */
.theme-preview-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 500; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  background: #1c1714; color: #fff; padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); font-size: .88rem; width: max-content; max-width: calc(100% - 24px); font-family: "Nunito Sans", sans-serif; }
.theme-preview-bar a { color: #1c1714; background: #c7da7a; padding: 5px 12px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.theme-preview-bar a + a { background: transparent; color: #fff; text-decoration: underline; padding: 5px 4px; }
