:root {
    --navy: #06111c;
    --navy-2: #0b1d2f;
    --navy-3: #1f3348;
    --blue-soft: #2f7482;

    --beige: #eee9df;
    --beige-2: #f7f4ed;
    --cream: #fbf8f1;

    --gold: #b9984b;
    --gold-light: #d2b96d;

    --silver: #e7e7e2;
    --text: #5f6670;
    --white: #ffffff;

    --line: rgba(185, 152, 75, .45);
    --border: rgba(7, 23, 38, .15);

    --shadow-soft: 0 22px 55px rgba(7, 23, 38, .07);
    --shadow-dark: 0 28px 80px rgba(0, 0, 0, .28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--beige-2);
    color: var(--text);
    font-weight: 400;
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, calc(100% - 42px));
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    background:
        radial-gradient(circle at 50% 0%, rgba(80, 112, 140, .18), transparent 36%),
        linear-gradient(135deg, #050d15 0%, #10263b 55%, #06111c 100%);
    border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
    position: relative;
    z-index: 20;
}

.header-inner {
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo img {
    width: 132px;
    height: auto;
    filter: grayscale(1) brightness(1.65) contrast(.95);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 44px;
}

.main-nav a {
    color: rgba(232,232,228,.72);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .02em;
    transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
}

/* =========================================================
   HERO GLOBAL DARK STYLE
========================================================= */

.hero-inexo,
.page-hero-dark,
.section-dark,
.steps-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 18%, rgba(80,112,140,.26), transparent 34%),
        radial-gradient(circle at 82% 48%, rgba(45,85,115,.24), transparent 32%),
        linear-gradient(135deg, #050d15 0%, #0b1d2f 52%, #06111c 100%);
}

.hero-inexo::before,
.page-hero-dark::before,
.section-dark::before,
.steps-section::before {
    content: "X";
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(260px, 34vw, 620px);
    line-height: 1;
    color: rgba(255,255,255,.035);
    font-weight: 600;
    pointer-events: none;
    z-index: 0;
}

.hero-inexo::after,
.page-hero-dark::after,
.section-dark::after,
.steps-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: .18;
    pointer-events: none;
    z-index: 0;
}

.hero-inexo > *,
.page-hero-dark > *,
.section-dark > *,
.steps-section > * {
    position: relative;
    z-index: 1;
}

/* =========================================================
   HOME HERO
========================================================= */

.hero-inexo {
    min-height: calc(100vh - 106px);
    display: flex;
    align-items: center;
    color: rgba(255,255,255,.55);
    text-align: center;
    padding: 90px 0;
}

.hero-center {
    max-width: 780px;
    margin: 0 auto;
}

.hero-logo {
    width: 260px;
    margin: 0 auto 54px;
    filter: grayscale(1) brightness(1.65) contrast(.95) drop-shadow(0 18px 45px rgba(0,0,0,.45));
    opacity: .96;
}

.hero-logo.small {
    width: 190px;
    margin-bottom: 42px;
}

.gold-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 42px;
}

.gold-separator span {
    width: 170px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-separator i {
    width: 11px;
    height: 11px;
    background: var(--gold);
    transform: rotate(45deg);
    display: block;
    box-shadow: 0 0 22px rgba(185,152,75,.45);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy-3);
    font-weight: 500;
    line-height: 1.28;
}

.hero-inexo h1 {
    color: var(--silver);
    font-size: clamp(30px, 4vw, 48px);
    font-style: italic;
    font-weight: 300;
    letter-spacing: .02em;
    margin-bottom: 28px;
    text-shadow: 0 14px 44px rgba(0,0,0,.46);
}

.hero-inexo p {
    max-width: 800px;
    margin: 0 auto 26px;
    font-size: 15px;
    color: rgba(232,232,228,.58);
}

