/* ============================================================
   Twin Peak Lab — feuille de style
   Thème : Space Grotesk + IBM Plex Mono, palette ink/accent/paper.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    /* Familles */
    --font-sans: 'Space Grotesk', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    /* Couleurs */
    --ink:        #16191D;   /* texte principal / fonds sombres        */
    --accent:     #0FB5AC;   /* « Lab », liens, CTA, jumeau filaire     */
    --paper:      #FFFFFF;
    --paper-warm: #F7F6F3;
    --muted:      #5D6064;   /* texte secondaire                       */
    --line:       #ECECEC;   /* filets, séparateurs                    */

    /* Alias internes (compat) */
    --primary:      var(--accent);
    --accent-dark:  #0c9a92;
    --white:        #ffffff;

    --radius:    12px;
    --radius-sm: 8px;
    --maxw:      1120px;
}

/* ----- Reset léger --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--ink);
    line-height: 1.6;
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-sans); line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p  { margin: 0 0 1rem; }
em { font-style: normal; color: var(--accent); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ----- Données / valeurs en mono ------------------------- */
.data, .metric, code { font-family: var(--font-mono); letter-spacing: .02em; }

/* ----- Boutons ------------------------------------------- */
.btn {
    display: inline-block;
    padding: .8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-weight: 600;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ============================================================
   En-tête / navigation
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand-mark { height: 30px; width: auto; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.tpl-lab { color: var(--accent); }
/* Wordmark « Twin Peak Lab » inline dans la prose : Twin Peak encre gras + Lab accent gras */
.tpl { font-weight: 700; color: var(--ink); }
.tpl .tpl-lab { color: var(--accent); font-weight: 700; }
.nowrap { white-space: nowrap; }   /* garde un groupe de mots sur une seule ligne (ex. « l'application Twin Peak Lab ») */
.brand-sub { font-family: var(--font-mono); font-weight: 400; font-size: .66rem; letter-spacing: .04em; color: var(--muted); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a.active { color: var(--accent); }
.site-nav .btn { padding: .55rem 1.2rem; }
.site-nav .btn-primary { color: #fff; }
.site-nav .btn-primary:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-weight: 500; font-size: .8rem; }
.lang-switch a, .lang-switch span { padding: 4px 7px; border-radius: 6px; line-height: 1; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--accent); text-decoration: none; }
.lang-switch [aria-current="page"] { color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 0; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 92px 0; }
.section-alt { background: var(--paper-warm); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Sur-titre / label « rapport de labo » — mono, espacé */
.eyebrow, .label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 500;
    letter-spacing: .26em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 1rem;
}


/* ============================================================
   Hero — planche claire (paper), texte encre
   ============================================================ */
.hero { background: var(--paper-warm); color: var(--ink); padding: 100px 0; border-bottom: 1px solid var(--line); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 520px; margin: 1rem 0 2rem; }
.hero .hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; }
.hero-logo { width: 100%; max-width: 260px; height: auto; }

/* ============================================================
   Cartes / grilles — à plat
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color .18s ease;
}
.card:hover { border-color: #d8d8d3; }
.card .icon {
    width: 48px; height: 48px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--paper-warm); color: var(--accent); margin-bottom: 18px;
}
.section-alt .card .icon { background: #eeeeea; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; }
.card .card-cta { margin-top: 28px; }

.audience-tag {
    display: inline-block; font-family: var(--font-mono);
    font-size: .68rem; font-weight: 500; letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent);
    border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px;
}

/* ----- Sélecteur de profil « Pour qui » (onglets) -------- */
.profiles { max-width: 860px; margin: 0 auto; }
.profile-tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-bottom: 26px; }
.profile-tabs-label { width: 100%; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.profile-tab {
    font-family: var(--font-sans); font-weight: 600; font-size: .95rem;
    padding: .55rem 1.2rem; border: 1.5px solid var(--line); border-radius: 999px;
    background: var(--paper); color: var(--ink); cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.profile-tab:hover { border-color: var(--ink); }
.profile-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.profile-panel { display: none; }
.profile-panel.active { display: block; animation: profile-fade .25s ease; }
.profile-panel p { color: var(--muted); margin: 0 0 1rem; }
.profile-panel .audience-tag { margin-bottom: 12px; }
.profile-panel .checklist { margin: 1.1rem 0 0; }
.profile-goal { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.profile-goal strong { color: var(--ink); }
@keyframes profile-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Bloc "split" texte + visuel
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media {
    background: var(--paper-warm); border-radius: var(--radius);
    min-height: 300px; display: flex; align-items: center; justify-content: center;
    color: var(--muted); border: 1px dashed #d9d9d2; text-align: center; padding: 20px;
}

.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .7rem; color: var(--ink); }
.checklist li::before {
    content: ""; position: absolute; left: 3px; top: .4em;
    width: 13px; height: 7px; border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ============================================================
   Déroulement — séquence numérotée verticale (page Profiling)
   ============================================================ */
.steps { max-width: 760px; margin: 0 auto; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 26px; }
.step-marker { display: flex; flex-direction: column; align-items: center; }
.step-num {
    width: 46px; height: 46px; flex: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 600; font-size: 1.02rem;
    background: var(--ink); color: #fff;
}
.step-line { flex: 1 0 auto; width: 2px; background: var(--line); margin-top: 8px; }
.step:last-child .step-line { display: none; }
.step-body { padding-bottom: 34px; }
.step:last-child .step-body { padding-bottom: 0; }
.step-body h3 { margin-bottom: .4rem; }
.step-body p { color: var(--muted); margin: 0; }
.step-tag {
    display: inline-block; font-family: var(--font-mono); font-size: .66rem;
    font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 9px;
}
.step-body .checklist { margin-top: .8rem; }
/* Étape passerelle (4b) → l'application : intégrée mais visuellement distincte */
.step-bridge .step-num { background: var(--paper); color: var(--accent); border: 2px dashed var(--accent); }
.section-alt .step-bridge .step-num { background: var(--paper-warm); }
.step-bridge .step-body {
    background: var(--paper-warm); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 20px 22px; margin-top: -2px;
}
.section-alt .step-bridge .step-body { background: #eeeeea; }
.step-bridge .step-body p { margin-bottom: .8rem; }
.step-bridge .step-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Bloc certification / bio
   ============================================================ */
.credential {
    display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
    background: var(--paper-warm); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px 28px;
}
.credential a { display: inline-flex; flex: none; line-height: 0; }
.credential a:hover { opacity: .82; }
.credential img { width: 92px; height: 92px; flex: none; }
.credential .cred-txt { flex: 1; min-width: 220px; }
.credential .cred-txt strong { display: block; font-size: 1.08rem; color: var(--ink); }
.credential .cred-txt span { color: var(--muted); }

/* ============================================================
   Encart d'information
   ============================================================ */
.note-box {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--paper-warm); border: 1px solid var(--line); color: var(--ink);
    border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 22px; font-size: .95rem;
}
.note-box svg { width: 22px; height: 22px; flex: none; stroke: var(--accent); }
.section-alt .note-box { background: var(--paper); }

/* ============================================================
   Prose longue (page A propos) — colonne de lecture + question en exergue
   ============================================================ */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1, .prose h2 { margin-bottom: 1rem; }
.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose .q { font-size: 1.2rem; font-weight: 600; line-height: 1.4; color: var(--accent); margin: 1.6rem 0; }

/* ============================================================
   Accordion « Pour aller plus loin » (page À propos)
   <details>/<summary> natifs, stylés à la charte. Contenu indexable.
   ============================================================ */
.accordion { max-width: 720px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 14px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc-item[open] { border-color: #cfece9; box-shadow: 0 14px 34px -20px rgba(22,25,29,.3); }
.acc-head { list-style: none; cursor: pointer; padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; column-gap: 18px; row-gap: 5px; align-items: center; }
.acc-head::-webkit-details-marker { display: none; }
.acc-head:hover .acc-title { color: var(--accent); }
.acc-eyebrow { grid-column: 1; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.acc-title { grid-column: 1; font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; color: var(--ink); transition: color .15s; }
.acc-teaser { grid-column: 1; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.acc-chevron { grid-column: 2; grid-row: 1 / span 3; width: 24px; height: 24px; color: var(--muted); transition: transform .25s, color .15s; }
.acc-item[open] .acc-chevron { transform: rotate(180deg); color: var(--accent); }
.acc-item[open] .acc-title { color: var(--accent); }
.acc-body { padding: 4px 24px 24px; }
.acc-body.prose { margin: 0; max-width: none; }
@media (max-width: 640px){
    .acc-head { padding: 18px 18px; }
    .acc-body { padding: 2px 18px 20px; }
    .acc-title { font-size: 1.15rem; }
}

/* ============================================================
   Appel à l'action — bandeau encre
   ============================================================ */
.cta {
    background: var(--ink); color: #fff;
    border-radius: var(--radius); padding: 60px; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #b4bbc0; max-width: 540px; margin: 0 auto 1.8rem; }
.cta .tpl { color: #fff; }   /* wordmark lisible sur fond encre : "Twin Peak" blanc, "Lab" accent */
.cta .btn-primary { background: var(--accent); color: var(--ink); }
.cta .btn-primary:hover { background: var(--accent-dark); color: var(--ink); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.cta-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   Mon approche — bandeau encre (apercu differenciant -> A propos)
   ============================================================ */
.approach { background: var(--ink); color: #c7ccd1; }
.approach .eyebrow { color: var(--accent); }
.approach h2 { color: #fff; }
.approach p { color: #c7ccd1; }
.approach em { color: var(--accent); }
.approach .approach-sign { font-size: .92rem; line-height: 1.5; color: #9aa0a6; margin-top: 1.7rem; }
.approach .approach-more { margin-top: .9rem; }
.approach .approach-more a {
    font-family: var(--font-mono); font-size: .8rem;
    letter-spacing: .06em; color: var(--accent);
}
.approach .approach-more a:hover { color: #fff; }

/* ============================================================
   Formulaires
   ============================================================ */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; scroll-margin-top: 90px; }
.form-card h2 { font-size: 1.35rem; }
.form-card .lead { color: var(--muted); margin-bottom: 1.4rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line);
    border-radius: var(--radius-sm); font: inherit; font-family: var(--font-sans);
    color: var(--ink); background: var(--paper);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,181,172,.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok  { color: #0c8f57; }
.form-status.err { color: #c0392b; }
.check-group { display: grid; gap: 10px; margin-top: 2px; }
.check-group label { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; cursor: pointer; }
.check-group input { width: auto; flex: none; margin: 0; position: relative; top: 1px; accent-color: var(--accent); }

/* ============================================================
   Pied de page — encre
   ============================================================ */
.site-footer { background: var(--ink); color: #9aa0a6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #7f868c; margin: 0 0 16px; }
.site-footer a { color: #9aa0a6; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-sub { color: #7f868c; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-cred { margin-bottom: 16px; }
.footer-cred strong { display: block; color: #fff; font-weight: 400; }
.footer-cred a { display: inline-block; margin-top: 3px; color: #9aa0a6; }
.footer-cred a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid #2a2e33; color: #9aa0a6;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); background: rgba(15, 181, 172, .08); }
.footer-social svg { width: 19px; height: 19px; display: block; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: .9rem; color: #71777d;
}

/* Pipeline « Votre signature -> Vos activités -> Optimisation » (3 étapes reliées) */
.feature-pipeline { display: flex; align-items: stretch; gap: 0; }
.feature-pipeline .pipe-step { flex: 1; }
.feature-pipeline .pipe-step h3 { margin-top: 12px; }
.flow-arrow { flex: none; display: flex; align-items: center; padding: 0 18px; color: var(--accent); }
.flow-arrow svg { width: 28px; height: 28px; }
.flow-tag { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }

/* Séparateur « et aussi » entre la séquence et les cartes annexes */
.features-also { display: flex; align-items: center; gap: 16px; margin: 44px 0 24px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.features-also::before, .features-also::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .hero .hero-inner { grid-template-columns: 1fr; }
    .hero-art { order: -1; }
    .hero-logo { max-width: 200px; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .split, .form-wrap { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature-pipeline { flex-direction: column; }
    .feature-pipeline .flow-arrow { padding: 12px 0; justify-content: center; }
    .feature-pipeline .flow-arrow svg { transform: rotate(90deg); }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        position: absolute; top: 74px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: 8px 24px 20px; display: none;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .site-nav .btn { text-align: center; margin-top: 12px; }
    .grid-3, .grid-2, .footer-grid, .field-row { grid-template-columns: 1fr; }
    .card-cta .btn { display: block; text-align: center; }
    .footer-grid > div:nth-child(3) .footer-links a { overflow-wrap: anywhere; }
    .footer-grid > div:nth-child(2) .footer-links { line-height: 2; }
    .footer-grid > div:nth-child(2) .footer-links li { display: inline; margin: 0; }
    .footer-grid > div:nth-child(2) .footer-links a { white-space: nowrap; }
    .footer-grid > div:nth-child(2) .footer-links li:not(:last-child)::after { content: "\00B7"; margin: 0 .5em; color: #5b6066; }
    .step { gap: 18px; }
    .step-num { width: 40px; height: 40px; }
    .cta { padding: 40px 24px; }
}

/* ============================================================
   Composant « Signature métabolique » (page Profiling)
   Référence de design hifi, tout préfixé .tpm- (pas de collision).
   ============================================================ */
.tpm-root {
    --accent-dk:#0E6F69;
    --sans:var(--font-sans); --mono:var(--font-mono);
    font-family:var(--sans); color:var(--ink); -webkit-font-smoothing:antialiased;
    max-width:1100px; margin:0 auto; padding:8px;
}
.tpm-root *, .tpm-root *::before, .tpm-root *::after { box-sizing:border-box; }

/* Bascule langue interne retiree : la langue est pilotee par <html lang> */

/* Smartphone */
.tpm-phone { width:250px; margin:0 auto; }
.tpm-phone-bezel { background:var(--ink); border-radius:34px; padding:9px; box-shadow:0 22px 50px -18px rgba(22,25,29,.5); }
.tpm-phone-screen { background:var(--paper); border-radius:26px; overflow:hidden; position:relative; }
.tpm-phone-notch { position:absolute; top:9px; left:50%; transform:translateX(-50%); width:84px; height:17px; background:var(--ink); border-radius:0 0 12px 12px; z-index:3; }
.tpm-phone-inner { padding:30px 15px 18px; }
.tpm-phone-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.tpm-phone-top .wm { font-weight:700; font-size:12px; }
.tpm-phone-top .wm .lab { color:var(--accent); }
.tpm-phone-title { font-weight:600; font-size:14px; margin-bottom:9px; }
.tpm-phone-seg { display:flex; gap:4px; margin-bottom:10px; }
.tpm-phone-seg button { flex:1; font-family:var(--mono); font-size:9px; letter-spacing:.04em; padding:5px 0; border-radius:999px; cursor:pointer; background:var(--paper); color:var(--muted); border:1px solid var(--line); white-space:nowrap; }
.tpm-phone-seg button.is-active { background:var(--ink); color:#fff; border-color:var(--ink); }
.tpm-phone-chartbox { background:var(--paper-warm); border:1px solid var(--line); border-radius:10px; padding:10px; margin-bottom:10px; }
.tpm-phone-metrics { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-bottom:10px; }
.tpm-phone-metric { background:var(--paper); border:1px solid var(--line); border-radius:8px; padding:8px 9px; text-align:center; }
.tpm-phone-metric .ml { font-family:var(--mono); font-size:8px; letter-spacing:.06em; color:var(--muted); text-transform:uppercase; }
.tpm-phone-metric .mv { font-weight:700; font-size:17px; line-height:1.05; }
.tpm-phone-metric .mu { font-family:var(--mono); font-size:7.5px; color:var(--muted); margin-top:1px; }
.tpm-phone-metric .mh { font-family:var(--mono); font-size:7.5px; color:var(--accent); margin-top:3px; }
.tpm-phone-zones { display:flex; flex-direction:column; gap:5px; }
.tpm-phone-zone { display:flex; align-items:center; gap:8px; }
.tpm-phone-zone .sq { width:9px; height:9px; border-radius:2px; flex:none; }
.tpm-phone-zone .nm { font-size:11px; font-weight:500; flex:1; }
.tpm-phone-zone .rg { font-family:var(--mono); font-size:9px; color:var(--muted); }

/* Disposition « Le livrable » : texte à gauche (étroit), visuel à droite */
.livrable-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,340px); gap:48px; align-items:center; }
@media (max-width:900px){ .livrable-grid { grid-template-columns:1fr; gap:36px; } }
