/* ============================================
   MACONSI SARL — CSS Unifié
   Palette : Navy / Blue / Orange
   Fonts  : Playfair Display + DM Sans
   ============================================ */

/* ========== RESET & VARIABLES ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0a1628;
    --navy-mid: #111e36;
    --navy-light: #1a2d4d;
    --blue-accent: #2e7ddb;
    --blue-bright: #4a9eff;
    --blue-pale: #e8f1fc;
    --orange-accent: #e8792b;
    --orange-light: #f5a623;
    --white: #ffffff;
    --gray-50: #f8f9fb;
    --gray-100: #eef1f5;
    --gray-200: #d8dee7;
    --gray-400: #8d97a5;
    --gray-600: #5a6473;
    --gray-800: #2d3340;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --max-w: 1200px;
    --header-h: 90px;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;        /* barre de défilement toujours réservée */
    scrollbar-gutter: stable;  /* évite le décalage horizontal entre pages */
}
body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }

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

/* ========== HEADER ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    height: var(--header-h);
}
.header-logo { flex-shrink: 0; }
.header-logo img { height: 70px; }
.header-logo { display: flex; align-items: center; gap: 14px; }
.header-logo-text {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    line-height: 1.4;
    opacity: .85;
}

.nav-menu { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.nav-menu a {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
    transition: color .2s;
    position: relative;
    white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--white); }
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--orange-accent);
    border-radius: 1px;
}

.header-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-phone {
    color: rgba(255,255,255,.65);
    font-size: 13px;
    display: flex; align-items: center; gap: 6px;
    white-space: nowrap;
}
.header-phone svg { width: 14px; height: 14px; }
.btn-devis {
    background: var(--orange-accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s, transform .15s;
}
.btn-devis:hover { background: #d36a1f; transform: translateY(-1px); }

/* Mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: .3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ========== HERO ACCUEIL — PHOTO PLEINE LARGEUR ==========
   Photographie pleine largeur sous le header, texte pose a gauche
   sur un voile bleu marine degradee ; partie droite laissee degagee. */
.hero-home {
    position: relative;
    margin-top: var(--header-h);
    min-height: 440px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}
.hero-home-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
    z-index: 0;
}
/* Voile sombre depuis la gauche uniquement : degrade progressif et
   transparent, la photographie reste lisible sous le texte. */
.hero-home-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(8, 18, 33, .78) 0%,
        rgba(8, 18, 33, .72) 18%,
        rgba(8, 18, 33, .64) 34%,
        rgba(8, 18, 33, .42) 52%,
        rgba(8, 18, 33, .16) 70%,
        rgba(8, 18, 33, 0) 86%
    );
}
.hero-home-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 34px;
    padding-bottom: 34px;
}
.hero-home-text { max-width: 660px; }

.hero-home-eyebrow {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.8px;
    line-height: 1.6;
    text-transform: uppercase;
    color: rgba(255,255,255,.88);
    margin-bottom: 22px;
}
.hero-home-eyebrow::before {
    content: '';
    flex-shrink: 0;
    width: 28px;
    height: 6px;
    border-radius: 2px;
    margin-top: 7px;
    background: var(--blue-bright);
}

.hero-home h1 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 22px;
    text-shadow: 0 2px 22px rgba(4, 11, 22, .62);
}
.hero-home h1 span { color: var(--orange-accent); }

.hero-home-desc {
    font-size: 16.5px;
    line-height: 1.7;
    color: rgba(255,255,255,.88);
    max-width: 470px;
    margin-bottom: 32px;
    text-shadow: 0 1px 14px rgba(4, 11, 22, .6);
}

.hero-home-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-home-cta .btn svg { width: 16px; height: 16px; }
.hero-home-cta .btn-outline-light {
    border-color: rgba(255,255,255,.55);
    backdrop-filter: blur(2px);
}
.hero-home-cta .btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
    transition: all .2s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--orange-accent);
    color: var(--white);
}
.btn-primary:hover { background: #d36a1f; transform: translateY(-1px); }
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline-light:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }

