/*==================== POLICES LOCALES ====================*/
/* DM Sans — latin */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/dm-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Figtree — latin-ext */
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Figtree — latin */
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/figtree-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Krona One — latin-ext */
@font-face {
    font-family: 'Krona One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/krona-one-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Krona One — latin */
@font-face {
    font-family: 'Krona One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/krona-one-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*==================== VARIABLES CSS ====================*/
:root {
    /* ===== Couleurs ===== */
    --color-primary: #0e391f;        /* Vert foncé principal */
    --color-secondary: #ce902b;      /* Doré/Or */
    --color-beige: #f8f7f2;          /* Beige clair */
    --color-text-dark: #204130;      /* Gris foncé texte */
    --color-grey: #837569;           /* Grès */
    --color-white: #ffffff;
    --color-black: #000000;

    /* ===== Typographie ===== */
    --font-heading: 'Krona One', sans-serif;
    --font-body: 'Figtree', sans-serif;

    /* Tailles de police */
    --font-size-h1: 2.5rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.1rem;
    --font-size-body: 1rem;
    --font-size-small: 0.875rem;

    /* Poids de police */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* ===== Espacements ===== */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    /* ===== Hauteur du header ===== */
    --header-height: 5rem;

    /* ===== Transitions ===== */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* ===== Border radius ===== */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 2rem;

    /* ===== Shadows ===== */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);

    /* ===== Container ===== */
    --container-width: 1200px;
}

/* Responsive typography */
@media screen and (max-width: 768px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.25rem;
    }
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
    color: var(--color-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-medium);
}

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