.hero-actions-inexo {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================================
   PAGE HERO
========================================================= */

.page-hero-dark {
    color: rgba(255,255,255,.55);
    text-align: center;
    padding: 100px 0 92px;
}

.page-hero-dark h1 {
    color: var(--silver);
    font-size: clamp(36px, 5vw, 62px);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 24px;
    text-shadow: 0 14px 44px rgba(0,0,0,.46);
}

.page-hero-dark p {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(232,232,228,.62);
    font-size: 16px;
}

/* =========================================================
   SECTIONS
========================================================= */

.section-light,
.section-beige,
.section-dark {
    padding: 92px 0;
}

.section-light {
    background:
        radial-gradient(circle at 85% 5%, rgba(7,23,38,.065), transparent 30%),
        linear-gradient(180deg, #f8f5ef 0%, #eee9df 100%);
}

.section-beige {
    background:
        radial-gradient(circle at 85% 5%, rgba(7,23,38,.055), transparent 30%),
        linear-gradient(180deg, #eee9df 0%, #e8e2d8 100%);
}

.section-dark {
    color: rgba(255,255,255,.62);
}

.text-block {
    max-width: 960px;
}

.gold-line {
    width: 78px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-bottom: 42px;
}

.gold-line.centered {
    margin-left: auto;
    margin-right: auto;
}

.section-light h2,
.section-beige h2,
.section-dark h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 28px;
}

.section-dark h2,
.section-dark h3 {
    color: var(--silver);
    text-shadow: 0 14px 44px rgba(0,0,0,.40);
}

.section-light p,
.section-beige p,
.section-dark p {
    font-size: 16px;
    margin: 0 0 28px;
}

.section-dark p {
    color: rgba(232,232,228,.62);
}

.center {
    text-align: center;
}

/* =========================================================
   BOUTONS
========================================================= */

.btn-dark,
.btn-light {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 13px 32px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn-dark {
    background: rgba(232,232,228,.10);
    border: 1px solid rgba(232,232,228,.20);
    color: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    backdrop-filter: blur(8px);
}

.btn-light {
    background: transparent;
    border: 1px solid rgba(185,152,75,.65);
    color: var(--gold-light);
}

.btn-dark:hover,
.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 45px rgba(0,0,0,.25);
}

/* =========================================================
   MÉTHODE
========================================================= */

.section-intro {
    margin-bottom: 80px !important;
}

.method-list {
    margin-top: 80px;
}

.method-list.compact {
    margin-top: 58px;
}

.method-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 48px 0;
}

.method-item:first-child {
    padding-top: 0;
}

.method-item span {
    color: var(--gold);
    font-size: 34px;
    font-weight: 500;
}

.method-item h3 {
    color: var(--silver);
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 22px;
}

.method-item p {
    max-width: 860px;
    color: rgba(232,232,228,.58);
    font-size: 17px;
}

/* =========================================================
   STEPS SECTION / CARTES SOMBRES
========================================================= */

.steps-section {
    background:
        radial-gradient(circle at 50% 18%, rgba(80,112,140,.26), transparent 34%),
        radial-gradient(circle at 82% 48%, rgba(45,85,115,.24), transparent 32%),
        linear-gradient(135deg, #050d15 0%, #0b1d2f 52%, #06111c 100%);
    padding: 92px 0;
}

.steps-container {
    width: min(1120px, calc(100% - 42px));
    margin: 0 auto;
}

.step-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 32px;
    padding: 52px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    align-items: start;
}

.step-item:first-child {
    border-top: none;
    padding-top: 0;
}

.step-number {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 56px;
    line-height: 1;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 1px;
}

.step-content h3 {
    margin: 0 0 22px;
    color: var(--silver);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
}

.step-content p {
    margin: 0;
    max-width: 920px;
    color: rgba(232,232,228,.62);
    font-size: 18px;
    line-height: 1.9;
    font-weight: 300;
}

/* =========================================================
   SPLIT / PORTRAIT
========================================================= */

.split-section {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 90px;
    align-items: center;
}

.portrait-wrap {
    display: flex;
    justify-content: center;
}

.portrait-wrap img {
    width: 320px;
    filter: grayscale(1) contrast(1.08) brightness(.96);
    box-shadow: 0 24px 65px rgba(7,23,38,.12);
}

.narrow-text {
    max-width: 920px;
    margin-top: 70px;
}

.narrow-text hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 42px 0;
}

blockquote {
    margin: 62px 0;
    padding: 0;
    color: var(--gold);
    text-align: center;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 300;
    line-height: 1.45;
}

/* =========================================================
   CARTES CLAIRES
========================================================= */

.transparency-box,
.soft-card,
.resource-card,
.empty-state-inexo,
.contact-card-inexo,
.contact-note {
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(7,23,38,.12);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(6px);
}

.transparency-box {
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 28px 34px;
    margin-top: 48px;
}

.transparency-box h3 {
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 20px;
}

.transparency-box p {
    color: var(--navy-3);
    font-size: 18px;
    margin: 0;
}

.cards-two {
    margin-top: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
}

.soft-card {
    border-radius: 8px;
    padding: 48px;
}

