/* ============================================================
   PORTFOLIO MAËL ALBENGE
   Style.css
============================================================ */


/* ──────────────────────────────────────────────
   VARIABLES & RESET
────────────────────────────────────────────── */
:root {
    --orange:  #f97316;
    --dore:    #ffd166;
    --rose:    #e85d75;
    --violet:  #3d0f4e;
    --noir:    #050505;
    --blanc:   #ffffff;
    --gris:    rgba(255, 255, 255, 0.72);
    --gris2:   rgba(255, 255, 255, 0.5);
    --font-titre: 'Cormorant Garamond', Georgia, serif;
    --font-texte: 'Syne', sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-texte);
    background: var(--noir);
    color: var(--blanc);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}


/* ──────────────────────────────────────────────
   CURSEUR - HALO LUMINEUX QUI SUIT LA SOURIS
────────────────────────────────────────────── */
#curseur-halo {
    position: fixed;
    top: 0;
    left: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 150, 50, 0.45) 0%,
        rgba(249, 115, 22, 0.20) 35%,
        transparent 70%);
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    filter: blur(14px);
    mix-blend-mode: screen;
}


/* ──────────────────────────────────────────────
   GRAIN - petite texture sur toute la page
   pour donner un côté "pas plat"
────────────────────────────────────────────── */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E");
    background-size: 180px;
}


/* ──────────────────────────────────────────────
   HEADER / NAVIGATION
────────────────────────────────────────────── */
#entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.2);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.4s ease;
}

/* Quand on scroll, le header devient plus opaque */
#entete.solide {
    background: rgba(5, 5, 5, 0.9);
}

.logo {
    font-family: var(--font-titre);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--blanc);
    transition: color 0.25s ease;
}

.logo:hover {
    color: var(--dore);
}

.menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.menu li a {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gris);
    transition: color 0.25s ease;
}

.menu li a:hover {
    color: var(--dore);
}

/* Étiquette "Disponible" avec le point vert qui clignote */
.disponible {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gris2);
}

.disponible::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: clignote 2s ease-in-out infinite;
}

@keyframes clignote {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.2; }
}

/* Bouton burger - caché par défaut, affiché en mobile */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blanc);
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animation : burger → croix quand le menu est ouvert */
.burger.ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.ouvert span:nth-child(2) { opacity: 0; }
.burger.ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ──────────────────────────────────────────────
   SECTION ACCUEIL
────────────────────────────────────────────── */
#accueil {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 5rem 1.5rem 2rem;
}

/* Couches de fond superposées pour l'effet coucher de soleil */
.ciel {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ciel-fond {
    background-image: url('img/mael%20coucher.png');
    background-size: cover;
    background-position: center top;
    /* Blur fort pour qu'on ne reconnaisse plus la photo : ne reste que l'ambiance */
    filter: brightness(0.45) saturate(1.2) blur(14px);
    transform: scale(1.05);
}

.ciel-degrade {
    background: linear-gradient(
        180deg,
        rgba(6, 3, 15, 0.55) 0%,
        rgba(15, 5, 30, 0.30) 30%,
        rgba(0, 0, 0, 0.10) 55%,
        rgba(6, 3, 15, 0.60) 100%);
}

.ciel-vignette {
    background: radial-gradient(ellipse 130% 100% at 50% 50%,
        transparent 35%,
        rgba(6, 3, 15, 0.75) 100%);
}

/* Conteneur des braises (créées en JS) */
#braises {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.braise {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #fff8e1 30%, #f97316 70%, transparent 100%);
    animation: monteBraise linear infinite;
}

@keyframes monteBraise {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.8; }
    50%  { transform: translateY(-45vh) translateX(var(--dx, 30px)) scale(0.7); opacity: 0.5; }
    100% { transform: translateY(-90vh) translateX(calc(var(--dx, 30px) * 1.4)) scale(0.3); opacity: 0; }
}

/* Contenu principal du accueil (centré au-dessus des couches) */
.accueil-contenu {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

.accueil-sous-titre {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--dore);
    opacity: 0;
    animation: apparitionHaut 0.8s 0.2s forwards;
}

/* Le grand nom : "Maël" en italique creux + "Albenge" en plein */
.accueil-nom {
    font-family: var(--font-titre);
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.01em;
    opacity: 0;
    animation: apparitionHaut 0.9s 0.4s forwards;
}

.nom-contour {
    display: block;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 209, 102, 0.7);
}

.nom-plein {
    display: block;
    color: var(--blanc);
    text-shadow: 0 0 60px rgba(249, 163, 22, 0.5),
                 0 0 120px rgba(249, 115, 22, 0.2);
}