ul {
    list-style: none;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

/*==================== REUSABLE CLASSES ====================*/
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section__title {
    font-size: 1.4rem;
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: 1.5px;
}

.section__title--light {
    color: var(--color-white);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-xl);
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-small);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn--submit {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn--submit::before {
    display: none;
}

.btn--submit:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/*==================== HEADER ====================*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Header compact au scroll */
.header.scrolled {
    background-color: rgba(14, 57, 31, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.nav__logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav__link {
    color: var(--color-white);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav__link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__link--cta {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 2px solid var(--color-secondary);
    border-radius: var(--border-radius-sm);
    color: var(--color-white);
}

.nav__link--cta:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.nav__toggle,
.nav__close {
    display: none;
    color: var(--color-white);
    cursor: pointer;
}

.nav__toggle svg,
.nav__close svg {
    width: 28px;
    height: 28px;
}

/*==================== HERO ====================*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-xxl) 0;
}

/* Overlay dégradé subtil pour donner de la profondeur */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(14, 57, 31, 0.3) 0%,
        rgba(14, 57, 31, 0.1) 50%,
        rgba(14, 57, 31, 0.4) 100%
    );
    z-index: 0;
}

.hero__container {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero__logo {
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 1s ease;
}

.hero__logo-img {
    height: 180px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

.hero__title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 4px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero__subtitle {
    display: block;
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: var(--font-weight-light);
    letter-spacing: 3px;
    margin-top: var(--spacing-sm);
    color: var(--color-beige);
}

.hero__description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    color: var(--color-beige);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero__cta {
    animation: fadeInUp 1s ease 0.6s both;
}

/* Indicateur de scroll */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    animation: fadeInUp 1s ease 0.8s both;
    z-index: 1;
}

.hero__scroll-indicator:hover {
    opacity: 1;
}

.hero__scroll-indicator svg {
    width: 28px;
    height: 28px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/*==================== ABOUT (QUI SOMMES-NOUS) ====================*/
.about {
    background-color: var(--color-beige);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about__image {
    position: relative;
    overflow: visible;
}

.about__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition-slow);
}

.about__image:hover .about__img {
    transform: scale(1.05);
}

.about__content {
    position: relative;
}

.about__intro {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
}

.about__columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.about__column-title {
    color: var(--color-secondary);
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
    text-transform: uppercase;
    min-height: 2.4em;
    display: flex;
    align-items: flex-end;
}

.about__text {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.about__star {
    position: absolute;
    top: 50px;
    right: -70px;
    width: 180px;
    height: auto;
    pointer-events: none;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/*==================== SERVICES ====================*/
.services {
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

/* Élément décoratif rond — parallax traversant */
.services__parallax-rond {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    width: 80%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    will-change: transform;
}

/* Contenu au-dessus de l'élément décoratif */
.services__container {
    position: relative;
    z-index: 2;
}

.services__header {
    text-align: left;
    margin-bottom: 3.5rem;
}

.services__intro {
    color: var(--color-beige);
    font-size: 0.9rem;
    max-width: 480px;
    line-height: 1.6;
    text-align: left;
}

.services__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service__card {
    background-color: var(--color-beige);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 2.2rem 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.service__card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service__title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-secondary);
}

.service__description {
    color: var(--color-grey);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
    font-style: italic;
}

.service__list {
    list-style: none;
}

.service__list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

.service__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: var(--font-weight-bold);
}

.services__footer-note {
    text-align: center;
    color: var(--color-beige);
    font-size: 0.85rem;
    margin-top: 3rem;
    font-style: italic;
    opacity: 0.8;
}

/*==================== PROCESS (NOTRE PROCESSUS) ====================*/
.process {
    background-image: url('../img/fond-section-processus.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.process__loutre {
    position: absolute;
    top: 7rem;
    right: 30%;
    width: 200px;
    height: auto;
    opacity: 1;
    pointer-events: none;
    z-index: 3;
    animation: loutre-float 5s ease-in-out infinite;
}

@keyframes loutre-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%      { transform: translateY(-8px) rotate(2deg); }
    75%      { transform: translateY(4px) rotate(-1.5deg); }
}

.process__container {
    position: relative;
    z-index: 2;
}

.process__intro {
    text-align: left;
    max-width: 600px;
    margin-bottom: var(--spacing-xxl);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-dark);
}

/* Grille 3+2 centrée */
.process__flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

/* Ligne 1 : 3 cases réparties sur 6 colonnes */
.process__step:nth-child(1) { grid-column: 1 / 3; }
.process__step:nth-child(2) { grid-column: 3 / 5; }
.process__step:nth-child(3) { grid-column: 5 / 7; }
/* Ligne 2 : 2 cases centrées */
.process__step:nth-child(4) { grid-column: 2 / 4; }
.process__step:nth-child(5) { grid-column: 4 / 6; }

.process__step {
    position: relative;
    padding: 2rem 1.8rem;
    padding-bottom: 0;
    border-radius: 0;
    text-align: center;
    background-color: transparent;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: var(--color-white);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Scroll reveal */
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.process__step.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* Fonds PNG — images utilisées telles quelles */
.process__step--vert  { background-image: url('../img/vert.png'); }
.process__step--dore  { background-image: url('../img/dore.png'); }
.process__step--noir  { background-image: url('../img/noir.png'); }
.process__step--gris  { background-image: url('../img/gris.png'); }
.process__step--bleu  { background-image: url('../img/bleu.png'); }

.process__step-title {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-beige);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process__step-description {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 90%;
}

/*==================== APPROACH (NOTRE APPROCHE) ====================*/

/* ===== VARIABLES DE RÉGLAGE (à ajuster) ===== */
.approach {
    /* Images principales */
    --img-left-width: clamp(480px, 42vw, 760px);
    --img-right-width: clamp(380px, 45vw, 550px);  /* Image droite dominante */
    --img-right-right: 0;

    /* Superpositions */
    --overlap-title-on-image: -40px;     /* Léger chevauchement titre sur image */
    --star-bottom: 12%;
    --star-left: calc(46% - 20px);
    --star-size: clamp(53px, 6.3vw, 84px);

    /* Loutre - à droite du bloc texte sécurité */
    --loutre-right: 0;
    --loutre-bottom: 0;
    --loutre-size: clamp(84px, 11.5vw, 116px);
}

.approach {
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
    padding: 9rem;
}

.approach__container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
}

/* ===== IMAGE GAUCHE - absolute bas gauche, GRANDE ===== */
.approach__img-left {
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--img-left-width);
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* ===== IMAGE DROITE - absolute haut droite, COLLÉE AU BORD ===== */
.approach__img-right {
    position: absolute;
    top: 0;
    right: var(--img-right-right);
    width: var(--img-right-width);
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* ===== ÉTOILE - bas droite du bloc vision ===== */
.approach__star {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: var(--star-size);
    height: auto;
    z-index: 4;
    pointer-events: none;
}

/* ===== GRILLE 2 COLONNES ===== */
.approach__grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 420px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: stretch;
    justify-content: start;
}

/* ===== COLONNE GAUCHE ===== */
.approach__col-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Titre au-dessus de la grille */
.approach__container .section__title {
    margin-top: -3rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.approach__vision {
    background-color: rgba(11, 71, 33, 0.80);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 12px;
    flex: 1;
    position: relative;
}

/* ===== COLONNE DROITE ===== */
.approach__col-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Bloc sécurité */
.approach__security {
    background-color: rgba(11, 71, 33, 0.80);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 12px;
    flex: 1;
}

/* Loutre au croisement du bloc droite */
.approach__loutre {
    position: absolute;
    right: -40px;
    bottom: -30px;
    width: var(--loutre-size);
    height: auto;
    z-index: 4;
    pointer-events: none;
}

/* ===== SOUS-TITRES ===== */
.approach__subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: var(--color-secondary);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    font-weight: var(--font-weight-regular);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
    min-height: 2.8em;
    display: flex;
    align-items: flex-start;
}

/* ===== TEXTE ===== */
.approach__text {
    color: var(--color-beige);
    line-height: 1.7;
    margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
}

.approach__text:last-of-type {
    margin-bottom: 0;
}

/* ===== RESPONSIVE TABLETTE (iPad) ===== */
@media screen and (max-width: 1024px) {
    .approach {
        padding: 5rem 2rem;
    }

    .approach__img-left,
    .approach__img-right,
    .approach__star,
    .approach__loutre {
        display: none;
    }

    .approach__container .section__title {
        margin-top: 0;
    }
}

/* ===== RESPONSIVE MOBILE ===== */
@media screen and (max-width: 768px) {
    .approach {
        padding: 4rem 1.5rem;
    }

    .approach__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .approach__col-left {
        padding-right: 0;
    }

    .approach__col-right {
        align-items: stretch;
    }

    .approach__vision,
    .approach__security {
        padding: 1.5rem;
    }

    .approach__subtitle {
        font-size: 0.9rem;
    }

    .approach__text {
        font-size: 0.9rem;
    }
}

/*==================== ELIRIA ====================*/
/* ===== ELIRIA SECTION ===== */
@keyframes eliria-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ==================== ELIRIA ==================== */
.eliria {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}

.eliria__bg {
    position: absolute;
    inset: 0;
    background: url('../img/eliria-gradient-bg.png') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.eliria__container {
    position: relative;
    z-index: 1;
}

/* Hero — logo, titre, description, CTA */
.eliria__hero {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.eliria__logo {
    height: 62px;
    width: auto;
    display: inline-block;
    margin-bottom: 1.8rem;
}

.eliria__title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #16161E;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.15;
}

/* Animated gradient text */
.eliria__highlight {
    background: linear-gradient(90deg, #5A5A6E 0%, #CE902B 25%, #3D6B54 50%, #CE902B 75%, #5A5A6E 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: eliria-shimmer 8s linear infinite;
}

.eliria__description {
    color: #5A5A6E;
    font-size: clamp(0.88rem, 1.1vw, 1rem);
    line-height: 1.75;
    max-width: 480px;
    margin: 0 auto 1.8rem;
}

.eliria__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.eliria__cta {
    display: inline-block;
    background-color: #CE902B;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2.2rem;
    border-radius: var(--border-radius-sm);
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.eliria__cta:hover {
    background-color: #b87025;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 133, 30, 0.25);
}

.eliria__note {
    color: rgba(90, 90, 110, 0.45);
    font-size: 0.8rem;
    font-style: italic;
}

/* Preview screenshot */
.eliria__preview {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.05);
    background: #E2DFD8;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.eliria__preview-bar {
    background: #F8F7F3;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.eliria__preview-dots {
    display: flex;
    gap: 5px;
}

.eliria__preview-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: block;
}

.eliria__preview-url {
    flex: 1;
    text-align: center;
    font-size: 10px;
    color: #6E6259;
    background: #fff;
    border-radius: 4px;
    padding: 3px 10px;
    border: 1px solid rgba(0,0,0,0.06);
}

.eliria__preview-img {
    width: 100%;
    display: block;
}

/* Feature row — compact pills */
.eliria__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
}

.eliria__feat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 40px;
    padding: 9px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5A5A6E;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}

.eliria__feat svg {
    color: #CE902B;
    flex-shrink: 0;
}

.eliria__feat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    color: #16161E;
}

/* ===== ELIRIA RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .eliria {
        padding: 3.5rem 0 3rem;
    }

    .eliria__logo {
        height: 40px;
    }

    .eliria__title {
        font-size: 1.6rem;
    }

    .eliria__feat {
        padding: 7px 14px;
        font-size: 0.78rem;
    }
}

@media screen and (max-width: 480px) {
    .eliria__features {
        gap: 8px;
    }

    .eliria__feat {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/*==================== CONTACT ====================*/
.contact {
    background-color: var(--color-primary);
}

.contact .section__title {
    color: var(--color-white);
}

.contact__intro {
    text-align: left;
    max-width: 100%;
    margin-bottom: var(--spacing-xxl);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-beige);
    opacity: 0.85;
}