/* --- Hero accueil : responsive --- */
@media (max-width: 1024px) {
    .hero-home { min-height: 420px; }
    .hero-home-desc { font-size: 15.5px; max-width: 430px; }
}
@media (max-width: 768px) {
    .hero-home { min-height: 400px; }
    .hero-home-inner { padding-top: 30px; padding-bottom: 30px; }
    .hero-home-eyebrow { letter-spacing: 1.4px; margin-bottom: 18px; }
    .hero-home h1 { margin-bottom: 18px; }
    /* voile legerement renforce : le texte couvre une plus grande part de
       la photo, mais celle-ci reste perceptible */
    .hero-home-veil {
        background: linear-gradient(
            90deg,
            rgba(8, 18, 33, .82) 0%,
            rgba(8, 18, 33, .77) 35%,
            rgba(8, 18, 33, .69) 60%,
            rgba(8, 18, 33, .57) 85%,
            rgba(8, 18, 33, .51) 100%
        );
    }
}
@media (max-width: 560px) {
    .hero-home { min-height: 380px; }
    .hero-home-eyebrow { font-size: 12px; }
    .hero-home-desc { font-size: 15px; margin-bottom: 26px; }
    .hero-home-cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* ========== ACCUEIL — BANDEAU DES 6 SOLUTIONS ========== */
.solutions-band {
    background: var(--white);
    padding: 42px 0 64px;
}
.solutions-band-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.solutions-band-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange-accent);
    margin-bottom: 12px;
}
.solutions-band-header h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.22;
    color: var(--navy);
}

.solutions-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.solution-item {
    display: block;
    padding: 4px 22px;
    border-left: 1px solid var(--gray-100);
    color: inherit;
}
.solution-item:first-child { border-left: 0; padding-left: 0; }
.solution-item:last-child { padding-right: 0; }
.solution-item-icon {
    width: 30px;
    height: 30px;
    stroke: var(--navy);
    fill: none;
    margin-bottom: 16px;
    transition: stroke .2s;
}
.solution-item h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy);
    margin-bottom: 8px;
    transition: color .2s;
}
.solution-item p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--gray-600);
}
.solution-item:hover h3 { color: var(--blue-accent); }
.solution-item:hover .solution-item-icon { stroke: var(--blue-accent); }
.solution-item:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 4px;
}

@media (max-width: 1024px) {
    .solutions-band { padding: 38px 0 56px; }
    .solutions-band-label { font-size: 15px; }
    .solutions-band-header h2 { font-size: 28px; }
    .solutions-row { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .solution-item { padding: 4px 24px; border-left: 1px solid var(--gray-100); }
    .solution-item:first-child { padding-left: 24px; }
    .solution-item:last-child { padding-right: 24px; }
    .solution-item:nth-child(2n+1) { border-left: 0; padding-left: 0; }
    .solution-item:nth-child(2n) { padding-right: 0; }
}
@media (max-width: 680px) {
    .solutions-band { padding: 34px 0 48px; }
    .solutions-band-header { margin-bottom: 32px; }
    .solutions-band-label { font-size: 14px; letter-spacing: 2.4px; }
    .solutions-band-header h2 { font-size: 24px; }
    .solutions-row { grid-template-columns: repeat(2, 1fr); row-gap: 32px; column-gap: 26px; }
    .solution-item,
    .solution-item:first-child,
    .solution-item:last-child,
    .solution-item:nth-child(2n+1),
    .solution-item:nth-child(2n) {
        padding: 0;
        border-left: 0;
    }
    .solution-item-icon { width: 26px; height: 26px; margin-bottom: 12px; }
    .solution-item h3 { font-size: 14.5px; }
    .solution-item p { font-size: 13px; }
}
@media (max-width: 420px) {
    .hero-home h1 { font-size: 20px; }
    .hero-home-eyebrow { font-size: 11.5px; }
}
@media (max-width: 360px) {
    .solutions-row { grid-template-columns: 1fr; row-gap: 26px; }
}

/* ========== TRUST BAR ========== */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 48px 0;
}
.trust-bar-inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.trust-row { text-align: center; }
.trust-row-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 20px;
}
.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-logo {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-800);
    opacity: .55;
    letter-spacing: .5px;
    transition: opacity .2s;
    white-space: nowrap;
}
.trust-logo:hover { opacity: .85; }
/* Logos clients en image */
.trust-logo-img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: .7;
    transition: opacity .2s;
    filter: grayscale(30%);
}
.trust-logo-img:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.trust-divider {
    width: 100%;
    height: 1px;
    background: var(--gray-100);
}