/* Photo de profil avec arcs SVG qui tournent autour */
.cadre-photo {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 1rem 0;
    opacity: 0;
    animation: apparitionHaut 1s 0.6s forwards;
}

.arcs-photo {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    animation: tourneLent 20s linear infinite;
    pointer-events: none;
}

@keyframes tourneLent {
    to { transform: rotate(360deg); }
}

.photo-moi {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    /* Petit filtre chaud pour s'accorder avec le coucher de soleil */
    filter: brightness(1.05) saturate(1.1) sepia(0.08);
}

.halo-photo {
    position: absolute;
    inset: -25px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.35) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: pulseHalo 3s ease-in-out infinite;
}

@keyframes pulseHalo {
    0%, 100% { transform: scale(1);   opacity: 0.7; }
    50%      { transform: scale(1.1); opacity: 1; }
}

.accueil-phrase {
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    font-weight: 400;
    line-height: 1.75;
    color: var(--gris);
    max-width: 480px;
    opacity: 0;
    animation: apparitionHaut 0.9s 0.8s forwards;
}

.accueil-phrase em {
    font-style: italic;
    color: var(--dore);
    font-family: var(--font-titre);
    font-size: 1.15em;
}

/* Boutons du accueil */
.accueil-boutons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    opacity: 0;
    animation: apparitionHaut 0.9s 1s forwards;
}

.bouton {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.bouton-plein {
    background: linear-gradient(135deg, var(--orange), var(--rose));
    color: var(--blanc);
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.45);
}

.bouton-plein:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.65);
}

.bouton-plein .fleche {
    transition: transform 0.3s ease;
}

.bouton-plein:hover .fleche {
    transform: translate(3px, -3px);
}

