/* 
==========================================================================
   POLICES PERSONNALISÉES
========================================================================== 
*/

@font-face {
    font-family: 'Workbench';
    src: url('../data/Workbench-Regular-VariableFont_BLED,SCAN.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cantarell';
    src: url('../data/Cantarell-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cantarell';
    src: url('../data/Cantarell-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}



/* 
==========================================================================
   ATTRIBUTS
========================================================================== 
*/
:root {

    --h1-color: rgb(0, 128, 255);
    --h2-color: rgb(0, 128, 255);
    --h3-color: rgb(0, 128, 255);
    --h4-color: rgb(255, 128, 0);
    --h5-color: rgb(255, 128, 0);
    --h6-color: rgb(0, 128, 255);
}



/* 
==========================================================================
   MISE EN PAGE
========================================================================== 
*/

.center {
    /* display: block; */
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* max-width: var(--content-width); */
    text-align: center;

    justify-content: center;
    align-items: center;

    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.leftt {
    /* display: block; */
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* max-width: var(--content-width); */
    text-align: left !important;
    justify-content: left !important;
    align-items: left !important;
    


    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}


.saut {
    height: 50px;
}




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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: 0;
    height: var(--header-height);
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(7px);
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--content-width);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    height: var(--header-height);
}

/* === LOGO === */
.logo {
    font-family: var(--font-family-display);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-light);
    color: rgba(0, 255, 0, 1);
    text-decoration: none;
    letter-spacing: -0.02em;
    opacity: 1;
    transition: opacity var(--transition-normal);
    height: var(--header-height);
    display: flex;
    align-items: center;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
    position: relative;
}

.logo.typing::after {
    content: "|";
    animation: blink 1s step-end infinite;
    color: rgba(0, 255, 0, 1);
    margin-left: 1px;
}

@keyframes blink {
    from, to { color: transparent; }
    50% { color: rgba(0, 255, 0, 1); }
}

.header-actions {
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .btn,
.header-actions .lang-btn,
.header-actions .theme-toggle {
    height: 35px;
    min-height: 35px;
    max-height: 35px;
    border-radius: 4px !important;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
}



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


.btn, .lang-btn, .theme-toggle {
    margin-top: 0;
    margin-bottom: 0;
    /* padding vertical déjà géré par la classe */
}

.btn {
    padding: var(--space-sm) var(--space-md);
    border: var(--border-width) solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-base); /* Augmenté pour une meilleure lisibilité */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.btn:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn-secondary {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-card);
    border-color: var(--color-accent);
}

/* === BOUTON THÈME === */
.theme-toggle {
    height: 35px;
    min-height: 35px;
    max-height: 35px;
    min-width: 48px;
    padding: 0 var(--space-md);
    font-size: var(--font-size-base); /* Augmenté pour une meilleure lisibilité */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    background: var(--color-bg-card);
    color: var(--color-text-primary);
    border: var(--border-width) solid var(--color-border);
    border-radius: 4px !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.theme-toggle:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}


/* 
==========================================================================
   TITRES
==========================================================================
*/


h1{
    font-family: var(--font-family-primary);
    font-size: 25px !important;
    font-weight: 600 !important;
    color: var(--h1-color) !important;
}

h2{
    font-family: var(--font-family-primary);
    font-size: 30px !important;
    font-weight: 500 !important;
    color: var(--h2-color) !important;
}

h3{
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    color: var(--h3-color) !important;
}

h4{
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    color: var(--h4-color) !important;
}

h5{
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    color: var(--h5-color) !important;
}

h6{
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    color: var(--h6-color) !important;
}

/* h1, h2, h3, h4, h5, h6, .text-4xl, .text-3xl, .text-2xl, .text-xl {
    font-family: var(--font-family-primary);
    font-weight: 400;
    color: var(--color-accent) !important;
} */






/* 
==========================================================================
   BLOQUES
==========================================================================
*/

.blc{
    max-width: var(--content-width);
    border: 0px solid #ff0000 !important;

    /* min-height: 100vh; */
    /* height: 100vh; */
    /* padding: 0 var(--space-md); */
    /* gap: var(--space-2xl); */
    /* display: flex; */
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;

    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}
.blc h2{
    text-align: center;
    margin-bottom: 50px;
    padding: 0;
}
.blc h4{
    text-align: left;
    margin-top: 50px;
    margin-bottom: 10px;
    padding: 0;
}



.tst {
    /* border: 0px !important; */
    /* border:#333333 1px solid; */
    /* width: 100%; */
    /* max-width: var(--content-width); */
    /* margin-bottom: 0; */
    /* border-radius: var(--border-radius-lg); */
    /* overflow: hidden; */
    /* box-shadow: var(--shadow-xl); */
    /* margin-left: 0; */
    /* margin-right: 0; */



    /* margin-bottom: 0; */

    /* display: block; */
    /* width: 100%; */
    /* height: auto; */
    /* object-fit: contain; */

    /* display: block; */
    /* width: 100%; */
    /* max-width: var(--content-width); */
    /* margin: 0 auto var(--space-xl) auto; */
    /* border-radius: var(--border-radius-lg); */
    /* box-shadow: var(--shadow-xl); */
    /* overflow: hidden; */
    /* border: 1px solid rgba(var(--color-border-rgb), 0.5); */
    /* border:#333333 1px solid; */
    /* background: #111; */

}


/* 
==========================================================================
    IMAGES ET VIDÉOS
==========================================================================
*/


/* Style unique pour toutes les images et vidéos */
video {
    max-width: var(--content-width) !important;
    border-radius: 3px !important;
    border: 0px solid hwb(0 100% 0%) !important;

    /* width: 100% !important; */
    
    /* height: auto !important; */
    /* object-fit: contain !important; */

    /* display: block !important; */
    /* margin: 0 0 15px 0 !important; */
    /* background: #111; */
}

img{
    max-width: var(--content-width) !important;
    border-radius: 5px !important;
    border: 0px solid hwb(180 0% 0% / 0.314) !important;

    /* width: 100% !important; */
    
    /* height: auto !important; */
    /* object-fit: contain !important; */

    /* display: block !important; */
    /* margin: 0 0 15px 0 !important; */
    /* background: #111; */
}


.video-container {
    display: flex;
    gap: 20px; /* Espace entre les vidéos */
    justify-content: center;
    flex-wrap: wrap; /* Pour que ça s'adapte sur mobile */
}

.video-wrapper {
    flex: 1;
    max-width: 50%; /* Pour qu'elles prennent environ la moitié de l'espace chacune */
}

.video-wrapper .vide {
    width: 100%;
    height: auto;
}

.video-wrapper a {
    display: block;
    text-decoration: none;
}

/* Responsive : sur petits écrans, les vidéos s'empilent */
@media (max-width: 768px) {
    .video-wrapper {
        max-width: 100%;
    }
}





















/* ==========================================================================
   2. SYSTÈME DE DESIGN - VARIABLES CSS
   ========================================================================== */
:root {
    /* === COULEURS === */
    /* Mode sombre */
    --color-bg-primary: #1e1e1e;
    --color-bg-primary-rgb: 30, 30, 30;
    --color-bg-secondary: #2a2a2a;
    --color-bg-card: #333333;
    --color-text-primary: #bdbdbd;
    --color-text-secondary: #b8b8b8;
    --color-text-muted: #888888;
    --color-accent: #4a90e2;
    --color-accent-hover: #357abd;
    --color-border: #404040;
    --color-border-rgb: 64, 64, 64;
    --color-success: #4caf50;
    --color-error: #f44336;
    --color-warning: #ff9800;
    
    /* === TYPOGRAPHIE === */
    --font-family-primary: 'Cantarell', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-family-headings: 'Cantarell', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-family-display: 'Workbench', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-tight: 1.1;
    --line-height-normal: 1.3;
    --line-height-relaxed: 1.5;
    
    /* === ESPACEMENT === */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2rem;       /* 32px */
    --space-2xl: 3rem;      /* 48px */
    --space-3xl: 4rem;      /* 64px */
    --space-4xl: 6rem;      /* 96px */
    
    /* === BORDURES === */
    --border-radius-sm: 5px;
    --border-radius-md: 5px;
    --border-radius-lg: 5px;
    --border-radius-xl: 5px;
    --border-radius-full: 9999px;
    --border-width: 1px;
    --border-width-thick: 2px;
    
    /* === OMBRES === */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* === TRANSITIONS === */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* === Z-INDEX === */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* === LAYOUT === */
    --container-max-width: 1200px;
    --header-height: 110px;
    --content-width: 1056px;
}

/* === MODE CLAIR === */
[data-theme="light"] {
    --color-bg-primary: #f8f9fa;
    --color-bg-primary-rgb: 248, 249, 250;
    --color-bg-secondary: #e9ecef;
    --color-bg-card: #ffffff;
    --color-text-primary: #2d2d2d;
    --color-text-secondary: #6b6b6b;
    --color-text-muted: #a0a0a0;
    --color-accent: #4a90e2;
    --color-accent-hover: #357abd;
    --color-border: #dee2e6;
    --color-border-rgb: 222, 226, 230;
    --color-footer-bg: #e9ecef;
}

[data-theme="light"] .logo {
    color: rgba(0, 255, 0, 1) !important;
    font-weight: 300 !important;
}

[data-theme="light"] .logo.typing::after {
    color: rgba(0, 255, 0, 1) !important;
}

[data-theme="light"] footer {
    background: var(--color-footer-bg);
}

/* ==========================================================================
   3. RÉINITIALISATION CSS ET STYLES DE BASE
   ========================================================================== */

/* --- 3.1 Reset de base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- 3.2 HTML & Body --- */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: var(--line-height-normal);
    font-size: var(--font-size-lg); /* Augmenté pour une meilleure lisibilité */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- 3.3 Règles typographiques globales --- */
p, span, div, li, td, th, label, input, textarea, button:not(.logo) {
    font-family: var(--font-family-primary);
    font-weight: 400;
}

/* Force Cantarell Light pour tous les éléments */
*[style*="color: #4a90e2"], 
*[style*="color: var(--color-accent)"],
.btn, .lang-btn {
    font-family: var(--font-family-headings);
    font-weight: 300; /* Cantarell Light partout */
}

/* ==========================================================================
   4. CLASSES UTILITAIRES
   ========================================================================== */

/* --- 4.1 Typographie --- */
/* Tailles de police */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }

/* Poids des polices */
.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* Hauteur de ligne */
.leading-tight { line-height: var(--line-height-tight); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }

/* --- 4.2 Espacement --- */
.m-xs { margin: var(--space-xs); }
.m-sm { margin: var(--space-sm); }
.m-md { margin: var(--space-md); }
.m-lg { margin: var(--space-lg); }
.m-xl { margin: var(--space-xl); }
.m-2xl { margin: var(--space-2xl); }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
.p-2xl { padding: var(--space-2xl); }

.pt-xs { padding-top: var(--space-xs); }
.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }
.pt-2xl { padding-top: var(--space-2xl); }

