/* ==========================================
   CSS CUSTOM PROPERTIES
   ========================================== */

   :root {
    /* Colors */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray: #2A2A2A;
    --color-gray-light: #4A4A4A;
    
    /* Typography */
    --font-primary: 'bc-novatica-cyr', sans-serif;
    --font-secondary: 'neue-haas-unica', sans-serif;
    --font-size-base: 16px;
    --font-size-large: 44px;
    --font-size-xl: 64px;
    --font-size-xxl: 96px;
    --line-height-base: 1.6;
    --line-height-tight: 1.1;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 128px;
    
    /* Layout */
    --container-max-width: 1200px;
    --section-padding: 100px 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-background: -1;
    --z-base: 1;
    --z-overlay: 10;
    --z-modal: 100;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /*border: red 1px solid;*/
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

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

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

a:hover, a:focus {
    opacity: 0.7;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-tight);
    font-weight: 700;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(48px, 10vw, var(--font-size-xxl));
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(32px, 6vw, var(--font-size-xl));
    letter-spacing: -1px;
}

h3 {
    font-size: clamp(32px, 6vw, var(--font-size-l));
    letter-spacing: -1px;
}

p {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: -0.6px;
}

p:last-child {
    margin-bottom: 0;
}

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

section {
    padding: var(--section-padding);
    position: relative;
}

.section__title {
    position: relative;
    /*margin-bottom: var(--spacing-lg);*/
    margin-bottom: 24px;
    /*z-index: 3;*/
}

/* ==========================================
   DECORATIVE X SHAPES
   ========================================== */
.x-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-background);
    overflow: hidden;
}

.x-shapes::before,
.x-shapes::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: url('../images/x-shape.png') no-repeat center;
    background-size: contain;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.x-shapes::before {
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.x-shapes::after {
    bottom: 20%;
    left: -150px;
    animation-delay: 5s;
}

/* ==========================================
   DECORATIVE CIRCLES
   ========================================== */

/*.highlight-circle {
  position: relative;
  display: inline-block;
  padding: 0 8px;
}

.highlight-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 20px);
  height: calc(100% + 15px);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  z-index: -1;
}*/

.highlight-circle {
  position: relative;
  display: inline-block;
  /*padding: 0 8px;*/
}

.highlight-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 20px);
  /*width: 100%;*/
  height: calc(100% + 10px);
  background-image: url('../images/circle-hand-drawn.png');
  /*background-size: contain;*/
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  opacity: 0.8;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm);
    border: 2px solid black;
    border-radius: 50px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    /*letter-spacing: 1px;*/
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(90deg, #FFFFFF 0%, #33B34B 26%, #68BD99 57%, #2F614F 78%, #5ABA82 100%);
    color: var(--color-black);
    /*border-color: transparent;*/
}

.btn--primary:hover,
.btn--primary:focus {
    background: black;
    background-color: black;
    color: var(--color-white);
    opacity: 1;
    border: 2px solid var(--color-white);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    /* S'adapte exactement à la hauteur du viewport */
    height: 100vh;
    width: 100vw;
    min-height: 889px;

    display: flex;
    padding: 40px;
    flex-direction: column;
    align-items: center;

    position: relative;
    /*overflow: hidden;*/
    
    /* Hero background SVG - étiré en largeur */
    /*background-image: url('../images/herobg.svg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;*/

    background: url('../images/herobg.jpg') 0px 0px / 100% 100% no-repeat;
}

/* Supprime le ::before si tu n'en as plus besoin */
/*.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/herobg.svg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}*/

.hero__content {
    /*max-width: 1432px; Sécurité*/
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    gap: 8px;
}

.hero__title {
    line-height: 0; /* Élimine l'espace blanc sous l'image */
}

.hero__title-img {
    /* L'image définit tout */
    height: 600px;
    align-self: stretch;
    aspect-ratio: 358/167;
}

/* Supprime la classe visually-hidden si elle n'est plus utilisée */
/*.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}*/

.hero__definition,
.hero__nav {
    /* Suivent la largeur du titre */
    width: 100%;
    max-width: 100%;
}

.hero__definition {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /*align-self: stretch;*/
}

.hero__subtitle {
    /*font-size: var(--font-size-large);*/
    text-align: left;
    font-family: var(--font-primary);
    font-size: 40px;
    font-style: normal;
    font-weight: 600;   
    line-height: var(--line-height-tight);
    letter-spacing: -2px;
    text-transform: uppercase;
}

