/* ===================================================================
   NEXERP — styles.css
   Palette : Navy #1e3a8a · Green #15803d · Gold #d97706 · Encre #051c2c
   Direction artistique V2 : éditoriale « cabinet de conseil » —
   serif display, encre profonde, filets hairline, angles nets,
   numérotation d'exhibits (voir couche V2 en fin de fichier).
   =================================================================== */

:root {
    --navy: #1e3a8a;
    --navy-dark: #1e2a6b;
    --navy-light: #3b5bdb;
    --green: #15803d;
    --green-light: #22c55e;
    --gold: #d97706;
    --gold-light: #f59e0b;
    --ink: #051c2c;
    --text: #0f172a;
    --text-muted: #475569;
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --bg-dark: #051c2c;
    --border: #e2e8f0;
    --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --radius: 2px;
    --radius-sm: 2px;
    --shadow-sm: 0 1px 2px rgba(5, 28, 44, 0.06);
    --shadow: 0 2px 8px rgba(5, 28, 44, 0.07);
    --shadow-lg: 0 6px 20px rgba(5, 28, 44, 0.10);
    --header-h: 76px;
    --container: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }

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

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-link { display: flex; align-items: center; }
.logo { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.nav-link:hover { color: var(--navy); background: var(--bg-alt); }
.nav-cta {
    background: var(--navy);
    color: #fff !important;
    margin-left: 8px;
    padding: 10px 20px;
}
.nav-cta:hover { background: var(--navy-dark); color: #fff !important; }

.menu-toggle {
    display: none;
    width: 40px; height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    transition: all .3s;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 60px) 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(30, 58, 138, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(21, 128, 61, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.05) 0%, transparent 60%);
    pointer-events: none;
}
.hero-container { position: relative; z-index: 1; }

.hero-content { max-width: 880px; }
.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.text-gradient {
    background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 36px;
}
.hero-subtitle strong { color: var(--text); font-weight: 600; }

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.btn-primary {
    background: var(--navy);
    color: #fff;
}
.btn-primary:hover {
    background: var(--navy-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-secondary:hover {
    background: var(--navy);
    color: #fff;
}
.btn-large { padding: 16px 36px; font-size: 17px; width: 100%; }

.hero-agents {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.hero-agents-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 8px;
}
.agent-chip {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

/* Hero proof points (4 chiffres clés) */
.hero-proofs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 8px;
    max-width: 760px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hero-proofs-4 { grid-template-columns: repeat(4, 1fr); }
.proof {
    display: flex;
    flex-direction: column;
}
.proof strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.proof span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .hero-proofs { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.section-intro {
    font-size: 18px;
    color: var(--text-muted);
}

/* ---------- About : products grid ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .3s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.product-icon[data-color="navy"] { background: rgba(30, 58, 138, 0.1); }
.product-icon[data-color="green"] { background: rgba(21, 128, 61, 0.1); }
.product-icon[data-color="gold"] { background: rgba(217, 119, 6, 0.1); }
.product-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}
.product-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.value-prop {
    background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
    border-radius: var(--radius);
    padding: 48px;
    color: #fff;
}
.value-prop h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}
.value-prop p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}
.value-prop code {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.92em;
    font-family: 'SF Mono', Consolas, monospace;
}

/* ---------- Why : stats + cards ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}
.stat {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
}
.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}
.stat-number span {
    font-size: 18px;
    font-weight: 600;
    color: var(--green);
    margin-left: 4px;
}
.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.why-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all .3s;
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-icon { font-size: 36px; margin-bottom: 16px; }
.why-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: 15px; }
.why-card code {
    background: var(--bg-alt);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* ---------- Services ---------- */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
}
.service-block {}
.service-header { margin-bottom: 32px; }
.service-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.service-badge-gold { background: rgba(217, 119, 6, 0.15); color: var(--gold); }
.service-badge-navy { background: rgba(30, 58, 138, 0.1); color: var(--navy); }
.service-header h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
}
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .3s;
}
.service-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--navy);
}
.service-icon { font-size: 32px; margin-bottom: 12px; }
.service-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}
.service-card ul {
    list-style: none;
    padding: 0;
}
.service-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 14px;
}
.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ---------- Founders ---------- */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.founder-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all .3s;
}
.founder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.founder-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}
.founder-avatar-fm { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.founder-avatar-ry { background: linear-gradient(135deg, var(--green), var(--green-light)); }

.founder-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-alt);
    display: grid;
    place-items: center;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    position: relative;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(15, 23, 42, 0.08), 0 12px 32px rgba(15, 23, 42, 0.15);
    transition: transform .3s ease, box-shadow .3s ease;
}
.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
}
.founder-card:hover .founder-photo {
    transform: scale(1.03);
}
.founder-photo-fm {
    box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--navy), 0 12px 32px rgba(30, 58, 138, 0.25);
}
.founder-photo-ry {
    box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--green), 0 12px 32px rgba(21, 128, 61, 0.25);
}
.founder-photo-fm.fallback {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.founder-photo-ry.fallback {
    background: linear-gradient(135deg, var(--green), var(--green-light));
}
.founder-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}
.founder-title {
    color: var(--green);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.founder-bio {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
}
.founder-email {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.founder-email:hover {
    background: var(--navy);
    color: #fff;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.testimonial-placeholder { opacity: 0.6; }
.testimonial-quote {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
}
.testimonial-name {
    font-weight: 600;
    font-size: 15px;
}
.testimonial-role {
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .3s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}
.blog-image[data-color="navy"] { background: linear-gradient(135deg, rgba(30,58,138,0.15), rgba(30,58,138,0.05)); }
.blog-image[data-color="green"] { background: linear-gradient(135deg, rgba(21,128,61,0.15), rgba(21,128,61,0.05)); }
.blog-image[data-color="gold"] { background: linear-gradient(135deg, rgba(217,119,6,0.15), rgba(217,119,6,0.05)); }
.blog-content { padding: 24px; }
.blog-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-alt);
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.blog-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}
.blog-date {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .2s;
}
.faq-item[open] {
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--navy);
    font-weight: 300;
    transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- Contact ---------- */
.section-contact {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding: 40px;
    border-radius: var(--radius);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}
.contact-address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.8;
}
.contact-line {
    margin-bottom: 20px;
}
.contact-line .contact-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}
.contact-line a {
    color: #fff;
    font-weight: 500;
    word-break: break-all;
}
.contact-line a:hover { color: var(--gold-light); }

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.form-checkbox input { width: auto; margin-top: 4px; }
.form-checkbox label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: none;
}
.form-status.success {
    display: block;
    background: rgba(21, 128, 61, 0.1);
    color: var(--green);
    border: 1px solid rgba(21, 128, 61, 0.3);
}
.form-status.error {
    display: block;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding: 64px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand {}
.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}
.footer-tagline {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px 0;
    transition: color .2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-col p {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 13px; color: #94a3b8; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Section: Problèmes ---------- */
.eyebrow-warning { color: var(--gold); }
.section-footer {
    text-align: center;
    margin-top: 48px;
    color: var(--text-muted);
    font-size: 16px;
}
.section-footer a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.problem-card {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 24px;
    transition: all .25s;
}
.problem-card:hover {
    transform: translateX(2px);
    box-shadow: var(--shadow);
    border-left-color: var(--navy);
}
.problem-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: inline-block;
    line-height: 1;
}
.problem-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.problem-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* ---------- Section: Approche (8 steps flow) ---------- */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 20px;
    border: 1px solid var(--border);
    position: relative;
    transition: all .25s;
}
.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.step-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.step-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.step-body p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
}
@media (max-width: 980px) { .steps-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-flow { grid-template-columns: 1fr; } }