.pb-xs { padding-bottom: var(--space-xs); }
.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }
.pb-2xl { padding-bottom: var(--space-2xl); }

/* ===== CLASSES UTILITAIRES - BORDURES ===== */
.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded-md { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }
.rounded-full { border-radius: var(--border-radius-full); }

.border { border: var(--border-width) solid var(--color-border); }
.border-thick { border: var(--border-width-thick) solid var(--color-border); }
.border-accent { border-color: var(--color-accent); }
.border-success { border-color: var(--color-success); }
.border-error { border-color: var(--color-error); }

/* ===== CLASSES UTILITAIRES - OMBRES ===== */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ===== CLASSES UTILITAIRES - DISPLAY ===== */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ===== CLASSES UTILITAIRES - FLEXBOX ===== */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

/* ===== CLASSES UTILITAIRES - POSITION ===== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* ===== CLASSES UTILITAIRES - COULEURS === */
.bg-primary { background-color: var(--color-bg-primary); }
.bg-secondary { background-color: var(--color-bg-secondary); }
.bg-card { background-color: var(--color-bg-card); }
.bg-accent { background-color: var(--color-accent); }
.bg-success { background-color: var(--color-success); }
.bg-error { background-color: var(--color-error); }

.text-primary { 
    color: var(--color-text-primary); 
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
}
.text-secondary { 
    color: var(--color-text-secondary); 
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
}
.text-muted { 
    color: var(--color-text-muted); 
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
}
.text-accent { 
    color: var(--color-accent); 
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
}
.text-success { color: var(--color-success); }
.text-error { color: var(--color-error); }