.hero__description {
    text-align: right;
}

.hero__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.hero__link {
    text-transform: uppercase;
    font-weight: 600;
    /*letter-spacing: 1px;*/
    position: relative;
}

.hero__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
    transition: width var(--transition-base);
}

.hero__link:hover::after,
.hero__link:focus::after {
    width: 100%;
}

.hero__scroll {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* ==========================================
   VALUES SECTION
   ========================================== */
.values {
    padding: var(--spacing-xl) var(--spacing-md);
    background-color: var(--color-black);
}

/* Formes X décoratives */
.values__x-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.values__x {
    position: absolute;
    /*opacity: 0.4;*/
    /*filter: brightness(1.2);*/
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Positionnement des formes X */
.values__x--1 {
    width: 300px;
    height: auto;
    left: -5%;
    top: 50%;
}

.values__x--2 {
    width: 200px;
    height: auto;
    left: 15%;
    top: 10%;
}

.values__x--3 {
    width: 350px;
    height: auto;
    right: -5%;
    top: 20%;
}

.values__x--4 {
    width: 125px;
    height: auto;
    right: 30%;
    bottom: 7%;
}

.values__x--5 {
    width: 125px;
    height: auto;
    right: 28%;
    bottom: 5%;
}

.values__item {
    padding: var(--spacing-lg) 0;
    /*border-bottom: 1px solid var(--color-gray-light);*/
    text-align: center;
}

.values__item:last-child {
    border-bottom: none;
}

.values__title {
    font-size: clamp(28px, 5vw, 48px);
}

/* ==========================================
   PARCOURS SECTION
   ========================================== */
.parcours {
    background-color: var(--color-black);
    /*padding: var(--spacing-xl) var(--spacing-md);*/
}

.parcours .container {
    max-width: 100%;
    padding: 0 var(--spacing-lg);
}

.parcours__content {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Texte plus étroit, gallery plus large */
    /*gap: var(--spacing-lg);*/
    gap: 20px;
    align-items: start;
}

/*.parcours__text {
    padding-right: var(--spacing-md);
}*/

.parcours__text .section__title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
}

.parcours__text p {
    /*font-family: var(--font-secondary);*/
    margin-bottom: var(--spacing-md);
    /*font-size: 18px;*/
    /*line-height: 1.7;*/
}

/* Gallery avec superposition */
.parcours__gallery {
    position: relative;
    width: 100%;
    height: 600px; /* Ajuste selon tes besoins */
    min-height: 500px;
}

/* Image principale (grande, à gauche) */
.parcours__img--large {
    position: absolute;
    left: 0px;
    top: 24px;
    /*width: 450px;*/
    width: calc(30vw - 40px);
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Image top-right (superposée en haut à droite) */
.parcours__img:nth-child(2) {
    position: absolute;
    /*left: 400px;*/
    /*right: 250px;*/
    right: 13vw;
    top: 0;
    width: 341px;
    height: 341px;
    object-fit: cover;
    z-index: 2;
}

/* Image bottom-right (superposée en bas à droite) */
.parcours__img:nth-child(3) {
    position: absolute;
    /*left: 520px;*/
    /*right: 50px;*/
    right: -6vw;
    top: 280px;
    width: 454px;
    height: 271px;
    object-fit: cover;
    z-index: 3;
}

.parcours__img {
    transition: transform var(--transition-base), z-index 0s;
}

.parcours__img:hover {
    transform: scale(1.02);
    z-index: 10 !important; /* Passe au premier plan au hover */
}

/* ==========================================
   APPROCHE SECTION
   ========================================== */
.approche {
    background-color: var(--color-black);
    /*padding: var(--spacing-xl) var(--spacing-md);*/
    position: relative;
    overflow: hidden;
}

/* Formes X décoratives */
.approche__x-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.approche__x {
    position: absolute;
    /*opacity: 0.4;*/
    /*filter: brightness(1.2);*/
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Positionnement des formes X */
.approche__x--1 {
    width: 300px;
    height: auto;
    left: -3%;
    top: 60%;
}

.approche__x--2 {
    width: 200px;
    height: auto;
    left: 45%;
    top: 10%;
}

.approche__x--3 {
    width: 350px;
    height: auto;
    right: -5%;
    top: 20%;
}

.approche__x--4 {
    width: 125px;
    height: auto;
    left: 35%;
    bottom: 13%;
}

.approche__x--5 {
    width: 125px;
    height: auto;
    left: 33%;
    bottom: 11%;
}

.approche .container {
    max-width: 100%;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.approche .section__title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 44px;
    text-transform: uppercase;
}

/* Grid avec 3 colonnes et rows auto */
.approche__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*gap: var(--spacing-lg);*/
    gap: 20px;
}

/* Style commun pour les textes */
.approche__text {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.approche__text p {
    margin-bottom: var(--spacing-md);
}

.approche__text p:last-child {
    margin-bottom: 0;
}

/* Positionnement des textes dans la grille */
.approche__text--col1 {
    grid-column: 1; /* Colonne 1 */
    grid-row: 1;    /* Row 1 */
}

.approche__text--col2 {
    grid-column: 2; /* Colonne 2 */
    grid-row: 2;    /* Row 2 */
}

.approche__text--col3 {
    grid-column: 3; /* Colonne 3 */
    grid-row: 3;    /* Row 3 */
}

/* ==========================================
   COLLABORATIONS SECTION
   ========================================== */
.collaborations {
    background-color: var(--color-black);
    /*padding: var(--spacing-xl) var(--spacing-md);*/
}

.collaborations .container {
    max-width: 100%;
    padding: 0 var(--spacing-lg);
}

.collaborations .section__title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 44px;
    text-transform: uppercase;
}

.collaborations__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    /*margin-bottom: 44px;*/
}

.collab-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3/4; /* Format portrait */
}