/* ---------- Section: Méthode Agent Engineering (6 phases) ---------- */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    counter-reset: phase;
}
.phase-card {
    background: linear-gradient(135deg, #fff 0%, var(--bg-alt) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
    transition: all .3s;
}
.phase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy);
}
.phase-num {
    position: absolute;
    top: -18px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--green));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
}
.phase-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 16px 0 12px;
}
.phase-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ---------- Section: Offres packagées ---------- */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}
.offer-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all .3s;
    position: relative;
}
.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy);
}
.offer-featured {
    border-color: var(--navy);
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.12);
    background: linear-gradient(180deg, #fff 0%, #f4f7ff 100%);
}
.offer-featured::before {
    content: 'Le plus demandé';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.offer-card header { margin-bottom: 16px; }
.offer-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-alt);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.offer-tag-hot { background: rgba(217, 119, 6, 0.12); color: var(--gold); }
.offer-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.offer-pitch {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.offer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}
.offer-list li {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}
.offer-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--green);
    font-weight: 800;
}
.offer-cta { width: 100%; justify-content: center; }

/* ---------- Section: Cas d'usage CEGID ---------- */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.usecase-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .3s;
}
.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.usecase-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.usecase-icon[data-color="navy"] { background: rgba(30, 58, 138, 0.1); }
.usecase-icon[data-color="green"] { background: rgba(21, 128, 61, 0.1); }
.usecase-icon[data-color="gold"] { background: rgba(217, 119, 6, 0.1); }
.usecase-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
}
.usecase-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.usecase-card ul li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}
.usecase-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--navy);
    font-weight: 700;
}

