/* ============================================================
   AZMK · thème « HUD clair » des pages d'avis (/avis, /avis/<client>,
   annuaire interne). Validé par Mikael le 2026-10-01 (variante 2A + 3·i).

   Dérivé de la DA vidéo azmk-studio/video-inserts/templates/hud-v2 :
   Rajdhani + IBM Plex Mono, panneaux chanfreinés, lignes 1 px, aucune
   ombre, aucun arrondi, aucune capitale interlettrée, un seul accent
   ambre, brique pour le négatif. Palette claire « Pierre » : fond pierre
   chaude, panneaux ivoire gris, encre vert-noir.

   Le contraste clair / sombre ne sert qu'à une chose : l'en-tête d'une
   section (hero, tête de section, bandeau CTA). Jamais une carte, jamais
   une case : un seul pavé sombre à la fois à l'écran.

   Ce fichier se charge APRÈS /style.css (charte Elegant Editorial, partagée
   avec les autres sites) et ne redéfinit que ce que ces pages affichent.
   Les autres pages du domaine (récap d'offre, simulateur) ne le chargent
   pas et gardent la charte d'origine.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --font-body: 'Rajdhani', -apple-system, sans-serif;
    --font-heading: 'Rajdhani', -apple-system, sans-serif;
    --font-serif: 'Rajdhani', -apple-system, sans-serif;
    --font-tech: 'IBM Plex Mono', 'Courier New', monospace;

    --bg-primary: #E2DFD8;
    --bg-secondary: #F4F2EC;
    --bg-tertiary: #EAE7E0;
    --bg-hover: rgba(23, 27, 24, 0.06);
    --panel: #F4F2EC;
    --panel-2: #EAE7E0;
    --line: rgba(23, 27, 24, 0.30);
    --line-soft: rgba(23, 27, 24, 0.14);
    --border-primary: rgba(23, 27, 24, 0.30);
    --border-secondary: rgba(23, 27, 24, 0.14);

    --text-primary: #171b18;
    --text-secondary: #4C514B;
    --text-muted: #7E827C;

    --amber: #C98A12;        /* safran, sur fond clair (texte, traits, pastilles) */
    --amber-bright: #F2B63A; /* safran, sur fond sombre (CTA du hero, flèche, chiffres) */
    --neg: #B5452F;
    --accent: #171b18;
    --accent-yellow: #C98A12;
    --accent-yellow-hover: #A8720E;
    --error: #B5452F;

    /* Panneau sombre (en-têtes de section uniquement) */
    --dark: #171b18;
    --dark-2: #1d221e;
    --dark-text: #e4e2d6;
    --dark-muted: rgba(228, 226, 214, 0.62);
    --dark-line: rgba(228, 226, 214, 0.28);

    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --chamfer: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    --chamfer-in: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
    --chamfer-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

body { background: var(--bg-primary); color: var(--text-primary); font-weight: 500; }

