/* Avis Chantier - pages qui repondent a une question */

:root {
    --ground: #efeeec;
    --surface: #ffffff;
    --ink: #16181c;
    --ink-2: #3d424b;
    --muted: #6c727d;
    --line: #d9d7d3;
    --line-soft: #e7e5e1;
    --accent: #ff4a00;
    --accent-deep: #d13c00;
    --accent-tint: #fff0e9;
    --serif: "Cal Sans", Archivo, "Helvetica Neue", Arial, sans-serif;
    --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.72;
    /* Cal Sans n'a qu'une graisse : sans cela, les titres declares en gras
       recevraient un faux gras fabrique par le navigateur. */
    font-synthesis-weight: none;
    -webkit-text-size-adjust: 100%;
}

/*
 * Bandeau : le meme que celui de la page de vente, en version sobre.
 *
 * Il reste en haut pendant la lecture. Ces pages font pres de deux mille mots,
 * et un lecteur convaincu au milieu du texte n'a pas a remonter jusqu'en haut
 * pour trouver le chemin du site.
 */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #000;
    padding: .85rem 1.25rem;
}
.topbar__in {
    max-width: 52rem; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar__logo { height: 26px; width: auto; display: block; }
.topbar__link {
    color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 1px;
}
.topbar__link:hover { border-bottom-color: var(--accent); }

.wrap { max-width: 46rem; margin: 0 auto; padding: 2.2rem 1.25rem 3.5rem; }

.fil { font-size: .84rem; color: var(--muted); margin: 0 0 1.4rem; }
.fil a { color: var(--muted); }

/* Un intertitre atteint par une ancre ne doit pas se loger sous le bandeau. */
h2[id], h3[id] { scroll-margin-top: 4.5rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 5vw, 2.5rem); margin: 0 0 .8rem; }
h2 { font-size: 1.55rem; margin: 3rem 0 .8rem; }
h3 { font-size: 1.15rem; margin: 1.9rem 0 .5rem; }

p, li { color: var(--ink-2); }
p { margin: 0 0 .9rem; }
ul, ol { margin: 0 0 .9rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
strong { color: var(--ink); }
a { color: var(--accent-deep); }

.meta { color: var(--muted); font-size: .86rem; margin: 0 0 1.8rem; }

/* La reponse, donnee avant tout developpement : c'est ce qu'un moteur
   generatif extrait, et ce qu'un lecteur presse vient chercher. */
.lead {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 4px 14px 14px 4px;
    padding: 1.25rem 1.4rem;
    margin: 0 0 2rem;
}
.lead p { font-size: 1.08rem; color: var(--ink); margin: 0; }
.lead p + p { margin-top: .7rem; }

/* Citation officielle : la source et le lien font partie de la citation,
   sans quoi elle ne vaut rien. */
.cite {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
    margin: 0 0 1rem;
}
.cite blockquote {
    margin: 0 0 .6rem;
    font-size: 1.02rem;
    color: var(--ink);
    quotes: "\201C" "\201D";
}
.cite blockquote::before { content: open-quote; }
.cite blockquote::after { content: close-quote; }
.cite .source { font-size: .82rem; color: var(--muted); margin: 0; }

.tableau { overflow-x: auto; margin: 0 0 1.2rem; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--surface); }
caption { text-align: left; font-size: .84rem; color: var(--muted); padding: 0 0 .5rem; }
th, td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line-soft); font-size: .95rem; vertical-align: top; }
thead th { font-family: var(--sans); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom-color: var(--line); }
tbody tr:last-child td { border-bottom: 0; }
td.oui { color: #15803d; font-weight: 600; white-space: nowrap; }
td.non { color: #b91c1c; font-weight: 600; white-space: nowrap; }

.note {
    background: var(--accent-tint);
    border: 1px solid #ffd9c9;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin: 1.4rem 0;
}
.note p { margin: 0; font-size: .95rem; }
.note p + p { margin-top: .6rem; }

/* Le produit arrive en fin de page, apres la reponse, jamais avant. */
.fin {
    margin: 3rem 0 0;
    padding: 1.4rem 1.5rem;
    background: #000;
    color: #cfcbc6;
    border-radius: 16px;
}
.fin h2 { color: #fff; margin: 0 0 .5rem; font-size: 1.15rem; }
.fin p { color: #cfcbc6; margin: 0 0 1rem; font-size: .95rem; }
.fin a.btn {
    display: inline-block; background: var(--accent); color: #fff;
    text-decoration: none; font-weight: 600; font-size: .95rem;
    padding: .75rem 1.2rem; border-radius: 12px;
}
.fin a.btn:hover { background: var(--accent-deep); }

.suite { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.suite h2 { font-size: 1rem; margin: 0 0 .7rem; }
.suite ul { list-style: none; padding: 0; margin: 0; }
.suite li { margin-bottom: .45rem; }

.pied {
    border-top: 1px solid var(--line);
    margin-top: 2.5rem; padding-top: 1.2rem;
    font-size: .84rem; color: var(--muted);
    display: flex; flex-wrap: wrap; gap: 1rem;
}
.pied a { color: var(--muted); }

@media (max-width: 480px) {
    .wrap { padding-top: 1.6rem; }
    .lead p { font-size: 1rem; }
}