/* ---------- Section: Domaines CEGID Retail (17 cards) ---------- */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.domain-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px;
    transition: all .25s;
    display: flex;
    flex-direction: column;
}
.domain-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--navy);
}
.domain-icon {
    font-size: 26px;
    margin-bottom: 10px;
    display: inline-block;
    line-height: 1;
}
.domain-card h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.domain-card p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

/* ---------- Section: IA Factory (dark) ---------- */
.section-dark {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: #fff;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-intro { color: rgba(255, 255, 255, 0.8); }
.eyebrow-light { color: var(--gold-light) !important; }
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.pillar {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(8px);
    transition: all .3s;
}
.pillar:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}
.pillar-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.pillar h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.pillar p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ---------- Section: Gouvernance ---------- */
.governance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.gov-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .3s;
}
.gov-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.gov-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: inline-block;
}
.gov-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.gov-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ---------- Section: ROI ---------- */
.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.roi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all .3s;
}
.roi-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--green);
}
.roi-icon {
    font-size: 30px;
    margin-bottom: 12px;
}
.roi-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.roi-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* ---------- Section: Publications ---------- */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.pub-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .3s;
}
.pub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.pub-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
    border-bottom: 1px solid var(--border);
}
.pub-cover img {
    width: auto;
    max-width: 100%;
    max-height: 300px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22), 0 2px 6px rgba(15, 23, 42, 0.12);
    transition: transform .3s ease;
}
.pub-card:hover .pub-cover img {
    transform: translateY(-4px) scale(1.02);
}
.pub-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.pub-body h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text);
}
.pub-alt {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    font-style: italic;
}
.pub-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}
.pub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pub-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    transition: all .2s;
}
.pub-chip:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-1px);
}