.contact__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: stretch;
}

.contact__form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    border: 2px solid var(--color-secondary);
    border-radius: var(--border-radius-md);
    background-color: var(--color-white);
    align-content: start;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__group--full {
    grid-column: 1 / -1;
}

.form__label {
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-dark);
    font-size: var(--font-size-small);
}

.form__input,
.form__textarea {
    padding: var(--spacing-sm);
    border: 2px solid #d4c5b9;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: var(--font-size-body);
    background-color: var(--color-white);
    transition: var(--transition-medium);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(206, 144, 43, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__message {
    grid-column: 1 / -1;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    text-align: center;
    display: none;
}

.form__message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form__message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
}

.contact__info-header {
    margin-bottom: var(--spacing-md);
}

.contact__info-title {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
}

.contact__info-text {
    color: var(--color-beige);
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact__info-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact__info-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--color-secondary);
    transform: translateX(5px);
}

.contact__info-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact__info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.contact__info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact__info-label {
    font-size: 0.75rem;
    color: var(--color-beige);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.contact__info-value {
    font-size: 1rem;
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
}

.contact__social {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-md);
}

.contact__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact__social a:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

.contact__social svg {
    width: 20px;
    height: 20px;
}

.contact__info-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: auto;
    opacity: 0.15;
    pointer-events: none;
}

