/* ============================================================
   STÉPHANE DELGADO – Consultant Marketing Digital
   style.css
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }

:root {
    --blue:        #0061BD;
    --blue-dark:   #004a93;
    --navy:        #01102C;
    --navy-2:      #0A0F1F;
    --navy-3:      #040F2F;
    --orange:      #FF5A00;
    --white:       #ffffff;
    --text:        #1a1a2e;
    --text-muted:  #6b7280;
    --border:      #e2e8f0;
    --font-head:   'Poppins', sans-serif;
    --font-body:   'Roboto', sans-serif;
    --radius:      12px;
    --shadow:      0 8px 32px rgba(0,0,0,.12);
    --transition:  all .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* Évite le débordement horizontal sur mobile (pas sur les éléments fixed) */
body > *:not(.mobile-sidebar):not(.sidebar-overlay):not(.modal-overlay):not(.scroll-top) { max-width: 100%; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.btn-blue  { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,97,189,.35); }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--blue); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #e04e00; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,90,0,.35); }
.btn-white { background: #fff; color: var(--navy-2); font-weight: 700; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ---------- SIDEBAR MOBILE ---------- */
.sidebar-overlay {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}
.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(300px, 85vw);
    z-index: 1200;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 4px 0 32px rgba(0,0,0,.4);
}
.mobile-sidebar.open { transform: translateX(0); }

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0;
}
.sidebar-logo { height: 34px; width: auto; }
.sidebar-close {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08);
    border: none; border-radius: 8px;
    color: #fff; font-size: 16px; cursor: pointer;
    transition: background .2s ease;
}
.sidebar-close:hover { background: rgba(255,255,255,.18); }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    flex: 1;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    color: rgba(255,255,255,.85);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.sidebar-link i:first-child {
    width: 20px;
    text-align: center;
    color: var(--blue);
    font-size: 14px;
    flex-shrink: 0;
}
.sidebar-link:hover { background: rgba(255,255,255,.07); color: #fff; padding-left: 26px; }
.sidebar-group-toggle { justify-content: flex-start; }
.sidebar-group-toggle .sidebar-chevron { margin-left: auto; }

.sidebar-chevron {
    font-size: 11px;
    color: rgba(255,255,255,.4);
    transition: transform .25s ease;
}
.sidebar-group-toggle.open .sidebar-chevron { transform: rotate(180deg); }

.sidebar-sub {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,.2);
    border-left: 2px solid var(--blue);
    margin: 0 24px 4px;
    border-radius: 0 0 6px 6px;
}
.sidebar-sub.open { display: flex; }
.sidebar-sub a {
    padding: 11px 18px;
    color: rgba(255,255,255,.7);
    font-family: var(--font-head);
    font-size: 14px;
    transition: color .2s ease, background .2s ease;
}
.sidebar-sub a:hover { color: #fff; background: rgba(255,255,255,.06); }

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}
.sidebar-cta { width: 100%; justify-content: center; font-size: 14px; }
.sidebar-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.sidebar-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); font-size: 15px;
    transition: background .2s, color .2s;
}
.sidebar-social a:hover { background: var(--blue); color: #fff; }

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 24px;
    background: transparent;
    transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.site-header.scrolled {
    background: var(--navy);
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    padding: 0 24px;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-logo { flex-shrink: 0; }
.header-logo img { height: 60px; width: auto; }
.logo-couleur { display: none; }

.header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-list > li { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    color: rgba(255,255,255,.88);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-link i { font-size: 11px; }

/* Dropdown */
.has-dropdown .dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,.8);
    font-family: var(--font-head);
    font-size: 14px;
    transition: var(--transition);
}
.dropdown a:hover { color: #fff; background: rgba(255,255,255,.08); padding-left: 26px; }

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}
.btn-header i { color: #fff; font-size: 13px; }
.btn-header:hover { background: var(--blue-dark); transform: translateY(-2px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- HERO (bandeau) ---------- */
.hero {
    background-color: var(--navy);
    background-image: url('/stephv3/assets/img/fond-accueil.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-top: 56px;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-image {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.hero-image img {
    width: 100%;
    max-width: 360px;
    object-fit: contain;
    display: block;
}

.hero-content {
    flex: 1;
    padding: 50px 0 50px 48px;
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.5vw, 22px);
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255,255,255,.9);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
    background: var(--blue);
    padding: 28px 0;
}
.stats-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.stat-item {
    text-align: center;
    color: #fff;
    flex: 1 1 160px;
    padding: 20px 16px;
}
.stat-number {
    font-family: var(--font-head);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1;
    display: block;
}
.stat-label {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 400;
    opacity: .9;
    margin-top: 4px;
}

/* ---------- SECTION GENERIC ---------- */
.section { padding: 70px 0; }
.section-dark { background: var(--navy-2); }
.section-blue { background: var(--blue); }
.section-white { background: #fff; }
.section-light { background: #f8fafc; }

.section-title {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 40px;
}
.section-title.center { text-align: center; }
.section-title.white { color: #fff; }

/* ---------- VIDEO + POURQUOI ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

.why-list { list-style: none; margin: 20px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
}
.why-list li i { color: var(--blue); font-size: 22px; flex-shrink: 0; margin-top: 1px; }

/* ---------- EXPERTISES (tabs CSS radio) ---------- */
.expertise-section { background: var(--navy-2); padding: 70px 0; }

/* Radios cachés */
.sd-md-radio {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.sd-md-tabs {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin-bottom: 36px;
}
.sd-md-tab {
    cursor: pointer; user-select: none;
    padding: 9px 22px; border-radius: 4px;
    font-family: var(--font-head); font-size: 14px; font-weight: 600;
    color: #cdd9f2;
    background: rgba(0,97,189,.15);
    border: 1px solid rgba(0,97,189,.35);
    transition: var(--transition);
}
.sd-md-tab:hover { color: #fff; background: rgba(0,97,189,.35); border-color: var(--blue); }

.sd-md-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.sd-md-card {
    display: flex; gap: 16px; align-items: flex-start; cursor: pointer;
    background: #0d1530;
    border: 1px solid #1b2c5e;
    border-radius: 14px; padding: 22px 20px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.sd-md-card:hover {
    transform: translateY(-4px);
    background: #101a3c;
    border-color: #2f5bd8;
    box-shadow: 0 12px 30px rgba(47,91,216,.25);
}
.sd-md-ico { flex: 0 0 auto; width: 42px; height: 42px; color: #60a5fa; }
.sd-md-ico svg { width: 100%; height: 100%; display: block; }
.sd-md-card-body { display: flex; flex-direction: column; gap: 8px; }
.sd-md-card-title { color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.25; }
.sd-md-card-text { color: #9fb3d1; font-size: 14px; line-height: 1.55; }

.sd-md-panel { display: none; }
.sd-md-back {
    display: inline-block; cursor: pointer; margin-bottom: 18px;
    font-size: 13px; font-weight: 600; color: #60a5fa;
    transition: color .2s ease; font-family: var(--font-head);
}
.sd-md-back:hover { color: #fff; }
.sd-md-panel-inner {
    display: flex; gap: 36px; align-items: center;
    background: #0d1530;
    border: 1px solid #2f5bd8;
    border-radius: 16px; padding: 32px;
    box-shadow: 0 14px 40px rgba(47,91,216,.18);
}
.sd-md-photo {
    flex: 0 0 280px; width: 280px; height: 280px;
    border-radius: 12px; overflow: hidden;
}
.sd-md-photo img { width: 100%; height: 100%; object-fit: cover; }
.sd-md-content { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.sd-md-h2 { color: #fff; font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.2; margin: 0; }
.sd-md-p { color: #9fb3d1; font-size: 15px; line-height: 1.7; margin: 0; }
.sd-md-btn {
    align-self: flex-start; text-decoration: none; cursor: pointer;
    padding: 13px 28px; border-radius: 4px;
    font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #fff;
    background: var(--blue);
    box-shadow: 0 8px 22px rgba(0,97,189,.4);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sd-md-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,97,189,.55); }

/* Logique affichage CSS pur */
#sd-md-seo:checked   ~ .sd-md-grid,
#sd-md-geo:checked   ~ .sd-md-grid,
#sd-md-ia:checked    ~ .sd-md-grid,
#sd-md-video:checked ~ .sd-md-grid,
#sd-md-form:checked  ~ .sd-md-grid,
#sd-md-auto:checked  ~ .sd-md-grid { display: none; }

#sd-md-seo:checked   ~ .sd-md-panel--seo,
#sd-md-geo:checked   ~ .sd-md-panel--geo,
#sd-md-ia:checked    ~ .sd-md-panel--ia,
#sd-md-video:checked ~ .sd-md-panel--video,
#sd-md-form:checked  ~ .sd-md-panel--form,
#sd-md-auto:checked  ~ .sd-md-panel--auto { display: block; }

#sd-md-seo:checked   ~ .sd-md-tabs label[for="sd-md-seo"],
#sd-md-geo:checked   ~ .sd-md-tabs label[for="sd-md-geo"],
#sd-md-ia:checked    ~ .sd-md-tabs label[for="sd-md-ia"],
#sd-md-video:checked ~ .sd-md-tabs label[for="sd-md-video"],
#sd-md-form:checked  ~ .sd-md-tabs label[for="sd-md-form"],
#sd-md-auto:checked  ~ .sd-md-tabs label[for="sd-md-auto"] {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 6px 18px rgba(0,97,189,.45);
}

/* ---------- ABOUT SECTION (bleu) ---------- */
.about-section { background: var(--blue); padding: 70px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 60px;
    align-items: center;
}
.about-photo {
    display: flex;
    justify-content: center;
}
.about-photo img {
    width: 100%;
    max-width: 320px;
    border-radius: 999px 999px 999px 0;
    object-fit: cover;
}
.about-content .section-title { margin-bottom: 20px; }
.about-content p { color: rgba(255,255,255,.9); margin-bottom: 16px; font-size: 15px; line-height: 1.7; }

/* ---------- AI CARDS ---------- */
.ai-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 0;
}
.ai-card {
    background: #0A0F1F;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
}
.ai-card-icon {
    background: #0A0F1F;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    flex: 0 0 140px;
}
.ai-card-icon img { width: 90px; height: 90px; object-fit: contain; }
.ai-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ai-card-title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.ai-card-text {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,.75);
    line-height: 1.55;
}
.ai-card .btn { margin-top: auto; align-self: flex-start; padding: 8px 16px; font-size: 13px; }

/* ---------- AUTOMATION (CSS radio) ---------- */
.sd-au-wrap {
    display: flex;
    align-items: stretch;
    gap: 40px;
    width: 100%;
}
.sd-au-radio {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Colonne gauche : onglets boutons */
.sd-au-left {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sd-au-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 16px 20px;
    border-radius: 8px;
    background: var(--blue);
    border: 2px solid var(--blue);
    color: #fff;
    transition: var(--transition);
}
.sd-au-tab:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0,97,189,.3);
}
.sd-au-tab-ico {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    opacity: .85;
}
.sd-au-tab-ico svg { width: 100%; height: 100%; display: block; }
.sd-au-tab-label {
    flex: 1;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
}
.sd-au-arrow {
    font-size: 12px;
    opacity: .7;
    transition: transform .2s ease;
}
.sd-au-tab:hover .sd-au-arrow { transform: translateX(3px); opacity: 1; }

/* Onglet actif : fond blanc, texte bleu, bordure bleue */
#sd-au-1:checked ~ .sd-au-wrap .sd-au-left label[for="sd-au-1"],
#sd-au-2:checked ~ .sd-au-wrap .sd-au-left label[for="sd-au-2"],
#sd-au-3:checked ~ .sd-au-wrap .sd-au-left label[for="sd-au-3"] {
    background: #fff;
    color: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 6px 22px rgba(0,97,189,.2);
    transform: translateX(4px);
}
#sd-au-1:checked ~ .sd-au-wrap .sd-au-left label[for="sd-au-1"] .sd-au-arrow,
#sd-au-2:checked ~ .sd-au-wrap .sd-au-left label[for="sd-au-2"] .sd-au-arrow,
#sd-au-3:checked ~ .sd-au-wrap .sd-au-left label[for="sd-au-3"] .sd-au-arrow { transform: translateX(3px); opacity: 1; }

/* Colonne droite */
.sd-au-right {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}
.sd-au-panel { display: none; }
.sd-au-panel h2 {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}
.sd-au-panel p { color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; font-size: 15px; }
.sd-au-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: var(--font-head);
    font-weight: 600;
    color: #fff;
    background: var(--blue);
    transition: var(--transition);
    text-decoration: none;
}
.sd-au-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,97,189,.35); }

/* Affichage panneau */
#sd-au-def:checked ~ .sd-au-wrap .sd-au-right .sd-au-panel--def,
#sd-au-1:checked   ~ .sd-au-wrap .sd-au-right .sd-au-panel--1,
#sd-au-2:checked   ~ .sd-au-wrap .sd-au-right .sd-au-panel--2,
#sd-au-3:checked   ~ .sd-au-wrap .sd-au-right .sd-au-panel--3 { display: block; }

/* ---------- BOOKS / SEO SECTION ---------- */
.books-section { background: #fff; padding: 70px 0; }
.books-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}
.book-col { display: flex; flex-direction: column; gap: 20px; }
.book-border-right { border-right: 5px solid var(--blue); padding-right: 30px; }
.book-border-left  { border-left: 5px solid var(--blue); padding-left: 30px; }
.book-col h3 {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-2);
}
.book-col p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.book-img-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.book-img-wrap img { max-width: 220px; }
.btn-orange-sm {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; border-radius: 4px;
    background: var(--orange); color: #fff;
    font-family: var(--font-head); font-size: 14px; font-weight: 600;
    transition: var(--transition);
}
.btn-orange-sm:hover { background: #e04e00; transform: translateY(-2px); }

/* ---------- WHAT IS CONSULTANT ---------- */
.consultant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.consultant-img img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}
.consultant-content .section-title { margin-bottom: 20px; }
.consultant-content p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }

/* ---------- REVIEWS ---------- */
.reviews-section { background: #f8fafc; padding: 70px 0; }
.reviews-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.reviews-rating-big { text-align: center; }
.reviews-rating-big .rating-num {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.stars-big { color: #f59e0b; font-size: 22px; margin: 4px 0; }
.reviews-label { font-size: 13px; color: var(--text-muted); }
.google-badge { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.google-g {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 900; color: #4285F4;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.review-user {
    display: flex; align-items: center; gap: 12px;
}
.review-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 700; font-size: 18px;
    flex-shrink: 0;
}
.review-user-info strong { font-family: var(--font-head); font-size: 15px; display: block; }
.review-user-info span { font-size: 12px; color: var(--text-muted); }
.review-stars { color: #f59e0b; font-size: 16px; }
.review-text { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* ---------- CTA SECTION ---------- */
.cta-section {
    background: var(--navy-2);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 {
    font-family: var(--font-head);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.cta-section p { color: rgba(255,255,255,.75); font-size: 16px; margin-bottom: 36px; }

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.75);
    padding: 60px 0 0;
}
.footer-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 16px; margin-bottom: 20px; max-width: 300px; }
.footer-logo { height: 56px; margin-bottom: 4px; width: auto; }
.footer-social {
    display: flex; gap: 12px;
}
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.8);
    font-size: 16px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-col h4,
.footer-col-title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    transition: var(--transition);
}
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.4);
}

/* ---------- MODAL CONTACT ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.65);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 94%;
    position: relative;
    transform: translateY(20px);
    transition: transform .3s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted);
}
.modal-box h3,
.modal-box .modal-title {
    font-family: var(--font-head); font-size: 22px; font-weight: 700;
    margin-bottom: 8px;
}
.modal-box p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.modal-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.modal-badge {
    padding: 5px 14px; border-radius: 999px;
    background: rgba(0,97,189,.1); color: var(--blue);
    font-family: var(--font-head); font-size: 13px; font-weight: 600;
}
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-form input, .modal-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body); font-size: 14px;
    transition: border-color .2s;
    outline: none;
}
.modal-form input:focus, .modal-form textarea:focus { border-color: var(--blue); }
.modal-form textarea { min-height: 100px; resize: vertical; }
.modal-divider { text-align: center; color: var(--text-muted); font-size: 13px; margin: 4px 0; }
.modal-calendly {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px; border-radius: 8px;
    background: #f0f6ff; color: var(--blue);
    font-family: var(--font-head); font-size: 14px; font-weight: 600;
    border: 1px solid rgba(0,97,189,.2);
    transition: var(--transition);
}
.modal-calendly:hover { background: rgba(0,97,189,.08); }

/* Modal Calendly (large) */
.modal-overlay--wide .modal-box--calendly {
    max-width: 900px;
    width: 96vw;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
}
.modal-calendly-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.modal-calendly-head h3,
.modal-calendly-head .modal-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.modal-calendly-head p  { color: var(--text-muted); font-size: 14px; margin: 0; }
.modal-calendly-head .modal-close { position: static; flex-shrink: 0; margin-top: 2px; }
.calendly-frame-wrap {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.calendly-frame-wrap iframe {
    width: 100%;
    height: 680px;
    max-height: 75vh;
    display: block;
    border: 0;
}
.modal-calendly-link {
    display: block;
    text-align: center;
    margin-top: 8px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s;
}
.modal-calendly-link:hover { color: var(--blue-dark); }

/* ============================================================
   PAGE À PROPOS
   ============================================================ */

/* Hero */
.ap-hero {
    background: var(--navy);
    padding: 120px 0 0;
    overflow: hidden;
}
.ap-hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: flex-end;
}
.ap-eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
    background: rgba(0,97,189,.15);
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,97,189,.3);
}
.ap-eyebrow--light { color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.ap-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 12px;
}
.ap-hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,.7);
    font-family: var(--font-head);
    font-weight: 400;
    margin-bottom: 28px;
}
.ap-tldr {
    background: rgba(0,97,189,.15);
    border-left: 3px solid var(--blue);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.ap-tldr strong { color: #fff; }
.ap-tldr a { color: #60a5fa; }
.ap-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-dark {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 4px;
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,.4);
    font-family: var(--font-head); font-size: 15px; font-weight: 600;
    transition: var(--transition);
}
.btn-outline-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ap-hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.ap-photo-frame {
    width: 100%;
    max-width: 380px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
}
.ap-photo-frame img { width: 100%; display: block; object-fit: cover; }
.ap-photo-badge {
    position: absolute;
    top: 350px; left: -16px;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,97,189,.5);
    display: flex; align-items: center; gap: 6px;
}
.ap-photo-badge i { color: #fbbf24; }

/* Split layouts */
.ap-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.ap-split--img-right .ap-split-img { order: 2; }
.ap-split--img-right .ap-split-text { order: 1; }
.ap-split--img-left .ap-split-img { order: 1; }
.ap-split--img-left .ap-split-text { order: 2; }
.ap-split-img img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.ap-split-img--rounded img { border-radius: 999px 20px 20px 20px; }
.ap-split-img--square img { border-radius: 16px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.ap-authority-img { overflow: visible; box-shadow: none !important; }
.ap-authority-img img { border-radius: 0; object-fit: contain; width: 100%; height: auto; box-shadow: none; }

/* Timeline */
.ap-timeline { margin-top: 28px; display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--border); padding-left: 28px; }
.ap-tl-item { position: relative; padding-bottom: 32px; }
.ap-tl-item:last-child { padding-bottom: 0; }
.ap-tl-dot {
    position: absolute;
    left: -37px; top: 5px;
    width: 16px; height: 16px;
    background: #e2e8f0;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px #e2e8f0;
}
.ap-tl-dot--active { background: var(--blue); box-shadow: 0 0 0 3px rgba(0,97,189,.2); }
.ap-tl-date {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--blue);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.ap-tl-content h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ap-tl-content p { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin: 0; }
.ap-tl-content a { color: var(--blue); }

/* Expertise list */
.ap-expertise-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.ap-exp-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.ap-exp-item:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(0,97,189,.1); transform: translateX(4px); }
.ap-exp-icon {
    flex: 0 0 42px; height: 42px;
    background: rgba(0,97,189,.1);
    color: var(--blue);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
}
.ap-exp-body strong { font-family: var(--font-head); font-size: 15px; display: block; margin-bottom: 6px; }
.ap-exp-body p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 6px 0 0; }
.ap-exp-body a { color: var(--blue); }
.ap-exp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.ap-badge {
    display: inline-block;
    background: #ecfdf5; color: #065f46;
    font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 4px;
    font-family: var(--font-head);
}
.ap-badge--blue { background: #eff6ff; color: var(--blue); }

/* Méthodologie */
.ap-method-section {
    background-image: url('/stephv3/assets/img/fondCTA.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.ap-method-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,15,31,.82);
    z-index: 0;
}
.ap-method-section > .container { position: relative; z-index: 1; }
.ap-method-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.ap-method-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 28px 20px;
    transition: var(--transition);
    position: relative;
}
.ap-method-card:hover { background: rgba(255,255,255,.08); border-color: rgba(0,97,189,.5); transform: translateY(-4px); }
.ap-method-num {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 900;
    color: rgba(0,97,189,.35);
    line-height: 1;
    margin-bottom: 12px;
}
.ap-method-card h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ap-method-card p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }
.ap-method-time { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--blue); margin-top: 10px; font-weight: 600; }