/* ---------- Portail métier (encart Services) ---------- */
.portail-banner {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
    border-radius: var(--radius);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    color: #fff;
}
.portail-banner-text { flex: 1 1 480px; }
.portail-banner-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 10px;
}
.portail-banner h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.portail-banner p {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin: 0;
}
.portail-banner p strong { color: #fff; font-weight: 700; }
.portail-banner-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.portail-banner-cta:hover {
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
@media (max-width: 640px) {
    .portail-banner { padding: 28px 22px; }
    .portail-banner-cta { width: 100%; justify-content: center; }
}

/* ---------- Section: Lead Magnet ---------- */
.section-leadmagnet {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
}
.leadmagnet-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 56px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.leadmagnet-content h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--text);
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.leadmagnet-content > p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.leadmagnet-perks {
    list-style: none;
    padding: 0;
    margin: 0;
}
.leadmagnet-perks li {
    font-size: 15px;
    padding: 6px 0;
    color: var(--text);
    font-weight: 500;
}
.leadmagnet-form {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 32px;
}
.leadmagnet-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}
.leadmagnet-form .form-group { margin-bottom: 14px; }
.leadmagnet-form .btn { margin-top: 8px; }
.leadmagnet-form input,
.leadmagnet-form select {
    background: #fff;
}
@media (max-width: 980px) {
    .leadmagnet-wrap { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}
@media (max-width: 480px) {
    .leadmagnet-wrap { padding: 24px; }
    .leadmagnet-form { padding: 20px; }
}

/* ---------- Section: Références sur demande ---------- */
.references-wrap {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 24px 0;
}
.references-wrap h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--text);
    margin: 12px 0 16px;
}
.references-wrap p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ---------- Contact: promises + footer-small ---------- */
.contact-promises {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-promises p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 6px 0;
}
.footer-small {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    font-style: italic;
}

/* ---------- Legal pages ---------- */
.legal-hero {
    padding: calc(var(--header-h) + 60px) 0 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--text);
    margin: 16px 0 16px;
    letter-spacing: -0.02em;
}
.legal-lead {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 760px;
    line-height: 1.7;
}
.legal-date {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}
.breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 6px; }

.legal-page {
    padding: 60px 0 100px;
    background: var(--bg);
}
.legal-content {
    max-width: 820px;
    margin: 0 auto;
}
.legal-content section { margin-bottom: 48px; }
.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-alt);
    letter-spacing: -0.01em;
}
.legal-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 24px 0 12px;
}
.legal-content p {
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.75;
}
.legal-content ul {
    margin: 12px 0 16px 20px;
    color: var(--text);
}
.legal-content ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.legal-content a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--green); }
.legal-content strong { color: var(--text); font-weight: 600; }

.legal-table {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 16px 0 20px;
}
.legal-table dl {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 8px 16px;
    margin: 0;
}
.legal-table dt {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 14px;
    padding: 4px 0;
}
.legal-table dd {
    margin: 0;
    color: var(--text);
    padding: 4px 0;
    font-size: 15px;
}
.legal-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.5;
    vertical-align: top;
}
.legal-table th {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: var(--bg-alt); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { position: static; }
    .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        transform: translateY(-110%);
        transition: transform .3s;
        gap: 0;
    }
    .nav.open { transform: translateY(0); }
    .nav-link { padding: 14px 16px; }
    .nav-cta { margin: 8px 0 0; }
    .menu-toggle { display: flex; }
    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .section { padding: 64px 0; }
    .hero { padding: calc(var(--header-h) + 40px) 0 60px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .value-prop { padding: 32px 24px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .legal-table dl { grid-template-columns: 1fr; gap: 4px; }
    .legal-table dt { padding-top: 12px; }
    .legal-table { padding: 16px; overflow-x: auto; }
    .legal-table table { font-size: 13px; }
    .legal-table th, .legal-table td { padding: 8px 10px; }
}

/* ===================================================================
   V2 — REFONTE ÉDITORIALE « CABINET DE CONSEIL »
   Serif display · encre profonde · filets hairline · exhibits numérotés
   Cette couche surcharge volontairement les règles historiques.
   =================================================================== */

/* ---------- V2 · Typographie display (serif) ---------- */
.hero-title,
.section-title,
.leadmagnet-content h2,
.references-wrap h2,
.legal-hero h1,
.value-prop h3,
.contact-info h3,
.portail-banner h3 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0;
}
.hero-title {
    font-size: clamp(38px, 5.2vw, 62px);
    line-height: 1.08;
    max-width: 20ch;
}
.section-title {
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.14;
}

