/* ============================================================
   LANDINGS D'ÉTUDES DE CAS — /etudes-de-cas/<slug>
   Feuille commune à toutes les landings (préfixe .edc).
   S'appuie sur style.css (fond #002a42, polices maison).
   Titres : Bebas Neue (SIL OFL, usage commercial libre).
   ============================================================ */

@font-face {
    font-family: 'Bebas Neue';
    src: url('/Contenu/Polices/BebasNeue-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

.edc {
    --petrol: #002a42;
    --petrol-2: #00354f;
    --mint: #1bae85;
    --ink: #eaf3f6;
    --ink-dim: #b8cdd6;
    font-family: 'Futura Md BT', sans-serif;
    color: var(--ink);
    line-height: 1.6;
}

.edc section { padding: 72px 24px; }
.edc .wrap { max-width: 1060px; margin: 0 auto; }

.edc h1, .edc h2, .edc h3 {
    font-family: 'Bebas Neue', 'Futura Md BT', sans-serif;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.05;
    margin: 0;
}
.edc h2 { font-size: clamp(30px, 4.5vw, 44px); color: #fff; margin-bottom: 28px; }
.edc h2 .accent, .edc h1 .accent { color: var(--mint); }
.edc h3 { font-size: 24px; color: var(--mint); margin-bottom: 10px; }

/* Justifié, mais jamais de mot coupé par un tiret en fin de ligne. */
.edc p { text-align: justify; hyphens: manual; -webkit-hyphens: manual; margin: 0 0 16px 0; }
.edc p b, .edc p strong { color: #fff; }
.edc .eyebrow {
    color: var(--mint); text-transform: uppercase; letter-spacing: 2.5px;
    font-size: 13px; margin-bottom: 12px; font-weight: 600;
}

/* ---------- hero ---------- */
.edc-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: 0; overflow: hidden; }
.edc-hero img.bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 30%;
}
.edc-hero .veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,42,66,0.15) 25%, rgba(0,42,66,0.94) 92%);
}
.edc-hero .wrap { position: relative; padding: 96px 24px 64px 24px; width: 100%; }
.edc-hero h1 { font-size: clamp(44px, 7.5vw, 84px); color: #fff; }
.edc-hero .lead {
    font-size: clamp(17px, 2vw, 21px); max-width: 640px;
    margin-top: 18px; text-align: left; color: var(--ink);
}
.edc-hero .lead b { color: var(--mint); }

/* ---------- boutons ---------- */
.edc .btn-mail {
    display: inline-block; background: var(--mint); color: var(--petrol);
    font-family: 'Futura Md BT', sans-serif; font-weight: 600;
    padding: 14px 28px; border-radius: 6px; text-decoration: none;
    margin-top: 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.edc .btn-mail:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,174,133,0.35); }
.edc .btn-ghost {
    display: inline-block; border: 1px solid var(--mint); color: var(--mint);
    padding: 13px 26px; border-radius: 6px; text-decoration: none; margin: 26px 0 0 14px;
    transition: background .2s ease;
}
.edc .btn-ghost:hover { background: rgba(27,174,133,0.12); }
.edc .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.edc .actions .btn-ghost { margin: 0; }

/* ---------- constat ---------- */
.edc-constat .cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }

/* ---------- preuve (l'étude de cas) ---------- */
.edc-preuve { background: var(--petrol-2); }
.edc-preuve .visuel { border-radius: 10px; overflow: hidden; margin-bottom: 34px; }
.edc-preuve .visuel img { width: 100%; display: block; }
.edc-preuve .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 34px 0; }
.edc-preuve .stat {
    background: var(--petrol); border: 1px solid rgba(27,174,133,0.35);
    border-radius: 8px; padding: 18px 12px; text-align: center;
}
.edc-preuve .stat .n { font-family: 'Bebas Neue', sans-serif; font-size: 34px; color: var(--mint); line-height: 1; }
.edc-preuve .stat .l { font-size: 13px; color: var(--ink-dim); margin-top: 6px; line-height: 1.35; }
.edc-preuve .recit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* ---------- offre ---------- */
.edc-offre .cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
.edc-offre .carte {
    background: var(--petrol-2); border: 1px solid rgba(27,174,133,0.25);
    border-radius: 10px; padding: 28px 24px; display: flex; flex-direction: column;
}
.edc-offre .carte .tag { color: var(--ink-dim); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.edc-offre .carte p { font-size: 15px; }
.edc-offre .carte ul { margin: 0 0 8px 0; padding: 0 0 0 2px; list-style: none; }
.edc-offre .carte li { font-size: 15px; margin-bottom: 8px; padding-left: 20px; position: relative; }
.edc-offre .carte li::before { content: "→"; position: absolute; left: 0; color: var(--mint); }
.edc-offre .note { color: var(--ink-dim); font-size: 14px; margin-top: 22px; text-align: left; }

/* ---------- méthode ---------- */
.edc-methode { background: var(--petrol-2); }
.edc-methode .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.edc-methode .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.edc-methode .imgs img { width: 100%; border-radius: 8px; display: block; }
/* Taille fluide : la citation tient sur 2 lignes sur tout l'éventail des écrans d'ordinateur. */
.edc-methode .credo {
    font-family: 'Segoe Print', cursive; color: var(--mint);
    font-size: clamp(14px, 1.154vw + 4.15px, 18px);
    line-height: 1.5; border-left: 3px solid var(--mint); padding-left: 18px; margin: 24px 0 0 0;
    text-align: left; text-wrap: balance;
}
@media (max-width: 900px) { .edc-methode .credo { font-size: 18px; } }

/* ---------- équipe ---------- */
.edc-equipe .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.edc-equipe .cols img { width: 100%; border-radius: 10px; display: block; }

/* ---------- CTA final ---------- */
.edc-cta { text-align: center; padding-bottom: 96px; }
.edc-cta h2 { margin-bottom: 14px; }
.edc-cta p { text-align: center; max-width: 560px; margin: 0 auto 6px auto; }
.edc-cta .mail {
    font-family: 'Bebas Neue', sans-serif; font-size: clamp(24px, 3.5vw, 38px);
    color: var(--mint); letter-spacing: 1.5px; text-decoration: none;
}
.edc-cta .mail:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .edc section { padding: 56px 20px; }
    .edc-constat .cols, .edc-preuve .recit, .edc-methode .cols, .edc-equipe .cols { grid-template-columns: 1fr; gap: 28px; }
    .edc-offre .cartes { grid-template-columns: 1fr; }
    .edc-preuve .stats { grid-template-columns: repeat(2, 1fr); }
    .edc-hero { min-height: 64vh; }
}
