/* =========================================================
   TECH LOBAMA SERVICES — SYSTÈME DE DESIGN
   -----------------------------------------------------------
   Palette : navy de marque existant + or "piste de circuit"
   (rappel des pistes dorées des cartes électroniques et du
   soleil des panneaux solaires — les deux métiers "techniques"
   phares de l'entreprise).
   Typo : Space Grotesk (titres, caractère technique/anguleux),
   IBM Plex Sans (texte courant), IBM Plex Mono (labels, prix,
   repères "data" — la famille Plex a été dessinée pour des
   usages techniques, cohérent avec Arduino/réseaux).
   ========================================================= */

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

:root{
    /* Couleurs */
    --ink:#0a1626;            /* fond sombre profond (hero, footer) */
    --navy:#0a1f44;           /* navy de marque */
    --navy-light:#123166;
    --navy-soft:#e7edf7;      /* fond bleu très clair pour cartes */
    --gold:#f0a202;           /* accent "piste de circuit / soleil" */
    --gold-soft:#ffd166;
    --paper:#f6f8fb;
    --white:#ffffff;
    --ink-text:#101a2b;
    --muted:#54617a;
    --line:#e1e7f0;
    --whatsapp:#25d366;
    --whatsapp-dark:#1da851;

    /* Typo */
    --font-display:'Space Grotesk', 'IBM Plex Sans', sans-serif;
    --font-body:'IBM Plex Sans', Arial, sans-serif;
    --font-mono:'IBM Plex Mono', monospace;

    /* Rythme */
    --radius:14px;
    --radius-sm:8px;
    --shadow-sm:0 2px 10px rgba(10,31,68,0.06);
    --shadow-md:0 12px 30px rgba(10,31,68,0.12);
    --shadow-gold:0 10px 24px rgba(240,162,2,0.25);
    --container:1180px;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
    font-family:var(--font-body);
    color:var(--ink-text);
    background:var(--white);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

a{ color:inherit; }

h1,h2,h3,h4{
    font-family:var(--font-display);
    line-height:1.15;
    letter-spacing:-0.01em;
    color:var(--navy);
}

.container{
    max-width:var(--container);
    margin:0 auto;
    padding:0 5%;
}

:focus-visible{
    outline:3px solid var(--gold);
    outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Eyebrow / labels techniques ---------- */
.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-family:var(--font-mono);
    font-size:12.5px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--gold);
    font-weight:600;
    margin-bottom:14px;
}
.eyebrow::before{
    content:"";
    width:18px;
    height:2px;
    background:var(--gold);
    display:inline-block;
}
.eyebrow.on-light{ color:#b8790a; }

/* ---------- Boutons ---------- */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 26px;
    border-radius:999px;
    text-decoration:none;
    font-family:var(--font-body);
    font-weight:600;
    font-size:15px;
    border:2px solid transparent;
    cursor:pointer;
    transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover{ transform:translateY(-2px); }

.btn-gold{
    background:var(--gold);
    color:var(--ink);
    box-shadow:var(--shadow-gold);
}
.btn-gold:hover{ background:var(--gold-soft); }

.btn-outline{
    background:transparent;
    border-color:rgba(255,255,255,0.5);
    color:var(--white);
}
.btn-outline:hover{ border-color:var(--white); background:rgba(255,255,255,0.08); }

.btn-outline-navy{
    background:transparent;
    border-color:var(--navy);
    color:var(--navy);
}
.btn-outline-navy:hover{ background:var(--navy); color:var(--white); }

.btn-whatsapp{
    background:var(--whatsapp);
    color:var(--white);
}
.btn-whatsapp:hover{ background:var(--whatsapp-dark); }

.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; flex-shrink:0; }