/* Numéraux serif (chiffres clés, compteurs) */
.stat-number,
.proof strong {
    font-family: var(--serif);
    letter-spacing: 0;
}
.proof strong { font-size: 26px; font-weight: 600; }

/* ---------- V2 · En-têtes de section : alignés à gauche + filet ---------- */
.section-header {
    text-align: left;
    max-width: 800px;
    margin: 0 0 56px;
}
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
}
.section-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

/* ---------- V2 · Hero : sobre, éditorial ---------- */
.hero { background: var(--bg); }
.hero-bg { background-image: none; }
.hero-tag {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.14em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.hero-tag::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--gold);
}
.text-gradient {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: var(--navy);
    font-style: italic;
}

/* ---------- V2 · Boutons & tags : rectangulaires ---------- */
.btn { border-radius: 2px; border-width: 1px; }
.agent-chip { border-radius: 2px; box-shadow: none; }
.offer-tag {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 2px;
    letter-spacing: 0.08em;
}
.offer-tag-hot { background: transparent; border-color: var(--gold); }
.offer-featured::before { border-radius: 2px; letter-spacing: 0.1em; }
.founder-email { border: 1px solid var(--border); background: transparent; }

/* ---------- V2 · Surfaces sombres : encre profonde unie ---------- */
.section-dark,
.value-prop,
.contact-info,
.section-leadmagnet,
.portail-banner {
    background: var(--ink);
}
.value-prop,
.contact-info,
.portail-banner {
    border-top: 2px solid var(--gold);
}
.footer { background: var(--ink); }
.leadmagnet-wrap { border-radius: 2px; box-shadow: none; }

/* ---------- V2 · Exhibits numérotés (remplace les emojis) ---------- */
.problem-icon, .gov-icon, .roi-icon, .domain-icon,
.product-icon, .usecase-icon, .why-icon, .service-icon { display: none; }

.problems-grid { counter-reset: exhibit; }
.governance-grid { counter-reset: exhibit; }
.roi-grid { counter-reset: exhibit; }
.domains-grid { counter-reset: exhibit; }

.problem-card::before,
.gov-card::before,
.roi-card::before,
.domain-card::before {
    counter-increment: exhibit;
    content: counter(exhibit, decimal-leading-zero);
    display: block;
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 14px;
}
.roi-card { text-align: left; }
.problem-card {
    border-left: 1px solid var(--border);
    border-top: 2px solid var(--gold);
}
.problem-card:hover { transform: none; border-top-color: var(--navy); }

/* Numéros de phases & étapes : numéraux serif, sans médaillon */
.phase-num {
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: block;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--gold);
}
.phase-card { background: #fff; }
.phase-card h3 { margin: 12px 0 10px; }
.step-num {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0;
}
.pillar-num {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0;
}

/* ---------- V2 · Listes : tirets éditoriaux ---------- */
.offer-list li::before,
.service-card ul li::before {
    content: '—';
    color: var(--green);
    font-weight: 400;
}
.usecase-card ul li::before { content: '—'; font-weight: 400; }

/* ---------- V2 · Détails ---------- */
.faq-item { background: #fff; }
.founder-photo,
.founder-photo-fm,
.founder-photo-ry {
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--border);
}
.founder-card:hover { transform: none; box-shadow: var(--shadow); }
.offer-card:hover,
.usecase-card:hover,
.product-card:hover,
.blog-card:hover,
.pub-card:hover,
.phase-card:hover,
.domain-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--navy);
}
@media (max-width: 768px) {
    .section-header { margin-bottom: 40px; }
}

