/*!
 * Avento Site – feuille de style principale
 */

/* ---------- Polices (hébergées sur le site) ---------- */
@font-face { font-family: "AV Serif"; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "AV Serif"; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "AV Serif"; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "AV Sans"; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "AV Sans"; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "AV Sans"; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "AV Sans"; font-weight: 700; font-display: swap; src: url("../fonts/jost-latin-700-normal.woff2") format("woff2"); }

/* ---------- Jetons ---------- */
:root {
  --ink: #23141b; --ink-2: #4e3b43; --muted: #77656c; --line: #ecdfd3;
  --bg: #fffaf3; --soft: #f8eee2; --white: #fff;
  --plum: #5e1a33; --plum-2: #7d2847; --night: #1a0810; --night-2: #2d0f1d;
  --gold: #e2b64f; --gold-2: #f6dd98; --gold-ink: #3b2408;
  --red: #d0344c; --green: #1f7a50;
  --serif: "AV Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "AV Sans", "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 18px; --r-lg: 26px;
  --shadow: 0 24px 60px -30px rgba(60, 15, 35, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
p { margin: 0; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .88em; background: rgba(94, 26, 51, .08); padding: .12em .4em; border-radius: 6px; }
.av-ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.av-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.av-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.av-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.av-wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.av-wrap--narrow { width: min(860px, 100% - 40px); }
.av-wrap--mid { width: min(1060px, 100% - 40px); }

/* ---------- Typographie ---------- */
.av-h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.01em; }
.av-h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -.01em; }
.av-h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(25px, 2.4vw, 32px); display: flex; gap: 10px; align-items: center; }
.av-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); line-height: 1.6; }
.av-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.av-eyebrow--gold { color: var(--gold); }
.av-kicker { display: inline-flex; gap: 8px; align-items: center; padding: 7px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .02em; background: rgba(255, 255, 255, .1); color: var(--gold-2); border: 1px solid rgba(246, 221, 152, .35); }
.av-kicker--plum { background: rgba(94, 26, 51, .07); color: var(--plum); border-color: rgba(94, 26, 51, .18); }
.av-small { font-size: 15px; color: var(--muted); margin-top: 10px; }
.av-note { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Boutons ---------- */
.av-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  font: 600 17px/1.2 var(--sans); letter-spacing: .01em; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.av-btn::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.av-btn:hover::after { left: 130%; }
.av-btn:hover { transform: translateY(-2px); }
.av-btn--gold { background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #c9952d); color: var(--gold-ink); box-shadow: 0 14px 30px -14px rgba(226, 182, 79, .9); }
.av-btn--gold:hover { color: var(--gold-ink); box-shadow: 0 18px 36px -14px rgba(226, 182, 79, 1); }
.av-btn--plum { background: linear-gradient(120deg, var(--plum-2), var(--plum)); color: #fff; box-shadow: 0 14px 30px -16px var(--plum); }
.av-btn--plum:hover { color: #fff; }
.av-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.av-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.av-btn--ghost-dark { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
.av-btn--chosen { background: var(--green); color: #fff; }
.av-btn--chosen:hover { color: #fff; }
.av-btn--lg { padding: 17px 32px; font-size: 18.5px; }
.av-btn--sm { padding: 10px 18px; font-size: 15.5px; }
.av-btn--block { width: 100%; }

/* ---------- En-tête ---------- */
.av-header { position: sticky; top: var(--av-adminbar, 0px); z-index: 100; height: var(--header-h); background: rgba(255, 250, 243, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.av-dark-hero .av-header { position: fixed; top: var(--av-adminbar, 0px); left: 0; right: 0; background: transparent; border-color: transparent; }
.av-dark-hero .av-header.is-solid { background: rgba(26, 8, 16, .9); border-color: rgba(255, 255, 255, .08); }
.av-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.av-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.av-logo__mark svg { width: 34px; height: 34px; display: block; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .2)); }
.av-logo__text { font-family: var(--serif); font-weight: 700; font-size: 30px; letter-spacing: .01em; }
.av-dark-hero .av-header .av-logo, .av-logo--light { color: #fff; }
.av-nav { display: flex; align-items: center; gap: 28px; }
.av-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.av-nav__list a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16.5px; position: relative; }
.av-nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .3s var(--ease); }
.av-nav__list a:hover::after { right: 0; }
.av-dark-hero .av-header .av-nav__list a { color: rgba(255, 255, 255, .9); }
.av-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.av-burger span:not(.av-sr) { display: block; height: 2px; margin: 5px 0; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.av-dark-hero .av-burger { color: #fff; }
.av-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.av-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.av-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Barre d'administration WordPress (visible quand on est connecté) : l'en-tête se place dessous. */
body.admin-bar { --av-adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --av-adminbar: 46px; } }
/* Sur petit écran, la barre d'administration défile avec la page : l'en-tête aussi, pour ne jamais être masqué. */
@media (max-width: 600px) {
  body.admin-bar .av-header { top: 0; }
  body.admin-bar.av-dark-hero .av-header { position: absolute; top: 46px; }
  body.admin-bar .av-demobar { top: var(--header-h); }
}

/* ---------- Héros ---------- */
.av-hero {
  position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 60px) 0 0;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(226, 182, 79, .22), transparent 70%),
    radial-gradient(800px 600px at 10% 0%, rgba(208, 52, 76, .28), transparent 70%),
    linear-gradient(180deg, #3a1024 0%, var(--night) 100%);
}
.av-hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.av-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-bottom: 80px; }
.av-hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 4.7vw, 68px); line-height: 1.04; letter-spacing: -.015em; margin: 22px 0 22px; }
.av-hero__title em { font-style: normal; background: linear-gradient(100deg, var(--gold-2), var(--gold) 50%, #fff2c6 60%, var(--gold)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: av-shine 6s linear infinite; }
.av-hero__lead { font-size: clamp(18px, 1.7vw, 22px); color: rgba(255, 255, 255, .88); max-width: 600px; }
.av-hero__lead strong { color: var(--gold-2); }
.av-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.av-hero__cta--center { justify-content: center; }
.av-hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 28px 0 0; color: rgba(255, 255, 255, .85); font-size: 16px; }
.av-hero__proof .av-ico { color: var(--gold); }
.av-hero__strip { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .18); }
.av-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding: 22px 0; font-size: 16.5px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.av-strip span { display: inline-flex; gap: 10px; align-items: center; }
.av-strip .av-ico { color: var(--gold); width: 1.4em; height: 1.4em; }

/* Mini calendrier animé */
.av-hero__visual { position: relative; }
.av-mini { position: relative; padding: 26px; border-radius: 30px; background: linear-gradient(160deg, #6b2140, #3b0f22); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(-2deg); animation: av-float 7s ease-in-out infinite; }
.av-mini__head { text-align: center; margin-bottom: 18px; }
.av-mini__head span { display: block; color: var(--gold-2); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.av-mini__head b { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; color: #fff6e3; }
.av-mini__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.av-door { position: relative; aspect-ratio: .82; perspective: 700px; }
.av-door__in { position: absolute; inset: 0; border-radius: 12px; display: grid; place-items: center; color: var(--plum); background: radial-gradient(circle at 50% 40%, #fffaf0, var(--gold-2) 60%, #c79733); box-shadow: inset 0 4px 14px rgba(60, 20, 30, .45); }
.av-door__in .av-ico { width: 44%; height: 44%; }
.av-door__front { position: absolute; inset: 0; border-radius: 12px; display: grid; place-items: center; transform-origin: 0 50%; transition: transform 1s cubic-bezier(.3, 1.35, .45, 1); backface-visibility: hidden; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .15); overflow: hidden; }
.av-door__front::before { content: ""; position: absolute; inset: 5px; border-radius: 8px; border: 1px solid rgba(226, 182, 79, .65); }
.av-door__front b { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; position: relative; }
.av-door--r .av-door__front { background: linear-gradient(150deg, #e0485f, #b51d36); color: #fff3d6; }
.av-door--g .av-door__front { background: linear-gradient(150deg, #3a8a64, #1d5a3f); color: var(--gold-2); }
.av-door--c .av-door__front { background: linear-gradient(150deg, #fdf6e7, #efdcb8); color: var(--plum); }
.av-door--w .av-door__front { background: linear-gradient(150deg, #8a3557, #5e1a33); color: var(--gold-2); }
.av-door.is-open .av-door__front { transform: rotateY(-82deg); }
.av-door.is-today .av-door__front { box-shadow: 0 0 0 2px var(--gold), 0 0 26px 4px rgba(226, 182, 79, .6); }
.av-spark { position: absolute; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; animation: av-spark .9s ease-out forwards; }
.av-float { position: absolute; z-index: 5; display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); font-size: 15px; line-height: 1.3; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.av-float.is-on { opacity: 1; transform: none; }
.av-float b { display: block; font-weight: 600; }
.av-float em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.av-float__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.av-float__ico--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); }
.av-float__ico--green { background: var(--green); }
.av-float__ico--red { background: var(--red); }
.av-float--1 { left: -34px; top: 22%; }
.av-float--2 { right: -26px; top: 50%; }
.av-float--3 { left: 6%; bottom: -24px; }

/* ---------- Sections ---------- */
.av-section { padding: clamp(72px, 9vw, 120px) 0; }
.av-section--tight { padding: clamp(36px, 5vw, 60px) 0; }
.av-section--soft { background: var(--soft); }
.av-section--night { background: radial-gradient(800px 500px at 90% 10%, rgba(226, 182, 79, .14), transparent 70%), linear-gradient(180deg, var(--night-2), var(--night)); color: #fff; }
.av-section--night .av-lead { color: rgba(255, 255, 255, .86); }
.av-head { text-align: center; max-width: 840px; margin: 0 auto clamp(40px, 5vw, 64px); display: grid; gap: 16px; }

.av-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.av-number { text-align: center; padding: 28px 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.av-number b { display: block; font-family: var(--serif); font-size: clamp(56px, 6vw, 80px); line-height: 1; color: var(--plum); font-variant-numeric: lining-nums; }
.av-number span { display: block; margin-top: 10px; font-size: 17px; color: var(--ink-2); }

.av-cards { display: grid; gap: 20px; }
.av-cards--4 { grid-template-columns: repeat(4, 1fr); }
.av-card { padding: 30px 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.av-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.av-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 700; margin: 18px 0 10px; color: var(--plum); }
.av-card p { font-size: 16.5px; color: var(--ink-2); }
.av-card__ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; }
.av-card__ico .av-ico { width: 28px; height: 28px; }
.av-card__ico--red { background: linear-gradient(135deg, #e85a70, var(--red)); }
.av-card__ico--green { background: linear-gradient(135deg, #3fa073, var(--green)); }
.av-card__ico--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); }
.av-card__ico--plum { background: linear-gradient(135deg, var(--plum-2), var(--plum)); }
.av-card--case h3 { margin-top: 0; }
.av-card--case ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.av-card--case li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); }
.av-card--case .av-ico { color: var(--red); margin-top: 3px; }

.av-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.av-split--reverse .av-split__text { order: 2; }
.av-split__text { display: grid; gap: 20px; justify-items: start; }
.av-list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 16px; }
.av-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17.5px; line-height: 1.5; }
.av-list .av-ico { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(226, 182, 79, .16); color: var(--gold); }
.av-list b { color: #fff; }
.av-list--dark .av-ico { background: rgba(94, 26, 51, .08); color: var(--plum); }
.av-list--dark b { color: var(--plum); }
.av-list--dark li { color: var(--ink-2); }

.av-stack { position: relative; padding: 0 0 40px 0; }
.av-shot { border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.av-shot--card { width: 76%; transform: rotate(-2deg); }
.av-shot--phone { position: absolute; right: 0; bottom: 0; width: 36%; border-radius: 30px; border: 8px solid #120509; transform: rotate(3deg); }

/* Fenêtre de navigateur */
.av-browser { border-radius: 18px; overflow: hidden; background: #1a0d13; box-shadow: var(--shadow); border: 1px solid rgba(0, 0, 0, .1); }
.av-browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #2a1820; color: rgba(255, 255, 255, .6); font-size: 13px; }
.av-browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.av-browser__bar i:nth-child(2) { background: #febc2e; }
.av-browser__bar i:nth-child(3) { background: #28c840; }
.av-browser__bar span { margin-left: 12px; padding: 4px 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-browser--light { background: #fff; }
.av-browser--light .av-browser__bar { background: #f1ebe5; color: var(--muted); }
.av-browser--light .av-browser__bar span { background: #fff; }
.av-browser__screen { position: relative; aspect-ratio: 1200 / 1250; max-height: 760px; overflow: hidden; }
.av-browser__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.02); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.av-browser__screen img.is-on { opacity: 1; transform: none; }
.av-browser--frame iframe { display: block; width: 100%; height: 820px; border: 0; background: #f0f0f1; }

.av-themes { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.av-tabs { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + var(--av-adminbar, 0px) + 24px); }
.av-tab { display: flex; gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s, transform .25s; }
.av-tab:hover { transform: translateX(4px); }
.av-tab.is-on { border-color: var(--gold); box-shadow: 0 14px 30px -18px rgba(94, 26, 51, .6); }
.av-tab b { display: block; font-size: 18px; }
.av-tab em { font-style: normal; font-size: 14.5px; color: var(--muted); }
.av-tab__sw { flex: none; width: 40px; height: 40px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); display: inline-block; }

.av-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.av-feature { padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.av-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.av-feature__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--plum-2), var(--plum)); color: var(--gold-2); }
.av-feature__ico .av-ico { width: 24px; height: 24px; }
.av-feature h3 { font-size: 20px; font-weight: 600; margin: 16px 0 8px; font-family: var(--sans); }
.av-feature p { font-size: 16px; color: var(--ink-2); }

/* Simulateur */
.av-sim { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.av-sim__inputs { display: grid; gap: 26px; align-content: center; }
.av-range { display: grid; gap: 10px; font-size: 17px; font-weight: 500; }
.av-range span { display: flex; justify-content: space-between; gap: 12px; }
.av-range output { font-weight: 700; color: var(--plum); font-variant-numeric: tabular-nums; white-space: nowrap; }
.av-range input { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--plum) var(--p, 50%), #eadbd0 var(--p, 50%)); outline: none; }
.av-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--plum); box-shadow: 0 4px 10px rgba(0, 0, 0, .2); cursor: pointer; }
.av-range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--plum); cursor: pointer; }
.av-range input:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.av-sim__result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; padding: 24px; border-radius: var(--r); background: linear-gradient(160deg, #6b2140, var(--night)); color: #fff; }
.av-sim__result > div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.av-sim__result span { display: block; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.av-sim__result b { font-family: var(--serif); font-size: 34px; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.av-sim__big { grid-column: 1 / -1; background: rgba(226, 182, 79, .16) !important; box-shadow: inset 0 0 0 1px rgba(226, 182, 79, .45); }
.av-sim__big b { font-size: clamp(44px, 5vw, 60px); color: var(--gold-2); }
.av-sim__roi strong { color: var(--gold-2); }
.av-sim__roi { grid-column: 1 / -1; font-size: 15.5px; color: rgba(255, 255, 255, .85); text-align: center; }

/* Étapes */
.av-steps-big { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.av-steps-big li { position: relative; padding: 34px 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.av-steps-big span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); font: 700 26px/1 var(--serif); margin-bottom: 18px; }
.av-steps-big h3 { font-family: var(--serif); font-size: 28px; color: var(--plum); margin-bottom: 10px; }
.av-steps-big p { font-size: 16.5px; color: var(--ink-2); }

/* Tarifs */
.av-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.av-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 34px 28px 28px; border-radius: var(--r-lg); background: var(--white); border: 1.5px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.av-plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.av-plan--featured { background: linear-gradient(170deg, #6b2140, var(--night)); color: #fff; border-color: transparent; box-shadow: var(--shadow); transform: scale(1.03); }
.av-plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.av-plan.is-selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 122, 80, .35), var(--shadow); }
.av-plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); color: var(--gold-ink); font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.av-plan__name { font-family: var(--serif); font-size: 36px; font-weight: 700; }
.av-plan__tag { color: var(--muted); font-size: 16px; }
.av-plan--featured .av-plan__tag { color: rgba(255, 255, 255, .78); }
.av-plan__price b { font-family: var(--serif); font-size: 58px; line-height: 1; font-weight: 700; font-variant-numeric: lining-nums; color: var(--plum); }
.av-plan--featured .av-plan__price b { color: var(--gold-2); }
.av-plan__price span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.av-plan--featured .av-plan__price span { color: rgba(255, 255, 255, .7); }
.av-plan__price .av-plan__xof { display: block; font-style: normal; font-weight: 600; font-size: 19px; margin-top: 8px; color: var(--ink-2); font-variant-numeric: lining-nums; }
.av-plan--featured .av-plan__price .av-plan__xof { color: var(--gold-2); }
.av-plan__sites { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 17.5px; padding: 10px 14px; border-radius: 12px; background: rgba(94, 26, 51, .06); }
.av-plan--featured .av-plan__sites { background: rgba(255, 255, 255, .1); }
.av-plan__list { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 10px; flex: 1; }
.av-plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.av-plan__list .av-ico, .av-plan__sites .av-ico { color: var(--green); margin-top: 3px; }
.av-plan--featured .av-plan__list .av-ico, .av-plan--featured .av-plan__sites .av-ico { color: var(--gold); }
.av-plans__note { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 28px; color: var(--muted); font-size: 15.5px; text-align: center; }

/* FAQ */
.av-faq { display: grid; gap: 12px; }
.av-faq__item { border-radius: 16px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.av-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 19px; font-weight: 600; }
.av-faq__item summary::-webkit-details-marker { display: none; }
.av-faq__plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(94, 26, 51, .08); transition: transform .3s var(--ease), background .3s; }
.av-faq__plus::before, .av-faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--plum); border-radius: 2px; }
.av-faq__plus::after { transform: rotate(90deg); transition: transform .3s; }
.av-faq__item[open] .av-faq__plus { background: var(--gold); }
.av-faq__item[open] .av-faq__plus::after { transform: rotate(0); }
.av-faq__a { padding: 0 24px 22px; color: var(--ink-2); font-size: 17px; }

/* Appel final */
.av-final { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 130px) 0; color: #fff; text-align: center; background: radial-gradient(700px 400px at 50% 0%, rgba(226, 182, 79, .25), transparent 70%), linear-gradient(180deg, #4a1430, var(--night)); }
.av-final--compact { padding: clamp(60px, 7vw, 90px) 0; }
.av-final__in { display: grid; gap: 22px; justify-items: center; }
.av-countdown { display: flex; gap: 12px; justify-content: center; }
.av-countdown span { display: grid; min-width: 86px; padding: 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.av-countdown b { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--gold-2); font-variant-numeric: lining-nums tabular-nums; }
.av-countdown i { font-style: normal; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-top: 6px; }

/* ---------- En-têtes de pages intérieures ---------- */
.av-pagehead { padding: clamp(50px, 7vw, 90px) 0 clamp(30px, 4vw, 50px); text-align: center; }
.av-pagehead .av-wrap { display: grid; gap: 18px; justify-items: center; }
.av-pagehead--dark { color: #fff; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); background: radial-gradient(800px 400px at 50% 0%, rgba(226, 182, 79, .2), transparent 70%), linear-gradient(180deg, #3a1024, var(--night)); }
.av-pagehead--dark .av-lead { color: rgba(255, 255, 255, .86); max-width: 760px; }

/* Démo */
.av-demobar { position: sticky; top: calc(var(--header-h) + var(--av-adminbar, 0px)); z-index: 50; background: rgba(255, 250, 243, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .5); }
.av-demobar__in { display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 14px 0; }
.av-demobar__group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.av-demobar__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.av-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; transition: border-color .2s, background .2s; }
.av-chip:hover { border-color: var(--plum); color: var(--plum); }
.av-chip.is-on { background: var(--plum); border-color: var(--plum); color: #fff; }
.av-chip .av-tab__sw { width: 20px; height: 20px; border-radius: 6px; }
.av-demo { background: var(--night); }
.av-alert { padding: 16px 20px; border-radius: 14px; background: #fff3d6; color: #5b3c06; border: 1px solid #f0d58f; margin: 30px auto; }
.av-alert--soft { margin: 0 0 10px; }

/* ---------- Achat ---------- */
.av-checkout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.av-checkout__main { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.av-checkout__main > .av-h3 { margin-bottom: 18px; }
.av-checkout__aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + var(--av-adminbar, 0px) + 20px); }
.av-reassure { padding: 24px; border-radius: var(--r); background: linear-gradient(170deg, #6b2140, var(--night)); color: #fff; }
.av-reassure h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }
.av-reassure ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.av-reassure li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: rgba(255, 255, 255, .85); }
.av-reassure li b { color: #fff; }
.av-reassure .av-ico { color: var(--gold); margin-top: 3px; }
.av-reassure--soft { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.av-reassure--soft p { font-size: 16px; color: var(--ink-2); }

.av-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 15.5px; color: var(--muted); }
.av-steps li { display: inline-flex; gap: 8px; align-items: center; }
.av-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); font-weight: 700; color: var(--muted); }
.av-steps .is-done span { background: var(--green); color: #fff; }
.av-steps .is-current { color: var(--ink); font-weight: 600; }
.av-steps .is-current span { background: var(--plum); color: #fff; }

/* Formulaire WooCommerce */
.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.woocommerce form .form-row .required { color: var(--red); text-decoration: none; border: 0; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea, .select2-container .select2-selection--single {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid #e2d4c8; background: #fff; font: 400 17px/1.4 var(--sans); color: var(--ink); box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.select2-container .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 12px; right: 10px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(226, 182, 79, .25); }
.woocommerce .col2-set { display: block; width: 100%; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { float: none; width: 100%; max-width: none; }
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3, #order_review_heading { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--plum); margin: 6px 0 16px; }
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woocommerce-billing-fields__field-wrapper .form-row-wide, #billing_email_field { grid-column: 1 / -1; }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 16.5px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 20px; color: var(--plum); border-bottom: 0; }
#payment { border-radius: 16px; background: var(--soft); padding: 20px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
#payment ul.payment_methods li { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
#payment .payment_box { font-weight: 400; font-size: 15.5px; color: var(--ink-2); margin-top: 8px; }
.woocommerce-terms-and-conditions-wrapper, .av-waiver { font-size: 15px; color: var(--ink-2); }
.woocommerce-terms-and-conditions-wrapper label, .av-waiver label { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.woocommerce-terms-and-conditions-wrapper input, .av-waiver input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--plum); flex: none; }
#place_order, .woocommerce button.button.alt { width: 100%; margin-top: 8px; padding: 18px 28px; border: 0; border-radius: 999px; cursor: pointer; background: linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #c9952d); color: var(--gold-ink); font: 700 19px/1.2 var(--sans); box-shadow: 0 16px 34px -14px rgba(226, 182, 79, .95); transition: transform .25s var(--ease); }
#place_order:hover { transform: translateY(-2px); }
.woocommerce-error, .woocommerce-info, .woocommerce-message { list-style: none; padding: 14px 18px; border-radius: 12px; margin: 0 0 18px; font-size: 16px; }
.woocommerce-error { background: #fde8ea; color: #8b1c2c; border: 1px solid #f5c2c9; }
.woocommerce-info, .woocommerce-message { background: #f3ede6; color: var(--ink-2); border: 1px solid var(--line); }
.woocommerce-form-login-toggle .woocommerce-info { font-size: 15.5px; }

/* ---------- Confirmation ---------- */
.av-thanks-wrap { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 110px); background: radial-gradient(800px 380px at 50% 0%, rgba(226, 182, 79, .2), transparent 70%), var(--bg); }
.av-thanks__hero { position: relative; text-align: center; display: grid; gap: 16px; justify-items: center; margin-bottom: 40px; }
.av-thanks__hero .av-lead { max-width: 720px; }
.av-thanks__icon { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, #3fa073, var(--green)); box-shadow: 0 18px 40px -16px rgba(31, 122, 80, .8); animation: av-pop .7s var(--ease) both; }
.av-thanks__icon svg { width: 60px; height: 60px; fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.av-thanks__icon svg circle { stroke: none; }
.av-thanks__icon svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: av-draw .6s .45s ease forwards; }
.av-thanks__icon--failed { background: linear-gradient(135deg, #e85a70, var(--red)); color: #fff; font: 700 54px/1 var(--serif); }
.av-thanks__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.av-thanks__card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start; }
.av-thanks__card .av-h3 { color: var(--plum); }
.av-thanks__card .av-h3 .av-ico { color: var(--gold); }
.av-thanks__sub { display: flex; gap: 10px; align-items: center; font-size: 20px; font-weight: 600; margin-top: 18px; color: var(--ink); }
.av-thanks__sub .av-ico { color: var(--plum); }
.av-licence { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-radius: 14px; background: var(--soft); border: 2px dashed var(--gold); }
.av-licence code { background: none; padding: 0; font-size: 20px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.av-mini-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 16.5px; color: var(--ink-2); }
.av-mini-steps b { color: var(--ink); }
.av-recap { margin: 0; display: grid; }
.av-recap div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.av-recap dt { color: var(--muted); }
.av-recap dd { margin: 0; text-align: right; font-weight: 500; }
.av-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; }

/* Contenu éditorial */
.av-prose { font-size: 18px; }
.av-prose > * + * { margin-top: 1em; }
.av-prose h2 { font-family: var(--serif); font-size: 32px; margin-top: 1.6em; }

/* ---------- Pied de page ---------- */
.av-footer { background: var(--night); color: rgba(255, 255, 255, .78); padding: 70px 0 0; font-size: 16px; }
.av-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 50px; }
.av-footer__pitch { margin-top: 16px; max-width: 360px; }
.av-footer__title { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.av-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.av-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.av-footer a:hover { color: #fff; text-decoration: underline; }
.av-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; }
.av-footer__pay { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Apparition au défilement ---------- */
.av-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.av-js [data-reveal].is-in { opacity: 1; transform: none; }
.av-js .av-plan--featured[data-reveal].is-in { transform: scale(1.03); }

/* ---------- Animations ---------- */
@keyframes av-shine { to { background-position: -220% 0; } }
@keyframes av-float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-12px); } }
@keyframes av-spark { from { opacity: 1; transform: translate(0, 0) rotate(0); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(260deg); } }
@keyframes av-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes av-draw { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .av-hero__grid, .av-split, .av-themes, .av-sim, .av-checkout, .av-thanks__grid { grid-template-columns: 1fr; }
  .av-split--reverse .av-split__text { order: 0; }
  .av-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .av-features { grid-template-columns: repeat(2, 1fr); }
  .av-tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .av-checkout__aside { position: static; }
  .av-hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .av-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .av-burger { display: block; }
  .av-nav { position: fixed; inset: var(--header-h) 0 auto 0; /* relatif à l’en-tête (qui a un backdrop-filter) */ flex-direction: column; align-items: stretch; gap: 18px; padding: 24px 20px 30px; background: var(--night); visibility: hidden; opacity: 0; transform: translateY(-16px); transition: transform .35s var(--ease), opacity .3s, visibility 0s linear .35s; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); max-height: calc(100vh - var(--header-h) - var(--av-adminbar, 0px)); overflow-y: auto; }
  .av-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: transform .35s var(--ease), opacity .3s, visibility 0s; }
  .av-nav__list { flex-direction: column; gap: 4px; }
  .av-nav__list a, .av-dark-hero .av-header .av-nav__list a { display: block; padding: 12px 4px; color: #fff; font-size: 19px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .av-header .av-burger { color: var(--ink); }
  .av-dark-hero .av-header .av-burger { color: #fff; }
  .av-plans, .av-steps-big, .av-numbers { grid-template-columns: 1fr; }
  .av-plan--featured { transform: none; }
  .av-js .av-plan--featured[data-reveal].is-in { transform: none; }
  .av-float--1 { left: -6px; }
  .av-float--2 { right: -6px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .av-cards--4, .av-features, .av-tabs { grid-template-columns: 1fr; }
  .av-hero { padding-top: calc(var(--header-h) + 34px); }
  .av-mini { padding: 16px; border-radius: 22px; }
  .av-mini__grid { gap: 8px; }
  .av-float { font-size: 13.5px; padding: 9px 12px 9px 9px; }
  .av-float__ico { width: 32px; height: 32px; border-radius: 10px; }
  .av-float--3 { left: 0; bottom: -30px; }
  .av-strip { justify-content: flex-start; font-size: 15.5px; }
  .av-sim__result { grid-template-columns: 1fr; }
  .av-countdown span { min-width: 68px; }
  .av-countdown b { font-size: 36px; }
  .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .av-footer__grid { grid-template-columns: 1fr; }
  .av-shot--phone { width: 42%; }
  .av-browser--frame iframe { height: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .av-js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Paiement à finaliser (ex. Wave) : étape prioritaire ---------- */
.av-thanks__hero--pay { padding: 34px 24px 38px; border-radius: var(--r-lg); background: linear-gradient(170deg, #fff7e2, #fff); border: 2px solid var(--gold); box-shadow: 0 30px 70px -30px rgba(160, 110, 20, .55); }
.av-steps--center { justify-content: center; margin-bottom: 6px; }
.av-thanks__icon--pay { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 18px 40px -16px rgba(226, 182, 79, .9); }
.av-thanks__icon--pay .av-ico { width: 46px; height: 46px; }
.av-kicker--alert { background: #fde8ea; color: #8b1c2c; border-color: #f5c2c9; font-weight: 700; }
.av-pulse { animation: av-pulse 1.8s ease-in-out infinite; }
@keyframes av-pulse { 0%, 100% { box-shadow: 0 14px 30px -14px rgba(226, 182, 79, .9), 0 0 0 0 rgba(226, 182, 79, .55); } 50% { box-shadow: 0 14px 30px -14px rgba(226, 182, 79, .9), 0 0 0 14px rgba(226, 182, 79, 0); } }

.av-paydialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 26px; overflow: auto; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); }
.av-paydialog::backdrop { background: rgba(26, 8, 16, .72); backdrop-filter: blur(5px); }
.av-paydialog[open] { animation: av-pop .45s var(--ease) both; }
.av-paydialog__head { position: relative; padding: 26px 28px 22px; text-align: center; color: #fff; background: radial-gradient(500px 200px at 50% 0%, rgba(226, 182, 79, .3), transparent 70%), linear-gradient(165deg, #6b2140, var(--night)); }
.av-paydialog__step { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--gold-2); }
.av-paydialog__title { font-family: var(--serif); font-size: clamp(28px, 4vw, 36px); font-weight: 700; margin: 12px 0 14px; }
.av-paydialog__amount { display: grid; gap: 2px; justify-items: center; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(226, 182, 79, .45); }
.av-paydialog__amount span { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .8); }
.av-paydialog__amount b { font-family: var(--serif); font-size: clamp(42px, 7vw, 56px); line-height: 1.05; color: var(--gold-2); font-variant-numeric: lining-nums; }
.av-paydialog__amount b * { color: inherit; font: inherit; }
.av-paydialog__amount em { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .75); }
.av-paydialog__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.av-paydialog__close:hover { background: rgba(255, 255, 255, .25); }
.av-paydialog__body { padding: 24px 28px 8px; }
.av-paydialog__foot { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0; padding: 14px 24px 22px; font-size: 14.5px; color: var(--muted); text-align: center; }

/* Contenu fourni par le moyen de paiement : mise en forme lisible et très visible */
.av-pay { font-size: 17.5px; line-height: 1.55; text-align: center; }
.av-pay > * + * { margin-top: 14px; }
.av-pay h2, .av-pay h3 { font-family: var(--serif); font-size: 26px; color: var(--plum); }
.av-pay p { margin: 0 0 12px; }
.av-pay strong, .av-pay b { color: var(--ink); }
.av-pay img, .av-pay canvas, .av-pay svg:not(.av-ico) { display: block; width: min(260px, 70vw) !important; height: auto !important; margin: 8px auto 16px; padding: 12px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 3px var(--gold), 0 18px 40px -20px rgba(0, 0, 0, .5); }
.av-pay form { display: grid; gap: 12px; text-align: left; margin-top: 10px; }
.av-pay label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.av-pay input[type="text"], .av-pay input[type="tel"], .av-pay input[type="number"], .av-pay input:not([type]) { width: 100%; min-height: 56px; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--gold); background: #fffdf7; font: 600 19px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--ink); }
.av-pay input:focus { outline: none; box-shadow: 0 0 0 5px rgba(226, 182, 79, .3); }
.av-pay button, .av-pay input[type="submit"], .av-pay .button { width: 100%; padding: 17px 26px; border: 0; border-radius: 999px; cursor: pointer; background: linear-gradient(120deg, #3fa073, var(--green)); color: #fff; font: 700 19px/1.2 var(--sans); box-shadow: 0 16px 32px -14px rgba(31, 122, 80, .9); transition: transform .2s; }
.av-pay button:hover, .av-pay input[type="submit"]:hover { transform: translateY(-2px); }
.av-paynote { margin: 0 auto 28px; max-width: 720px; padding: 22px 26px; border-radius: var(--r-lg); background: #fff7e2; border: 2px solid var(--gold); }
@media (min-width: 700px) {
  .av-paydialog__head { padding: 20px 28px 18px; }
  .av-paydialog__title { margin: 8px 0 10px; }
  .av-pay img, .av-pay canvas, .av-pay svg:not(.av-ico) { width: min(220px, 60vw) !important; }
}

/* ===== v1.1 – Deux versions (Afrique / reste du monde) ===== */
html:not([data-region="africa"]) [data-only="africa"],
html[data-region="africa"] [data-only="world"] { display: none !important; }
.av-region { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.av-region--center { justify-content: center; margin: 22px 0 0; }
.av-region__label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; }
.av-region__label .av-ico { width: 17px; height: 17px; }
.av-region button { border: 1.5px solid var(--line); background: var(--white); color: var(--ink-2); border-radius: 99px; padding: 6px 14px; font: 600 14px/1.2 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.av-region button:hover { border-color: var(--plum); color: var(--plum); }
.av-region button.is-on { background: var(--plum); border-color: var(--plum); color: #fff; }
.av-footer .av-region { margin-top: 12px; }
.av-footer .av-region__label { color: rgba(255, 255, 255, .6); }
.av-footer .av-region button { background: transparent; border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .85); }
.av-footer .av-region button.is-on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.av-plans--1 { grid-template-columns: minmax(0, 460px); justify-content: center; }
.av-plan__pay { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; font-size: 15px; font-weight: 600; color: var(--plum-2); }
.av-plan__pay .av-ico { width: 18px; height: 18px; }
.av-btn--off { opacity: .55; cursor: not-allowed; background: var(--soft); color: var(--muted); }
.av-payhip { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.av-payhip .av-h3 { display: flex; align-items: center; gap: 10px; }
.av-payhip__logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.av-payhip__logos span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; background: var(--soft); font-weight: 600; font-size: 15px; }
.av-payhip__logos .av-ico { width: 17px; height: 17px; }

/* Hébergement recommandé */
.av-hosting { display: flex; align-items: center; gap: 20px; margin: 34px auto 0; max-width: 980px; padding: 22px 26px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--night-2), var(--plum)); color: #fff; box-shadow: var(--shadow); }
.av-hosting__ico { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: var(--gold-2); }
.av-hosting__ico .av-ico { width: 28px; height: 28px; }
.av-hosting__txt { flex: 1; }
.av-hosting b { display: block; font-size: 19px; margin-bottom: 4px; }
.av-hosting p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.5; }
.av-hosting .av-btn { flex: none; }
@media (max-width: 760px) { .av-hosting { flex-direction: column; align-items: flex-start; } }

/* ===== v1.1 – Langues FR / EN ===== */
.av-header__right { order: 3; display: flex; align-items: center; gap: 8px; }
.av-nav { margin-left: auto; }
.av-lang { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(94, 26, 51, .07); border: 1px solid rgba(94, 26, 51, .15); }
.av-lang a { display: inline-grid; place-items: center; min-width: 36px; height: 30px; padding: 0 9px; border-radius: 99px; color: var(--plum); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.av-lang a.is-on { background: var(--plum); color: #fff; }
.av-dark-hero .av-header .av-lang, .av-footer .av-lang { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.av-dark-hero .av-header .av-lang a, .av-footer .av-lang a { color: rgba(255, 255, 255, .8); }
.av-dark-hero .av-header .av-lang a.is-on, .av-footer .av-lang a.is-on { background: var(--gold); color: var(--gold-ink); }
.av-footer__switches { display: grid; gap: 4px; margin-top: 16px; justify-items: start; }
.av-langhint { position: fixed; z-index: 120; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--night); border: 1px solid rgba(226, 182, 79, .45); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); color: #fff; font-size: 15px; width: max-content; max-width: calc(100% - 32px); }
.av-langhint[hidden] { display: none; }
.av-langhint__x { border: 0; background: transparent; color: rgba(255, 255, 255, .7); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.av-logo__text { white-space: nowrap; }
@media (max-width: 900px) { .av-header__right { margin-left: auto; } .av-nav { margin-left: 0; } }
@media (max-width: 560px) {
  .av-lang a { min-width: 32px; height: 28px; padding: 0 8px; font-size: 12px; }
  .av-header__in { gap: 10px; }
  .av-langhint { flex-wrap: wrap; font-size: 14px; bottom: 12px; }
}
.av-plan--featured .av-plan__pay { color: var(--gold-2); }

/* Lien vers le site partenaire (pied de page) */
.av-footer__sister { font-size: 14px; margin: 14px 0 16px; opacity: .9; }
.av-footer__sister a { display: inline-block; color: var(--gold-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--gold-2) 45%, transparent); }
.av-footer__sister a:hover { text-decoration-color: currentColor; }