/* ========== PROJET EN COURS (pulsing badge) ========== */
.current-project {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}
.current-project-content { padding: 36px; }
.current-project-photo {
    background: var(--navy-mid);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: rgba(255,255,255,.5);
    gap: 12px;
    min-height: 220px;
}
.current-project-photo svg { width: 48px; height: 48px; opacity: .5; }
.current-project-photo span { font-size: 14px; font-weight: 500; }
.badge-en-cours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74,222,128,.1);
    border: 1px solid rgba(74,222,128,.25);
    color: #4ade80;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.badge-en-cours .pulse {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.4); }
    50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.current-project h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.current-project p { color: var(--gray-600); line-height: 1.7; }
.current-project .role {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-accent);
}

/* ========== MISSIONS TABLE ========== */
.missions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}
.missions-table thead th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 20px;
    text-align: left;
}
.missions-table thead th:first-child { border-radius: 8px 0 0 0; }
.missions-table thead th:last-child { border-radius: 0 8px 0 0; }
.missions-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: top;
}
.missions-table tbody tr:last-child td { border-bottom: none; }
.missions-table tbody tr:hover { background: var(--gray-50); }
.missions-table .client-name {
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

/* ========== EXPERIENCE CARDS ========== */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.exp-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 32px;
    transition: box-shadow .25s, transform .25s;
}
.exp-card:hover {
    box-shadow: 0 8px 30px rgba(10,22,40,.08);
    transform: translateY(-2px);
}
.exp-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.exp-card-icon {
    width: 44px; height: 44px;
    background: var(--blue-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.exp-card-icon svg { width: 22px; height: 22px; color: var(--blue-accent); }
.exp-card h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}
.exp-card .company {
    font-size: 13px;
    color: var(--blue-accent);
    font-weight: 600;
    margin-top: 2px;
}
.exp-card .location {
    font-size: 12.5px;
    color: var(--gray-400);
    margin-top: 2px;
}
.exp-card-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.kpi {
    background: var(--gray-50);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--gray-600);
}
.kpi strong {
    color: var(--navy);
    font-weight: 700;
}
.exp-card .role-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--orange-accent);
    background: rgba(232,121,43,.08);
    padding: 5px 12px;
    border-radius: 4px;
}
.exp-note {
    font-size: 13.5px;
    color: var(--gray-400);
    font-style: italic;
    text-align: center;
    max-width: 700px;
    margin: 36px auto 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .exp-grid { grid-template-columns: 1fr; }
    .missions-table { font-size: 13px; }
    .missions-table thead th, .missions-table tbody td { padding: 12px 14px; }
    .current-project-content { padding: 24px; }
}

/* ========== SECTIONS COMMON ========== */
.section { padding: 80px 0; }
.section-light { background: var(--gray-50); }
.section-white { background: var(--white); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}
.section-label {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-accent);
    margin-bottom: 12px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-header p {
    font-size: 15.5px;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ========== SERVICES GRID (3 colonnes par défaut, 4 colonnes en variante) ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.services-grid.services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 36px 28px;
    transition: transform .2s, box-shadow .2s;
    position: relative;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10,22,40,.08);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--blue-accent);
    opacity: 0;
    transition: opacity .2s;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--blue-accent);
    fill: none;
    stroke-width: 2;
}
.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========== STEPPER EPC ========== */
.stepper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
}
.stepper::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--gray-200);
}
.step {
    text-align: center;
    position: relative;
}
.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue-accent);
    color: var(--blue-accent);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
    transition: background .2s, color .2s;
}
.step:hover .step-circle {
    background: var(--blue-accent);
    color: var(--white);
}
.step h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.step p {
    font-size: 12.5px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ========== POURQUOI MACONSI (pillars) ========== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pillar {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10,22,40,.08);
}
.pillar-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue-pale), rgba(46,125,219,.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.pillar-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue-accent);
    fill: none;
    stroke-width: 2;
}
.pillar h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.pillar p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 0;
}

/* ========== PARTNERS / ÉQUIPEMENTIERS ========== */
.partners-section {
    background: var(--navy);
    padding: 56px 0;
}
.partners-section .section-label { color: var(--blue-bright); }
.partners-section h2 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    text-align: center;
    margin-bottom: 8px;
}
.partners-desc {
    text-align: center;
    color: rgba(255,255,255,.5);
    font-size: 14px;
    margin-bottom: 36px;
}
.partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 24px;
}
.partner-name {
    font-weight: 600;
    font-size: 14px;
    color: rgba(255,255,255,.4);
    letter-spacing: .5px;
    transition: color .2s;
    white-space: nowrap;
}
.partner-name:hover { color: rgba(255,255,255,.7); }
/* Boîte blanche identique pour tous les logos partenaires */
.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    width: 160px;
    height: 72px;
    padding: 12px 20px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
