/* Opération « Les Automnales » (30 octobre au 10 novembre 2026) — maquettes 28a (landing), 28b / 28c (accueil), vignette, lot 236.
   Feuille autonome, chargée seulement pendant l'opération (et sur la landing) : vignette « Les Automnales » et prix barrés des cartes
   et fiches, héros de l'accueil, ouverture / escalier / prix de la landing. Les sections communes de la landing (journée, étapes,
   formulaire, boutique, barre fixe) sont dans horizon-decouvrir.css.
   Jetons : bleu nuit #0C2333, primaire #12314A, sauge #3F5C4C, terracotta #B46B5B / 700 #8F5043, sable #E7C98F, orange #F2A33A,
   marron de pastille #402C28, sarcelle #45686d. Urbane Rounded (kit Adobe Fonts), repli Nunito puis Manrope. */

:root { --am-font: 'urbane-rounded', 'Nunito', 'Manrope', system-ui, sans-serif; --am-ease: cubic-bezier(.16,1,.3,1); }

/* ------------------------------------------------------------------ Vignette « Les Automnales » */
.am-badge { position: absolute; right: 14px; top: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 11px; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(27,54,95,.12), 0 10px 26px rgba(15,29,53,.18); pointer-events: none; white-space: nowrap; overflow: hidden; }
.am-badge__dot { flex: none; width: 7px; height: 7px; border-radius: 999px; background: #B46B5B; }
.am-badge__txt { font-family: var(--am-font); font-size: 15px; font-weight: 800; line-height: 1; letter-spacing: 0; color: #1B365F; }
.am-badge--fiche { right: 16px; top: 16px; padding: 11px 20px 11px 15px; border-radius: 14px; }
.am-badge--fiche .am-badge__dot { width: 8px; height: 8px; }
.am-badge--fiche .am-badge__txt { font-size: 18px; }
.am-badge__sweep { position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; background: linear-gradient(90deg, rgba(197,219,247,0), rgba(197,219,247,.7), rgba(197,219,247,0)); transform: translateX(-120%) skewX(-20deg); pointer-events: none; mix-blend-mode: multiply; }

/* Prix des cartes et des fiches : libellé, prix Automnales, prix public barré, économie. */
.am-price { margin: 12px 0 0; padding-bottom: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.am-price__lab { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8F5043; }
.am-price__new { font-family: var(--am-font); font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #12314A; font-variant-numeric: tabular-nums; }
.am-price__old { font-size: 15px; font-weight: 600; color: #4B5049; font-variant-numeric: tabular-nums; }
.am-price__eco { margin-top: 2px; font-size: 14px; font-weight: 800; color: #3F5C4C; font-variant-numeric: tabular-nums; }
.am-price--fiche { margin: 14px 0 0; padding-bottom: 0; }
.am-price--fiche .am-price__new { font-size: 38px; }
.am-price--fiche .am-price__old { font-size: 18px; }
.am-price--fiche .am-price__eco { font-size: 16px; }
.am-price--fiche .am-price__lab { font-size: 12px; }

/* ------------------------------------------------------------------ Boutons */
.am-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 700 16px 'Manrope', system-ui, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 200ms, color 200ms, border-color 200ms; }
.am-btn--white { background: #FFFFFF; color: #12314A !important; }
.am-btn--white:hover { background: #E7C98F; }
.am-btn--ghost { border: 1.5px solid rgba(255,255,255,.7); color: #FFFFFF !important; background: transparent; }
.am-btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ------------------------------------------------------------------ Cartouche en verre fumé */
.am-cart { position: relative; overflow: hidden; width: 440px; max-width: 100%; box-sizing: border-box; padding: 28px 28px 24px; border-radius: 28px; background: rgba(12,35,51,.3); -webkit-backdrop-filter: blur(30px) saturate(1.4) brightness(.92); backdrop-filter: blur(30px) saturate(1.4) brightness(.92); border: 1px solid rgba(255,255,255,.32); box-shadow: 0 30px 80px rgba(15,29,53,.4), inset 0 1px 0 rgba(255,255,255,.35); text-shadow: 0 1px 12px rgba(12,35,51,.35); transform-style: preserve-3d; will-change: transform; display: flex; flex-direction: column; align-items: center; text-align: center; color: #FFFFFF; font-family: var(--am-font); }
.am-cart__rule { position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: #E7C98F; }
.am-cart__dates { display: inline-flex; align-items: center; min-height: 34px; padding: 0 18px; border-radius: 999px; background: #402C28; color: #FFFFFF; font: 800 13px 'Manrope', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.am-cart__h { margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; align-items: center; font: inherit; color: #FFFFFF; text-transform: none; letter-spacing: normal; }
.am-cart__title { font-size: 34px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; }
.am-cart__bar { display: block; width: 64px; height: 3px; border-radius: 3px; margin-top: 14px; background: #F2A33A; }
.am-cart__upto { margin-top: 18px; font-size: 18px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.am-cart__big { position: relative; display: inline-flex; align-items: flex-end; margin-top: 6px; font-size: 102px; font-weight: 900; line-height: .9; letter-spacing: .02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.am-cart__of { margin-top: 8px; font-size: 21px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #E7C98F; }

/* Pièce € (tombe en tournant, puis s'éclaire) */
.am-coin { position: relative; margin-left: 12px; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: 4px; border-radius: 999px; background: radial-gradient(circle at 32% 28%, #FFD08A 0%, #F2A33A 46%, #C97E1E 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), inset 0 -3px 5px rgba(120,60,0,.35), 0 8px 18px rgba(15,29,53,.35); font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: 0; color: #1B365F; text-shadow: none; transform-style: preserve-3d; will-change: transform; }
.am-coin > span { display: block; transform: translateY(1px); }

/* ------------------------------------------------------------------ Ouverture (landing 28a, accueil 28b / 28c) */
.am-hero { position: relative; isolation: isolate; height: 760px; overflow: hidden; background: #0C2333; color: #FFFFFF; }
.am-hero__photo, .am-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.am-hero__photo img { object-fit: cover; object-position: 50% 78%; will-change: transform; }
.am-hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #0C2333b8 0%, #0C233340 22%, #0C233300 40%, #0C233300 80%, #0C233399 100%), linear-gradient(90deg, #0C233380 0%, #0C233359 34%, #0C233300 52%); }
.am-hero__in { position: absolute; z-index: 2; left: clamp(24px, 6.7vw, 96px); top: 112px; display: flex; flex-direction: column; gap: 18px; }
.am-hero__cta { display: flex; justify-content: center; gap: 12px; width: 440px; max-width: 100%; }
.am-hero__legal { position: absolute; z-index: 2; left: clamp(24px, 6.7vw, 96px); right: 24px; bottom: 26px; margin: 0; font-size: 11.5px; line-height: 1.4; color: #FFFFFF; text-shadow: 0 1px 6px rgba(12,35,51,.6); }
.am-hero--home { height: clamp(640px, 90vh, 760px); }

/* Landing terminée */
.am-ended { padding: 72px 16px 56px; background: #0C2333; color: #FFFFFF; }
.am-ended__h { margin: 14px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: #FFFFFF; }
.am-ended__p { margin: 12px 0 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: #E4E5E2; }
.am-ended__cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------------ Landing : rappel, offre, prix */
.am-rappel { display: none; }
.am-offer { padding: 44px 16px 0; }
.am-offer__p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: #4B5049; }
.am-stairs { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.am-step { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 12px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--bg, #EFECEB); transform-origin: 50% 100%; }
.am-step--680 { --bg: #EFECEB; } .am-step--780 { --bg: #C5DBF74d; } .am-step--880 { --bg: #E7C98F4d; } .am-step--nage { --bg: #6B8E7926; } .am-step--980 { --bg: #B46B5B26; }
.am-step__serie { grid-column: 1; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #4B5049; }
.am-step__name { grid-column: 1; font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: #12314A; }
.am-step__save { grid-column: 2; grid-row: 1 / span 2; font-family: var(--am-font); font-size: 30px; font-weight: 900; line-height: 1; color: var(--sds-teal, #45686d); white-space: nowrap; font-variant-numeric: tabular-nums; }
.am-step__price { grid-column: 1; margin-top: 8px; font-size: 17px; font-weight: 800; color: #12314A; font-variant-numeric: tabular-nums; }
.am-step__was { grid-column: 2; margin-top: 8px; text-align: right; font-size: 12.5px; color: #4B5049; font-variant-numeric: tabular-nums; }
.am-step__was s { white-space: nowrap; }
.am-models .dc-card__visual { height: 230px; }
.am-models .dc-card__visual img { width: 190px; height: 190px; max-width: none; max-height: none; object-fit: contain; }
.am-legal { margin: 18px 16px 0; font-size: 12px; line-height: 1.6; color: #4B5049; }

/* ------------------------------------------------------------------ Tablette et ordinateur */
@media (min-width: 768px) {
    .am-hero { min-height: 640px; }
    .am-hero__in { top: clamp(40px, 6vw, 112px); }
}
@media (min-width: 1024px) {
    .am-hero__in { top: 112px; }
    .am-ended { padding: 150px clamp(32px, 5vw, 72px) 88px; }
    .am-ended > * { max-width: 1296px; margin-left: auto; margin-right: auto; }
    .am-ended__h { font-size: 56px; }
    .am-ended__p { font-size: 18px; }

    .am-rappel { display: grid; grid-template-columns: minmax(0,1fr) 480px; gap: 72px; align-items: center; max-width: 1440px; margin: 0 auto; padding: 80px clamp(32px, 5vw, 72px) 0; }
    .am-rappel .dc-h2--xl { font-size: 46px; max-width: 640px; }
    .am-rappel__p { margin: 18px 0 0; max-width: 560px; font-size: 18px; line-height: 1.6; }
    .am-rappel .dc-facts { margin-top: 30px; grid-template-columns: repeat(3, max-content); gap: 8px 40px; }
    .am-rappel .dc-facts strong { font-size: 22px; }
    .am-rappel .dc-facts span { font-size: 13px; }

    .am-offer { max-width: 1440px; margin: 0 auto; padding: 88px clamp(32px, 5vw, 72px) 0; }
    .am-offer .dc-eyebrow { font-size: 13px; }
    .am-offer .dc-h2--xl { font-size: 44px; }
    .am-offer__p { font-size: 18px; }
    .am-stairs { margin-top: 36px; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; align-items: end; }
    .am-step { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 22px 18px 20px; border-radius: 20px; min-height: calc(220px + var(--n, 0) * 22px); }
    .am-step__save { grid-column: auto; margin-top: 10px; font-size: clamp(30px, 3vw, 42px); }
    .am-step__name { font-size: 21px; }
    .am-step__price { margin-top: 10px; }
    .am-step__was { margin-top: 2px; text-align: left; }
    .am-legal { max-width: 1296px; margin: 28px auto 0; padding: 0; }
    .am-models .dc-card__visual { height: 230px; }
    .am-hero__in { left: clamp(32px, 6.7vw, 96px); }
}

/* ------------------------------------------------------------------ Mobile : même effet que le bureau (photo pleine, cartouche en verre dessus) */
@media (max-width: 767px) {
    .am-hero { height: auto; min-height: 800px; display: flex; flex-direction: column; align-items: center; padding: 22px 16px 0; }
    .am-hero--home { height: auto; min-height: 800px; }
    .am-hero__photo img { object-position: 66% 78%; }
    .am-hero__shade { background: linear-gradient(180deg, #0C2333b8 0%, #0C233340 30%, #0C233300 48%, #0C233300 80%, #0C233399 100%), linear-gradient(90deg, #0C233359 0%, #0C233326 60%, #0C233300 100%); }
    .am-hero__in { position: relative; left: auto; top: auto; width: 100%; align-items: center; }
    .am-cart { width: 100%; max-width: 358px; padding: 24px 20px 20px; border-radius: 24px; }
    .am-cart__title { font-size: 28px; }
    .am-cart__upto { font-size: 15px; margin-top: 14px; }
    .am-cart__big { font-size: 76px; }
    .am-coin { width: 34px; height: 34px; font-size: 20px; margin-left: 9px; }
    .am-cart__of { font-size: 18px; }
    .am-hero__cta { width: 100%; max-width: 358px; }
    .am-hero__cta .am-btn { flex: 1; padding: 0 14px; min-height: 52px; font-size: 15.5px; }
    .am-hero .am-btn--ghost { background: rgba(12,35,51,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    .am-hero--home .am-hero__cta { flex-direction: column; }
    .am-hero__legal { left: 16px; right: 16px; bottom: 14px; font-size: 10.5px; }
}
@media (max-width: 359px) {
    .am-cart__big { font-size: 64px; }
    .am-cart__dates { letter-spacing: .04em; padding: 0 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .am-cart { will-change: auto; }
    .am-badge__sweep { display: none; }
}
