/* ScintiNet — site public. Couleurs de la charte : bleu #0097CE, vert #38D430, lime #E2E735. */
:root {
    --blue: #0097ce;
    --blue-dark: #007aa8;
    --blue-deep: #0b3954;
    --green: #38d430;
    --green-dark: #22a81c;
    --lime: #e2e735;
    --ink: #0f2533;
    --text: #33475b;
    --muted: #64788a;
    --line: #dde6ed;
    --bg: #ffffff;
    --tint: #f2f8fb;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(15, 37, 51, .06), 0 8px 24px rgba(15, 37, 51, .06);
    --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
:target { scroll-margin-top: 88px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.icon { flex-shrink: 0; vertical-align: middle; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow, .narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hide-sm { }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
h1:focus, h1:focus-visible { outline: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.35em; border-radius: 999px; border: 2px solid transparent;
    font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #06260a; }
.btn-primary:hover { background: #4be043; color: #06260a; }
.btn-outline { border-color: var(--blue); color: var(--blue-dark); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: var(--lime); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-light:hover { background: #fff; color: var(--blue-deep); }
.btn-sm { padding: .5em 1em; font-size: .875rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* Barre du haut et en-tête */
.topbar { background: var(--blue-deep); color: #d7ebf5; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar a { color: #d7ebf5; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 20px; }
.topbar-social { display: flex; gap: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { flex-shrink: 0; }
.brand img { height: 46px; width: auto; max-width: none; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; white-space: nowrap; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; }
.main-nav a:hover { background: var(--tint); color: var(--blue-dark); }
.has-menu { position: relative; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 280px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line);
    border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 8px 12px; font-weight: 400; }
.header-cta { display: flex; gap: 8px; }
.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: 8px; border-radius: 8px; color: var(--ink); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 2px; max-height: 80vh; overflow: auto; }
.mobile-panel a { padding: 8px 0; color: var(--ink); text-decoration: none; }
.mobile-panel .btn { margin-top: 8px; }
.mobile-group { margin: 12px 0 2px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }

/* Héros et carrousel */
.hero { position: relative; overflow: hidden; background: var(--blue-deep); }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide, .page-hero { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: min(78vh, 640px); display: flex; align-items: center;
    background: linear-gradient(100deg, rgba(11,57,84,.92) 0%, rgba(0,151,206,.72) 55%, rgba(56,212,48,.25) 100%), var(--hero-image) center/cover no-repeat; color: #fff; }
.hero-content { padding-top: 72px; padding-bottom: 96px; max-width: var(--container); }
.hero h1, .hero-title, .page-hero h1 { color: #fff; max-width: 16ch; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.12; margin-bottom: .4em; }
.hero-title .hl, .hl { color: var(--lime); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 56ch; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: width .2s; }
.hero-dot[aria-current="true"] { width: 28px; background: #fff; }
.page-hero { min-height: 0; padding: 72px 0 64px; }
.page-hero h1 { max-width: 22ch; }
.page-hero-plain { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); }
.breadcrumb { font-size: .875rem; margin-bottom: 16px; color: rgba(255,255,255,.8); }
.breadcrumb a { color: #fff; }
.breadcrumb span { margin: 0 6px; opacity: .6; }
.page-hero .hero-lead a { color: var(--lime); }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-dark); margin-bottom: 10px; }
.eyebrow-light { color: var(--blue-deep); background: var(--lime); padding: 5px 12px; border-radius: 99px; letter-spacing: .06em; }

.trust-strip { background: var(--tint); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: .95rem; }
.trust-item .icon { color: var(--green-dark); }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }

.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card-media { position: relative; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--blue), var(--green)); display: block; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card-icon { position: absolute; left: 16px; bottom: -20px; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff;
    display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,151,206,.35); }
.service-card-body { padding: 32px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 a { color: var(--ink); text-decoration: none; }
.service-card-body h3 a:hover { color: var(--blue-dark); }
.service-card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.lead-text { font-size: 1.1rem; }
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.value-list li { display: flex; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value-list p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.value-icon, .feature-icon, .step-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,151,206,.1); color: var(--blue-dark); flex-shrink: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.feature h3 { margin-top: 16px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.step { counter-increment: step; position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { content: "0" counter(step); position: absolute; top: 18px; right: 22px; font-size: 2rem; font-weight: 700; color: var(--line); }
.step:nth-child(even) .step-icon { background: rgba(56,212,48,.14); color: var(--green-dark); }
.step h3 { margin-top: 16px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review blockquote { margin: 12px 0 16px; font-style: italic; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.stars { color: #e0b400; display: flex; gap: 2px; }
.stars .icon { fill: currentColor; }

.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform .2s; color: var(--blue); }
.faq-item .rich { padding: 0 20px 18px; color: var(--muted); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.chips a:hover { border-color: var(--blue); color: var(--blue-dark); }
.area-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.area-grid a { display: flex; gap: 10px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; }
.area-grid a:hover { border-color: var(--blue); background: var(--tint); }
.area-grid .icon { color: var(--blue); }

.cta-band { background: linear-gradient(110deg, var(--blue-deep), var(--blue) 70%, #18b6a0); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pages de contenu */
.content-with-aside { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.aside-card { position: sticky; top: 100px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aside-card h2 { font-size: 1.25rem; }
.aside-card .btn { margin-top: 10px; }
.aside-phone { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }
.aside-phone a { font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.price-box { margin: 32px 0; padding: 24px; border-radius: var(--radius); border: 2px solid var(--green); background: rgba(56,212,48,.06); }
.price-box h2 { font-size: 1.2rem; margin: 0 0 .4em; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 8px; align-items: center; }
.check-list .icon { color: var(--green-dark); }
.mini-steps { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--blue); margin-top: 3px; }

/* Formulaires */
.section-form { background: var(--tint); }
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.lead-form { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow); }
.lead-form fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.lead-form legend { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.15rem; color: var(--ink); margin-bottom: 16px; padding: 0; }
.step-num { width: 30px; height: 30px; border-radius: 99px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
.field label, .field .label { font-weight: 500; color: var(--ink); font-size: .92rem; }
.req { color: #c23b22; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
    font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(0,151,206,.15); }
.field-group-title { font-weight: 600; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 16px 0 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.choice input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .93rem; transition: .15s; }
.choice input:checked + span { border-color: var(--blue); background: rgba(0,151,206,.07); color: var(--blue-deep); font-weight: 500; }
.choice input:focus-visible + span, .pill input:focus-visible + span { outline: 3px solid var(--lime); }
.choice .icon { color: var(--blue); }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-stack { flex-direction: column; }
.pill span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 99px; cursor: pointer; font-size: .92rem; }
.pill-stack .pill span { border-radius: 10px; width: 100%; }
.pill input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 400 !important; color: var(--text) !important; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); }
.field-error { color: #b42318; font-size: .85rem; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; }
.alert-error { background: #fef3f2; color: #912018; border: 1px solid #fecdca; }
.alert-success { background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks-icon { width: 72px; height: 72px; border-radius: 99px; background: var(--green); color: #06260a; display: inline-grid; place-items: center; margin-bottom: 20px; }

/* Pied de page */
.site-footer { background: var(--ink); color: #b7c7d3; padding: 64px 0 24px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.site-footer a { color: #b7c7d3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-logo { height: 44px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 14px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 99px; background: var(--green); color: #06260a;
    place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 40; }

.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent-inner { max-width: 640px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(15,37,51,.18); padding: 20px 22px; font-size: .92rem; }
.consent-inner p { margin-bottom: .6em; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.consent-inner { width: 100%; min-width: 0; }

@media (max-width: 1240px) {
    .main-nav { display: none; }
    .mobile-nav { display: block; }
    .header-inner { position: relative; }
    .header-cta { margin-left: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .split, .content-with-aside, .form-layout { grid-template-columns: 1fr; gap: 32px; }
    .aside-card { position: static; }
    .section { padding: 64px 0; }
}

@media (max-width: 640px) {
    .hide-sm { display: none !important; }
    .field-row { flex-direction: column; gap: 0; }
    .lead-form { padding: 22px 18px; }
    .brand img { height: 38px; }
    .header-inner { gap: 12px; min-height: 64px; }
    .footer-grid { grid-template-columns: 1fr; }
    .call-fab { display: grid; }
    .hero-content { padding-top: 48px; padding-bottom: 80px; }
    .hero-actions .btn { width: 100%; }
    .trust-inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Tarif et crédit d'impôt (pages des services aux aînés) */
.price-line { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: .3em; }
.credit-box { margin: 32px 0; padding: 26px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.credit-box h2 { font-size: 1.3rem; margin-top: 0; }
.credit-form { margin: 18px 0 12px; }
.credit-form label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 6px; font-size: .92rem; }
.credit-input { display: flex; gap: 10px; align-items: center; }
.credit-input input { width: 110px; font: inherit; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.credit-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 14px; }
.credit-result div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.credit-result dt { font-size: .8rem; color: var(--muted); }
.credit-result dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.credit-result .credit-net { border: 2px solid var(--green); }

/* Téléphones : un long bouton passe à la ligne plutôt que de sortir de l'écran. */
@media (max-width: 640px) {
    .btn-block, .btn-lg, .consent-actions .btn { white-space: normal; text-align: center; }
    .consent-actions .btn { flex: 1 1 auto; }
    .consent { left: 8px; right: 8px; bottom: 8px; }
    .consent-inner { padding: 14px 16px; font-size: .84rem; }
}

/* ===== Thèmes saisonniers : l'identité ScintiNet reste dominante, la saison n'est qu'un accessoire ===== */
.season-bar { display: block; padding: 8px 16px; text-align: center; font-size: .9rem; font-weight: 600; line-height: 1.4;
    background: var(--season-bar-bg); color: var(--season-bar-text); text-decoration: none; }
.season-bar:hover { color: var(--season-bar-text); text-decoration: underline; }
.season-bar svg { vertical-align: -2px; }
.season-lights { height: 14px; background-color: #fff; border-bottom: 1px solid var(--line);
    background-image: radial-gradient(circle at 8px 7px, var(--lime) 0 3.5px, transparent 4px),
                      radial-gradient(circle at 24px 7px, var(--blue) 0 3.5px, transparent 4px),
                      radial-gradient(circle at 40px 7px, #c8102e 0 3.5px, transparent 4px),
                      radial-gradient(circle at 56px 7px, var(--green) 0 3.5px, transparent 4px),
                      radial-gradient(circle at 72px 7px, #e8c766 0 3.5px, transparent 4px);
    background-size: 80px 14px; background-repeat: repeat-x; }

.season-slide { background: var(--season-bg); color: var(--season-text); isolation: isolate; }
.season-slide .hero-content { position: relative; z-index: 2; padding-right: clamp(0px, 30vw, 380px); }
.season-slide .hero-title, .season-slide .hero-lead { color: var(--season-text); text-shadow: 0 1px 3px rgba(0, 0, 0, .28); }
.season-decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.season-mascot { position: absolute; right: max(4vw, calc((100% - var(--container)) / 2 + 24px)); top: 50%; transform: translateY(-46%);
    width: clamp(170px, 24vw, 300px); }
.season-mascot img { width: 100%; height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .25)); }
.season-mascot .hat { position: absolute; width: 58%; }
.hat-halloween { left: -6%; top: -40%; transform: rotate(-14deg); }
.hat-noel { left: -4%; top: -26%; transform: rotate(-12deg); }
.season-mascot .pumpkin { position: absolute; width: 26%; right: -6%; bottom: -4%; }
.season-mascot .sparkle { position: absolute; fill: #e8c766; }
.sp-1 { width: 12%; right: -12%; top: 6%; } .sp-2 { width: 8%; right: -4%; top: 28%; } .sp-3 { width: 10%; left: -14%; bottom: 10%; }

.bat { position: absolute; width: 54px; fill: #061f2e; opacity: .85; }
.bat-1 { top: 14%; left: 46%; } .bat-2 { top: 8%; left: 58%; width: 38px; } .bat-3 { top: 22%; left: 64%; width: 30px; }

.snow { position: absolute; inset: 0; }
.flake { position: absolute; top: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: .7; }
.snow-toggle { position: absolute; z-index: 3; right: 16px; bottom: 16px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .18);
    color: #fff; border-radius: 99px; padding: 6px 14px; font: inherit; font-size: .8rem; cursor: pointer; }
.snow-toggle:hover { background: rgba(0, 0, 0, .3); }
.season-slide.snow-off .flake, .hero.snow-off .flake { display: none; }

@media (prefers-reduced-motion: no-preference) {
    .flake { animation: snow-fall var(--t) linear var(--d) infinite; }
    .bat { animation: bat-fly 3.2s ease-out both; }
    .bat-2 { animation-delay: .25s; } .bat-3 { animation-delay: .5s; }
}
/* Sans animation : la neige reste en place, en décor fixe. */
@media (prefers-reduced-motion: reduce) {
    .flake { top: calc(var(--d) * 10%); }
    .snow-toggle { display: none; }
}
@keyframes snow-fall { to { transform: translate3d(14px, 760px, 0); } }
@keyframes bat-fly { from { transform: translate3d(-60vw, 40px, 0) scale(.6); opacity: 0; } 30% { opacity: .85; } to { transform: none; } }

@media (max-width: 760px) {
    .season-slide .hero-content { padding-right: 20px; padding-top: 150px; }
    .season-mascot { width: 104px; top: 34px; right: 22px; transform: none; }
    .bat-1 { left: 12%; top: 6%; } .bat-2 { left: 34%; top: 12%; } .bat-3 { display: none; }
    .season-bar { font-size: .82rem; }
    /* En haut à gauche : en bas, il cachait les points du carrousel sur les petits téléphones. */
    .snow-toggle { top: 14px; left: 14px; right: auto; bottom: auto; }
}

/* ===== Carte-cadeau ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hint { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.amount-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.amount-choice { position: relative; cursor: pointer; }
.amount-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amount-choice span { display: inline-block; min-width: 84px; text-align: center; padding: 10px 16px; border: 2px solid var(--line); border-radius: 10px;
    font-weight: 700; color: var(--ink); background: #fff; transition: border-color .15s, background .15s; }
.amount-choice input:checked + span { border-color: var(--blue-dark); background: #e6f4fa; color: var(--blue-deep); }
.amount-choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.amount-custom { max-width: 260px; }
.giftcard-preview { display: flex; flex-direction: column; gap: 4px; padding: 22px; margin: 0 0 24px; border-radius: 16px; color: #fff;
    background: var(--blue-deep); box-shadow: inset 0 -8px 0 var(--green), var(--shadow); }
.giftcard-preview img { width: 140px; height: auto; margin-bottom: 14px; }
.gc-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.gc-amount { font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.gc-code { align-self: flex-start; margin: 12px 0 8px; padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--ink);
    font-family: Consolas, Menlo, monospace; font-weight: 700; letter-spacing: .08em; }
.steps-list { margin: 0 0 24px; padding-left: 1.2em; }
.steps-list li { margin-bottom: 6px; }
.balance-form { display: flex; gap: 8px; }
.balance-form input { flex: 1; min-width: 0; width: 100%; text-transform: uppercase; font-family: Consolas, Menlo, monospace; font-size: .95rem;
    padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.balance-form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(0,151,206,.15); }
.topbar-gift { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; font-weight: 600; color: var(--lime) !important; text-decoration: none; }
.topbar-gift:hover { text-decoration: underline; }
.giftcard-hero .hl { color: var(--lime); }

/* ===== Petits téléphones (360 px) ===== */
.form-layout > *, .content-with-aside > * { min-width: 0; }
@media (max-width: 400px) {
    .btn-lg, .hero-actions .btn { font-size: .92rem; padding-left: 1em; padding-right: 1em; }
    .balance-form { flex-wrap: wrap; }
    .balance-form .btn { width: 100%; }
    .aside-card { padding: 20px; }
    .aside-card .btn { font-size: .92rem; padding-left: .9em; padding-right: .9em; }
}