/* L'image remplit la boîte sans déformer */
.partner-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
@media (max-width: 768px) {
    .partner-item {
        width: 130px;
        height: 58px;
        padding: 10px 14px;
    }
}
@media (max-width: 480px) {
    .partner-item {
        width: 110px;
        height: 50px;
        padding: 8px 12px;
    }
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--blue-accent), #1a5fb4);
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 80% 100%, rgba(232,121,43,.15), transparent),
        radial-gradient(ellipse 40% 60% at 20% 0%, rgba(255,255,255,.05), transparent);
    pointer-events: none;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
}
.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,.75);
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    position: relative;
}
.btn-white {
    background: var(--white);
    color: var(--blue-accent);
    font-weight: 700;
}
.btn-white:hover { background: var(--gray-50); transform: translateY(-1px); }
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ========== FOOTER ========== */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 56px 0 0;
    color: rgba(255,255,255,.55);
    font-size: 13.5px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .3px;
}
.footer-about-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.footer-social a:hover { background: rgba(255,255,255,.12); }
.footer-social svg {
    width: 15px;
    height: 15px;
    fill: rgba(255,255,255,.6);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-contact-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue-bright);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255,255,255,.3);
}

/* ========== WHATSAPP FLOAT ========== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.35);
    z-index: 99;
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--navy);
    color: rgba(255,255,255,.9);
    padding: 18px;
    z-index: 9999;
    box-shadow: 0 -4px 16px rgba(0,0,0,.2);
    display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.cookie-banner p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,.8);
}
.cookie-banner p a {
    color: var(--blue-bright);
    text-decoration: underline;
}
.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.btn-sm {
    padding: 8px 18px;
    font-size: 12.5px;
}

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== PAGE BANNER (sous-pages) ========== */
.page-banner {
    margin-top: var(--header-h);
    background: var(--navy);
    padding: 28px 0 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(46,125,219,.1) 0%, transparent 60%);
    pointer-events: none;
}
.page-banner h1 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
}
.page-banner p {
    font-size: 15px;
    color: rgba(255,255,255,.6);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 13px;
    position: relative;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ========== SERVICE BLOCKS (services.html) ========== */
.svc-block {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-100);
}
.svc-block:last-child { border-bottom: none; }
.section:nth-child(even) .svc-block { direction: rtl; }
.section:nth-child(even) .svc-block > * { direction: ltr; }

.svc-block .img-placeholder {
    height: 260px;
    background: linear-gradient(135deg, var(--navy-light), var(--blue-accent));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.svc-block .img-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: rgba(255,255,255,.4);
    fill: none;
    stroke-width: 1.5;
}
.svc-block .img-placeholder span {
    color: rgba(255,255,255,.5);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}
/* Cadre photo d'une solution (remplace le placeholder) */
.svc-block .svc-visual {
    height: 260px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--navy-light);
}
.svc-block .svc-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
}
.svc-content h2,
.svc-content h3 {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.svc-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.72;
}
.svc-content .items { margin-top: 16px; }
.svc-content .items li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: var(--gray-600);
    font-size: 15.5px;
    line-height: 1.55;
}
.svc-content .items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-accent);
    opacity: .5;
}
.svc-detail {
    margin-top: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--blue-accent);
}
.svc-detail p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}
.svc-detail p:last-child { margin-bottom: 0; }
.svc-detail strong { color: var(--navy); }

/* ========== PROJECT CARDS (projets.html) ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.proj-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.proj-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10,22,40,.08);
}
.proj-card .img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, var(--navy-light), var(--blue-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}
.proj-card .body { padding: 24px; }
.proj-card .tag {
    display: inline-block;
    background: var(--blue-pale);
    color: var(--blue-accent);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
.proj-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.proj-card .meta {
    font-size: 12.5px;
    color: var(--gray-400);
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}
.proj-card .meta span { display: inline-flex; align-items: center; gap: 3px; }
.proj-card .meta svg {
    width: 14px;
    height: 14px;
    stroke: var(--blue-accent);
    fill: none;
    stroke-width: 2;
}
.proj-card p {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 14px;
}
.proj-card .btn {
    font-size: 12.5px;
    padding: 8px 18px;
}
.btn-outline-dark {
    background: transparent;
    color: var(--blue-accent);
    border: 1.5px solid var(--blue-accent);
}
.btn-outline-dark:hover {
    background: var(--blue-accent);
    color: var(--white);
}

/* Delivery method cards */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.delivery-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.delivery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10,22,40,.08);
}
.delivery-card svg {
    width: 36px;
    height: 36px;
    stroke: var(--blue-accent);
    fill: none;
    stroke-width: 2;
    margin-bottom: 14px;
}
.delivery-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.delivery-card p {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 0;
}

