/* ── Variables locales ── */
:root {
    --lp-primary: #00BAC7;
    --lp-primary-dark: #009AA5;
    --lp-secondary: #2C3E50;
    --lp-text: #4E4E4E;
    --lp-text-light: #6B7280;
    --lp-accent-bg: #F1F7F9;
    --lp-dark-blue: #0A0E15;
    --lp-white: #FFFFFF;
    --lp-border: #E2E8F0;
}

/* ── Reset & base ── */
.sec-page * { box-sizing: border-box; }
.sec-page { font-family: inherit; color: var(--lp-text); line-height: 1.65; }

/* ── Layout helpers ── */
.sec-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.sec-section { padding: 60px 0; }
.sec-section--alt { background: var(--lp-accent-bg); }

.sec-section-header { text-align: center; margin-bottom: 36px; }
.sec-section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--lp-secondary);
    margin: 0 0 10px;
}
.sec-section-header p { color: var(--lp-text-light); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

/* ── HERO ── */
.sec-hero { background: var(--lp-white); padding: 140px 24px 72px; }
.admin-bar .sec-hero { padding-top: 170px; }
.sec-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 768px) {
    .sec-hero-inner { grid-template-columns: 1fr; }
    .sec-bento { display: none; }
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 186, 199, .1);
    color: var(--lp-primary-dark);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.sec-hero h1 {
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--lp-secondary);
    line-height: 1.15;
    margin: 0 0 18px;
}
.sec-hero-desc { font-size: 1.05rem; color: var(--lp-text-light); line-height: 1.75; max-width: 480px; margin: 0 0 24px; }

/* ── HERO BENTO ── */
.sec-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    font-family: "Manrope", inherit;
}
.sec-bento__card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 16px 36px rgba(10, 14, 21, .08);
}
.sec-bento__card--chart { grid-column: 1 / -1; }
.sec-bento__chart-header { margin-bottom: 14px; }
.sec-bento__chart-title { font-size: 12px; font-weight: 700; color: var(--lp-dark-blue); }
.sec-bento__chart-footer { margin-top: 14px; }
.sec-bento__chart-footer span { font-size: .72rem; color: #94A3B8; }

.sec-bento__crypto-row { display: flex; gap: 24px; }
.sec-bento__crypto-item { display: flex; align-items: center; gap: 10px; }
.sec-bento__crypto-item strong { display: block; font-size: .85rem; color: var(--lp-secondary); }
.sec-bento__crypto-item span { font-size: .72rem; color: #94A3B8; }

.sec-bento__label {
    display: block;
    font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 8px;
}
.sec-bento__stat-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.sec-bento__stat-row strong { font-size: 1rem; color: var(--lp-secondary); }
.sec-bento__sub { font-size: .78rem; color: var(--lp-text-light); line-height: 1.4; }

@media (min-width: 480px) and (max-width: 768px), (min-width: 992px) {
    .sec-bento { grid-template-columns: 1fr 1fr; }
    .sec-bento__card--chart { grid-column: 1 / -1; }
}

/* ── PILIERS (cartes cliquables) ── */
.sec-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 992px) { .sec-pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sec-pillars-grid { grid-template-columns: 1fr; } }

.sec-card {
    display: block;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    font-family: inherit;
}
.sec-card:hover, .sec-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(10, 14, 21, .1);
    border-color: rgba(0, 186, 199, .35);
    outline: none;
}
.sec-card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 186, 199, .1);
    color: var(--lp-primary-dark);
    margin-bottom: 16px;
}
.sec-card__icon svg { width: 22px; height: 22px; }
.sec-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--lp-secondary); margin: 0 0 8px; }
.sec-card p { font-size: .92rem; color: var(--lp-text-light); line-height: 1.55; margin: 0; }
.sec-card__toggle {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 14px;
    font-size: .82rem; font-weight: 700;
    color: var(--lp-primary-dark);
}

/* ── MESURES EN PLACE ── */
.sec-proven-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 700px) { .sec-proven-grid { grid-template-columns: 1fr; } }
.sec-proven {
    display: flex; align-items: flex-start; gap: 10px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: .92rem;
    line-height: 1.5;
}
.sec-proven svg { flex-shrink: 0; margin-top: 3px; }

/* ── TRANSPARENCE ── */
.sec-transparency {
    display: flex; gap: 20px; align-items: flex-start;
    background: #FFF8E6;
    border-radius: 18px;
    padding: 28px;
}
.sec-transparency__icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: #FFE9A8;
    color: #B8860B;
}
.sec-transparency h3 { font-size: 1.15rem; font-weight: 700; color: var(--lp-secondary); margin: 0 0 8px; }
.sec-transparency p { margin: 0; color: #6B5D33; line-height: 1.6; }
@media (max-width: 600px) { .sec-transparency { flex-direction: column; } }

/* ── CTA ── */
.sec-cta {
    padding: 72px 0;
    text-align: center;
    background: var(--lp-dark-blue);
    color: #fff;
}
.sec-cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin: 0 0 12px; }
.sec-cta p { max-width: 640px; margin: 0 auto 28px; color: rgba(255, 255, 255, .82); line-height: 1.6; }
.sec-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--lp-primary);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .2s ease;
}
.sec-cta-btn:hover { background: var(--lp-primary-dark); color: #fff; }

/* ── MODALES ── */
.sec-modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(10, 14, 21, .55);
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease;
    z-index: 9998;
}
.sec-modal-backdrop.is-open { opacity: 1; visibility: visible; }
body.sec-modal-lock { overflow: hidden; }

.sec-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 9999;
}
.sec-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.sec-modal__card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px;
    transform: translateY(12px);
    transition: transform .2s ease;
}
.sec-modal.is-open .sec-modal__card { transform: translateY(0); }
.sec-modal__close {
    position: absolute; top: 18px; right: 18px;
    width: 32px; height: 32px;
    border: none;
    background: var(--lp-accent-bg);
    color: var(--lp-secondary);
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.sec-modal__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 186, 199, .1);
    color: var(--lp-primary-dark);
    margin-bottom: 18px;
}
.sec-modal__icon svg { width: 22px; height: 22px; }
.sec-modal__card h3 { font-size: 1.3rem; font-weight: 800; color: var(--lp-secondary); margin: 0 0 16px; }
.sec-modal__body { color: var(--lp-text); line-height: 1.7; margin: 0 0 20px; }
.sec-modal__plain {
    background: var(--lp-accent-bg);
    border-left: 3px solid var(--lp-primary);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: .92rem;
    color: var(--lp-secondary);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .sec-modal__card { padding: 26px; border-radius: 16px; }
}
