/* =============================================================
   COMPOSANTS AWL (octobre 2026)
   Bandeau d'action collant, footer mobile en cartes, loupe du menu,
   ligne « Mis à jour le », page Recherche, espace Questions.
   Chargé par includes/nav.html, donc présent sur toutes les pages.
   ============================================================= */

/* ---------- Loupe dans la barre de navigation ---------- */
.awl-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: var(--awl-dark, #09090b);
    text-decoration: none;
    transition: background-color .2s ease;
}
.awl-search-btn:hover { background: var(--awl-zinc-100, #f4f4f5); }
.awl-search-btn svg { width: 20px; height: 20px; }
.awl-search-btn[aria-current="page"] { background: var(--awl-volt-50, #fefce8); color: var(--awl-volt-600, #ca8a04); }
/* Entre 1024 et 1279 px, la barre est pleine : on resserre pour faire tenir la loupe */
@media (min-width: 1024px) and (max-width: 1279.98px) {
    .awl-search-btn { width: 36px; height: 36px; }
    .awl-actions .awl-phone { padding: 9px; }
    .awl-top { padding: 10px 7px; }
}
/* À partir de 1280 px, la barre garde 1232 px utiles : on resserre un peu les onglets */
@media (min-width: 1280px) {
    .awl-bar { gap: 16px; }
    .awl-top { padding: 10px 10px; }
}

/* ---------- Bandeau d'action collé en bas de l'écran ---------- */
.awl-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45; /* sous la barre de navigation (50), le menu mobile (60) et les cookies (9998) */
    padding: 0 16px calc(12px + env(safe-area-inset-bottom));
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .28s ease, transform .42s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear .42s;
}
.awl-sticky[data-visible="true"] {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .28s ease, transform .42s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}
html.awl-locked .awl-sticky { visibility: hidden; opacity: 0; }

.awl-sticky-inner {
    position: relative;
    max-width: 76rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 12px 12px 18px;
    border-radius: 20px;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 18px 40px -12px rgba(9, 9, 11, .45), 0 4px 12px rgba(9, 9, 11, .18);
    color: #fff;
    overflow: hidden;
    pointer-events: auto;
}
/* Halo jaune discret, comme les sections sombres du site */
.awl-sticky-inner::before {
    content: "";
    position: absolute;
    top: -120px;
    right: 18%;
    width: 260px;
    height: 220px;
    border-radius: 999px;
    background: rgba(250, 204, 21, .14);
    filter: blur(60px);
    pointer-events: none;
}
.awl-sticky-signal {
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(250, 204, 21, .12);
}
.awl-sticky-signal span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #facc15;
    box-shadow: 0 0 0 5px rgba(250, 204, 21, .16), 0 0 16px rgba(250, 204, 21, .7);
    animation: awl-pulse 2.4s ease-in-out infinite;
}
@keyframes awl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.78); } }