/* ==========================================================================
   5. COMPOSANTS
   ========================================================================== */





/* === SWITCH LANGUE === */
.language-switch {
    display: flex;
    border: var(--border-width) solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    height: 35px;
    background: var(--color-bg-card);
}

.lang-btn {
    height: 35px;
    min-height: 35px;
    max-height: 35px;
    min-width: 48px;
    padding: 0 var(--space-md);
    font-size: var(--font-size-base); /* Augmenté pour une meilleure lisibilité */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    background: var(--color-bg-card);
    color: var(--color-text-secondary);
    border: none;
    border-radius: 0 !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.lang-btn:first-child {
    border-radius: 4px 0 0 4px !important;
}
.lang-btn:last-child {
    border-radius: 0 4px 4px 0 !important;
}

.lang-btn:hover {
    background: var(--color-accent);
    color: white;
}

.lang-btn.active {
    background: var(--color-accent);
    color: white;
}

/* ===== LAYOUT PRINCIPAL ===== */
main {
    margin-top: var(--header-height);
}

.section, .container, .hero, .video-container, .youtube-embed, .local-video {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.section {
    padding: var(--space-3xl) 0;
    max-width: var(--content-width);
    margin: 0 auto;
}

.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0;
}

/* ===== COMPOSANTS SPÉCIFIQUES ===== */

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    height: 100vh;
    padding: 0 var(--space-md);
    gap: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* transform: translateY(-80px); */
}