.bouton-vide {
    background: transparent;
    color: var(--gris);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bouton-vide:hover {
    border-color: rgba(255, 209, 102, 0.5);
    color: var(--dore);
}

@keyframes apparitionHaut {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes apparitionSimple {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ──────────────────────────────────────────────
   BANDEAU CHIFFRES CLÉS
────────────────────────────────────────────── */
.chiffres {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chiffre-bloc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0 3rem;
}

.chiffre-valeur {
    font-family: var(--font-titre);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--orange);
    line-height: 1;
}

.chiffre-libelle {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gris2);
}

.chiffre-separateur {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}


/* ──────────────────────────────────────────────
   SECTIONS GÉNÉRIQUES (entête & layout)
────────────────────────────────────────────── */
.section-padding {
    padding: 7rem 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.section-entete {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4.5rem;
}

.section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.section-titre {
    font-family: var(--font-titre);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
}

.section-titre em {
    font-style: italic;
    color: var(--orange);
}

.section-desc {
    font-size: 0.88rem;
    color: var(--gris);
    line-height: 1.7;
    text-align: right;
    max-width: 260px;
}


/* ──────────────────────────────────────────────
   SECTION PROJETS
────────────────────────────────────────────── */
.liste-projets {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.projet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.projet.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Inverse l'ordre image/texte pour les projets pairs */
.projet-inverse {
    direction: rtl;
}

.projet-inverse > * {
    direction: ltr;
}

.projet-visuel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.projet-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

/* Charte graphique : on affiche l'image entière (contain)
   avec un fond crème qui matche le visuel d'origine */
.projet-image-charte {
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #faf3e8;
}

/* Vignette personnalisée du projet Boco Campus
   (gradient vert + nom de la marque) */
.projet-image-boco {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 50%, #74c69d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.projet-image-boco::after {
    content: 'BOCO CAMPUS';
    font-family: var(--font-titre);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.projet-visuel:hover .projet-image {
    transform: scale(1.06);
}

/* Voile orange qui apparaît au survol */
.projet-survol {
    position: absolute;
    inset: 0;
    background: rgba(249, 115, 22, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projet-visuel:hover .projet-survol {
    opacity: 1;
}

.projet-survol span {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
}

.projet-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    background: rgba(249, 115, 22, 0.9);
    backdrop-filter: blur(8px);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.projet-texte {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.projet-numero {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--orange);
}

.projet-annee {
    color: var(--gris2);
    margin-left: 0.4rem;
}

.projet-titre {
    font-family: var(--font-titre);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
}

.projet-titre em {
    font-style: italic;
    color: var(--orange);
}

.projet-description {
    font-size: 0.88rem;
    color: var(--gris);
    line-height: 1.8;
    max-width: 400px;
}

.projet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.projet-tags span {
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 50px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--orange);
}

.projet-lien {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dore);
    transition: gap 0.25s ease, color 0.25s ease;
}

.projet-lien:hover {
    gap: 0.8rem;
    color: var(--orange);
}

/* Quand un projet a plusieurs liens (ex : site + vidéo),
   on les aligne sur une ligne avec un espace entre */
.projet-liens {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}


/* ──────────────────────────────────────────────
   SECTION PARCOURS / ROUE INTERACTIVE
────────────────────────────────────────────── */
/* Le bloc fait 4x la hauteur de l'écran pour avoir le scroll */
.parcours-bloc {
    position: relative;
    height: 400vh;
}

/* La partie qui reste fixée au centre pendant qu'on scroll */
.parcours-fixe {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 4rem 5vw 2rem;
    overflow: hidden;
}

/* Petite lueur orange en fond */
.parcours-fixe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 30% 50%,
        rgba(249, 115, 22, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.roue-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.roue-conteneur {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

/* Cercle pointillé qui tourne */
.roue-cercle {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(249, 115, 22, 0.25);
    border-radius: 50%;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Les 4 boutons placés sur le cercle (positionnés en JS) */
.roue-bouton {
    position: absolute;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gris);
    font-family: var(--font-texte);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease;
}

.roue-bouton:hover {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.35);
    color: var(--blanc);
}

.roue-bouton.actif {
    background: linear-gradient(135deg, var(--orange), var(--rose));
    border-color: transparent;
    color: var(--blanc);
    box-shadow: 0 0 24px rgba(249, 115, 22, 0.6),
                0 0 48px rgba(249, 115, 22, 0.2);
}

/* Le petit soleil au centre de la roue */
.roue-soleil {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--dore) 0%, var(--orange) 55%, rgba(249, 115, 22, 0.4) 100%);
    box-shadow: 0 0 20px rgba(249, 163, 22, 0.7),
                0 0 40px rgba(249, 115, 22, 0.3);
    animation: pulseHalo 3s ease-in-out infinite;
    pointer-events: none;
}

/* Panneau d'infos qui change selon la fiche active */
.roue-panneau {
    flex: 1;
    max-width: 420px;
    min-height: 240px;
    /* On limite la hauteur pour ne pas déborder de l'écran
       et on autorise le scroll interne si la fiche est très longue */
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 0.5rem;
    position: relative;
}

/* Petite barre de scroll discrète sur le panneau */
.roue-panneau::-webkit-scrollbar {
    width: 4px;
}

.roue-panneau::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.3);
    border-radius: 2px;
}

.roue-panneau::-webkit-scrollbar-track {
    background: transparent;
}

.panneau-fiche {
    display: none;
    flex-direction: column;
    gap: 0.85rem;
    animation: apparitionHaut 0.45s ease forwards;
}

.panneau-fiche.actif {
    display: flex;
}

.panneau-fiche h4 {
    font-family: var(--font-titre);
    font-size: 1.7rem;
    font-weight: 400;
    font-style: italic;
    color: var(--orange);
}

.panneau-fiche p {
    font-size: 0.88rem;
    color: var(--gris);
    line-height: 1.85;
}

.panneau-fiche p strong {
    color: var(--blanc);
}

/* Frise chronologique pour Formations et Expériences :
   ligne verticale orange + petit point lumineux par entrée */
.panneau-fiche ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.panneau-fiche li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0 0.5rem 1.1rem;
    border-left: 1px solid rgba(249, 115, 22, 0.22);
}

.panneau-fiche li::before {
    content: '';
    position: absolute;
    top: 0.95rem;
    left: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}

/* La date - petite, orange, en majuscules */
.periode {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
}

/* Le titre du poste / diplôme */
.poste {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--blanc);
    line-height: 1.35;
}

/* Le lieu (école / entreprise) en plus discret */
.lieu {
    font-size: 0.78rem;
    color: var(--gris);
    line-height: 1.45;
}

/* Petit badge vert "En cours" pour la formation actuelle */
.badge-actuel {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.35);
    vertical-align: middle;
}

/* Compétences classées par catégorie */
.comp-categorie {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.comp-titre {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dore);
}

.comp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.comp-tags span {
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blanc);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.comp-tags span:hover {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.5);
}


/* ──────────────────────────────────────────────
   SECTION CONTACT
────────────────────────────────────────────── */
#contact {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 6rem 5vw 4rem;
    text-align: center;
    overflow: hidden;
}

.contact-lueur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.contact-sous-titre {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
}

.contact-titre {
    font-family: var(--font-titre);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin: 0.5rem 0 2rem;
}

.contact-titre em {
    font-style: italic;
    color: var(--orange);
}

.contact-liste {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-ligne {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.15rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: gap 0.25s ease, background 0.25s ease;
    border-radius: 4px;
}

.contact-ligne:hover {
    gap: 1.5rem;
    background: rgba(249, 115, 22, 0.04);
}

/* Petite icône SVG à gauche de chaque ligne contact */
.contact-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange);
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.contact-icone svg {
    width: 18px;
    height: 18px;
}