/* ---------- Header / Navigation ---------- */
header{
    background:rgba(10,22,38,0.92);
    backdrop-filter:blur(10px);
    color:var(--white);
    padding:14px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    width:100%;
    top:0;
    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo-container{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:var(--white);
}
.logo{
    height:42px;
    width:42px;
    border-radius:10px;
    object-fit:cover;
}
.logo-container .brand-name{
    font-family:var(--font-display);
    font-weight:700;
    font-size:17px;
    line-height:1.1;
}
.logo-container .brand-tag{
    display:block;
    font-family:var(--font-mono);
    font-size:10.5px;
    letter-spacing:0.1em;
    color:var(--gold-soft);
    text-transform:uppercase;
    margin-top:2px;
}

nav{
    display:flex;
    align-items:center;
    gap:28px;
}
nav a{
    color:rgba(255,255,255,0.85);
    text-decoration:none;
    font-size:14.5px;
    font-weight:500;
    position:relative;
    padding:6px 0;
    white-space:nowrap;
}
nav a::after{
    content:"";
    position:absolute;
    left:0; bottom:0;
    width:0;
    height:2px;
    background:var(--gold);
    transition:width 0.25s ease;
}
nav a:hover, nav a.active{ color:var(--white); }
nav a:hover::after, nav a.active::after{ width:100%; }

.nav-cta{
    background:var(--gold);
    color:var(--ink) !important;
    padding:9px 18px;
    border-radius:999px;
    font-weight:700 !important;
}
.nav-cta::after{ display:none; }
.nav-cta:hover{ background:var(--gold-soft); color:var(--ink) !important; }

.nav-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    padding:8px;
}
.nav-toggle span{
    width:24px; height:2px; background:var(--white); display:block;
}

@media (max-width:920px){
    nav{
        position:fixed;
        top:70px;
        right:0;
        height:calc(100vh - 70px);
        width:78%;
        max-width:320px;
        background:var(--ink);
        flex-direction:column;
        align-items:flex-start;
        padding:34px 28px;
        gap:22px;
        transform:translateX(100%);
        transition:transform 0.35s ease;
        border-left:1px solid rgba(255,255,255,0.08);
        overflow-y:auto;
    }
    nav.open{ transform:translateX(0); }
    .nav-toggle{ display:flex; }
    .nav-cta{ margin-top:6px; }
}

/* ---------- HERO ---------- */
.hero{
    position:relative;
    min-height:100vh;
    background:var(--ink);
    color:var(--white);
    overflow:hidden;
    display:flex;
    align-items:center;
    padding:130px 5% 60px;
}

.hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:50px;
    align-items:center;
    max-width:var(--container);
    margin:0 auto;
    width:100%;
}

.hero-copy h1{
    font-size:clamp(34px,4.6vw,58px);
    color:var(--white);
    margin-bottom:20px;
}
.hero-copy h1 span{ color:var(--gold); }

.hero-copy p{
    font-size:17px;
    color:rgba(255,255,255,0.78);
    max-width:520px;
    margin-bottom:30px;
}

.hero-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:36px;
}

.hero-trust{
    display:flex;
    flex-wrap:wrap;
    gap:22px;
}
.hero-trust div{
    font-family:var(--font-mono);
    font-size:12.5px;
    color:rgba(255,255,255,0.65);
    display:flex;
    align-items:center;
    gap:8px;
}
.hero-trust div::before{
    content:"";
    width:7px; height:7px;
    border-radius:50%;
    background:var(--gold);
    box-shadow:0 0 0 4px rgba(240,162,2,0.18);
}

/* Panneau illustré défilant */
.hero-panel{
    position:relative;
    border-radius:22px;
    overflow:hidden;
    background:linear-gradient(160deg,var(--navy-light),var(--ink) 75%);
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 30px 60px rgba(0,0,0,0.4);
    aspect-ratio:4/3.1;
}
.hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transform:translateX(24px);
    transition:opacity 0.7s ease, transform 0.7s ease;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
}
.hero-slide.active{ opacity:1; transform:translateX(0); }
.hero-slide svg{ position:absolute; inset:0; width:100%; height:100%; }

