/* ─── Design system partagé — pages intérieures (Contact, Qui sommes-nous, Expertise, …) ─── */

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section {
    padding: 96px 0;
}

.section.alt {
    background: #f2f5fa;
}

.section.navy {
    background: #0d1b2a;
    color: #ffffff;
}

@media (max-width: 960px) {
    .wrap {
        padding: 0 24px;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 64px 0;
    }
}

.eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2e5bff;
}

.lead {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #142036;
    line-height: 1.6;
}

.muted {
    color: #5b6b82;
    line-height: 1.7;
}

.sub {
    color: #5b6b82;
    font-size: 16px;
    line-height: 1.7;
    margin-top: 14px;
}

.sec-head {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
}

.sec-head h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #142036;
}

.section.navy .sec-head h2 {
    color: #ffffff;
}

/* gros titre fantôme décoratif derrière un sec-head */
.ghost-wrap {
    position: relative;
}

.ghost {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 80px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.04);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
}

/* image placeholder */
.ph {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: repeating-linear-gradient(135deg, #eef2f9 0 14px, #e7ecf5 14px 28px);
    border: 1px solid #e6ecf4;
    display: grid;
    place-items: center;
    color: #8593a6;
}

.ph::after {
    content: attr(data-label);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: #9aa7bb;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 8px;
}

/* item de liste à puce ronde (checklist, cert-list, …) */
.check {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.check .ck {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #e7edff;
    color: #2e5bff;
    display: grid;
    place-items: center;
}

.check .ck svg {
    width: 16px;
    height: 16px;
}

.check .ctext {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.check .ctext b {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15.5px;
    color: #142036;
}

.check .ctext .txt {
    color: #5b6b82;
    font-size: 14px;
    line-height: 1.6;
}

/* ─── SPLIT LAYOUT (image + texte) ────────────── */
.split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}

.split.reverse {
    grid-template-columns: 1fr 1.05fr;
}

.split.reverse .split-copy {
    order: 2;
}

.split.reverse .split-media {
    order: 1;
}

@media (max-width: 900px) {
    .split,
    .split.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split.reverse .split-copy,
    .split.reverse .split-media {
        order: initial;
    }
}

.split-copy h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 3.6vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #142036;
}

.split-copy h2 .blue {
    color: #2e5bff;
}

.split-copy .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 12px;
}

/* lien texte avec flèche (call-to-action discret) */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    color: #2e5bff;
}

.btn-link svg {
    width: 17px;
    height: 17px;
    transition: transform 0.2s;
}

.btn-link:hover svg {
    transform: translateX(3px);
}

/* badge texte discret (ex: nom de produit au-dessus d'un titre) */
.badge-soft {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.05em;
    color: #2e5bff;
    background: #e7edff;
    padding: 7px 14px;
    border-radius: 999px;
}

/* ─── GRILLE DE CARTES GÉNÉRIQUE ──────────────── */
.grid {
    display: grid;
    gap: 22px;
}

.grid.g3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 920px) {
    .grid.g3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .grid.g3 {
        grid-template-columns: 1fr;
    }
}

/* ─── CHECKLIST (regroupement de .check) ──────── */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
}

/* ─── STATS BAND (chiffres clés — about, ontis, …) ─── */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 760px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.stat {
    text-align: center;
}

.stat .n {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.02em;
    color: #2e5bff;
    line-height: 1;
}

.stat .l {
    font-size: 13.5px;
    color: #5b6b82;
    font-weight: 500;
    margin-top: 10px;
}

.stats.on-navy .stat .n {
    color: #ffffff;
}

.stats.on-navy .stat .l {
    color: rgba(255, 255, 255, 0.6);
}

/* ─── TIMELINE ────────────────────────────────── */
.timeline {
    position: relative;
    max-width: 760px;
    padding-left: 36px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #dde5f0;
}

.tl-item {
    position: relative;
    padding: 0 0 32px;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #2e5bff;
}

.tl-item .yr {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #2e5bff;
    font-size: 15px;
}

.tl-item h3 {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #142036;
    margin: 5px 0 6px;
}

.tl-item p {
    color: #5b6b82;
    font-size: 14.5px;
    line-height: 1.6;
}

/* ─── FORMULAIRES (carte de formulaire, champs, boutons d'envoi) ─── */
.form-card {
    background: #ffffff;
    border: 1px solid #e6ecf4;
    border-radius: 26px;
    padding: 38px 34px;
    box-shadow: 0 18px 44px rgba(16, 38, 76, 0.10);
}

.form-card h2 {
    font-size: 24px;
}

.form-card .fc-sub {
    color: #5b6b82;
    font-size: 14.5px;
    margin: 8px 0 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-single {
    margin-bottom: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #142036;
}

.field label .req {
    color: #2e5bff;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    color: #142036;
    background: #f2f5fa;
    border: 1.5px solid transparent;
    border-radius: 11px;
    padding: 14px 16px;
    transition: border-color 0.15s, background 0.15s;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #8593a6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: #2e5bff;
    background: #ffffff;
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field select {
    appearance: none;
}

.wpcf7-form p {
    margin-bottom: 18px;
}

.wpcf7-form input[type='text'],
.wpcf7-form input[type='email'],
.wpcf7-form input[type='tel'],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    color: #142036;
    background: #f2f5fa;
    border: 1.5px solid transparent;
    border-radius: 11px;
    padding: 14px 16px;
    margin-top: 8px;
}

.wpcf7-form input[type='text']:focus,
.wpcf7-form input[type='email']:focus,
.wpcf7-form input[type='tel']:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #2e5bff;
    background: #ffffff;
}

.form-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 12px;
}

.form-card .btn-lg {
    padding: 17px 32px;
    font-size: 16px;
}

.form-card .btn-primary {
    background: #2e5bff;
    box-shadow: 0 16px 34px rgba(46, 91, 255, 0.30);
}

.form-card .btn-primary:hover {
    background: #1f49ec;
}

button.btn.btn-primary.btn-block,
.btn.btn-primary.btn-block {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.or-divider {
    text-align: center;
    color: #8593a6;
    font-size: 12px;
    letter-spacing: 0.2em;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin: 24px 0 16px;
    position: relative;
}

.or-divider::before,
.or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #dde5f0;
}

.or-divider::before {
    left: 0;
}

.or-divider::after {
    right: 0;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    width: 100%;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp:hover {
    background: #1fbb59;
}

/* ─── ÉTIQUETTES (lieu, contrat, stack — offres, candidature, …) ─── */
.ji-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ji-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    font-weight: 500;
    color: #5b6b82;
    background: #f2f5fa;
    border-radius: 7px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ji-tag svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #2e5bff;
    stroke-width: 2.2;
}
