/* Lynakor — page /audit-de-processus */
/* Scopé body.page-audit : n'affecte aucune autre page. */

/* ─── Hero : visuel en vis-à-vis du texte ──────────────────────────────
   Même gabarit que /developpement-sur-mesure et /methodologie : texte à
   gauche, visuel détouré à droite, colonne visuelle large. */

/* `lyn-atelier.css` définit `body.theme-atelier .lyn-hero` à specificité égale :
   on monte d'un cran pour que ces règles l'emportent de façon certaine,
   quel que soit l'ordre de chargement des feuilles. */
body.theme-atelier.page-audit .audit-hero {
    display: grid;
    grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.6fr);
    gap: clamp(1.5rem, 2.8vw, 2.5rem);
    padding: 1.5rem 0 2.5rem;
    align-items: center;
    overflow: visible;
}

body.theme-atelier.page-audit .audit-hero h1 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

body.theme-atelier.page-audit .audit-hero-visual {
    display: flex;
    width: 100%;
    padding: 0;
    margin-top: 0;
    overflow: visible;
    background: none;
}

body.theme-atelier.page-audit .audit-hero-visual picture {
    display: block;
    width: 100%;
}

/* Visuel détouré sur fond transparent : ni cadre, ni ombre portée. */
body.theme-atelier.page-audit .audit-hero-visual img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    border: 0;
    border-radius: 0;
}

@media (max-width: 980px) {
    body.theme-atelier.page-audit .audit-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 0 2rem;
    }
    /* Ce visuel porte le sens de l'offre : il reste affiché sur mobile. */
    body.theme-atelier.page-audit .audit-hero-visual { display: flex; }
}

/* ─── Bloc « coûts visibles / coûts cachés » ────────────────────────── */

body.page-audit .audit-iceberg {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1.25rem;
    margin-top: 2rem;
    align-items: start;
}

body.page-audit .audit-iceberg__part {
    border-radius: 16px;
    padding: clamp(1.4rem, 2.6vw, 2rem);
    border: 1px solid var(--pub-border);
}

body.page-audit .audit-iceberg__part--visible {
    background: var(--pub-card);
}

/* Les coûts cachés : contraste inversé — c'est le message central. */
body.page-audit .audit-iceberg__part--caches {
    background: var(--pub-accent);
    border-color: var(--pub-accent-strong);
    color: #ffffff;
}

body.page-audit .audit-iceberg__part header {
    padding-bottom: 1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--pub-border);
}

body.page-audit .audit-iceberg__part--caches header {
    border-bottom-color: rgba(255, 255, 255, 0.28);
}

body.page-audit .audit-iceberg__kicker {
    margin: 0 0 0.25rem;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.9vw, 1.25rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--pub-text);
}

body.page-audit .audit-iceberg__part--caches .audit-iceberg__kicker {
    color: #ffffff;
}

body.page-audit .audit-iceberg__note {
    margin: 0 0 0.9rem;
    font-size: 0.82rem;
    color: var(--pub-text-dim);
}

body.page-audit .audit-iceberg__part--caches .audit-iceberg__note {
    color: rgba(255, 255, 255, 0.72);
}

body.page-audit .audit-iceberg__ratio {
    margin: 0;
    font-size: 0.88rem;
    color: var(--pub-text-muted);
}

body.page-audit .audit-iceberg__part--caches .audit-iceberg__ratio {
    color: rgba(255, 255, 255, 0.82);
}

body.page-audit .audit-iceberg__ratio strong {
    display: block;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--pub-accent);
}

body.page-audit .audit-iceberg__part--caches .audit-iceberg__ratio strong {
    color: #ffffff;
}

body.page-audit .audit-iceberg__part ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

body.page-audit .audit-iceberg__part li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--pub-text-muted);
}

body.page-audit .audit-iceberg__part li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pub-accent);
}

body.page-audit .audit-iceberg__part--caches li {
    color: rgba(255, 255, 255, 0.92);
}

body.page-audit .audit-iceberg__part--caches li::before {
    background: rgba(255, 255, 255, 0.75);
}

body.page-audit .audit-iceberg__source {
    margin: 1.25rem 0 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--pub-text-dim);
}

@media (max-width: 860px) {
    body.page-audit .audit-iceberg {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   Bloc de preuve « Ce qu'un audit de 5 jours a produit »
   Partagé avec la landing (/audit-processus) via partials/audit-case.html.twig
   ===================================================================== */

body.page-audit .lp-case {
    margin: 0;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: var(--pub-card);
    border: 1px solid var(--pub-border);
    border-radius: var(--r-2xl, 16px);
}

body.page-audit .lp-case__title {
    margin: 0.6rem 0 0;
    color: var(--pub-text);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

body.page-audit .lp-case__note {
    max-width: 46rem;
    margin: 0.75rem 0 0;
    color: var(--pub-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

body.page-audit .lp-proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.9rem 0 0;
    padding: 0;
    list-style: none;
}

body.page-audit .lp-proof li {
    display: grid;
    gap: 0.3rem;
    align-content: start;
    padding: 1.25rem 1.1rem;
    background: #fff;
    border: 1px solid var(--pub-border);
    border-top: 3px solid var(--pub-accent);
    border-radius: 12px;
}

body.page-audit .lp-proof strong {
    color: var(--pub-accent);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

body.page-audit .lp-proof span {
    margin-top: 0.15rem;
    color: var(--pub-text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

body.page-audit .lp-case__outcome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 1.15rem 1.35rem;
    background: var(--pub-accent);
    border-radius: 12px;
    color: #fff;
    font-size: clamp(1.05rem, 1.9vw, 1.25rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}

body.page-audit .lp-case__outcome-label {
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 860px) {
    body.page-audit .lp-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    body.page-audit .lp-proof { grid-template-columns: 1fr; }
}


/* Hero : sur-titre (mot-clé SEO) à l'intérieur du H1 */
body.theme-atelier.page-audit .audit-hero h1 .audit-hero__eyebrow {
    display: inline-flex;
    margin: 0 0 1.1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0;
}
body.theme-atelier.page-audit .audit-hero h1 .audit-hero__headline {
    display: block;
}
body.theme-atelier.page-audit .audit-hero__livrables {
    margin: 1rem 0 0;
    font-size: 0.95rem;
}
body.theme-atelier.page-audit .audit-hero__elykor {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: var(--pub-text-muted);
}