.hero-slide img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-slide-label{
    position:relative;
    z-index:2;
    padding:22px 24px;
    background:linear-gradient(to top, rgba(6,12,22,0.92), transparent);
}
.hero-slide-label .tag{
    font-family:var(--font-mono);
    font-size:11px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--gold-soft);
}
.hero-slide-label h3{
    color:var(--white);
    font-size:20px;
    margin-top:4px;
}

.hero-dots{
    position:absolute;
    z-index:3;
    top:18px;
    right:18px;
    display:flex;
    gap:7px;
}
.hero-dots button{
    width:8px; height:8px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,0.35);
    cursor:pointer;
    padding:0;
}
.hero-dots button.active{ background:var(--gold); width:22px; border-radius:4px; }

/* Fond piste de circuit (signature du site) */
.circuit-bg{
    position:absolute;
    inset:0;
    z-index:1;
    opacity:0.35;
    pointer-events:none;
}
.circuit-bg .trace{
    stroke:var(--gold);
    stroke-width:1.4;
    fill:none;
    stroke-dasharray:6 10;
    animation:trace-flow 12s linear infinite;
    opacity:0.55;
}
.circuit-bg .node{ fill:var(--gold); opacity:0.7; }
@keyframes trace-flow{
    to{ stroke-dashoffset:-320; }
}

@media (max-width:920px){
    .hero-grid{ grid-template-columns:1fr; }
    .hero{ padding-top:110px; }
}

/* ---------- Sections ---------- */
section{ padding:100px 5%; }
.section-inner{ max-width:var(--container); margin:0 auto; }

.section-head{
    max-width:640px;
    margin-bottom:52px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); margin-bottom:14px; }
.section-head p{ color:var(--muted); font-size:16px; }

.section-dark{ background:var(--ink); color:var(--white); }
.section-dark h2, .section-dark h3{ color:var(--white); }
.section-dark .section-head p{ color:rgba(255,255,255,0.68); }

.section-paper{ background:var(--paper); }

/* Séparateur "piste de circuit" entre sections */
.trace-divider{
    display:block;
    width:100%;
    height:34px;
}
.trace-divider path{ stroke:var(--line); stroke-width:1.5; fill:none; }
.trace-divider circle{ fill:var(--gold); }

/* ---------- Grilles génériques ---------- */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:920px){ .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr; } }

/* ---------- Icônes ---------- */
.icon-badge{
    width:56px; height:56px;
    border-radius:14px;
    background:var(--navy-soft);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    flex-shrink:0;
}
.icon-badge svg{ width:28px; height:28px; stroke:var(--navy); fill:none; stroke-width:1.7; }
.icon-badge.dark{ background:rgba(240,162,2,0.14); }
.icon-badge.dark svg{ stroke:var(--gold-soft); }

/* ---------- Cartes Services ---------- */
.service-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:30px 26px;
    transition:transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display:flex;
    flex-direction:column;
    height:100%;
}
.service-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-md);
    border-color:transparent;
}
.service-card h3{ font-size:19px; margin-bottom:10px; }
.service-card p{ color:var(--muted); font-size:14.5px; flex-grow:1; margin-bottom:18px; }
.service-card .card-link{
    font-family:var(--font-mono);
    font-size:12.5px;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--navy);
    font-weight:600;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:6px;
}
.service-card .card-link svg{ width:14px; height:14px; transition:transform 0.2s ease; }
.service-card:hover .card-link svg{ transform:translateX(4px); }

/* ---------- Pourquoi nous ---------- */
.why-item{ display:flex; gap:16px; }
.why-item .icon-badge{ margin-bottom:0; }
.why-item h4{ font-size:16.5px; margin-bottom:6px; }
.why-item p{ color:var(--muted); font-size:14.5px; }