.contact__decoration-img {
    width: 100%;
    height: auto;
}

/*==================== FOOTER ====================*/
.footer {
    background-color: var(--color-beige);
    color: var(--color-primary);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(14, 57, 31, 0.12);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: var(--font-weight-bold);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.footer__logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer__links a {
    color: var(--color-primary);
    opacity: 0.7;
    font-size: var(--font-size-small);
    transition: var(--transition-medium);
}

.footer__links a:hover {
    color: var(--color-secondary);
    padding-left: var(--spacing-xs);
}

.footer__social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(14, 57, 31, 0.08);
    border-radius: 50%;
    transition: var(--transition-medium);
}

.footer__social a:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer__social svg {
    width: 20px;
    height: 20px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    font-size: var(--font-size-small);
    color: var(--color-primary);
    opacity: 0.6;
}

.footer__legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer__legal a {
    color: var(--color-primary);
    transition: var(--transition-medium);
}

.footer__legal a:hover {
    color: var(--color-secondary);
}

/*==================== SCROLL TO TOP ====================*/
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--color-primary);
    transform: translateY(-5px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/*==================== PAGE LÉGALE ====================*/
.legal {
    padding-top: calc(var(--header-height) + var(--spacing-xxl));
}

.legal__container {
    max-width: 800px;
}

.legal__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.legal__updated {
    color: var(--color-grey);
    font-size: var(--font-size-small);
    margin-bottom: var(--spacing-xxl);
}

.legal__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.legal__section h2 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.legal__section h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-dark);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.legal__section p {
    color: var(--color-text-dark);
    font-size: var(--font-size-small);
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
}