/* Autorité */
.ap-authority-block { width: 100%; }
.ap-authority-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.ap-auth-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}
.ap-auth-card:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(0,97,189,.12); transform: translateY(-2px); }
.ap-auth-icon {
    flex: 0 0 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
}
.ap-auth-icon--red    { background: #ef4444; }
.ap-auth-icon--blue   { background: #0a66c2; }
.ap-auth-icon--orange { background: var(--orange); }
.ap-auth-icon--purple { background: #7c3aed; }
.ap-auth-icon--navy   { background: var(--navy); }
.ap-auth-card > div strong { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 700; }
.ap-auth-card > div span   { font-size: 12px; color: var(--text-muted); }
.ap-auth-ext { margin-left: auto; font-size: 11px; color: var(--text-muted); }

/* Responsive page à propos */
@media (max-width: 1024px) {
    .ap-hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 0; }
    .ap-hero-photo { justify-content: center; }
    .ap-photo-frame { max-width: 280px; }
    .ap-photo-badge { left: 50%; transform: translateX(-50%); top: -16px; white-space: nowrap; }
    .ap-split { grid-template-columns: 1fr; gap: 36px; }
    .ap-split--img-right .ap-split-img,
    .ap-split--img-left  .ap-split-img { order: -1; }
    .ap-method-grid { grid-template-columns: repeat(2, 1fr); }
    .ap-hero-btns { justify-content: center; }
    .ap-tldr { text-align: left; }
}
@media (max-width: 768px) {
    .ap-hero { padding-top: 80px; }
    .ap-authority-cards { grid-template-columns: 1fr; }
    .ap-method-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .ap-method-grid { grid-template-columns: 1fr; }
    .ap-authority-cards { grid-template-columns: 1fr; }
    .ap-hero-btns { flex-direction: column; }
    .ap-hero-btns .btn, .ap-hero-btns .btn-outline-dark { width: 100%; justify-content: center; }
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 900;
    width: 44px; height: 44px;
    background: var(--blue); color: #fff;
    border: none; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0,97,189,.4);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ---------- COUNTER ANIMATION ---------- */
.counter-val { display: inline-block; }

/* ============================================================
   RESPONSIVE – Mobile first
   ============================================================ */

/* ---- TABLET PAYSAGE 1024px ---- */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .section { padding: 56px 0; }

    /* Hero */
    .hero { align-items: center; }
    .hero-inner { flex-direction: column; align-items: center; text-align: center; padding: 30px 20px 0; }
    .hero-image { flex: none; justify-content: center; width: 100%; order: -1; }
    .hero-image img { max-width: 300px; }
    .hero-content { padding: 16px 0 40px; }
    .hero-btns { justify-content: center; }
    .hero-content h1 { font-size: clamp(26px, 5vw, 38px); }
    .hero-subtitle { font-size: clamp(14px, 3vw, 18px); }

    /* Why */
    .why-grid { grid-template-columns: 1fr; gap: 36px; }

    /* Expertise */
    .sd-md-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .about-photo { justify-content: center; }
    .about-photo img { max-width: 220px; }
    .about-content .btn { margin: 0 auto; }

    /* IA cards */
    .ai-cards { grid-template-columns: 1fr; }

    /* Automation */
    .sd-au-wrap { flex-direction: column; gap: 24px; align-items: stretch; }
    .sd-au-left { flex: none; width: 100%; }
    .sd-au-tab { transform: none !important; }
    #sd-au-1:checked ~ .sd-au-wrap .sd-au-left label[for="sd-au-1"],
    #sd-au-2:checked ~ .sd-au-wrap .sd-au-left label[for="sd-au-2"],
    #sd-au-3:checked ~ .sd-au-wrap .sd-au-left label[for="sd-au-3"] { transform: none !important; }

    /* Books */
    .books-grid { grid-template-columns: 1fr; gap: 32px; }
    .book-border-right, .book-border-left { border: none; padding: 0; }
    .book-col { align-items: center; text-align: center; }
    .book-col .btn { align-self: center !important; }
    .book-img-wrap { order: -1; }

    /* Consultant */
    .consultant-grid { grid-template-columns: 1fr; gap: 32px; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---- TABLETTE PORTRAIT 768px ---- */
@media (max-width: 768px) {
    /* Header / Nav burger → sidebar */
    .nav-toggle { display: flex; }
    .header-nav { display: none; }

    /* Stats : grille 2×2 */
    .stats-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .stat-item {
        padding: 24px 16px;
        border-right: 1px solid rgba(255,255,255,.2);
        border-bottom: 1px solid rgba(255,255,255,.2);
    }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-bottom: none; }
    .stat-number { font-size: clamp(32px, 8vw, 44px); }

    /* Section */
    .section { padding: 48px 0; }

    /* Expertise detail panel */
    .sd-md-panel-inner { flex-direction: column; align-items: center; gap: 24px; padding: 24px 20px; }
    .sd-md-photo { flex: none; width: 200px; height: 200px; }
    .sd-md-h2 { font-size: 20px; }
    .sd-md-p { font-size: 14px; }

    /* AI card : stack icone au dessus */
    .ai-card { flex-direction: column; }
    .ai-card-icon { flex: none; width: 100%; padding: 24px; justify-content: flex-start; gap: 16px; flex-direction: row; }
    .ai-card-icon img { width: 60px; height: 60px; }
    .ai-card-body { padding: 16px 20px 24px; }

    /* About */
    .about-section { padding: 48px 0; }
    .about-content p { font-size: 14px; }

    /* Consultant */
    .consultant-img img { border-radius: 12px; }

    /* CTA */
    .cta-section { padding: 56px 0; }
    .cta-section h2 { font-size: clamp(20px, 5vw, 28px); }
    .cta-section p { font-size: 14px; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-logo { height: 44px; }
    .footer-social { flex-wrap: wrap; gap: 8px; }

    /* Modal */
    .modal-box { padding: 28px 20px; }
}

/* ---- MOBILE PORTRAIT 480px ---- */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 40px 0; }

    /* Hero */
    .hero-image img { max-width: 240px; }
    .hero-content h1 { font-size: clamp(22px, 7vw, 30px); line-height: 1.2; }
    .hero-subtitle { font-size: 14px; }
    .hero-btns { flex-direction: column; align-items: center; gap: 10px; }
    .hero-btns .btn { width: 100%; justify-content: center; }

    /* Stats */
    .stat-number { font-size: 34px; }
    .stat-label { font-size: 12px; }

    /* Expertise tabs */
    .sd-md-tabs { gap: 6px; }
    .sd-md-tab { padding: 7px 14px; font-size: 12px; }
    .sd-md-grid { grid-template-columns: 1fr; gap: 10px; }
    .sd-md-card { padding: 16px 14px; gap: 12px; }
    .sd-md-card-title { font-size: 15px; }

    /* Automation onglets */
    .sd-au-tab { padding: 13px 16px; }
    .sd-au-tab-label { font-size: 13px; }
    .sd-au-panel h2 { font-size: 20px; }
    .sd-au-panel p { font-size: 14px; }
    .sd-au-btn { padding: 12px 20px; font-size: 14px; width: 100%; justify-content: center; }

    /* Books */
    .books-grid { gap: 28px; }
    .book-col h3 { font-size: 20px; }
    .book-img-wrap img { max-width: 180px; }

    /* Consultant */
    .consultant-content .section-title { font-size: 20px; }
    .consultant-content p { font-size: 14px; }

    /* About */
    .about-photo img { max-width: 180px; }
    .about-content .section-title { font-size: 20px; }

    /* Section titles */
    .section-title { font-size: clamp(18px, 5vw, 22px); }

    /* AI card icon row sur mobile */
    .ai-card-icon { padding: 16px 20px; }
    .ai-card-icon img { width: 48px; height: 48px; }

    /* Buttons */
    .btn { padding: 12px 20px; font-size: 14px; }
    .sd-md-btn { padding: 11px 20px; font-size: 13px; }

    /* Footer */
    .footer-brand p { font-size: 13px; }
    .footer-col h4, .footer-col-title { font-size: 14px; }
    .footer-col a { font-size: 13px; }
    .footer-bottom { font-size: 12px; padding: 16px 0; }

    /* Why list */
    .why-list li { font-size: 14px; }
    .why-list li i { font-size: 18px; }

    /* Modal */
    .modal-box { border-radius: 14px; }
    .modal-badges { gap: 6px; }
    .modal-badge { font-size: 11px; padding: 4px 10px; }
}

/* ============================================================
   PAGE CONSULTANT SEO
   ============================================================ */

/* Hero */
.cs-hero {
    background-color: var(--navy);
    background-image: url('/stephv3/assets/img/fond-accueil.png');
    background-size: cover;
    background-position: center center;
    padding-top: 56px;
    position: relative;
    overflow: hidden;
}
.cs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1,16,44,.72);
    z-index: 0;
}
.cs-hero > .container { position: relative; z-index: 1; }
.cs-hero-inner {
    display: flex;
    align-items: flex-end;
    gap: 48px;
}
.cs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.cs-eyebrow-dark {
    display: block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.cs-eyebrow-dark.center-text { text-align: center; }
.center-text { text-align: center; }
.cs-hero-text h1 {
    font-family: var(--font-head);
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.cs-hero-sub {
    color: rgba(255,255,255,.8);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.cs-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.cs-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
}
.cs-hero-badges span i { color: #4ade80; }
.cs-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.cs-hero-btns .btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
}
.cs-hero-btns .btn-outline:hover { background: rgba(255,255,255,.1); }
.cs-hero-text {
    flex: 1;
    padding: 60px 0 60px;
}
.cs-hero-img {
    flex: 0 0 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.cs-hero-img img {
    width: 100%;
    max-width: 400px;
    display: block;
    object-fit: contain;
}

/* Intro paragraph */
.cs-intro-p {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Split layout */
.cs-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.cs-split--img-right .cs-split-img { order: 2; }
.cs-split--img-right .cs-split-text { order: 1; }
.cs-split--img-left  .cs-split-img { order: 1; }
.cs-split--img-left  .cs-split-text { order: 2; }
.cs-split-img img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}
.cs-split-text h2 {
    font-family: var(--font-head);
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}
.cs-split-text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 14px;
}
.cs-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cs-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}
.cs-check-list li i { color: var(--blue); margin-top: 2px; flex-shrink: 0; }

/* Piliers */
.cs-piliers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.cs-pilier-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border-top: 4px solid var(--blue);
    position: relative;
}
.cs-pilier-num {
    font-family: var(--font-head);
    font-size: 56px;
    font-weight: 900;
    color: rgba(0,97,189,.08);
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 20px;
}
.cs-pilier-icon {
    width: 52px;
    height: 52px;
    background: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.cs-pilier-icon i { color: #fff; font-size: 22px; }
.cs-pilier-card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.cs-pilier-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Missions grid */
.cs-missions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cs-mission-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    transition: var(--transition);
}
.cs-mission-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,97,189,.12); }
.cs-mission-icon {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.cs-mission-icon i { color: var(--blue); font-size: 18px; }
.cs-mission-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.cs-mission-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* Table */
.cs-table-wrap { overflow-x: auto; margin-top: 28px; }
.cs-table-wrap--center { max-width: 640px; margin-left: auto; margin-right: auto; }
.cs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.cs-table th {
    background: var(--blue);
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    font-family: var(--font-head);
}
.cs-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.cs-table tr:nth-child(even) td { background: #f8faff; }
.cs-table tr:hover td { background: #eff6ff; }
.cs-good { color: var(--blue); font-weight: 600; }
.cs-good i { margin-right: 5px; }
.cs-neutral { color: var(--text-muted); }

/* Services */
.cs-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 16px;
}
.cs-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: var(--transition);
}
.cs-service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,97,189,.12); }
.cs-service-card--featured {
    border: 2px solid var(--blue);
    background: linear-gradient(160deg, #eff6ff 0%, #fff 100%);
}
.cs-featured-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.cs-service-icon {
    width: 56px;
    height: 56px;
    background: var(--blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cs-service-icon i { color: #fff; font-size: 24px; }
.cs-service-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--dark); }
.cs-service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.cs-price {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
}
.cs-btn-sm { font-size: 14px; padding: 11px 22px; }

/* Certifications */
.cs-certs-section { background: var(--navy-2); }
.cs-certs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.cs-cert-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 16px 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.cs-cert-card:hover { background: rgba(255,255,255,.1); border-color: rgba(0,97,189,.5); }
.cs-cert-ico { color: #fbbf24; font-size: 18px; flex-shrink: 0; }

/* FAQ */
.cs-faq,
.cs-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cs-faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.cs-faq-item[open] { border-color: var(--blue); box-shadow: 0 4px 20px rgba(0,97,189,.1); }
.cs-faq-item[open] summary { border-bottom: 1px solid rgba(0,97,189,.12); }
.cs-faq-item summary {
    padding: 18px 24px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cs-faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: var(--blue);
    font-weight: 300;
    flex-shrink: 0;
    transition: transform .2s;
}
.cs-faq-item[open] summary::after { content: '−'; }
.cs-faq-item p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* Cities grid */
.cs-cities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 48px;
}
.cs-city-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}
.cs-city-card:hover {
    border-color: var(--blue);
    background: #eff6ff;
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,97,189,.12);
}
.cs-city-card > i:first-child { color: var(--blue); font-size: 13px; flex-shrink: 0; }
.cs-city-card span { flex: 1; }
.cs-city-arrow { color: var(--border); font-size: 10px; }
.cs-city-card:hover .cs-city-arrow { color: var(--blue); }
.cs-city-desc {
    background: #f8faff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 40px;
    text-align: center;
}
.cs-city-desc h3 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.4;
}
.cs-city-desc p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .cs-hero-inner { flex-direction: column; align-items: flex-start; gap: 0; }
    .cs-hero-img { display: none; }
    .cs-hero-text { padding: 40px 0 40px; }
    .cs-piliers { grid-template-columns: 1fr 1fr; }
    .cs-missions-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-services { grid-template-columns: 1fr 1fr; }
    .cs-cities { grid-template-columns: repeat(3, 1fr); }
    .cs-split { grid-template-columns: 1fr; gap: 36px; }
    .cs-split--img-right .cs-split-img,
    .cs-split--img-left  .cs-split-img { order: -1; }
}
@media (max-width: 768px) {
    .cs-piliers { grid-template-columns: 1fr; }
    .cs-missions-grid { grid-template-columns: 1fr; }
    .cs-services { grid-template-columns: 1fr; }
    .cs-cities { grid-template-columns: repeat(2, 1fr); }
    .cs-hero-btns { flex-direction: column; }
    .cs-hero-btns .btn { text-align: center; justify-content: center; }
    .cs-city-desc { padding: 24px 20px; }
}
@media (max-width: 480px) {
    .cs-cities { grid-template-columns: 1fr; }
    .cs-hero-text h1 { font-size: 22px; }
}