/* ---------- Typographie : pas de capitales interlettrées, pas de serif ---------- */
.section-title { font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.section-title em, .avis-hero-title em, .parcours-title em, .cta-band-title em { font-style: normal; color: var(--amber); }
.section-lead { font-weight: 500; }
.section-eyebrow, .spot-eyebrow, .spot-name, .card-name, .card-more, .clip-theme, .clip-name,
.spot-journey-label, .avis-legal-title, .promise-line em, .btn-primary, .btn-ghost, .chip,
.dir-name, .dir-clip-theme, .dir-btn, .dir-clips summary, .parcours-eyebrow, .dossier-ref-k,
.fact-k, .dossier-verified, .pill, .parcours-how-k, .parcours-stats dt {
    text-transform: none; letter-spacing: 0;
}
.section-eyebrow, .spot-eyebrow, .parcours-eyebrow { font-family: var(--font-tech); font-weight: 400; font-size: 13px; color: var(--text-secondary); }
.section-eyebrow::before, .spot-eyebrow::before, .parcours-eyebrow::before { content: "▸ "; color: var(--amber); }
.card-name, .spot-name, .clip-name, .dir-name { font-family: var(--font-body); font-weight: 700; font-size: 15px; }
.card-more, .clip-theme, .spot-journey-label, .dir-clip-theme { font-family: var(--font-tech); font-weight: 400; font-size: 12px; }

/* ---------- Boutons : chanfrein DESSINÉ, pas découpé ----------
   Un clip-path seul coupe le coin et emporte la bordure avec lui : le coin
   paraît manquant. Ici le bouton est un calque « trait » (sa couleur de
   fond est la couleur du trait, clippé au chanfrein), et un pseudo-élément
   1 px à l'intérieur porte le fond, clippé au même chanfrein réduit. Le
   trait suit donc le coin cassé. Même technique que les dossiers. */
.btn-primary, .btn-ghost, .dir-btn, .chip {
    position: relative; isolation: isolate; border: 0; border-radius: 0;
    font-family: var(--font-body); font-weight: 700; font-size: 15px;
    clip-path: var(--chamfer-sm);
    --btn-stroke: var(--line); --btn-fill: var(--panel); --btn-ink: var(--text-primary);
    background: var(--btn-stroke); color: var(--btn-ink);
}
.btn-primary::before, .btn-ghost::before, .dir-btn::before, .chip::before {
    content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--btn-fill);
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.btn-primary { --btn-stroke: var(--text-primary); --btn-fill: var(--text-primary); --btn-ink: var(--dark-text); }
.btn-primary:hover { transform: none; opacity: 1; --btn-fill: var(--dark-2); }
.btn-ghost:hover, .dir-btn:hover, .chip:hover { --btn-fill: var(--bg-tertiary); }
.chip { padding: 8px 14px; --btn-ink: var(--text-secondary); }
.chip.is-active, .chip[aria-pressed="true"] { --btn-stroke: var(--text-primary); --btn-fill: var(--text-primary); --btn-ink: var(--dark-text); }
.btn-primary .ico, .btn-ghost .ico, .dir-btn .ico, .card-more .ico, .other-more .ico { margin-left: 2px; }

/* ---------- Pavés sombres : hero, bandeau CTA, tête de section ---------- */
.avis-hero { background: var(--dark); color: var(--dark-text); }
.avis-hero-title { font-weight: 600; letter-spacing: -0.01em; }
.avis-hero .avis-hero-title { color: var(--dark-text); }
.avis-hero-lead { color: var(--dark-muted); font-weight: 500; }
.avis-hero .btn-ghost { --btn-stroke: var(--dark-line); --btn-fill: var(--dark); --btn-ink: var(--dark-text); }
.avis-hero .btn-ghost:hover { --btn-fill: var(--dark-2); }
.avis-hero .btn-primary, .cta-band .btn-primary, .sticky-cta .btn-primary { --btn-stroke: var(--amber-bright); --btn-fill: var(--amber-bright); --btn-ink: var(--dark); }
.avis-hero .btn-primary:hover, .cta-band .btn-primary:hover, .sticky-cta .btn-primary:hover { --btn-fill: var(--amber-bright); opacity: .92; }
.promise-band { background: var(--bg-tertiary); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise-line em { color: var(--text-primary); font-family: var(--font-body); font-weight: 700; font-size: 17px; }
.promise-dot { background: var(--amber); }
.cta-band { background: var(--dark); color: var(--dark-text); }
.cta-band-title { color: var(--dark-text); font-weight: 600; }
.cta-band-lead, .cta-band-note { color: var(--dark-muted); }
.sticky-cta { background: var(--dark); color: var(--dark-text); border-top: 1px solid var(--dark-line); box-shadow: none; }

/* ---------- Panneaux clairs : spotlight, cartes, extraits, FAQ ---------- */
.spotlight { background: var(--bg-primary); border-color: var(--line); }
.spot-quote p { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }
.spot-quote p::before, .spot-quote p::after, .card-quote p::before, .card-quote p::after { content: none; }
.spot-journey { border-top-color: var(--line); }
.spot-journey-label { color: var(--text-muted); }
.spot-journey-step.is-after .spot-journey-label { color: var(--amber); }
.spot-journey-arrow { color: var(--amber); }
.tile { border-radius: 0; border: 0; padding: 1px; background: var(--line); clip-path: var(--chamfer); }
.tile-img { clip-path: var(--chamfer-in); }
.tile:hover, .tile:focus-visible { transform: none; }
.tile-play { border-radius: 0; background: var(--dark); color: var(--amber-bright); box-shadow: none; clip-path: var(--chamfer-sm); }
.tile:hover .tile-play { transform: translate(-50%, -50%); }
.card, .clip, .faq-item, .anon-notice, .avis-legal-inner {
    border-radius: 0; border-color: var(--line); background: var(--panel); box-shadow: none;
}
.card { clip-path: var(--chamfer); }
.card .tile, .clip .tile { clip-path: none; padding: 0; background: transparent; border-bottom: 1px solid var(--line); }
.card .tile-img, .clip .tile-img { clip-path: none; }
.spot-journey-arrow .ico { width: 22px; height: 22px; }
.card-quote p { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; line-height: 1.38; }
.card-result { border-top-color: var(--line-soft); font-weight: 500; }
.card-more { color: var(--amber); }
.clip-theme { background: transparent; border: 1px solid var(--line-soft); color: var(--text-secondary); padding: 3px 8px; }
.clip-topic { font-family: var(--font-body); font-weight: 700; }
.clip-verbatim { font-weight: 500; }
.anon-notice { border-left: 2px solid var(--amber); background: var(--panel-2); font-weight: 500; }
.faq-item summary { font-family: var(--font-body); font-weight: 700; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.avis-legal { background: var(--bg-tertiary); border-top: 1px solid var(--line); }
.avis-legal-title { font-family: var(--font-tech); font-weight: 400; color: var(--text-secondary); }
.home-footer { background: var(--dark); color: var(--dark-text); border-top: 0; }
.home-footer a { color: var(--dark-text); }
.home-footer-brand { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.progress-bar { background: var(--amber-bright); }
.lb-dialog { border-radius: 0; }
.lb-close { border-radius: 0; }

/* ---------- Annuaire interne ---------- */
.dir-card { border-radius: 0; border-color: var(--line); background: var(--panel); clip-path: var(--chamfer); box-shadow: none; }
.dir-photo { border-radius: 0; clip-path: var(--chamfer-sm); }
.dir-tools { background: var(--bg-primary); border-bottom-color: var(--line); }
.dir-search { border-radius: 0; border: 1px solid var(--line); background: var(--panel); font-family: var(--font-body); font-weight: 500; font-size: 16px; }
.dir-search:focus { outline: 2px solid var(--amber); outline-offset: 0; }
.dir-note { background: var(--bg-tertiary); border-left: 2px solid var(--amber); font-weight: 500; }
.dir-btn { padding: 7px 12px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.dir-clips { border-top-color: var(--line-soft); }
.dir-h2 { font-family: var(--font-body); font-weight: 600; }