.legal__section ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-xs) 0;
}

.legal__section ul li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--color-text-dark);
    font-size: var(--font-size-small);
    line-height: 1.8;
}

.legal__section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-secondary);
}

.legal__section a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.legal__section a:hover {
    color: var(--color-primary);
}

.legal__subtitle {
    color: var(--color-grey);
    font-size: var(--font-size-small);
    margin-bottom: var(--spacing-xs);
}

.legal__toc {
    background-color: var(--color-beige);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.legal__toc-title {
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.legal__toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legal__toc ul li {
    padding-left: 0;
}

.legal__toc ul li a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.legal__toc ul li a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal__divider {
    border: none;
    border-top: 2px solid var(--color-secondary);
    margin: var(--spacing-xxl) 0;
    opacity: 0.3;
}

.legal__section-anchor {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-sm);
}

.legal__back {
    margin-top: var(--spacing-xxl);
    text-align: center;
}

/* Header toujours en mode scrolled sur les pages internes */
.header--scrolled {
    background-color: var(--color-primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .legal {
        padding-top: calc(var(--header-height) + var(--spacing-xl));
    }

    .legal__title {
        font-size: 1.2rem;
    }
}

/*==================== ANIMATIONS ====================*/

/* Keyframes de base */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations au scroll */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/*==================== REDUCED MOTION ====================*/
@media (prefers-reduced-motion: reduce) {
    .service__card,
    .animate-fade-up,
    .animate-fade-left,
    .animate-fade-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .process__loutre {
        animation: none;
    }
    .services__parallax-rond {
        top: 50%;
        transform: translate(-50%, -50%) !important;
        will-change: auto;
    }
}

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

/* Tablettes */
@media screen and (max-width: 968px) {
    .about__container {
        grid-template-columns: 1fr;
    }

    .about__columns {
        grid-template-columns: 1fr;
    }

    .services__cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .services__parallax-rond {
        max-width: 80vw;
    }

    .process__flow {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    .process__step {
        padding: 1.2rem 1rem;
        min-height: 180px;
    }
    .process__step-title {
        font-size: 1rem;
    }
    .process__step-description {
        font-size: 0.95rem;
    }
    .process__step:nth-child(1),
    .process__step:nth-child(2),
    .process__step:nth-child(3),
    .process__step:nth-child(4),
    .process__step:nth-child(5) {
        grid-column: auto;
    }
    .process__step:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }

    .contact__content {
        grid-template-columns: 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__social {
        justify-content: center;
    }

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

/* Mobile */
@media screen and (max-width: 768px) {
    :root {
        --spacing-xxl: 3rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-primary);
        padding: var(--spacing-xxl) var(--spacing-lg);
        transition: var(--transition-medium);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .nav__close,
    .nav__toggle {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
    }

    .hero {
        min-height: 100vh;
        padding-top: calc(var(--header-height) + var(--spacing-lg));
    }

    .hero__logo-img {
        height: 80px;
        width: auto;
    }

    .about__star {
        width: 50px;
        top: -10px;
        right: -10px;
    }

    .process__loutre {
        display: none;
    }

    .process__flow {
        grid-template-columns: 1fr;
    }
    .process__step:nth-child(5) {
        max-width: 100%;
    }

    .contact__form {
        grid-template-columns: 1fr;
    }

    .contact__info-item {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: var(--spacing-xs) var(--spacing-md);
        align-items: center;
    }

    .contact__info-content {
        display: contents;
    }

    .contact__info-label {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .contact__info-value {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}