.video-container,
.video-block {
    width: 100%;
    max-width: var(--content-width);
    margin-bottom: 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-left: 0;
    margin-right: 0;
}

.youtube-embed {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    max-width: 100%;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero .media-asset {
    margin-bottom: 0;
}

.hero h2 {
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    font-size: var(--font-size-2xl); /* Même taille que test-unreal h2 */
    margin-bottom: 0;
}

/* === SECTION TEST UNREAL === */
.test-unreal {
    text-align: center;
}

.test-unreal h2 {
    font-size: var(--font-size-2xl); /* Diminué d'une mesure */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    margin-bottom: var(--space-2xl);
    color: var(--color-text-primary);
}

.test-unreal .local-video,
.test-unreal .mt-xl {
    margin: 0;
}

/* === VIDÉO LOCALE === */
.local-video {
    width: 100% !important;
    max-width: var(--content-width) !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    border: none !important;
    display: block !important;
    margin: 0 !important;
    background: transparent;
}

/* === SECTION À PROPOS === */
.about {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 50px;
}

.profile-image {
    position: absolute;
    left: 0;
    top: 65px;
    max-width: 220px !important;
    width: 220px !important;
    height: auto !important;
    display: block;
    margin: 0;
    border-radius: 50%;
    border: 1px solid #ffffff50 !important;
    object-fit: cover;
}

.about-content {
    margin-left: 250px;
    width: calc(100% - 250px);
}

.about-content h2 {
    position: absolute;
    top: 0;
    left: 0;
    font-size: var(--font-size-2xl); /* Diminué d'une mesure */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
}

.about-content p {
    font-size: var(--font-size-lg); /* Augmenté pour une meilleure lisibilité */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
    color: var(--color-text-secondary);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* === SECTION TRAVAUX PERSONNELS === */
.personal-work {
    text-align: center;
}

.personal-work h2 {
    font-size: var(--font-size-2xl); /* Diminué d'une mesure */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
}

.construction-notice {
    font-size: var(--font-size-lg); /* Augmenté pour une meilleure lisibilité */
    font-weight: 400; /* Cantarell Regular */
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
    font-style: italic;
    text-align: center;
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.placeholder-card {
    background: var(--color-bg-card);
    padding: var(--space-2xl);
    border-radius: 6px;
    border: var(--border-width) solid var(--color-border);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.placeholder-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.placeholder-card h3 {
    font-size: var(--font-size-lg); /* Diminué d'une mesure */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.placeholder-card p {
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    font-size: var(--font-size-lg); /* Augmenté pour une meilleure lisibilité */
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    text-align: left;
}

/* === SECTION CONTACT === */
.contact {
    text-align: center;
}

.contact h2 {
    font-size: var(--font-size-2xl); /* Diminué d'une mesure */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    margin-bottom: var(--space-2xl);
    color: var(--color-text-primary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    font-size: var(--font-size-base); /* Augmenté pour une meilleure lisibilité */
    color: var(--color-text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius-md);
    background: var(--color-bg-card);
    color: var(--color-text-primary);
    font-size: var(--font-size-base); /* Augmenté pour une meilleure lisibilité */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-border);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* === MESSAGES === */
.message {
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-lg);
    font-weight: var(--font-weight-medium);
}

.message.success {
    background: rgba(76, 175, 80, 0.1);
    border: var(--border-width) solid var(--color-success);
    color: var(--color-success);
}

.message.error {
    background: rgba(244, 67, 54, 0.1);
    border: var(--border-width) solid var(--color-error);
    color: var(--color-error);
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: var(--space-xl) var(--space-2xl) var(--space-xl) var(--space-2xl);
    border-top: var(--border-width) solid var(--color-border);
    background: var(--color-bg-secondary);
    color: var(--color-text-muted);
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    font-size: var(--font-size-base); /* Augmenté pour une meilleure lisibilité */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ===== PAGES SPÉCIALES ===== */

/* === PAGE THANK YOU === */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl);
}

.thank-you-content {
    max-width: 600px;
}

.thank-you-icon {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-xl);
    animation: bounce 2s infinite;
}

.thank-you h1 {
    font-size: var(--font-size-3xl); /* Diminué d'une mesure */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.thank-you-message {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

.thank-you-submessage {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
}

.thank-you-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.thank-you-actions .btn {
    min-width: 150px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* === PAGE BREAKDOWN === */
.breakdown-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--space-3xl) 0;
}

.breakdown-section {
    margin-bottom: var(--space-3xl);
}

.breakdown-container h1 {
    font-size: var(--font-size-3xl); /* Diminué d'une mesure */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    margin-bottom: var(--space-2xl);
    color: var(--color-text-primary);
}

.breakdown-section h2 {
    font-size: var(--font-size-2xl); /* Diminué d'une mesure */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.breakdown-section h3 {
    font-size: var(--font-size-xl); /* Diminué d'une mesure */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.breakdown-section p, 
.breakdown-section li {
    font-size: var(--font-size-lg); /* Augmenté pour une meilleure lisibilité */
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

.breakdown-section ul {
    margin-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}

/* === MÉDIA === */
.images-side-by-side, 
.images-345-side-by-side {
    display: grid;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.images-side-by-side {
    grid-template-columns: 1fr 1fr;
}

.images-345-side-by-side {
    grid-template-columns: 1fr 1fr 1fr;
}

.images-side-by-side .media-container,
.images-345-side-by-side .media-container {
    display: block;
    height: auto;
}

/* === STYLES POUR LES IMAGES DU BREAKDOWN === */

/* Conteneur des médias */
.media-container {
    margin-bottom: var(--space-lg);
    transition: all var(--transition-normal);
}



/* Neutralise les styles conflictuels */
.local-video,
.media-container video {
    border: 1px solid #ffffff50 !important;
    border-radius: 4px !important;
    box-shadow: unset !important;
    margin: 0 0 15px 0 !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    background: #111 !important;
}

/* Conteneur pour layout côte à côte */
.images-side-by-side {
    display: block;
    width: 100%;
}

/* Styles pour les autres images (non-screenshot) */
.media-container img:not(.screenshot-img),
.media-container video {
    height: auto;
    width: 100%;
    object-fit: initial;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.media-container video {
    cursor: pointer;
}

.media-container video:hover {
    transform: scale(1.01);
}

.media-caption {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    font-style: italic;
}

/* === BOUTON RETOUR === */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
}

.back-btn.btn:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* === HIGHLIGHT === */
.highlight {
    color: var(--color-accent);
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
}

/* ==========================================================================
   7. RESPONSIVE DESIGN
   ========================================================================== */

/* --- 7.1 Tablettes (768px et moins) --- */
@media (max-width: 768px) {
    .header-content {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    .header-actions {
        gap: var(--space-xs);
    }
    
    .section {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding: 0 var(--space-md);
        gap: var(--space-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .profile-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .placeholder-grid {
        grid-template-columns: 1fr;
    }
    
    .thank-you h1 {
        font-size: var(--font-size-xl);
    }
    
    .thank-you-message {
        font-size: var(--font-size-xs);
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .media-container img, 
    .media-container video {
        border-radius: var(--border-radius-md);
    }
    
    .images-side-by-side, 
    .images-345-side-by-side {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: var(--font-size-2xl);
    }
    
    .btn {
        padding: var(--space-sm);
        font-size: var(--font-size-base);
    }
    
    .section {
        padding: var(--space-xl) var(--space-sm);
    }
}

@media (max-width: 1000px) {
    .section, .container, .hero, .video-container, .youtube-embed, .local-video {
        padding-left: var(--space-xl);
        padding-right: var(--space-xl);
    }
}

@media (max-width: 900px) {
    .placeholder-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   6. ANIMATIONS ET EFFETS VISUELS
   ========================================================================== */

/* --- 6.1 Animations de base --- */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    border-top-color: var(--color-accent);
    animation: spin 1s ease-in-out infinite;
}

/* --- 6.2 Effets de survol --- */
.profile-image,
.local-video,
.video-container,
.media-container {
    transition: all var(--transition-normal) var(--transition-bounce);
}

/* ===== PARTICULES ET EFFETS JAVASCRIPT === */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--color-accent); }
    50% { box-shadow: 0 0 20px var(--color-accent), 0 0 30px var(--color-accent); }
}

/* ===== FIN BREAKDOWN/UNREAL ===== */

p {
    font-family: var(--font-family-primary);
    font-weight: 400; /* Cantarell Regular */
    font-size: var(--font-size-lg); /* Augmenté pour une meilleure lisibilité */
    text-align: justify;
}

/* Classes supprimées - utilisation du style principal .screenshot-img */

.img-narrow {
    width: 60% !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
}



/* Diminuer toutes les tailles de titres d'une mesure */
h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

img + img {
    margin-top: var(--space-lg) !important;
}

/* ===== STYLE UNIFIÉ POUR MÉDIAS ===== */
.media-asset {
    display: block;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto var(--space-xl) auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    /* border: 1px solid rgba(var(--color-border-rgb), 0.5); */
    /* border:#333333 0px solid; */
    /* background: #111; */
}

.media-asset img,
.media-asset video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}