.soft-card h3 {
    color: var(--blue-soft);
    font-size: 24px;
    margin-bottom: 30px;
}

.soft-card p {
    color: #222;
    font-size: 16px;
}

/* =========================================================
   RESSOURCES
========================================================= */

.empty-state-inexo {
    margin-top: 40px;
    border-radius: 8px;
    padding: 44px;
}

.empty-state-inexo h3 {
    color: var(--navy-3);
    font-size: 26px;
    margin-bottom: 16px;
}

.resources-grid {
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.resource-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 28px 70px rgba(7,23,38,.12);
}

.resource-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08) brightness(.96);
}

.resource-card div {
    padding: 28px;
}

.resource-card span {
    display: block;
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin-bottom: 12px;
}

.resource-card h3 {
    font-size: 23px;
    margin-bottom: 16px;
}

.resource-card p {
    font-size: 14px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-inexo {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 70px;
    align-items: start;
}

.contact-note {
    margin-top: 42px;
    border-left: 4px solid var(--gold);
    padding: 24px 28px;
}

.contact-note h3 {
    color: var(--gold);
    margin-bottom: 12px;
}

.contact-card-inexo {
    border-radius: 8px;
    padding: 38px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--navy-3);
    font-size: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid rgba(7,23,38,.18);
    background: rgba(255,255,255,.72);
    padding: 14px 16px;
    border-radius: 6px;
    font-family: 'Montserrat', Arial, sans-serif;
}

.checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 12px !important;
}

.checkbox input {
    width: auto;
    margin-top: 6px;
}

.success-message,
.error-message {
    padding: 18px 20px;
    border-radius: 8px;
    margin-bottom: 22px;
}

.success-message {
    background: rgba(47, 116, 130, .12);
    color: var(--navy-3);
}

.error-message {
    background: rgba(140, 32, 32, .12);
    color: #8c2020;
}

/* =========================================================
   FINAL CONTACT
========================================================= */

.final-contact {
    text-align: center;
    padding: 100px 0;
}

.final-contact h2 {
    font-size: clamp(36px, 5vw, 54px);
    margin-bottom: 24px;
}

.final-contact p {
    max-width: 860px;
    margin: 0 auto 36px;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background:
        radial-gradient(circle at 50% 0%, rgba(80,112,140,.16), transparent 38%),
        linear-gradient(135deg, #050d15 0%, #07131f 100%);
    color: rgba(255,255,255,.55);
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}

.back-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 34px;
    height: 34px;
    background: var(--gold);
    color: #06111c;
    display: grid;
    place-items: center;
    font-size: 20px;
    z-index: 50;
}

/* =========================================================
   ADMIN / LOGIN — conservation du style existant
========================================================= */

.admin-body {
    background: #f4f1eb;
    color: #0D1B2A;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    .header-inner {
        min-height: 92px;
    }

    .brand-logo img {
        width: 104px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 92px;
        left: 0;
        right: 0;
        background:
            linear-gradient(135deg, #050d15 0%, #10263b 100%);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 26px;
        gap: 22px;
        border-top: 1px solid rgba(255,255,255,.12);
    }

    .main-nav.open {
        display: flex;
    }

    .hero-inexo {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-logo {
        width: 210px;
    }

    .hero-logo.small {
        width: 165px;
    }

    .gold-separator span {
        width: 90px;
    }

    .split-section,
    .cards-two,
    .resources-grid,
    .contact-inexo {
        grid-template-columns: 1fr;
    }

    .method-item,
    .step-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .method-item span,
    .step-number {
        font-size: 38px;
    }

    .hero-actions-inexo {
        flex-direction: column;
    }

    .hero-actions-inexo a {
        width: 100%;
    }

    .hero-inexo::before,
    .page-hero-dark::before,
    .section-dark::before,
    .steps-section::before {
        right: -28%;
        font-size: 300px;
    }
}

@media (max-width: 560px) {
    .container,
    .steps-container {
        width: min(100% - 28px, 1120px);
    }

    .section-light,
    .section-beige,
    .section-dark,
    .steps-section {
        padding: 68px 0;
    }

    .page-hero-dark {
        padding: 78px 0 70px;
    }

    .hero-inexo h1 {
        font-size: 28px;
    }

    .hero-inexo p,
    .page-hero-dark p,
    .section-light p,
    .section-beige p,
    .section-dark p,
    .step-content p {
        font-size: 14px;
    }

    .soft-card {
        padding: 30px 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .back-top {
        right: 16px;
        bottom: 16px;
    }
}