/* ---------- Bande CTA Formation / Academy ---------- */
.promo-card{
    border-radius:var(--radius);
    padding:38px;
    position:relative;
    overflow:hidden;
    color:var(--white);
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    min-height:270px;
}
.promo-card.navy{ background:linear-gradient(135deg,var(--navy),var(--navy-light)); }
.promo-card.ink{ background:linear-gradient(135deg,#12203a,var(--ink)); }
.promo-card .eyebrow{ color:var(--gold-soft); }
.promo-card h3{ color:var(--white); font-size:24px; margin-bottom:10px; }
.promo-card p{ color:rgba(255,255,255,0.75); font-size:14.5px; margin-bottom:22px; max-width:400px; }
.promo-card .promo-icon{
    position:absolute;
    right:-20px; top:-20px;
    width:170px; height:170px;
    opacity:0.15;
}
.promo-card .promo-icon svg{ width:100%; height:100%; stroke:var(--white); fill:none; stroke-width:1; }

/* ---------- Réalisations (accueil, aperçu) ---------- */
.mini-site-card{
    border:1px solid var(--line);
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--white);
}
.mini-browser-bar{
    background:var(--paper);
    padding:10px 14px;
    display:flex;
    align-items:center;
    gap:8px;
    border-bottom:1px solid var(--line);
}
.mini-browser-bar span{ width:9px; height:9px; border-radius:50%; background:var(--line); }
.mini-browser-bar .url{
    font-family:var(--font-mono);
    font-size:11px;
    color:var(--muted);
    margin-left:8px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.mini-site-preview{
    height:150px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.mini-site-preview svg{ width:70%; height:70%; }
.mini-site-body{ padding:20px; }
.mini-site-body h4{ font-size:16px; margin-bottom:6px; }
.mini-site-body p{ font-size:13.5px; color:var(--muted); margin-bottom:14px; }
.mini-site-body a{
    font-family:var(--font-mono);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:0.06em;
    color:var(--navy);
    font-weight:600;
    text-decoration:none;
}

/* ---------- Contact / bande finale ---------- */
.contact-band{
    background:var(--navy);
    color:var(--white);
    border-radius:var(--radius);
    padding:50px 6%;
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:30px;
    align-items:center;
}
.contact-band h2{ color:var(--white); font-size:clamp(24px,3vw,32px); margin-bottom:12px; }
.contact-band p{ color:rgba(255,255,255,0.75); }
.contact-numbers{ display:flex; flex-direction:column; gap:10px; }
.contact-numbers a{
    font-family:var(--font-mono);
    font-size:15px;
    color:var(--white);
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:10px;
}
@media (max-width:800px){ .contact-band{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
footer{
    background:var(--ink);
    color:rgba(255,255,255,0.7);
    padding:60px 5% 26px;
}
.footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1.1fr;
    gap:36px;
    max-width:var(--container);
    margin:0 auto 40px;
}
.footer-brand .logo-container{ margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; color:rgba(255,255,255,0.55); max-width:280px; }
.footer-col h5{
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--gold-soft);
    margin-bottom:16px;
}
.footer-col a{
    display:block;
    color:rgba(255,255,255,0.68);
    text-decoration:none;
    font-size:14px;
    margin-bottom:11px;
}
.footer-col a:hover{ color:var(--white); }
.footer-social{ display:flex; gap:10px; margin-top:6px; flex-wrap:wrap; }
.footer-social a{
    width:36px; height:36px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.18);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:0;
}
.footer-social a svg{ width:16px; height:16px; fill:rgba(255,255,255,0.8); }
.footer-social a:hover{ background:var(--gold); border-color:var(--gold); }
.footer-social a:hover svg{ fill:var(--ink); }
.footer-bottom{
    max-width:var(--container);
    margin:0 auto;
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,0.1);
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
    font-size:12.5px;
    color:rgba(255,255,255,0.45);
}
@media (max-width:920px){
    .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
    .footer-grid{ grid-template-columns:1fr; }
}

/* ---------- WhatsApp flottant ---------- */
.whatsapp-float{
    position:fixed;
    bottom:22px;
    right:22px;
    z-index:900;
    background:var(--whatsapp);
    color:var(--white);
    width:58px; height:58px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    box-shadow:0 8px 22px rgba(37,211,102,0.45);
    transition:transform 0.25s ease;
}
.whatsapp-float:hover{ transform:scale(1.08); }
.whatsapp-float svg{ width:28px; height:28px; fill:var(--white); }

/* ---------- Reveal au scroll ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- Numérotation (étapes réelles / séquences) ---------- */
.step{
    display:flex;
    gap:20px;
    padding:26px 0;
    border-top:1px solid var(--line);
}
.step:first-child{ border-top:none; }
.step .num{
    font-family:var(--font-mono);
    font-size:14px;
    color:var(--gold);
    font-weight:600;
    flex-shrink:0;
    padding-top:2px;
}
.step h4{ font-size:17px; margin-bottom:6px; }
.step p{ color:var(--muted); font-size:14.5px; }

/* ---------- Page interne : petit hero ---------- */
.page-hero{
    background:var(--ink);
    color:var(--white);
    padding:150px 5% 70px;
    position:relative;
    overflow:hidden;
}
.page-hero .section-inner{ position:relative; z-index:2; }
.page-hero h1{ color:var(--white); font-size:clamp(30px,4vw,46px); margin-bottom:14px; }
.page-hero p{ color:rgba(255,255,255,0.72); max-width:560px; font-size:16px; }
.breadcrumb{
    font-family:var(--font-mono);
    font-size:12px;
    color:rgba(255,255,255,0.5);
    text-transform:uppercase;
    letter-spacing:0.08em;
    margin-bottom:16px;
}
.breadcrumb a{ color:rgba(255,255,255,0.5); text-decoration:none; }
.breadcrumb a:hover{ color:var(--gold-soft); }

/* ---------- Formation : bloc de détail par service ---------- */
.formation-block{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:50px;
    align-items:start;
    padding:64px 0;
    border-top:1px solid var(--line);
}
.formation-block:first-of-type{ border-top:none; padding-top:0; }
.formation-block .icon-badge{ width:64px; height:64px; }
.formation-block .icon-badge svg{ width:32px; height:32px; }
.formation-block h3{ font-size:25px; margin-bottom:12px; }
.formation-block .lede{ color:var(--muted); font-size:15.5px; margin-bottom:22px; }
.formation-meta{
    display:flex;
    gap:22px;
    flex-wrap:wrap;
    margin-bottom:22px;
}
.formation-meta div{
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--navy);
    background:var(--navy-soft);
    padding:7px 12px;
    border-radius:999px;
}
.formation-list{ list-style:none; }
.formation-list li{
    padding:10px 0 10px 26px;
    position:relative;
    font-size:14.5px;
    color:var(--ink-text);
    border-top:1px solid var(--line);
}
.formation-list li:first-child{ border-top:none; }
.formation-list li::before{
    content:"";
    position:absolute;
    left:0; top:17px;
    width:9px; height:9px;
    border-radius:2px;
    background:var(--gold);
    transform:rotate(45deg);
}
@media (max-width:860px){
    .formation-block{ grid-template-columns:1fr; gap:26px; }
}