/* ============================================================
   PAGE CONSULTANT GEO
   ============================================================ */

/* Carrousel logos IA */
@keyframes geo-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.geo-carousel-bar {
    background: var(--blue);
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    height: 100px;
}
.geo-carousel-container {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}
.geo-carousel-label { display: none; }
.geo-carousel-track-wrap {
    overflow: hidden;
    flex: 1;
    position: relative;
}
.geo-carousel-track {
    display: flex;
    align-items: center;
    /* 5 logos visibles : largeur item ≈ 20% du conteneur */
    gap: clamp(24px, 4vw, 60px);
    animation: geo-marquee 26s linear infinite;
    width: max-content;
}
.geo-carousel-track:hover { animation-play-state: paused; }
.geo-carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* largeur fixe pour calibrer 5 logos visibles */
    width: clamp(160px, 18vw, 220px);
}
.geo-carousel-item img {
    height: clamp(52px, 6vw, 72px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .9;
    transition: opacity .2s;
}
.geo-carousel-item img:hover { opacity: 1; }

/* Logo dans le tableau */
.geo-tbl-logo {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
    object-fit: contain;
}

/* Phases GEO */
.geo-phases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.geo-phase-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border-top: 4px solid var(--blue);
    position: relative;
}
.geo-phase-num {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 900;
    color: rgba(0,97,189,.07);
    line-height: 1;
    position: absolute;
    top: 12px;
    right: 16px;
}
.geo-phase-icon {
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.geo-phase-icon i { color: #fff; font-size: 20px; }
.geo-phase-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.geo-phase-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* Plateformes */
.geo-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.geo-platform-logo-wrap { display: contents; }
.geo-platform-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}
.geo-platform-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,97,189,.12); border-color: var(--blue); }
.geo-platform-logo {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.geo-platform-logo img { max-height: 44px; width: auto; object-fit: contain; }
.geo-platform-card h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.geo-platform-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* Audience GEO */
.geo-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.geo-audience-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 28px 22px;
    transition: var(--transition);
}
.geo-audience-card:hover { background: rgba(255,255,255,.1); border-color: rgba(0,97,189,.5); }
.geo-audience-icon {
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.geo-audience-icon i { color: #fff; font-size: 20px; }
.geo-audience-card h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.geo-audience-card p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.65; }

/* Why list (dark bg) */
.geo-why-list { max-width: 860px; margin: 0 auto; }
.geo-why-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.geo-why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,.8);
    line-height: 1.55;
}
.geo-why-item i { color: #4ade80; font-size: 16px; margin-top: 1px; flex-shrink: 0; }

/* Responsive GEO */
@media (max-width: 1024px) {
    .geo-phases { grid-template-columns: repeat(2, 1fr); }
    .geo-platforms { grid-template-columns: repeat(2, 1fr); }
    .geo-audience-grid { grid-template-columns: repeat(2, 1fr); }
    .geo-why-items { grid-template-columns: 1fr; }
    .geo-carousel-bar { padding: 0; }
}
@media (max-width: 768px) {
    .geo-phases { grid-template-columns: 1fr; }
    .geo-platforms { grid-template-columns: 1fr; }
    .geo-audience-grid { grid-template-columns: 1fr; }
    .geo-carousel-item { width: clamp(120px, 30vw, 160px); }
}
@media (max-width: 480px) {
    .geo-phases { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE CONSULTANT IA – CLUSTER + STATS MINI
   ============================================================ */
.ia-cluster-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.ia-cluster-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 20px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}
.ia-cluster-card:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 28px rgba(0,97,189,.12);
    transform: translateY(-4px);
}
.ia-cluster-icon {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ia-cluster-icon i { color: var(--blue); font-size: 18px; }
.ia-cluster-body h3 { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ia-cluster-body p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.ia-cluster-arrow {
    width: 28px;
    height: 28px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    align-self: flex-start;
}
.ia-cluster-arrow i { color: var(--blue); font-size: 11px; }
.ia-cluster-card:hover .ia-cluster-arrow { background: var(--blue); }
.ia-cluster-card:hover .ia-cluster-arrow i { color: #fff; }

/* Stats mini */
.ia-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
.ia-stat-mini { text-align: center; }
.ia-stat-mini span { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--blue); }
.ia-stat-mini small { font-size: 12px; color: var(--text-muted); line-height: 1.4; display: block; margin-top: 4px; }

@media (max-width: 1024px) {
    .ia-cluster-grid { grid-template-columns: repeat(3, 1fr); }
    .ia-stats-mini { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 768px) {
    .ia-cluster-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .ia-cluster-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPOSANTS CTA – CONVERSION
   ============================================================ */

/* Bandeau strip entre sections */
.cta-strip {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}
.cta-strip--blue { background: var(--blue); }
.cta-strip--dark { background: var(--navy-2); }
.cta-strip--light { background: #eff6ff; }
.cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-strip-text { flex: 1; min-width: 240px; }
.cta-strip-text strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 800;
    margin-bottom: 6px;
}
.cta-strip-text span {
    font-size: 14px;
    opacity: .85;
}
.cta-strip--blue .cta-strip-text strong,
.cta-strip--dark .cta-strip-text strong { color: #fff; }
.cta-strip--blue .cta-strip-text span,
.cta-strip--dark .cta-strip-text span { color: rgba(255,255,255,.8); }
.cta-strip--light .cta-strip-text strong { color: var(--navy-2); }
.cta-strip--light .cta-strip-text span { color: var(--text-muted); }
.cta-strip-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}
.cta-strip--blue .cta-strip-proof,
.cta-strip--dark .cta-strip-proof { color: rgba(255,255,255,.9); }
.cta-strip-proof .stars { color: #fbbf24; letter-spacing: 2px; }
.cta-strip-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.btn-white-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 8px;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-head);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-white-outline:hover { background: rgba(255,255,255,.15); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #eff6ff; }

/* Boîte CTA inline dans une section */
.cta-inline-box {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 5px solid var(--blue);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(0,97,189,.08);
    margin: 32px 0;
}
.cta-inline-icon {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cta-inline-icon i { color: var(--blue); font-size: 22px; }
.cta-inline-body { flex: 1; min-width: 200px; }
.cta-inline-body strong { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--navy-2); margin-bottom: 4px; }
.cta-inline-body p { font-size: 14px; color: var(--text-muted); margin: 0; }
.cta-inline-btns { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* Barre sticky */
.cta-sticky {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 800;
    background: var(--navy-2);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transform: translateY(110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 -4px 24px rgba(0,0,0,.3);
}
.cta-sticky.is-visible { transform: translateY(0); }
.cta-sticky-proof {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}
.cta-sticky-proof .stars { color: #fbbf24; font-size: 13px; }
.cta-sticky-proof span { font-size: 12px; color: rgba(255,255,255,.7); }
.cta-sticky-text {
    flex: 1;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.cta-sticky-text small { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.6); margin-top: 2px; }
.cta-sticky-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cta-sticky-close {
    position: absolute;
    top: 6px; right: 10px;
    background: none; border: none;
    color: rgba(255,255,255,.4);
    font-size: 13px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.cta-sticky-close:hover { color: #fff; }

@media (max-width: 768px) {
    .cta-strip-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .cta-strip-btns { width: 100%; }
    .cta-strip-btns .btn, .cta-strip-btns .btn-white-outline { flex: 1; justify-content: center; text-align: center; }
    .cta-inline-box { flex-direction: column; align-items: flex-start; }
    .cta-sticky {
        padding: 14px 16px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .cta-sticky-proof { display: none; }
    .cta-sticky-text {
        font-size: 14px;
        text-align: center;
        flex: none;
    }
    .cta-sticky-text small { display: none; }
    .cta-sticky-actions {
        gap: 8px;
        flex-direction: row;
        width: 100%;
    }
    .cta-sticky-actions .btn,
    .cta-sticky-actions .btn-white-outline {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 13px;
        padding: 11px 10px;
        white-space: nowrap;
    }
    .cta-sticky-close { top: 8px; right: 10px; }
}

/* ============================================================
   FIL D'ARIANE (BREADCRUMB)
   ============================================================ */
.breadcrumb-nav {
    background: #f4f6fa;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 13px;
}
.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 6px;
}
.breadcrumb-list a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list span[aria-current="page"] {
    color: var(--text-muted);
    font-weight: 400;
}
.breadcrumb-sep {
    font-size: 9px;
    color: #bbb;
}
/* Variante dark – entre header sombre et hero sombre */
.breadcrumb-nav--dark {
    background: var(--navy-2);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.breadcrumb-nav--dark .breadcrumb-list a { color: rgba(255,255,255,.7); }
.breadcrumb-nav--dark .breadcrumb-list a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-nav--dark .breadcrumb-list span[aria-current="page"] { color: rgba(255,255,255,.45); }
.breadcrumb-nav--dark .breadcrumb-sep { color: rgba(255,255,255,.25); }

/* ============================================================
   MAILLAGE INTERNE – CLUSTER IA
   ============================================================ */
.ia-maillage {
    background: var(--navy-2);
    padding: 64px 0;
}
.ia-maillage-head {
    text-align: center;
    margin-bottom: 40px;
}
.ia-maillage-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0,97,189,.12);
    border: 1px solid rgba(0,97,189,.25);
    border-radius: 50px;
    padding: 5px 14px;
    margin-bottom: 16px;
}
.ia-maillage-head h2 {
    font-family: var(--font-head);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.ia-maillage-sub {
    color: rgba(255,255,255,.6);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto;
}

/* Bannière pilier */
.ia-maillage-pillar {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0,97,189,.15);
    border: 1px solid rgba(0,97,189,.4);
    border-radius: 14px;
    padding: 20px 28px;
    text-decoration: none;
    margin-bottom: 28px;
    transition: var(--transition);
}
.ia-maillage-pillar:hover {
    background: rgba(0,97,189,.25);
    border-color: var(--blue);
}
.ia-maillage-pillar-icon {
    width: 52px;
    height: 52px;
    background: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ia-maillage-pillar-icon i { color: #fff; font-size: 20px; }
.ia-maillage-pillar-text { flex: 1; }
.ia-maillage-pillar-text strong {
    display: block;
    color: #fff;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}
.ia-maillage-pillar-text span { color: rgba(255,255,255,.6); font-size: 13px; }
.ia-maillage-pillar > .fa-arrow-right { color: rgba(255,255,255,.4); font-size: 14px; flex-shrink: 0; }

/* Grille cluster */
.ia-maillage-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.ia-maillage-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}
.ia-maillage-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(0,97,189,.5);
    transform: translateY(-2px);
}
.ia-maillage-card.is-current {
    background: rgba(0,97,189,.15);
    border-color: var(--blue);
    cursor: default;
    pointer-events: none;
}
.ia-maillage-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(0,97,189,.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ia-maillage-card-icon i { color: var(--blue); font-size: 18px; }
.ia-maillage-card.is-current .ia-maillage-card-icon { background: var(--blue); }
.ia-maillage-card.is-current .ia-maillage-card-icon i { color: #fff; }
.ia-maillage-card-body { flex: 1; }
.ia-maillage-card-body strong {
    display: block;
    color: #fff;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}
.ia-maillage-card-body span { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.4; }
.ia-maillage-arrow { color: rgba(255,255,255,.3); font-size: 12px; align-self: flex-end; }
.ia-maillage-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue);
    border-radius: 50px;
    padding: 3px 10px;
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .ia-maillage-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .ia-maillage-grid { grid-template-columns: repeat(2, 1fr); }
    .ia-maillage-pillar { flex-wrap: wrap; }
}
@media (max-width: 400px) {
    .ia-maillage-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE AGENCE SEO – CITIES + STEPS
   ============================================================ */
.as-cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}
.as-region {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
}
.as-region h3 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-2);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.as-region h3 i { color: var(--blue); font-size: 12px; }
.as-region ul { list-style: none; padding: 0; margin: 0; }
.as-region ul li { margin-bottom: 6px; }
.as-region ul li a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.as-region ul li a:hover { color: var(--blue); text-decoration: underline; }

/* Étapes méthodologie (agence-seo) */
.as-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}
.as-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 44px;
    bottom: 44px;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), rgba(0,97,189,.1));
}
.as-step {
    display: flex;
    gap: 24px;
    padding: 24px 0;
}
.as-step-num {
    width: 56px;
    height: 56px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(0,97,189,.2);
}
.as-step-body {
    padding-top: 8px;
}
.as-step-body h3 {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 700;
    color: var(--navy-2);
    margin-bottom: 10px;
}
.as-step-body p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0; }

@media (max-width: 1024px) {
    .as-cities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .as-cities-grid { grid-template-columns: 1fr; }
    .as-steps::before { display: none; }
}

/* ============================================================
   PAGE AUTOMATISATION IA – GRILLE 4 ÉTAPES
   ============================================================ */
.auto-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.auto-step-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 28px 22px;
    position: relative;
}
.auto-step-num {
    width: 44px;
    height: 44px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.auto-step-card h3 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.auto-step-card p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; margin: 0; }

@media (max-width: 1024px) {
    .auto-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .auto-steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE GÉNÉRATION VIDÉO IA
   ============================================================ */
.gv-use-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}
.gv-use-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.gv-use-icon {
    width: 52px;
    height: 52px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.gv-use-icon i { color: var(--blue); font-size: 22px; }
.gv-use-card h3 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-2);
    margin-bottom: 10px;
}
.gv-use-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 10px; }

/* Étapes méthodologie */
.gv-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.gv-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 20px 24px;
}
.gv-step-num {
    width: 44px;
    height: 44px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.gv-step-body strong {
    display: block;
    color: #fff;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}
.gv-step-body p { color: rgba(255,255,255,.65); font-size: 14px; margin: 0; }

@media (max-width: 768px) {
    .gv-use-grid { grid-template-columns: 1fr; }
    .gv-step { flex-direction: row; }
}

/* ============================================================
   CERTIFICATIONS PDF CARDS
   ============================================================ */
.cert-pdf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.cert-pdf-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: #fff;
    transition: background .25s, border-color .25s, transform .2s;
    cursor: pointer;
}
.cert-pdf-card:hover {
    background: rgba(0,97,189,.2);
    border-color: rgba(0,97,189,.6);
    transform: translateY(-2px);
    color: #fff;
}
.cert-pdf-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}
.cert-pdf-body {
    flex: 1;
    min-width: 0;
}
.cert-pdf-body strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}
.cert-pdf-body span {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    display: block;
}
.cert-pdf-action {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(0,97,189,.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    transition: background .2s;
}
.cert-pdf-card:hover .cert-pdf-action {
    background: var(--blue);
}

/* ============================================================
   VISIBILITÉ / CITATIONS PRESSE
   ============================================================ */
.visib-section { background: #f4f6fb; }
.visib-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
    color: var(--navy-2);
    opacity: .75;
    font-size: 15px;
    line-height: 1.6;
}
.visib-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.visib-img-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}
.visib-img-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.15);
}
.visib-img-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   COURBES GOOGLE SEARCH CONSOLE
   ============================================================ */