.contact-ligne:hover .contact-icone {
    background: rgba(249, 115, 22, 0.25);
    transform: scale(1.1);
}

.contact-label {
    min-width: 80px;
    text-align: left;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gris2);
}

.contact-valeur {
    flex: 1;
    text-align: left;
    font-size: 0.95rem;
    color: var(--blanc);
    transition: color 0.25s ease;
}

.contact-ligne:hover .contact-valeur {
    color: var(--orange);
}

.contact-fleche {
    opacity: 0.35;
    font-size: 1rem;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-ligne:hover .contact-fleche {
    opacity: 1;
    transform: translate(4px, -4px);
}

footer {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    font-size: 0.7rem;
    color: var(--gris2);
    letter-spacing: 0.08em;
}

.pied-liens {
    display: flex;
    gap: 1.5rem;
}

.pied-liens a {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gris2);
    transition: color 0.2s ease;
}

.pied-liens a:hover {
    color: var(--orange);
}


/* ──────────────────────────────────────────────
   ANIMATION D'APPARITION AU SCROLL
────────────────────────────────────────────── */
.apparition {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.apparition.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ──────────────────────────────────────────────
   PHOTO CLIQUABLE + LIGHTBOX
   On peut cliquer le portrait pour le voir en grand
────────────────────────────────────────────── */
.photo-moi {
    cursor: pointer;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.ouverte {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.3);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.lightbox.ouverte img {
    transform: scale(1);
}

.lightbox-fermer {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--blanc);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-fermer:hover {
    background: rgba(249, 115, 22, 0.4);
    transform: scale(1.1);
}


/* ──────────────────────────────────────────────
   SCROLL BLOQUÉ (quand le menu burger est ouvert
   ou la lightbox affichée)
────────────────────────────────────────────── */
body.scroll-bloque {
    overflow: hidden;
}


/* ──────────────────────────────────────────────
   TRANSITION DOUCE entre l'accueil et la suite
   (dégradé pour adoucir le passage au noir)
────────────────────────────────────────────── */
#accueil::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--noir));
    pointer-events: none;
    z-index: 6;
}


/* ──────────────────────────────────────────────
   ACCESSIBILITÉ - focus visible au clavier
────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
.roue-bouton:focus-visible {
    outline: 2px solid var(--dore);
    outline-offset: 3px;
    border-radius: 4px;
}


/* ──────────────────────────────────────────────
   PRÉFÉRENCES UTILISATEUR - animations réduites
   Pour les personnes sensibles au mouvement
────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* On enlève complètement les éléments en mouvement constant */
    .braise,
    #curseur-halo,
    .arcs-photo,
    .halo-photo,
    .roue-soleil {
        display: none !important;
    }
}


/* ──────────────────────────────────────────────
   RESPONSIVE - TÉLÉPHONES & TABLETTES
────────────────────────────────────────────── */
@media (max-width: 900px) {

    #entete {
        padding: 1rem 1.5rem;
    }

    /* On cache le menu horizontal et le badge "Disponible" */
    .menu,
    .disponible {
        display: none;
    }

    /* On affiche le bouton burger */
    .burger {
        display: flex;
    }

    /* Quand le burger est ouvert : menu en plein écran */
    .menu.ouvert {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        gap: 1.5rem;
        padding: 2.5rem 2rem;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .menu.ouvert li a {
        font-size: 0.95rem;
        letter-spacing: 0.2em;
    }

    .cadre-photo {
        width: 180px;
        height: 180px;
    }

    .chiffres {
        gap: 1rem;
    }

    .chiffre-bloc {
        padding: 0 1.5rem;
    }

    .section-entete {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-desc {
        text-align: left;
        max-width: 100%;
    }

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

    .projet-inverse {
        direction: ltr;
    }

    /* Sur mobile, on simplifie la roue : plus de scroll-driven,
       la section tient sur un seul écran et les boutons sont cliquables */
    .parcours-bloc {
        height: auto;
    }

    .parcours-fixe {
        position: relative;
        height: auto;
        min-height: auto;
        padding: 4rem 1.5rem;
    }

    .roue-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .roue-conteneur {
        width: 260px;
        height: 260px;
    }

    .roue-bouton {
        width: 72px;
        height: 72px;
        font-size: 0.62rem;
    }

    .roue-panneau {
        max-width: 100%;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
    }

    /* Sur mobile, le halo curseur ne sert à rien (pas de souris) */
    #curseur-halo {
        display: none;
    }
}