/* ---------- Academy : livres ---------- */
.book-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:transform 0.3s ease, box-shadow 0.3s ease;
}
.book-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.book-cover{
    aspect-ratio:3/4;
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:22px;
    color:var(--white);
    overflow:hidden;
}
.book-cover::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35));
}
.book-cover .book-cat{
    font-family:var(--font-mono);
    font-size:10.5px;
    text-transform:uppercase;
    letter-spacing:0.1em;
    position:relative; z-index:2;
    opacity:0.85;
}
.book-cover .book-icon{ position:relative; z-index:2; width:34px; height:34px; opacity:0.9; }
.book-cover .book-icon svg{ width:100%; height:100%; stroke:var(--white); fill:none; stroke-width:1.5; }
.book-cover h4{
    position:relative; z-index:2;
    color:var(--white);
    font-size:19px;
    line-height:1.25;
}
.book-cover .book-pages{
    position:absolute;
    right:10px; top:0; bottom:0;
    width:14px;
    background:repeating-linear-gradient(180deg, rgba(255,255,255,0.5) 0 1px, transparent 1px 4px);
    opacity:0.5;
}
.book-info{ padding:20px 20px 22px; display:flex; flex-direction:column; flex-grow:1; }
.book-info p{ font-size:13.5px; color:var(--muted); flex-grow:1; margin-bottom:16px; }
.book-price-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:14px;
}
.book-price{ font-family:var(--font-mono); font-weight:600; color:var(--navy); font-size:16px; }
.book-format{
    font-family:var(--font-mono);
    font-size:10.5px;
    color:var(--muted);
    text-transform:uppercase;
    background:var(--paper);
    padding:4px 9px;
    border-radius:999px;
}