.ref-note {
    text-align: center;
    font-style: italic;
    color: var(--gray-400);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.contact-item .icon-box {
    width: 48px;
    height: 48px;
    background: var(--blue-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item .icon-box svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-accent);
    fill: none;
    stroke-width: 2;
}
.contact-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.contact-item p {
    margin-bottom: 0;
    font-size: 13.5px;
    color: var(--gray-600);
}
.contact-item a { color: var(--blue-accent); }
.contact-item a:hover { color: var(--orange-accent); }

/* ========== FORMS ========== */
.form-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(10,22,40,.04);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 6px;
    color: var(--gray-800);
}
.form-group .req,
.form-group .required { color: #e74c3c; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-800);
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
}
.form-control:focus {
    outline: none;
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(46,125,219,.1);
}
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%232d3340' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}
.form-check input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--blue-accent);
    flex-shrink: 0;
}
.form-check label {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-600);
}
.form-check label a { color: var(--blue-accent); text-decoration: underline; }
.form-error { color: #e74c3c; font-size: 12px; margin-top: 4px; }
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}
.form-success svg {
    width: 56px;
    height: 56px;
    stroke: #27ae60;
    fill: none;
    stroke-width: 2;
    margin-bottom: 16px;
}
.form-success h3 {
    color: #27ae60;
    font-size: 22px;
    margin-bottom: 10px;
}
.form-success p {
    color: var(--gray-600);
    font-size: 14px;
}

/* File upload */
.file-upload {
    position: relative;
    border: 2px dashed var(--gray-200);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.file-upload:hover {
    border-color: var(--blue-accent);
    background: var(--gray-50);
}
.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.file-upload svg {
    width: 32px;
    height: 32px;
    stroke: var(--gray-400);
    fill: none;
    stroke-width: 2;
    margin-bottom: 8px;
}
.file-upload p {
    font-size: 13.5px;
    color: var(--gray-600);
    margin-bottom: 4px;
}
.file-upload .hint {
    font-size: 12px;
    color: var(--gray-400);
}

/* Form section headers */
.form-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-section-title svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue-accent);
    fill: none;
    stroke-width: 2;
}

/* ========== RESPONSIVE ========== */
/* Zone intermediaire : le texte du logo est masque pour ne pas
   coller au menu quand la barre de navigation manque de place. */
