/* ════════════════════════════════════════════════════════════════
   SINISTRE.CSS — campagne « remise en état après sinistre » (Lyon)
   Ajouté le 2026-11-16. Fichier ISOLÉ, chargé APRÈS style.css et
   service-landing.css sur toutes les pages.

   Contient :
   1. le bandeau d'appel en haut de chaque page (variante du .promo-banner)
   2. le calage du menu et du fil d'Ariane sous ce bandeau
   3. le bloc « Sinistre à Lyon » de la page d'accueil
   4. les composants des pages sinistre / terrasses de commerces

   Fin de campagne : passer ACTIF à false dans sinistre-bandeau.js
   (le bandeau disparaît partout, le menu remonte tout seul).
   ════════════════════════════════════════════════════════════════ */

:root { --sx-bar-h: 38px; }
@media (max-width: 760px) { :root { --sx-bar-h: 34px; } }

/* ── 1. Bandeau d'appel (or = conversion) ───────────────────────── */
.promo-banner--sinistre {
    background: linear-gradient(90deg, #C9A76A 0%, #dcbf85 50%, #C9A76A 100%);
    color: #1c1c18;
    padding: .5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}
.promo-banner--sinistre .promo-text {
    color: #1c1c18;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.5;
    padding-right: 2rem;
}
.promo-banner--sinistre .promo-text strong { font-weight: 800; }
.promo-banner--sinistre .promo-link {
    color: #1c1c18;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: .55rem;
    white-space: nowrap;
}
.promo-banner--sinistre .promo-link:hover { color: #000; }
.promo-banner--sinistre .sx-bar__tel {
    text-decoration: none;
    background: #1c1c18;
    color: #F3E2BF;
    padding: .2rem .75rem;
    border-radius: 50px;
}
.promo-banner--sinistre .sx-bar__tel:hover { background: #000; color: #fff; }
.promo-banner--sinistre .promo-close { color: #1c1c18; opacity: .75; }
.promo-banner--sinistre .promo-close:hover { opacity: 1; }
.promo-banner--sinistre a:focus-visible,
.promo-banner--sinistre button:focus-visible { outline: 2px solid #1c1c18; outline-offset: 2px; border-radius: 6px; }
.sx-bar__short { display: none; }
/* Le bandeau reste sur UNE ligne : phrase complète sur grand écran, version courte en dessous */
@media (max-width: 1320px) {
    .sx-bar__long { display: none; }
    .sx-bar__short { display: inline; }
}
@media (max-width: 760px) {
    .promo-banner--sinistre { padding: .45rem .6rem; }
    .promo-banner--sinistre .promo-text { font-size: .8rem; padding-right: 1.9rem; }
    .promo-banner--sinistre .promo-link { margin-left: .4rem; }
}
@media (max-width: 340px) {
    .promo-banner--sinistre .promo-link:not(.sx-bar__tel) { display: none; }   /* très petit écran : on garde le numéro */
}

/* ── 2. Le menu et le contenu se calent sous le bandeau ─────────── */
body:not(.promo-hidden) .site-header { top: var(--sx-bar-h, 38px); }
body:not(.promo-hidden) .sl-breadcrumb { padding-top: calc(var(--header-h, 72px) + var(--sx-bar-h, 38px) + 14px); }
html { scroll-padding-top: calc(var(--header-h, 72px) + var(--sx-bar-h, 38px) + 16px); }
@media (max-width: 768px) {
    html:not(.sx-off) body:not(.promo-hidden) #hero { padding-top: calc(var(--header-h, 72px) + var(--sx-bar-h, 34px) + 1.5rem); }
}
/* Bandeau fermé par le visiteur, ou campagne arrêtée (classe posée très tôt par sinistre-bandeau.js) */
html.sx-off .promo-banner--sinistre { display: none; }
html.sx-off .site-header { top: 0; }
html.sx-off .sl-breadcrumb { padding-top: calc(var(--header-h, 72px) + 14px); }
html.sx-off { scroll-padding-top: calc(var(--header-h, 72px) + 16px); }

/* ── 3. Accueil : bloc « Sinistre à Lyon » ──────────────────────── */
.sx-home { background: var(--forest, #0C120E); padding: clamp(28px, 5vw, 56px) 0; position: relative; z-index: 1; }
.sx-home__card {
    width: min(1180px, 92vw);
    margin-inline: auto;
    background: var(--cream, #faf7f2);
    color: var(--text-dark, #2d3228);
    border: 2px solid var(--gold, #C9A76A);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    padding: clamp(1.4rem, 4vw, 2.8rem);
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: center;
}
.sx-home__tag {
    display: inline-flex; align-items: center; gap: .6em;
    font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: #7d5f27; margin-bottom: .8rem;
}
.sx-home__tag::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #b8734a; box-shadow: 0 0 0 4px rgba(184, 115, 74, .22); }
.sx-home__title {
    font-family: var(--ff-display, 'DM Serif Display', Georgia, serif); font-weight: 400;
    font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.12; margin: 0 0 .8rem; color: #1e3a16;
}
.sx-home__title em { font-style: italic; color: #8a6a2f; }
.sx-home__text p { margin: 0 0 1rem; line-height: 1.65; color: #4a4f44; max-width: 60ch; font-size: 1rem; }
.sx-home__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.sx-home__list li { background: #fff; border: 1px solid #e2ddd5; border-radius: 50px; padding: .4rem .9rem; font-size: .88rem; font-weight: 600; color: #1e3a16; }
.sx-home__cta { display: flex; flex-direction: column; gap: .7rem; text-align: center; }
.sx-home__hours { font-size: .84rem; color: #5f6358; margin: 0; }
.sx-home__links { display: grid; gap: .45rem; margin-top: .2rem; }
.sx-home__links a { color: #1e3a16; font-weight: 700; text-decoration: none; font-size: .95rem; }
.sx-home__links a:hover { color: #7d5f27; text-decoration: underline; }
@media (max-width: 860px) { .sx-home__card { grid-template-columns: 1fr; } }

/* Lien placé dans une réponse de la FAQ de l'accueil (fond sombre) : il doit se voir */
.faq-answer a { color: var(--gold-light, #F3E2BF); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Bouton d'appel « gros numéro » (accueil + pages sinistre) */
.sx-call {
    display: flex; flex-direction: column; align-items: center; gap: .15rem;
    background: var(--gold, #C9A76A); color: #1c1c18; text-decoration: none;
    border-radius: 18px; padding: 1rem 1.2rem;
    box-shadow: 0 10px 26px rgba(201, 167, 106, .45);
    transition: transform .3s cubic-bezier(.165, .84, .44, 1), box-shadow .3s;
}
.sx-call:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(201, 167, 106, .55); }
.sx-call__label { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sx-call__num { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: .02em; white-space: nowrap; line-height: 1.15; }
.sx-wa {
    display: inline-flex; justify-content: center; align-items: center; gap: .5em;
    background: #25D366; color: #07321a; font-weight: 800; font-size: .95rem;
    border-radius: 50px; padding: .8rem 1.2rem; text-decoration: none;
    transition: transform .3s cubic-bezier(.165, .84, .44, 1), box-shadow .3s;
}
.sx-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, .35); }
.sx-call:focus-visible, .sx-wa:focus-visible { outline: 3px solid #1e3a16; outline-offset: 3px; }
.sx-callbox .sx-call:focus-visible, .sx-callbox .sx-wa:focus-visible { outline-color: #fff; }

/* ── 4. Pages sinistre / terrasses de commerces ─────────────────── */
/* Le calque dégradé du hero (.sl-hero::before) est opaque et masque la photo de fond :
   on le retire sur ces deux pages pour que la photo d'illustration se voie réellement. */
.sx-page .sl-hero--photo::before { display: none; }
.sx-hero__alt { margin: -.6rem 0 1.4rem; font-size: .95rem; color: rgba(245, 242, 237, .85); }
.sx-hero__alt a { color: var(--sl-gold, #C9A76A); font-weight: 700; }
.sx-hero__steps { list-style: none; counter-reset: hs; margin: 0; padding: 0; display: grid; gap: .85rem; }
.sx-hero__steps li { counter-increment: hs; position: relative; padding-left: 2.5rem; font-size: .96rem; line-height: 1.45; color: rgba(245, 242, 237, .92); }
.sx-hero__steps li::before { content: counter(hs); position: absolute; left: 0; top: -.05rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--sl-gold, #C9A76A); color: #1c1c18; font-weight: 800; font-size: .88rem; display: grid; place-items: center; }

/* Mobile : le titre et le bouton d'appel passent AVANT la carte « et ensuite ? » */
@media (max-width: 940px) { .sx-page .sl-hero__card { order: 0; } }

/* Liste à coches (cartes claires) */
.sx-check { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; text-align: left; }
.sx-check li { position: relative; padding-left: 1.6rem; line-height: 1.5; color: var(--sl-text, #2d3228); font-size: .95rem; }
.sx-check li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #8a6a2f; font-weight: 800; }
.sx-card__link { display: inline-block; margin-top: 1rem; font-weight: 800; color: var(--sl-green, #1e3a16); text-decoration: none; }
.sx-card__link:hover { color: #7d5f27; text-decoration: underline; }
.sx-page .sl-card p + p { margin-top: .6rem; }
.sx-page .sl-card p a { color: var(--sl-green, #1e3a16); font-weight: 700; }

/* Bons réflexes (section sombre) */
.sx-reflex { counter-reset: rx; list-style: none; margin: 2.2rem auto 0; padding: 0; max-width: 880px; display: grid; gap: .9rem; text-align: left; }
.sx-reflex li { counter-increment: rx; position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(201, 167, 106, .28); border-radius: 18px; padding: 1.1rem 1.2rem 1.1rem 3.7rem; color: rgba(245, 242, 237, .9); line-height: 1.6; font-size: .98rem; }
.sx-reflex li::before { content: counter(rx); position: absolute; left: 1.1rem; top: 1.05rem; width: 32px; height: 32px; border-radius: 50%; background: var(--sl-gold, #C9A76A); color: #1c1c18; font-weight: 800; display: grid; place-items: center; }
.sx-reflex strong { color: #fff; }
.sx-reflex a, .sx-note a { color: var(--sl-gold-light, #F3E2BF); }
.sx-note { max-width: 880px; margin: 1.4rem auto 0; font-size: .86rem; line-height: 1.65; color: rgba(245, 242, 237, .74); text-align: left; }
.sx-note--light { color: #5f6358; }   /* 6:1 sur fond crème (le gris « muted » du site ne fait que 4:1) */
.sx-note--light a { color: var(--sl-green, #1e3a16); font-weight: 700; }
.sx-note--box { background: rgba(255, 255, 255, .06); border-left: 3px solid var(--sl-gold, #C9A76A); border-radius: 0 12px 12px 0; padding: .9rem 1.1rem; color: rgba(245, 242, 237, .88); }

/* Zone : intitulé de chaque groupe de communes */
.sx-zone__label { margin: 1.8rem 0 0; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sl-green, #1e3a16); }
.sx-zone__label + .sl-communes { margin-top: .8rem; }

/* Repères de prix : lien sous la carte */
.sx-page .sl-price a { color: var(--sl-green, #1e3a16); font-weight: 700; }

/* Bloc contact : appel d'abord, formulaire complet ensuite */
.sx-contact { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
.sx-callbox { background: linear-gradient(135deg, #16241a, #0C120E); color: #fff; border-radius: 26px; padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--sl-shadow-lg, 0 24px 60px rgba(12, 18, 14, .18)); border: 1px solid rgba(201, 167, 106, .3); }
.sx-callbox h2 { font-family: var(--sl-ff-display, 'DM Serif Display', Georgia, serif); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; margin: 0 0 .6rem; color: #fff; }
.sx-callbox p { color: rgba(245, 242, 237, .84); line-height: 1.6; margin: 0 0 1rem; font-size: .96rem; }
.sx-callbox .sx-call { margin-bottom: .7rem; }
.sx-callbox .sx-wa { display: flex; }
.sx-callbox__hours { font-size: .84rem; color: rgba(245, 242, 237, .72); text-align: center; margin: 0 0 1rem; }
.sx-callback { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid rgba(201, 167, 106, .25); }
.sx-callback label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .45rem; color: #fff; }
.sx-callback__row { display: flex; gap: .5rem; }
.sx-callback input { flex: 1; min-width: 0; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 1rem; }
.sx-callback input::placeholder { color: rgba(255, 255, 255, .55); }
.sx-callback input:focus { outline: none; border-color: var(--sl-gold, #C9A76A); }
.sx-callback button { flex: none; padding: .8rem 1.1rem; border-radius: 12px; border: 0; background: var(--sl-gold, #C9A76A); color: #1c1c18; font: inherit; font-weight: 800; cursor: pointer; }
.sx-callback button:disabled { opacity: .6; cursor: default; }
.sx-callback__msg { margin: .6rem 0 0; font-size: .9rem; min-height: 1.2em; color: var(--sl-mint, #a8cc8a); }
.sx-callback__msg.is-error { color: #f3b6a0; }
.sx-contact > * { min-width: 0; }
/* Correctif (défaut préexistant sur toutes les pages de service) : sur mobile, les champs du
   formulaire de devis dépassaient de l'écran de 15 px et créaient un défilement horizontal. */
.sl-devis__grid > * { min-width: 0; }
.sl-field input, .sl-field select, .sl-field textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
@media (max-width: 900px) { .sx-contact { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .sx-page .sl-grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .sx-callback__row { flex-direction: column; } }

/* Lien contextuel discret ajouté sous les « prestations liées » des autres pages */
.sx-inline-link { margin: 1.6rem auto 0; font-size: .95rem; color: var(--sl-muted, #7a7a72); text-align: center; }
.sx-inline-link a { color: var(--sl-green, #1e3a16); font-weight: 700; }

/* Correctif mobile (défaut préexistant) : un bouton au texte long débordait de l'écran
   et créait un défilement horizontal (ex. page « Nos services ») → on l'autorise à passer à la ligne. */
@media (max-width: 600px) {
    .sl-btn { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .sx-call, .sx-wa { transition: none; }
    .sx-call:hover, .sx-wa:hover { transform: none; }
}