/* ---------- V2 · Encart Agents IA Odoo × Shopify (membre OCA) ---------- */
.oca-banner {
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.oca-banner-text { flex: 1 1 480px; }
.oca-banner-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.oca-banner-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.oca-banner h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.oca-banner p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 22px;
}
.oca-banner p strong { color: var(--text); }
.oca-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 250px;
    text-align: center;
}
.oca-badge img { height: 46px; width: auto; }
.oca-badge span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.oca-badge span strong { color: var(--text); }
@media (max-width: 640px) {
    .oca-banner { padding: 28px 22px; }
    .oca-badge { width: 100%; max-width: none; }
}

/* Section dédiée #odoo-shopify : rythme vertical */
#odoo-shopify .odoo-usecases { margin-bottom: 64px; }
#odoo-shopify .odoo-offers { margin-bottom: 48px; }
#odoo-shopify .oca-banner { margin-top: 0; }
.odoo-subhead { margin-bottom: 24px; }

/* ---------- V2 · IA Factory : deux fondations (RAG + MDM agentique) ---------- */
.factory-foundations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.foundation-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 2px solid var(--gold-light);
    border-radius: var(--radius);
    padding: 36px 32px;
}
.foundation-num {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 16px;
}
.foundation-card h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.foundation-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}
.foundation-card a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.foundation-card a:hover { color: #fff; }
.factory-more {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    max-width: 820px;
}

/* ---------- V2 · Fondateur unique : carte centrée, largeur maîtrisée ---------- */
.founders-solo {
    grid-template-columns: minmax(0, 460px);
    justify-content: center;
}

/* ---------- V2 · Domaines CEGID : grille compacte (noms seuls) ---------- */
.domains-compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.domains-compact .domain-card {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 16px 18px;
}
.domains-compact .domain-card::before {
    font-size: 17px;
    margin-bottom: 0;
    flex-shrink: 0;
}
.domains-compact .domain-card h3 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
}

/* ---------- V2 · Approche MDM : encart + figures exhibits ---------- */
.approche-callout {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 40px;
}
.approche-callout p {
    font-family: var(--serif);
    font-size: 18.5px;
    line-height: 1.65;
    color: var(--text);
    margin: 0;
    max-width: 62ch;
}
.approche-callout strong { font-weight: 700; }
.site-figure {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 28px 20px;
    margin: 0 0 28px;
}
.site-figure img {
    width: 100%;
    height: auto;
    display: block;
}
.site-figure figcaption {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--text-muted);
}
.site-figure figcaption span {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 14px;
    color: var(--gold);
    white-space: nowrap;
}
#approche .odoo-subhead { margin-top: 56px; }

/* ---------- V2 · Section Bayon (MDM agentique) ---------- */
#bayon .bayon-pillars { margin-bottom: 56px; }
#bayon .bayon-stats { margin-bottom: 64px; }
#bayon .oca-banner { margin-top: 0; }
.verdicts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}
.verdict-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
}
.verdict-chip {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 14px;
}
.verdict-auto { background: rgba(21, 128, 61, 0.07); color: var(--green); border: 1px solid rgba(21, 128, 61, 0.28); }
.verdict-reco { background: rgba(217, 119, 6, 0.07); color: var(--gold); border: 1px solid rgba(217, 119, 6, 0.32); }
.verdict-oblig { background: rgba(30, 58, 138, 0.07); color: var(--navy); border: 1px solid rgba(30, 58, 138, 0.28); }
.verdict-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 8px;
}
.verdict-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.verdicts-note {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 56px;
}
.bayon-wordmark {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}
#bayon .bayon-scope { margin-bottom: 32px; }
.bayon-criterion .criterion-synthese {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-weight: 700;
    font-size: 20px;
    color: var(--ink);
}

/* Footer : mention membre OCA (fond encre → logo sur pastille blanche) */
.footer-oca {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-oca img {
    height: 32px;
    width: auto;
    background: #fff;
    padding: 5px 9px;
    border-radius: 2px;
}
.footer-oca p {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 480px) {
    .logo { height: 44px; }
    .stat-number { font-size: 44px; }
    .footer-cols { grid-template-columns: 1fr; }
    .contact-form, .contact-info { padding: 24px; }
}