@media (max-width: 1200px) {
    .header-logo-text { display: none; }
}
@media (max-width: 1024px) {
    .stepper { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .stepper::before { display: none; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid.services-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-block { grid-template-columns: 1fr; gap: 28px; }
    .section:nth-child(even) .svc-block { direction: ltr; }
    .svc-block .svc-visual { height: 220px; }
    .delivery-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .menu-toggle { display: flex; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--navy);
        padding: 24px;
        gap: 20px;
        border-top: 1px solid rgba(255,255,255,.06);
        z-index: 100;
    }
    .header-phone { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .services-grid.services-grid-4 { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .stepper { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 24px; }
    .page-banner { padding: 22px 0 20px; }
    .page-banner h1 { font-size: 28px; }
    .cookie-banner .container { flex-direction: column; text-align: center; }
}

/* ========== MESSAGES FORMULAIRE ========== */
.form-message {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-message--error {
  background: #fde8e8;
  color: #C0392B;
  border: 1px solid #f5c6c6;
}
.form-message--success {
  background: #e8f5e9;
  color: #2E7D32;
  border: 1px solid #c8e6c9;
}

/* ========== COMPLEMENTS EDITORIAUX (refonte solutions / about) ========== */
/* Sous-titre "Ce que MACONSI peut prendre en charge" dans les blocs solutions */
.svc-lead {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--blue-accent);
}
/* Bloc confidentialite (about.html) : discret et centre */
.about-confidentiality {
    max-width: 760px;
    margin: 0 auto;
}
.about-confidentiality .svc-detail { margin-top: 0; }
.svc-detail h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
/* Moyen de contact alternatif sous les formulaires */
.form-alt-contact {
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.6;
}
.form-alt-contact a { color: var(--blue-accent); font-weight: 600; }
.form-alt-contact a:hover { color: var(--orange-accent); }

/* ========== SOMMAIRE A ANCRES (solutions / expertises) ========== */
.page-anchors {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: var(--header-h);
    z-index: 50;
}
.page-anchors .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.page-anchors a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    color: var(--gray-600);
    padding: 7px 15px;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    transition: color .2s, border-color .2s, background .2s;
    white-space: nowrap;
}
.page-anchors a:hover {
    color: var(--blue-accent);
    border-color: var(--blue-accent);
    background: var(--blue-pale);
}
@media (max-width: 768px) {
    .page-anchors { position: static; }
    .page-anchors a { font-size: 12px; padding: 6px 12px; }
}

/* ========== PAGES SOLUTIONS ET EXPERTISES — DENSIFICATION VERTICALE ==========
   Regles limitees a solutions.html (body.page-solutions) et
   services.html (body.page-expertises).
   Aucun changement de couleur, de typographie ni de composant :
   uniquement des paddings / margins / gaps resserres. */
.page-solutions .section,
.page-expertises .section { padding: 44px 0; }
.page-solutions .svc-block,
.page-expertises .svc-block {
    padding: 24px 0;
    gap: 40px;
}
.page-solutions .breadcrumb,
.page-expertises .breadcrumb { margin-top: 14px; }
.page-solutions .svc-content h3,
.page-expertises .svc-content h2 { margin-bottom: 10px; }
.page-solutions .svc-lead { margin-top: 12px; }
.page-solutions .svc-content .items,
.page-expertises .svc-content .items { margin-top: 12px; }
.page-solutions .svc-content .items li,
.page-expertises .svc-content .items li { padding-top: 4px; padding-bottom: 4px; }
.page-solutions .svc-detail,
.page-expertises .svc-detail { margin-top: 14px; }
.page-solutions .cta-section,
.page-expertises .cta-section { padding: 56px 0; }
/* Ancres : les liens entrants doivent s'arreter sous le header et le sommaire */
.page-solutions .section,
.page-expertises .section { scroll-margin-top: 150px; }
.page-solutions .section > .container[id] { scroll-margin-top: 190px; }
@media (max-width: 1024px) {
    .page-solutions .section,
    .page-expertises .section { padding: 34px 0; }
    .page-solutions .svc-block,
    .page-expertises .svc-block { padding: 20px 0; gap: 24px; }
    .page-solutions .cta-section,
    .page-expertises .cta-section { padding: 44px 0; }
}
@media (max-width: 768px) {
    .page-solutions .section,
    .page-expertises .section { scroll-margin-top: 100px; }
    .page-solutions .section > .container[id] { scroll-margin-top: 134px; }
}

/* Champ honeypot anti-spam : masqué sans provoquer de débordement horizontal */
.hp-field {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* LinkedIn : icône présente mais non cliquable tant que l'URL n'est pas renseignée */
.footer-social a:not([href]) { cursor: default; }

/* Contact : colonne coordonnées plus compacte pour laisser le formulaire dominer */
.contact-info { gap: 18px; }
.contact-item .icon-box { width: 42px; height: 42px; }
.contact-item .icon-box svg { width: 18px; height: 18px; }

/* ==========================================================================
   PAGE LÉGALE (confidentialite.html)
   Bloc de texte long. N'utilise que les variables de design existantes :
   aucune règle ci-dessous ne modifie un style déjà en place.
   ========================================================================== */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 15.5px;
    line-height: 1.75;
}
.legal-content > p:first-child { margin-top: 0; }
.legal-content h2 {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.3;
    color: var(--navy);
    margin: 44px 0 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 26px 0 8px;
}
.legal-content p { margin: 0 0 14px; }
.legal-content ul {
    margin: 0 0 16px;
    padding-left: 20px;
    list-style: disc outside;
}
.legal-content li { margin-bottom: 7px; }
.legal-content a {
    color: var(--blue-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--blue-bright); }
.legal-content strong { color: var(--gray-800); font-weight: 600; }
.legal-updated {
    margin-top: 44px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-200);
    font-size: 13.5px;
    color: var(--gray-400);
}
@media (max-width: 600px) {
    .legal-content { font-size: 15px; }
    .legal-content h2 { font-size: 22px; margin-top: 34px; }
}

/* Lien discret vers la politique de confidentialité, dans la barre de bas de page */
.footer-bottom a {
    color: inherit;
    text-decoration: none;
    opacity: .85;
}
.footer-bottom a:hover { opacity: 1; text-decoration: underline; }