.courbes-block {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,.08);
}
.courbes-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--blue);
    margin-bottom: 20px;
}
.courbes-label i { font-size: 16px; }
.courbes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.courbes-img-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}
.courbes-img-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.courbes-img-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Variante claire (fond blanc/light) pour les cert-pdf-card */
.cert-pdf-card--light {
    background: #f0f4ff;
    border-color: rgba(0,97,189,.2);
    color: var(--navy-2);
}
.cert-pdf-card--light:hover {
    background: #e0eaff;
    border-color: rgba(0,97,189,.5);
    color: var(--navy-2);
}
.cert-pdf-card--light .cert-pdf-body strong { color: var(--navy-2); }
.cert-pdf-card--light .cert-pdf-body span   { color: rgba(10,15,31,.5); }
.cert-pdf-card--light .cert-pdf-action {
    background: var(--blue);
    color: #fff;
}

/* ============================================================
   GEO IA CITATION – split texte + carrousel
   ============================================================ */
.geo-ia-citation { background: #fff; }
.geo-ia-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.geo-ia-text .cs-eyebrow-dark {
    display: block;
    margin-bottom: 12px;
}
.geo-ia-text h2 {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.25;
    color: var(--navy-2);
    margin-bottom: 20px;
}
.geo-ia-text p {
    color: rgba(10,15,31,.65);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Carrousel CSS automatique */
.geo-ia-carousel-wrap { display: flex; flex-direction: column; gap: 16px; }
.geo-ia-carousel {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    line-height: 0;
}
.geo-ia-track {
    display: flex;
    width: 400%;
    animation: geo-ia-slide 12s steps(1) infinite;
}
.geo-ia-slide {
    width: 25%;
    flex-shrink: 0;
}
.geo-ia-slide img {
    width: 100%;
    height: auto;
    display: block;
}
@keyframes geo-ia-slide {
    0%   { transform: translateX(0); }
    25%  { transform: translateX(-25%); }
    50%  { transform: translateX(-50%); }
    75%  { transform: translateX(-75%); }
    100% { transform: translateX(0); }
}

/* Dots indicateurs */
.geo-ia-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.geo-ia-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,97,189,.2);
    display: block;
}
.geo-ia-dots span:nth-child(1) { animation: geo-ia-dot 12s steps(1) infinite 0s; }
.geo-ia-dots span:nth-child(2) { animation: geo-ia-dot 12s steps(1) infinite 3s; }
.geo-ia-dots span:nth-child(3) { animation: geo-ia-dot 12s steps(1) infinite 6s; }
.geo-ia-dots span:nth-child(4) { animation: geo-ia-dot 12s steps(1) infinite 9s; }
@keyframes geo-ia-dot {
    0%, 8%   { background: var(--blue); transform: scale(1.3); }
    9%, 100% { background: rgba(0,97,189,.2); transform: scale(1); }
}