.academy-filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.cat-btn{
    background:var(--white);
    border:1.5px solid var(--line);
    color:var(--navy);
    padding:9px 18px;
    border-radius:999px;
    cursor:pointer;
    font-family:var(--font-body);
    font-size:13.5px;
    font-weight:500;
    transition:0.2s;
}
.cat-btn.active, .cat-btn:hover{ background:var(--navy); border-color:var(--navy); color:var(--white); }

/* ---------- Réseaux : réseaux sociaux ---------- */
.social-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:760px){ .social-grid{ grid-template-columns:1fr; } }
.social-card{
    display:flex;
    align-items:center;
    gap:16px;
    padding:22px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    text-decoration:none;
    transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.social-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.social-card .icon-badge{ margin-bottom:0; background:var(--sc-color,var(--navy-soft)); }
.social-card .icon-badge svg{ stroke:none; fill:var(--sc-fg,var(--navy)); width:24px; height:24px; }
.social-card h4{ font-size:16px; margin-bottom:3px; }
.social-card span{ font-family:var(--font-mono); font-size:12px; color:var(--muted); }

/* ---------- Réseaux : vidéos ---------- */
.video-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:920px){ .video-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .video-grid{ grid-template-columns:1fr; } }
.video-card{
    text-decoration:none;
    color:var(--ink-text);
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    overflow:hidden;
    transition:transform 0.25s ease, box-shadow 0.25s ease;
    display:block;
}
.video-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.video-thumb{
    aspect-ratio:9/16;
    background:linear-gradient(150deg,var(--navy),var(--ink));
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}
.video-thumb .play-btn{
    width:46px; height:46px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    border:1.5px solid rgba(255,255,255,0.5);
    display:flex; align-items:center; justify-content:center;
}
.video-thumb .play-btn svg{ width:16px; height:16px; fill:var(--white); margin-left:2px; }
.video-thumb .platform-badge{
    position:absolute;
    top:10px; left:10px;
    font-family:var(--font-mono);
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:0.06em;
    color:var(--white);
    background:rgba(0,0,0,0.4);
    padding:4px 8px;
    border-radius:999px;
}
.video-info{ padding:14px 16px; }
.video-info h4{ font-size:13.5px; font-weight:600; line-height:1.35; }

/* ---------- Réseaux : sites clients ---------- */
.clients-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:920px){ .clients-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .clients-grid{ grid-template-columns:1fr; } }

/* ---------- "Comment commander" (mono) ---------- */
.order-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:760px){ .order-steps{ grid-template-columns:1fr; } }
.order-step{ text-align:left; }
.order-step .num{
    font-family:var(--font-mono);
    font-size:34px;
    color:var(--gold);
    font-weight:600;
    display:block;
    margin-bottom:10px;
}
.order-step h4{ font-size:16.5px; margin-bottom:6px; }
.order-step p{ color:var(--muted); font-size:14px; }

.video-thumb img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}
/*.video-thumb.landscape{ aspect-ratio:16/9; } */

/* Garde le badge et le bouton play visibles au-dessus de la photo */
.video-thumb .platform-badge{ z-index:2; }
.video-thumb .play-btn{ position:relative; z-index:2; }
