:root {
    --bg: #f6f4ef;
    --surface: #ffffff;
    --ink: #121a2b;
    --muted: #3a4458;
    --muted-2: #4a5366;
    --night: #0c1220;
    --hero-tint: rgba(14, 30, 66, 0.72);
    --accent: #e8743b;
    --accent-ink: #b4511f;
    --accent-soft: #f2a27a;
    --font-heading: 'Bricolage Grotesque', sans-serif ;
    --font-body: 'Figtree', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    font-family: var(--font-body);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

/* SECTION HERO */
.hero-section {
    position: relative;
    background-color: #0b1528;
    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 85vh;
}

/* Arrière-plan avec image & overlay teinté */
.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.05);
    animation: heroZoomIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(14, 30, 66, 0.88) 0%,
            rgba(14, 30, 66, 0.74) 55%,
            rgba(10, 22, 50, 0.80) 100%);
    mix-blend-mode: multiply;
}

.hero-gradient-extra {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%,
            rgba(14, 30, 66, 0.4) 0%,
            rgba(12, 18, 32, 0.75) 100%);
}

/* Conteneur calibré à 1180px */
.custom-container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content-wrap {
    padding-top: clamp(48px, 7vw, 90px);
    padding-bottom: clamp(40px, 6vw, 70px);
}

/* Fil d'Ariane SEO */
.hero-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.hero-breadcrumb-sep {
    opacity: 0.5;
    font-size: 11px;
}

.hero-breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}

/* Badge localisation & ORIAS */
.hero-badge-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-badge-line {
    display: inline-block;
    width: 22px;
    height: 2.5px;
    background-color: var(--accent);
    border-radius: 2px;
}

.hero-badge-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.hero-badge-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

/* Titre H1 */
h1#hero-main-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    font-size: clamp(40px, 6.2vw, 76px) !important;
    line-height: 1.05 !important;
    margin-bottom: 24px;
    color: #ffffff;
    max-width: 820px !important;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-title-dot {
    color: var(--accent);
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-titles:hover .hero-title-dot {
    transform: scale(1.35);
}

/* Description / Chapeau */
.hero-description {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin-bottom: 36px;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Boutons CTA */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--accent);
    color: var(--ink);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    min-height: 48px;
    border-radius: 999px;
    border: 1.5px solid var(--accent);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 14px rgba(232, 116, 59, 0.35);
}

.btn-cta-primary:hover {
    background-color: #f0824b;
    border-color: #f0824b;
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 22px 40px -24px rgba(18, 26, 43, 0.6);
}

.btn-cta-primary svg {
    transition: transform 0.25s ease;
}

.btn-cta-primary:hover svg {
    transform: translateX(4px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(18, 26, 43, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    min-height: 48px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-cta-secondary:hover {
    background-color: rgba(18, 26, 43, 0.95);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 22px 40px -24px rgba(18, 26, 43, 0.4);
}

/* Puces de réassurance */
.hero-reassurance-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
    list-style: none;
    padding: 0;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-reassurance-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.check-icon {
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* BANDEAU DE RÉASSURANCE INFÉRIEUR */
.hero-trust-bar {
    position: relative;
    z-index: 3;
    background-color: #ffffff;
    color: var(--ink);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 18px 0;
    font-size: 14.5px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.9s ease-out 0.7s both;
}

.trust-bar-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    white-space: nowrap;
    transition: color 0.2s ease;
}

.trust-item:hover {
    color: var(--accent-ink);
}

.trust-item-bullet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(232, 116, 59, 0.2);
}

/* KEYFRAMES ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heroZoomIn {
    0% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1.02);
    }
}

/* ACCESSIBILITÉ PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {

    .hero-bg-img,
    .hero-breadcrumb,
    .hero-badge-row,
    .hero-titles,
    .hero-description,
    .hero-cta-group,
    .hero-reassurance-list,
    .hero-trust-bar {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .trust-bar-items {
        justify-content: flex-start;
        gap: 12px 24px;
    }

    .hero-section {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }

    .trust-item {
        white-space: normal;
        font-size: 13.5px;
    }
}