/* ===== STYLES GLOBAUX ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #2E5984;
    line-height: 1.6;
    background: linear-gradient(180deg, #F8F4ED 0%, #eef3e4 45%, #eaf1e6 100%);
    background-attachment: fixed;
}

.page-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ===== HERO - STYLE MODERNE / DYNAMIQUE ===== */
.hero-framed {
    position: relative;
    padding: 56px 32px;
    border-radius: 32px;
    border: none;
    background: linear-gradient(135deg, #F8F4ED 0%, #eef3e4 100%);
    box-shadow: 0 12px 40px rgba(46, 89, 132, 0.10);
    overflow: hidden;
    max-width: 1200px;
    margin: 40px auto;
}

/* Blobs décoratifs en fond, façon Back Market */
.hero-framed::before,
.hero-framed::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.hero-framed::before {
    width: 340px;
    height: 340px;
    background: rgba(111, 167, 67, 0.14);
    top: -140px;
    right: -100px;
}

.hero-framed::after {
    width: 260px;
    height: 260px;
    background: rgba(46, 89, 132, 0.08);
    bottom: -120px;
    left: -80px;
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Badge pilule au-dessus du titre */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #2E5984;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(46, 89, 132, 0.12);
    margin-bottom: 22px;
}

.hero-text h1 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #2E5984;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 26px;
    display: block;
}

.hero-text h2 .blue {
    color: #2E5984;
}

/* Bloc surligné façon "highlight" Back Market */
.highlight-pill {
    display: inline-block;
    background: #6FA743;
    color: #fff !important;
    padding: 2px 14px;
    border-radius: 999px;
    transform: rotate(-1deg);
    margin-left: 4px;
}

.subtitle {
    font-size: clamp(15px, 1.8vw, 19px);
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    row-gap: 4px;
    width: 100%;
}

.subtitle span {
    display: inline-block;
}

.blue { color: #2E5984; }
.green { color: #6FA743; }
.italic { font-style: italic; }

/* Bouton CTA - plus généreux, plus rond */
.hero-framed + a,
a.hero-cta {
    display: inline-block;
    background: #6FA743;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(111, 167, 67, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-framed + a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(111, 167, 67, 0.4);
}

@media (max-width: 1024px) {
    .hero-framed {
        padding: 44px 24px;
    }
}

@media (max-width: 768px) {
    .hero-framed {
        padding: 36px 20px;
        margin: 30px auto;
        border-radius: 24px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .hero-framed {
        padding: 28px 16px;
    }
}