@media (max-width: 900px) {
    .cert-pdf-grid { grid-template-columns: repeat(2, 1fr); }
    .geo-ia-split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
    .cert-pdf-grid { grid-template-columns: 1fr; }
    .visib-grid { grid-template-columns: 1fr; }
    .courbes-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LANDING PAGES VILLES (consultant-seo-[ville])
   ============================================================ */

/* Héros avec image de fond personnalisée */
.lp-hero {
    position: relative;
}
/* Annule le ::before de .cs-hero pour les landing pages avec image */
.lp-hero::before {
    background: linear-gradient(135deg, rgba(5,15,40,.78) 0%, rgba(0,40,100,.65) 100%) !important;
    z-index: 0;
}
.lp-hero .container { position: relative; z-index: 1; }

/* Tableau comparatif */
.lp-comparatif-table th {
    background: var(--navy-2);
    color: #fff;
    padding: 12px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.lp-comparatif-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, #e5e7eb);
    font-size: 14px;
    vertical-align: middle;
}
.lp-comparatif-table tr:last-child td { border-bottom: none; }
.lp-comparatif-table tbody tr:hover td { background: #f8faff; }

/* ============================================================
   PAGE MES VIDÉOS
   ============================================================ */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mv-grid--featured {
    grid-template-columns: repeat(3, 1fr);
}
.mv-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,.12);
}
.mv-thumb-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #111;
}
.mv-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.mv-card:hover .mv-thumb-wrap img { transform: scale(1.04); }
.mv-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.3);
    color: #fff;
    font-size: 36px;
    opacity: 0;
    transition: opacity .2s;
}
.mv-card:hover .mv-play { opacity: 1; }
.mv-info { padding: 14px 16px 18px; flex: 1; }
.mv-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--blue);
    margin-bottom: 6px;
}
.mv-title { font-size: 14.5px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.mv-title a { color: var(--navy-2); text-decoration: none; }
.mv-title a:hover { color: var(--blue); }
.mv-desc { font-size: 12.5px; color: #6b7280; line-height: 1.5; margin: 0; }

/* Boutons filtre */
.mv-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--border, #e5e7eb);
    background: #fff;
    color: var(--navy-2);
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}
.mv-filter-btn:hover, .mv-filter-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

@media (max-width: 900px) {
    .mv-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid--featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .mv-grid { grid-template-columns: 1fr; }
    .mv-grid--featured { grid-template-columns: 1fr; }
}

/* ─── Cartes villes agence SEO ─────────────────────────────────────────────── */
.as-cities-map {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 36px;
}
.as-city-card-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid rgba(0,97,189,.15);
    border-radius: 10px;
    text-decoration: none;
    color: var(--navy-2);
    font-size: 14px;
    font-weight: 600;
    transition: background .22s, border-color .22s, color .22s, transform .22s, box-shadow .22s;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.as-city-card-link:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,97,189,.22);
}
.as-city-card-link .as-city-pin {
    color: var(--blue);
    font-size: 13px;
    flex-shrink: 0;
    transition: color .22s;
}
.as-city-card-link:hover .as-city-pin { color: rgba(255,255,255,.85); }
.as-city-card-link .as-city-label { flex: 1; }
.as-city-card-link .as-city-arrow {
    font-size: 11px;
    opacity: .35;
    margin-left: auto;
    flex-shrink: 0;
    transition: opacity .22s, transform .22s;
}
.as-city-card-link:hover .as-city-arrow {
    opacity: .8;
    transform: translateX(3px);
}