/* Cache la carte vide visuellement mais garde la structure */
.collab-card--empty {
    visibility: hidden;
}

.collab-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.collab-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.collab-card:hover .collab-card__overlay,
.collab-card:focus-within .collab-card__overlay {
    transform: translateY(0);
}

.collab-card:hover .collab-card__img,
.collab-card:focus-within .collab-card__img {
    transform: scale(1.05);
}

.collab-card__name {
    font-size: 24px;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
}

.collab-card__link {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--color-white);
    border-radius: 20px;
    font-size: 14px;
    text-transform: uppercase;
}

.collab-card__link:hover,
.collab-card__link:focus {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Social icons */
.collaborations__social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.collaborations__social svg {
    transition: transform var(--transition-fast);
}

.collaborations__social a:hover svg,
.collaborations__social a:focus svg {
    transform: scale(1.2);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    background: url('../images/herobg.jpg') 0px 0px / 100% 100% no-repeat;
}

/*.contact {
    background-color: var(--color-gray);
    padding-block: 5rem;
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
}*/

.contact__x-shape {
    position: absolute;
    left: 22%;
    top: 33%;
    width: 500px;
    height: auto;
    pointer-events: none;
    /*z-index: 0;*/
    opacity: 0.9;
    filter: brightness(1.2);
}

.contact .container {
    max-width: 100%;
    /*padding: 0 var(--spacing-lg);*/
    margin-bottom: 288px;
    /*margin-bottom: var(--spacing-xxl);*/
}

.contact__intro {
    /*font-size: var(--font-size-large);*/
    /*margin-bottom: var(--spacing-lg);*/
    /*line-height: 1.6;*/
    flex: 1;
}

.contact__info {
    display: flex;
    flex-direction: row;
    /*gap: var(--spacing-md);*/
    gap: 20px;
    /*align-items: center;*/
    justify-content: space-between;
}

.contact__links {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 20px;
}

.contact__item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: end;
    /*padding: var(--spacing-sm) var(--spacing-md);*/
    /*border: 1px solid var(--color-white);*/
    /*border-radius: 50px;*/
}

.contact__label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    color: grey;
}

.contact__link {
    font-family: var(--font-secondary);
    font-size: 40px;
    line-height: 40px;
}