.awl-sticky-title { position: relative; margin: 0; display: flex; flex-direction: column; line-height: 1.15; }
.awl-sticky-title span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a1a1aa; }
.awl-sticky-title strong { margin-top: 3px; font-size: 15.5px; font-weight: 800; color: #facc15; }
.awl-sticky-promise {
    position: relative;
    margin: 0;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, .16);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: #e4e4e7;
}
.awl-sticky-promise strong { display: block; color: #fff; font-weight: 800; }
.awl-sticky-actions { position: relative; margin-left: auto; display: flex; align-items: center; gap: 8px; }
.awl-sticky-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease;
}
.awl-sticky-phone:hover { background: rgba(255, 255, 255, .08); }
.awl-sticky-phone svg { width: 18px; height: 18px; color: #facc15; }
.awl-sticky-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    min-width: 13rem;
    padding: 0 20px 0 24px;
    border-radius: 999px;
    background: #facc15;
    color: #09090b;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, transform .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.awl-sticky-cta:hover { background: #eab308; transform: translateY(-1px); }
.awl-sticky-cta svg { width: 18px; height: 18px; }
.awl-sticky a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px #facc15; }

/* Le bas du footer garde la place du bandeau : il ne cache jamais rien */
.awl-foot .awl-foot-inner { padding-bottom: 120px; }

/* Tablette : on garde le titre, on retire la phrase */
@media (max-width: 899.98px) {
    .awl-sticky-promise { display: none; }
}
/* Mobile : plus de texte, seulement les boutons */
@media (max-width: 639.98px) {
    .awl-sticky { padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
    .awl-sticky-inner { gap: 8px; padding: 8px; border-radius: 18px; }
    .awl-sticky-inner::before, .awl-sticky-signal, .awl-sticky-title { display: none; }
    .awl-sticky-actions { margin-left: 0; width: 100%; }
    .awl-sticky-phone { width: 48px; padding: 0; flex-shrink: 0; }
    .awl-sticky-phone span { display: none; }
    .awl-sticky-cta { flex: 1; min-width: 0; justify-content: center; }
    .awl-foot .awl-foot-inner { padding-bottom: 104px; }
}

/* ---------- Footer : cartes dépliables sur mobile ---------- */
.awl-foot .awl-foot-col > summary { list-style: none; }
.awl-foot .awl-foot-col > summary::-webkit-details-marker { display: none; }
.awl-foot .awl-foot-plus { display: none; }

@media (max-width: 639.98px) {
    .awl-foot .awl-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .awl-foot .awl-foot-brand { margin-bottom: 18px; }
    .awl-foot .awl-foot-col {
        border: 1px solid var(--f-zinc-200);
        border-radius: 16px;
        background: #fff;
        overflow: hidden;
    }
    .awl-foot .awl-foot-col > summary.awl-foot-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 56px;
        margin: 0;
        padding: 0 14px 0 18px;
        cursor: pointer;
        font-size: 15px;
        -webkit-tap-highlight-color: transparent;
    }
    .awl-foot .awl-foot-plus {
        position: relative;
        display: inline-block;
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        background: var(--f-zinc-200);
        transition: background-color .2s ease, transform .25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .awl-foot .awl-foot-plus::before, .awl-foot .awl-foot-plus::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 12px;
        height: 2px;
        margin: -1px 0 0 -6px;
        border-radius: 2px;
        background: var(--f-dark);
    }
    .awl-foot .awl-foot-plus::after { transform: rotate(90deg); }
    .awl-foot .awl-foot-col[open] .awl-foot-plus { background: var(--f-volt); transform: rotate(45deg); }
    .awl-foot .awl-foot-col[open] > summary.awl-foot-title { border-bottom: 1px solid var(--f-zinc-200); }
    .awl-foot .awl-foot-col ul { gap: 0; padding: 4px 18px 8px; }
    .awl-foot .awl-foot-col li + li { border-top: 1px solid #f4f4f5; }
    .awl-foot .awl-foot-col li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        color: var(--f-dark);
    }
    .awl-foot .awl-foot-col li a::after { content: "→"; color: var(--f-zinc-500); font-weight: 700; }
}
@media (min-width: 640px) {
    .awl-foot .awl-foot-col > summary { cursor: default; pointer-events: none; }
}

/* ---------- Ligne « Publié le / Mis à jour le » (blog, glossaire, questions) ---------- */
.awl-updated {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 20px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #52525b;
}
.awl-updated span { display: inline-flex; align-items: center; gap: 6px; }
.awl-updated svg { width: 16px; height: 16px; color: #ca8a04; flex-shrink: 0; }
.awl-updated time { color: #09090b; font-weight: 700; }

/* ---------- Page Recherche ---------- */
.awl-searchpage { max-width: 64rem; margin: 0 auto; padding: 24px 24px 96px; }
.awl-searchpage h1 { margin: 8px 0 8px; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.awl-searchpage-lead { margin: 0 0 28px; font-size: 17px; font-weight: 500; color: #52525b; }
.awl-sform {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    background: #fafafa;
    border: 1px solid #e4e4e7;
}
.awl-sfield { display: flex; flex-direction: column; gap: 6px; }
.awl-sfield label { font-size: 13.5px; font-weight: 800; color: #09090b; }
.awl-sfield input, .awl-sfield select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d4d4d8;
    border-radius: 14px;
    background: #fff;
    font: inherit;
    font-size: 16px; /* 16 px : pas de zoom automatique sur iPhone */
    color: #09090b;
}
.awl-sfield input:focus, .awl-sfield select:focus { outline: 2px solid #09090b; outline-offset: 1px; box-shadow: 0 0 0 4px #facc15; }
.awl-sactions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.awl-sbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #09090b;
    color: #facc15;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}
.awl-sbtn:hover { background: #27272a; }
.awl-sreset { font-size: 14.5px; font-weight: 700; color: #09090b; text-decoration: underline; text-decoration-color: #facc15; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.awl-scount { margin: 28px 0 12px; font-size: 14.5px; font-weight: 700; color: #52525b; }
.awl-sresults { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.awl-sresult {
    position: relative;
    padding: 18px 20px;
    border: 1px solid #e4e4e7;
    border-radius: 18px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.awl-sresult:hover { border-color: #facc15; box-shadow: 0 8px 24px -12px rgba(9, 9, 11, .18); }
.awl-sresult-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #71717a; }
.awl-stag { padding: 3px 10px; border-radius: 999px; background: #fefce8; color: #a16207; }
.awl-sresult h2 { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 800; }
.awl-sresult h2 a { color: #09090b; text-decoration: none; }
.awl-sresult h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.awl-sresult p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: #52525b; }
.awl-sempty { padding: 28px; border: 1px dashed #d4d4d8; border-radius: 18px; text-align: center; color: #52525b; font-weight: 600; }
.awl-sempty a { color: #09090b; font-weight: 800; }
mark.awl-hl { background: #fef08a; color: inherit; border-radius: 3px; padding: 0 2px; }
@media (min-width: 768px) {
    .awl-sform { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); align-items: end; padding: 24px; }
    .awl-sactions { grid-column: 1 / -1; }
}

/* ---------- Espace Questions ---------- */
.awl-qwrap { max-width: 64rem; margin: 0 auto; padding: 24px 24px 80px; }
.awl-qkicker { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ca8a04; }
.awl-qwrap h1 { margin: 10px 0 0; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; color: #09090b; }
.awl-qlead { margin: 16px 0 0; max-width: 46rem; font-size: 18px; line-height: 1.6; font-weight: 500; color: #3f3f46; }
.awl-qanswer {
    margin: 24px 0 0;
    padding: 20px 22px;
    border-left: 4px solid #facc15;
    border-radius: 0 18px 18px 0;
    background: #fefce8;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
    color: #09090b;
}
.awl-qbody { margin-top: 40px; max-width: 46rem; }
.awl-qbody h2 { margin: 40px 0 12px; font-size: 24px; font-weight: 900; letter-spacing: -.01em; color: #09090b; }
.awl-qbody p, .awl-qbody li { font-size: 17px; line-height: 1.7; color: #3f3f46; }
.awl-qbody a { color: #09090b; font-weight: 700; text-decoration: underline; text-decoration-color: #facc15; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.awl-qsource { margin: 8px 0 0; font-size: 13.5px !important; color: #71717a !important; }
.awl-qfigures { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 12px; margin: 12px 0 1.5rem; }
.awl-qfig { padding: 16px 18px; border: 1px solid #e4e4e7; border-radius: 16px; background: #fafafa; }
.awl-qfig strong { display: block; font-size: 26px; font-weight: 900; color: #09090b; line-height: 1.1; }
.awl-qfig span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: #52525b; }
.awl-qfig .awl-qfig-src { font-size: 12.5px; color: #a1a1aa; }
.content-body .awl-qsource { margin-top: -0.75rem; font-size: 13.5px; color: #a1a1aa; }
.awl-qexpert { margin: 12px 0 1.5rem; padding: 20px 22px; border-radius: 18px; background: #09090b; color: #e4e4e7; }
.awl-qexpert p { color: #e4e4e7; margin: 0; }
.awl-qexpert footer { margin-top: 10px; font-size: 14px; font-weight: 700; color: #facc15; }
.awl-qpillar, .content-body .awl-qpillar { margin: 32px 0 0; padding: 18px 20px; border: 1px solid #e4e4e7; border-radius: 18px; font-weight: 600; color: #3f3f46; }
.awl-qlist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.awl-qlist a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 12px 18px;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
    background: #fff;
    color: #09090b;
    font-size: 16.5px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}
.awl-qlist a::after { content: "→"; color: #ca8a04; font-weight: 800; }
.awl-qlist a:hover { border-color: #facc15; background: #fefce8; }
.awl-qthemes { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 14px; margin-top: 18px; }
.awl-qtheme { padding: 20px; border: 1px solid #e4e4e7; border-radius: 20px; background: #fafafa; }
.awl-qtheme h2 { margin: 0; font-size: 19px; font-weight: 900; }
.awl-qtheme h2 a { color: #09090b; text-decoration: none; }
.awl-qtheme h2 a:hover { text-decoration: underline; text-decoration-color: #facc15; text-decoration-thickness: 2px; }
.awl-qtheme p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: #52525b; }
.awl-qtheme .awl-qlist a { min-height: 48px; font-size: 15px; }
.awl-qsection-title { margin: 48px 0 0; font-size: 26px; font-weight: 900; letter-spacing: -.01em; }
.awl-qempty { margin-top: 14px; padding: 20px; border: 1px dashed #d4d4d8; border-radius: 16px; color: #52525b; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
    .awl-sticky, .awl-sticky[data-visible="true"], .awl-sticky-cta, .awl-foot-plus { transition: none; transform: none; }
    .awl-sticky-signal span { animation: none; }
}

/* ---------- Recherche : rubriques sous les 10 résultats ---------- */
.awl-shubs-title { margin: 44px 0 14px; font-size: 22px; font-weight: 900; letter-spacing: -.01em; color: #09090b; }
.awl-shubs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 12px; }
.awl-shub {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    border: 1px solid #e4e4e7;
    border-radius: 18px;
    background: #fafafa;
    transition: border-color .2s ease, background-color .2s ease;
}
.awl-shub:hover { border-color: #facc15; background: #fefce8; }
.awl-shub-main { color: #09090b; text-decoration: none; }
.awl-shub-main strong { display: block; font-size: 17px; font-weight: 900; }
.awl-shub-main strong::after { content: " →"; color: #ca8a04; }
.awl-shub-main span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: #52525b; font-weight: 500; }
.awl-shub-count { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #e4e4e7; font-size: 12.5px; font-weight: 800; color: #3f3f46; text-decoration: none; }
a.awl-shub-count:hover { border-color: #09090b; color: #09090b; }

/* ---------- Page Devis gratuit (/contact/devis-gratuit/) ---------- */
.dg-call { margin: 0; font-size: 15px; font-weight: 600; color: #52525b; }
.dg-call a { color: #09090b; font-weight: 800; text-decoration: underline; text-decoration-color: #facc15; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dg-card {
    scroll-margin-top: 96px;
    padding: 24px;
    border: 1px solid #e4e4e7;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .05);
}
@media (min-width: 768px) { .dg-card { padding: 36px; } }
.dg-progress { margin-bottom: 24px; }
.dg-progress-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #a1a1aa; }
.dg-progress-top #dg-step-name { color: #ca8a04; }
.dg-progress-track { height: 8px; border-radius: 999px; background: #f4f4f5; overflow: hidden; }
.dg-progress-bar { height: 100%; border-radius: 999px; background: #facc15; transition: width .45s cubic-bezier(0.16, 1, 0.3, 1); }

.dg-form { margin: 0; }
.dg-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.dg-form.is-js .dg-step { display: none; }
.dg-form.is-js .dg-step.is-active { display: block; animation: dg-in .35s ease-out; }
.dg-form:not(.is-js) .dg-done { display: none; }
@keyframes dg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dg-title { display: block; margin: 0 0 6px; padding: 0; font-size: 24px; line-height: 1.2; font-weight: 900; color: #09090b; outline: none; }
.dg-help { margin: 0 0 16px; font-size: 14.5px; font-weight: 600; color: #71717a; }
.dg-label { margin: 18px 0 8px; font-size: 13.5px; font-weight: 800; color: #09090b; }
.dg-req { color: #ca8a04; }

.dg-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 480px) {
    .dg-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dg-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.dg-opt { position: relative; display: block; cursor: pointer; }
.dg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dg-opt-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    height: 100%;
    padding: 10px 14px;
    border: 2px solid #f4f4f5;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #09090b;
    transition: border-color .15s ease, background-color .15s ease;
}
.dg-opt:hover .dg-opt-box { border-color: #fde047; background: #fefce8; }
.dg-opt input:checked + .dg-opt-box { border-color: #facc15; background: #fefce8; }
.dg-opt input:focus-visible + .dg-opt-box { outline: 2px solid #09090b; outline-offset: 2px; }
.dg-check { position: relative; flex-shrink: 0; width: 20px; height: 20px; border: 2px solid #d4d4d8; border-radius: 6px; background: #fff; }
.dg-check.is-radio { border-radius: 999px; }
.dg-opt input:checked + .dg-opt-box .dg-check { border-color: #09090b; background: #09090b; }
.dg-opt input:checked + .dg-opt-box .dg-check::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid #facc15; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.dg-opt input:checked + .dg-opt-box .dg-check.is-radio::after { left: 4px; top: 4px; width: 8px; height: 8px; border: 0; border-radius: 999px; background: #facc15; transform: none; }

.dg-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 12px; }
@media (min-width: 480px) { .dg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dg-field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.dg-field label { font-size: 13.5px; font-weight: 800; color: #09090b; }
.dg-field input, .dg-field select, .dg-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 2px solid #f4f4f5;
    border-radius: 14px;
    background: #fff;
    font: inherit;
    font-size: 16px; /* pas de zoom automatique sur iPhone */
    font-weight: 500;
    color: #09090b;
    transition: border-color .15s ease;
}
.dg-field textarea { resize: vertical; min-height: 96px; }
.dg-field input:focus, .dg-field select:focus, .dg-field textarea:focus { outline: none; border-color: #facc15; }
.dg-field input:disabled { background: #fafafa; color: #a1a1aa; }
.dg-field [aria-invalid="true"], .dg-consent input[aria-invalid="true"] { border-color: #ef4444; outline-color: #ef4444; }
.dg-inline { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: #3f3f46; cursor: pointer; }
.dg-inline input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: #09090b; }
.dg-consent { margin-top: 18px; font-size: 13.5px; line-height: 1.5; }
.dg-consent a { color: #09090b; font-weight: 800; text-decoration: underline; text-decoration-color: #facc15; }
.dg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dg-error { display: none; margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #fef2f2; color: #b91c1c; font-size: 14px; font-weight: 700; }

.dg-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.dg-next, .dg-prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font: inherit;
    font-size: 15.5px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.dg-next { border: 0; background: #09090b; color: #facc15; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.dg-next:hover { background: #27272a; transform: translateY(-1px); }
.dg-next:disabled { opacity: .6; cursor: wait; transform: none; }
.dg-prev { border: 2px solid #e4e4e7; background: #fff; color: #3f3f46; }
.dg-prev:hover { border-color: #09090b; color: #09090b; }
.dg-submit { flex: 1; max-width: 22rem; }

.dg-done { text-align: center; padding: 8px 0; outline: none; }
.dg-done-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 999px; background: #facc15; color: #09090b; box-shadow: 0 0 24px rgba(250, 204, 21, .45); }
.dg-done .dg-title { margin-bottom: 10px; }
.dg-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

.dg-after { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: dg; }
@media (min-width: 768px) { .dg-after { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dg-after li { counter-increment: dg; padding: 22px; border: 1px solid #e4e4e7; border-radius: 20px; background: #fafafa; }
.dg-after li::before { content: counter(dg); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 999px; background: #09090b; color: #facc15; font-weight: 900; }
.dg-after strong { display: block; font-size: 17px; font-weight: 900; color: #09090b; }
.dg-after span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: #52525b; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
    .dg-form.is-js .dg-step.is-active { animation: none; }
    .dg-progress-bar, .dg-next { transition: none; }
}

/* ---------- Articles du blog, définitions et questions : sommaire + CTA qui suivent l'écran ----------
   Le sommaire et la carte d'appel sont dans .awl-side-sticky. Sur ordinateur, le bloc reste visible
   sous la barre de navigation et au-dessus du bandeau d'action ; si le sommaire est très long,
   il défile dans sa carte, la carte d'appel reste toujours visible. */
.awl-side-sticky { display: flex; flex-direction: column; gap: 1.5rem; }
.awl-side-sticky .sidebar-card nav { margin-bottom: 0; }
.awl-side-sticky nav a.is-active { color: #09090b !important; font-weight: 800; }
@media (min-width: 1024px) {
    .awl-side-sticky { position: sticky; top: 96px; max-height: calc(100vh - 206px); }
    .awl-side-sticky .sidebar-card { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
    /* Le titre « Sommaire » reste en haut de la carte quand la liste défile */
    .awl-side-sticky .sidebar-card h4 { position: sticky; top: -1.5rem; z-index: 1; margin: -1.5rem -1.5rem 1rem; padding: 1.5rem 1.5rem .75rem; background: #fff; }
    .awl-side-sticky .sticky-cta { position: static; flex-shrink: 0; }
}

/* « Voir aussi » en fin d'article (liste remplie par le script de la page) */
.awl-seealso { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid #e4e4e7; border-radius: 1.25rem; background: #fafafa; }
.awl-seealso:has(.awl-seealso-links:empty) { display: none; }
.content-body .awl-seealso-title { margin: 0 0 .75rem; font-size: .8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #09090b; line-height: 1.4; }
.awl-seealso-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: .125rem 1.5rem; }
@media (min-width: 640px) { .awl-seealso-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.content-body .awl-seealso-links a { text-decoration: none; color: #52525b; }
.content-body .awl-seealso-links a:hover { color: #09090b; }

/* ---------- Pages thème de l'espace Questions : cartes d'articles avec image ---------- */
.awl-bcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 18px; }
@media (min-width: 768px) { .awl-bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .awl-bcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.awl-bcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 1.5rem;
    background: #fff;
    color: #09090b;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05);
    transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1), border-color .4s ease, box-shadow .4s ease;
}
.awl-bcard:hover { transform: translateY(-6px); border-color: #facc15; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .05), 0 10px 10px -5px rgba(250, 204, 21, .1); }
.awl-bcard-img { position: relative; height: 12rem; overflow: hidden; background: #e4e4e7; border-bottom: 1px solid #f4f4f5; }
.awl-bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(0.4, 0, 0.2, 1); }
.awl-bcard:hover .awl-bcard-img img { transform: scale(1.05); }
.awl-bcard-tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 10px; border-radius: 8px; border: 1px solid #e4e4e7; background: rgba(255, 255, 255, .92); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.awl-bcard-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.5rem 1.5rem; }
.awl-bcard-body h3 { margin: 0 0 .5rem; font-size: 1.125rem; line-height: 1.35; font-weight: 900; transition: color .2s ease; }
.awl-bcard:hover .awl-bcard-body h3 { color: #ca8a04; }
.awl-bcard-body p { margin: 0 0 1.25rem; flex: 1; font-size: 14px; line-height: 1.55; font-weight: 500; color: #52525b; }
.awl-bcard-more { display: flex; justify-content: space-between; align-items: center; padding-top: .875rem; border-top: 1px solid #f4f4f5; font-size: 14px; font-weight: 800; }
.awl-bcard-more::after { content: "→"; color: #ca8a04; transition: transform .2s ease; }
.awl-bcard:hover .awl-bcard-more::after { transform: translateX(4px); }

/* ---------- Règle FAQ : sous chaque FAQ, un lien vers l'espace Questions ---------- */
.awl-faq-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid #e4e4e7;
    border-radius: 18px;
    background: #fefce8;
}
.awl-faq-cta p { margin: 0; flex: 1 1 18rem; font-size: 15px; line-height: 1.5; font-weight: 500; color: #3f3f46; }
.awl-faq-cta p strong { display: block; font-size: 16px; font-weight: 900; color: #09090b; }
/* « html » + classe : passe devant « .awl-content a » de content.css (liens noirs soulignés) */
html .awl-faq-cta a.awl-faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    background: #09090b;
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
}
html .awl-faq-cta a.awl-faq-cta-btn:hover { background: #27272a; color: #facc15; }
/* Sécurité : si la liste de questions est posée directement dans la grille .awl-x-faq (sans .awl-x-faq-main),
   l'encart reste dans la colonne de droite, sous les questions */
@media (min-width: 901px) { .awl-x-faq > .awl-faq-cta { grid-column: 2; margin-top: -40px; } }

@media (prefers-reduced-motion: reduce) {
    .awl-bcard, .awl-bcard-img img, .awl-bcard-more::after { transition: none; transform: none; }
}

/* ---------- Numéros de téléphone sur fond noir ----------
   tailwind.min.css force tous les liens « tel: » en jaune foncé (et en noir au survol), en !important :
   illisible sur fond noir. Ici, sur fond sombre : texte blanc. */
html .awl-sticky a.awl-sticky-phone[href^="tel"],
html .awl-sticky a.awl-sticky-phone[href^="tel"]:hover { color: #fff !important; }
html .awl-sticky a.awl-sticky-phone[href^="tel"]:hover { border-color: #facc15; background: rgba(255, 255, 255, .1); }
html .awl-feature a[href^="tel"],
html .bg-dark-900 a[href^="tel"] { color: #fff !important; }
html .awl-feature a[href^="tel"]:hover,
html .bg-dark-900 a[href^="tel"]:hover { color: #facc15 !important; }