@media (max-width: 1100px) { .as-cities-map { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .as-cities-map { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .as-cities-map { grid-template-columns: 1fr; } }

/* ── Créateur de contenu ─────────────────────────────────────────── */
.cs-creator-section { border-top: 1px solid var(--border); }
.cs-creator-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.cs-creator-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cs-creator-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    position: relative;
}
.cs-creator-social-btn:hover { transform: translateX(4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.cs-creator-social-btn--yt  { background: #ff0000; color: #fff; }
.cs-creator-social-btn--tt  { background: #010101; color: #fff; }
.cs-creator-social-btn--ig  {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    color: #fff;
    flex-wrap: wrap;
    row-gap: 2px;
}
.cs-creator-social-note {
    font-size: 11px;
    font-weight: 400;
    opacity: .85;
    width: 100%;
    padding-left: 34px;
    margin-top: -6px;
    letter-spacing: .2px;
}

/* Vidéo embed */
.cs-creator-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
}
.cs-creator-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
.cs-creator-video-caption {
    margin-top: 10px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.cs-creator-video-placeholder {
    aspect-ratio: 16/9;
    border-radius: 14px;
    background: #f1f5f9;
    border: 2px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .cs-creator-inner { grid-template-columns: 1fr; gap: 32px; }
    .cs-creator-text  { order: 1; }
    .cs-creator-video { order: 2; }
}
@media (max-width: 480px) {
    .cs-creator-social-btn { font-size: 14px; padding: 12px 16px; }
}

/* ============================================================
   CORRECTIONS RESPONSIVE MOBILE — AJOUTS COMPLÉMENTAIRES
   ============================================================ */

/* ── Reviews grid ── */
@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .reviews-header { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
    .reviews-rating-big .rating-num { font-size: 40px; }
}

/* ── Grids PDF / certifs ── */
@media (max-width: 768px) {
    .cert-pdf-grid { grid-template-columns: 1fr !important; }
}

/* ── Maillage IA ── */
@media (max-width: 768px) {
    .ia-maillage-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .ia-maillage-grid { grid-template-columns: 1fr !important; }
}

/* ── Auto-steps ── */
@media (max-width: 768px) {
    .auto-steps-grid { grid-template-columns: 1fr !important; }
}

/* ── GEO IA split ── */
@media (max-width: 768px) {
    .geo-ia-split { grid-template-columns: 1fr !important; gap: 32px; }
}

/* ── Tabs overflow scroll ── */
@media (max-width: 768px) {
    .sd-md-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; }
    .sd-md-tabs::-webkit-scrollbar { display: none; }
    .sd-md-tab { flex-shrink: 0; }
    .sd-md-grid { grid-template-columns: 1fr !important; }
}

/* ── Tableaux comparatifs villes ── */
.lp-comparatif-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp-comparatif-table { min-width: 480px; }

/* ── Section paddings ── */
@media (max-width: 768px) {
    .expertise-section { padding: 48px 0; }
    .books-section     { padding: 48px 0; }
    .reviews-section   { padding: 48px 0; }
    .header-logo img   { height: 44px !important; }
    .book-col h3       { font-size: 22px; }
}

/* ── Boutons pleine largeur mobile ── */
@media (max-width: 480px) {
    .modal-box { padding: 24px 16px; }
    .sd-md-btn { width: 100%; justify-content: center; }
    .about-content .btn,
    .hero-content .btn { width: 100%; justify-content: center; }
    .hero-content h1 br { display: none; }
}