.contact__arrow {
    width: 30px;
    height: 30px;
    background: url('../images/arrow.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-size: 100% 100%;
}

.contact a {
  transition: color 0.3s ease;
}

.contact a:hover {
  color: #00ffa6;
}

/*.contact a:hover {
  background: linear-gradient(45deg, #FFFFFF 10%, #33B34B 26%, #68BD99 57%, #2F614F 78%, #5ABA82 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}*/

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding: var(--spacing-md);
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
    background-color: var(--color-black);
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    color: var(--color-black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: var(--z-overlay);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
    background-color: var(--color-gray-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Style pour mobile */
@media (max-width: 768px) {
    .back-to-top {
        bottom: var(--spacing-sm);
        right: var(--spacing-sm);
        width: 45px;
        height: 45px;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

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

/* Animation de pulsation douce pour les étoiles */
@keyframes starPulse {
    0%, 100% { 
        scale: 1;
    }
    50% { 
        scale: 1.05;
    }
}

/* Fade-in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    .parcours__content {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .parcours__gallery {
        height: 500px;
        min-height: 400px;
    }

    .approche__content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Réorganise sur 2 colonnes */
    .approche__text--col1 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .approche__text--col2 {
        grid-column: 2;
        grid-row: 1;
    }
    
    .approche__text--col3 {
        grid-column: 1;
        grid-row: 2;
    }
    
    /* Formes X */
    .approche__x--1 { width: 220px; height: 220px; left: -8%; }
    .approche__x--2 { width: 160px; height: 160px; }
    .approche__x--3 { width: 280px; height: 280px; right: -8%; }
    .approche__x--4 { width: 120px; height: 120px; }

    .collaborations__grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur tablette */
    }
    
    /* Cache la carte vide sur tablette */
    .collab-card--empty {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }
    
    .hero {
        padding: var(--spacing-md);
    }

    .hero__title-img {
        height: 350px; /* Réduit sur tablette */
    }

    .hero__definition {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero__nav {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .parcours__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .parcours__text {
        padding-right: 0;
    }
    
    .parcours__gallery {
        height: 400px;
        min-height: 350px;
    }
    
    /* Ajuste les tailles sur tablette */
    .parcours__img--large {
        width: 50%;
    }
    
    .parcours__img:nth-child(2),
    .parcours__img:nth-child(3) {
        width: 58%;
    }

    .approche {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .approche .container {
        padding: 0 var(--spacing-md);
    }
    
    .approche .section__title {
        font-size: 32px;
        margin-bottom: var(--spacing-lg);
    }
    
    /* Une seule colonne sur mobile */
    .approche__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Tous les textes en colonne */
    .approche__text--col1,
    .approche__text--col2,
    .approche__text--col3 {
        grid-column: 1;
    }
    
    .approche__text--col1 { grid-row: 1; }
    .approche__text--col2 { grid-row: 2; }
    .approche__text--col3 { grid-row: 3; }
    
    /* Formes X */
    .approche__x--1 { width: 180px; height: 180px; left: -15%; top: 25%; }
    .approche__x--2 { width: 120px; height: 120px; right: -10%; top: 5%; left: auto; }
    .approche__x--3 { width: 200px; height: 200px; right: -15%; top: 45%; }
    .approche__x--4 { width: 100px; height: 100px; left: 20%; bottom: 20%; }
    
    .collaborations {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .collaborations .container {
        padding: 0 var(--spacing-md);
    }
    
    .collaborations .section__title {
        font-size: 32px;
        margin-bottom: var(--spacing-lg);
    }
    
    .collaborations__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile */
        gap: var(--spacing-sm);
    }
    
    .contact__item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--spacing-sm);
    }

    .hero__title-img {
        height: 250px; /* Encore plus petit sur mobile */
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__description {
        font-size: 14px;
    }

    .parcours {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .parcours .container {
        padding: 0 var(--spacing-sm);
    }
    
    .parcours__text .section__title {
        font-size: 28px;
        margin-bottom: var(--spacing-md);
    }
    
    .parcours__text p {
        font-size: 14px;
    }
    
    /* Sur mobile, empile les images différemment */
    .parcours__gallery {
        height: 350px;
        min-height: 300px;
    }
    
    .parcours__img--large {
        width: 55%;
        height: 70%;
        top: 0;
        left: 0;
    }
    
    .parcours__img:nth-child(2) {
        width: 60%;
        height: 45%;
        right: 0;
        top: 15%;
    }
    
    .parcours__img:nth-child(3) {
        width: 60%;
        height: 45%;
        right: 0;
        bottom: 0;
    }

    .approche .section__title {
        font-size: 28px;
    }
    
    .approche__text {
        font-size: 14px;
    }
    
    .approche__x--1 { width: 140px; height: 140px; }
    .approche__x--2 { width: 90px; height: 90px; }
    .approche__x--3 { width: 160px; height: 160px; }
    .approche__x--4 { display: none; }

    .collaborations .section__title {
        font-size: 28px;
    }
    
    .collaborations__grid {
        grid-template-columns: 1fr; /* 1 colonne sur petit mobile */
    }
    
    .collab-card__name {
        font-size: 20px;
    }
    
    .values__title {
        font-size: 24px;
    }
}