/* ============================================== ==== BASE VARIABLES & GLOBAL STYLES ==== ============================================== */ :root { --text: #ffffff; --muted: #ffffffcc; --bg-black: #000000; /* Couleurs sections */ --accent-1: #76b82a; /* section1 */ --accent-2: #f2e261; /* section2 */ --accent-3: #7ac9f4; /* section3 */ --accent-4: #c804d9; /* section4 */ --panel-padding: 4rem; } * { box-sizing: border-box; } body { margin: 0; font-family: "Source Sans 3", "Montserrat", sans-serif; background-color: var(--bg-black); color: var(--text); overflow: hidden; /* ⛔ pas de scroll avant clic */ } /* ============================================== ==== CANVAS PARTICLES ==== ============================================== */ canvas#bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; } /* ============================================== ==== FOND ANIMÉ ==== ============================================== */ .color-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background-color: var(--accent-1); animation: colorCycle 16s infinite ease-in-out; transition: background-color 2s ease-in-out; } @keyframes colorCycle { 0% { background-color: var(--accent-1); } 25% { background-color: var(--accent-2); } 50% { background-color: var(--accent-3); } 75% { background-color: var(--accent-4); } 100% { background-color: var(--accent-1); } } /* ============================================== ==== HEADER & NAV ==== ============================================== */ header { position: fixed; top: 0; left: 0; width: 100%; z-index: 10; display: flex; justify-content: center; pointer-events: none; } .header-inner { width: 100%; max-width: 1200px; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; pointer-events: auto; } .hidden { display: none; } /* Logo */ .logo { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; } .logo img { display: block; height: 64px; } 
/* ==== BURGER MENU ==== */ .nav-toggle { all: unset; display: inline-flex; width: 48px; height: 40px; align-items: center; justify-content: center; background: transparent; cursor: pointer; flex-direction: column; gap: 6px; z-index: 12; pointer-events: auto; } .nav-toggle .burger-line { width: 8px; height: 8px; background: #fff; display: block; transition: all 0.3s ease; } /* Animation burger → trois points verticaux */ .nav-toggle.open .burger-line:nth-child(1) { transform: translateY(8px); } .nav-toggle.open .burger-line:nth-child(3) { transform: translateY(-8px); } /* ==== NAV MENU ==== */ #mainNav { position: fixed; top: 0; right: 0; height: 100vh; width: 320px; max-width: 80%; background: #373b3b; backdrop-filter: blur(6px); transform: translateX(110%); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1); z-index: 100; padding-top: 6rem; pointer-events: auto; } #mainNav.open { transform: translateX(0%); } #mainNav ul { list-style: none; padding: 0 2rem; margin: 0; } #mainNav li { margin: 1.2rem 0; } #mainNav a { color: var(--text); font-weight: 700; text-decoration: none; font-size: 1.4rem; cursor: pointer; position: relative; transition: color 0.3s ease; } #mainNav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0%; height: 2px; background-color: currentColor; transition: width 0.3s ease; } #mainNav a:hover::after { width: 100%; } /* Couleurs par section */ #mainNav a[href="#section1"]:hover { color: var(--accent-1); } #mainNav a[href="#section2"]:hover { color: var(--accent-2); } #mainNav a[href="#section3"]:hover { color: var(--accent-3); } #mainNav a[href="#section4"]:hover { color: var(--accent-4); } 

/* ============================================== ==== INTRO ==== */ 
/* Conteneur principal de l'intro */
/* Conteneur principal de l'intro */
#intro {
    min-height: 100svh; /* prend la vraie hauteur visible sur mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    gap: 2rem;
    padding: 0 1rem;
}

/* Conteneur du texte pour positionner textes statiques et dynamiques */
.text-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 10rem; /* espace rserv pour texte statique + dynamique */
}

/* Texte statique */
.static-text {
    margin: 0;
    color: var(--text);
    font-family: "Source Sans 3", sans-serif;
    font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1em;
}

/* Texte dynamique */
.dynamic-text {
    color: var(--text);
    margin-top: 0.4rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    line-height: 1.1em;
    min-height: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
}

/* Bouton "En savoir +" */
#discover-btn {
    font-family: "Montserrat", sans-serif;
    background: transparent;
    color: var(--text);
    border: 3px solid var(--text);
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

#discover-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #fff, #fff);
    z-index: -1;
    transition: all 0.4s ease;
    opacity: 0.3;
}

#discover-btn:hover::before {
    left: 0;
    opacity: 1;
}

#discover-btn:hover {
    background: var(--text);
    color: #373b3b;
}

/* Media queries pour tablettes */
@media (max-width: 768px) {
    #intro {
        gap: 1.5rem; /* rduit un peu le gap */
    }

    .static-text {
        font-size: clamp(2.8rem, 8vw, 4.5rem);
    }

    .dynamic-text {
        font-size: clamp(2.4rem, 7vw, 4rem);
    }
}

/* Media queries pour smartphones */
@media (max-width: 480px) {
    #intro {
        gap: 1rem;
        padding: 0 0.8rem;
    }

    .text-container {
        min-height: auto; /* le contenu dtermine la hauteur */
    }

    .static-text {
        font-size: 3rem;
    }

    .dynamic-text {
        font-size: 2.6rem;
    }

    #discover-btn {
        font-size: 1.2rem;
        padding: 1rem 2.5rem;
    }
}

 /* ============================================== ==== BOUTONS (EN SAVOIR + / ENVOYER) ==== */ .action-btn, #discover-btn { font-family: "Montserrat", sans-serif; background: transparent; color: var(--text); border: 3px solid var(--text); padding: 0.8rem 2rem; font-weight: 600; cursor: pointer; font-size: 1.1rem; letter-spacing: 0.5px; position: relative; overflow: hidden; z-index: 1; transition: all 0.3s ease; } .action-btn::before, #discover-btn::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, #fff, #fff); z-index: -1; transition: all 0.4s ease; opacity: 0.3; } .action-btn:hover::before, #discover-btn:hover::before { left: 0; opacity: 1; } .action-btn:hover, #discover-btn:hover { background: var(--text); color: #373b3b; } /* ============================================== ==== CONTENU PRINCIPAL & PANELS ==== */ #content { display: block; position: relative; z-index: 2; color: var(--text); scroll-behavior: smooth; } .panel { min-height: 100vh; padding: var(--panel-padding); display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; background: transparent; } .panel h1, .panel h2 { margin: 0 0 1rem 0; font-size: clamp(1.6rem, 3vw, 4rem); text-align: center; } .panel p { font-size: clamp(0.9rem, 1.6vw, 1.6rem); color: var(--muted); } /* Couleurs sections */ .panel-1 { background-color: rgba(118, 184, 42, 0.3); } .panel-2 { background-color: #f2e261; color: #000; } .panel-3 { background-color: #7ac9f4; color: #000; } .panel-4 { background-color: #c804d9; } /* ============================================== ==== PORTFOLIO ==== */ .cards { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; } .card { min-width: 180px; min-height: 120px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; padding: 1rem; color: var(--text); } /* Portfolio section */ .portfolio-section { padding: 0; margin: 0; overflow: hidden; background-color: #f2e600bb; color: #000; } .portfolio { display: flex; width: 100vw; height: 100vh; } .image-container { flex: 1; background-size: cover; background-position: center; transition: flex 0.5s ease-in-out, transform 0.5s ease-in-out; cursor: pointer; } .image-container:hover { flex: 4; transform: scale(1.05); z-index: 2; } .overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); text-align: center; color: white; opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease-in-out; } .image-container:hover .overlay { opacity: 1; transform: translate(-50%, -50%) scale(1); } .overlay h3 { margin: 0; padding-bottom: 20px; font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 3em; } .portfolio-btn { display: inline-block; padding: 0.8rem 1.6rem; border: 3px solid #fff; color: #fff; text-decoration: none; font-weight: 600; font-family: "Montserrat", sans-serif; font-size: 1rem; transition: all 0.3s ease; } .portfolio-btn:hover { background: #fff; color: #000; } /* Responsive portfolio */ @media (max-width: 1024px) { .portfolio { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; width: 100vw; height: 100vh; } .image-container { flex: none; transform: scale(1); } .image-container:hover { transform: scale(1.05); } .overlay h3 { font-size: 1.6em; } } @media (max-width: 600px) { .overlay h3 { font-size: 1.2em; } .portfolio-btn { font-size: 0.8rem; padding: 0.6rem 1.2rem; } } /* ============================================== ==== TEAM ==== */ .team-grid { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; } .member { width: 160px; background: rgba(255, 255, 255, 0.06); padding: 1rem; border-radius: 10px; text-align: center; } .avatar { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.8rem; font-weight: 700; } /* ============================================== ==== CONTACT FORM ==== */ /* FORMULAIRE CONTACT */ .contact-form { max-width: 1000px; margin: 2rem auto; background: rgba(255, 255, 255, 0.05); padding: 2rem; border-radius: 16px; backdrop-filter: blur(8px); box-shadow: 0 0 40px rgba(255, 255, 255, 0.05); } .form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; } .form-row label { font-size: 0.9rem; font-weight: 600; color: var(--text); opacity: 0.9; } .form-row input, .form-row textarea { border: 2px solid transparent; border-radius: 8px; padding: 1rem 1.2rem; font-size: 1rem; outline: none; background: rgba(255, 255, 255, 0.08); color: var(--text); /* texte blanc */ transition: all 0.3s ease; } .form-row input:focus, .form-row textarea:focus { border-color: #fff; background: rgba(255, 255, 255, 0.12); } /* Placeholder rouge */ .contact-form .form-row input::placeholder, .contact-form .form-row textarea::placeholder, .contact-form .form-row input::-webkit-input-placeholder, .contact-form .form-row textarea::-webkit-input-placeholder { color: white !important; opacity: 0.7 !important; } 
.form-actions { display: flex; justify-content: center; margin-top: 1rem; } .form-feedback { text-align: center; font-size: 0.95rem; margin-top: 0.8rem; opacity: 0.9; transition: opacity 0.3s ease; } /* Feedback positif / succs */ .form-feedback.success { color: #96FFC5; /* vert */ } /* Feedback ngatif / erreur */ .form-feedback.error { color: #FFBEBF; /* rouge */ } /* ============================================== /* ===== FOOTER ===== */ /* ================================ FOOTER ================================ */ .site-footer { position: relative; z-index: 10; /* Passe au-dessus du canvas */ } .site-footer { background: #373b3b; padding: 50px 20px 30px; color: #fff; width: 100%; margin-top: 0; } .footer-container { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 50px; align-items: flex-start; } /* ---------- LOGO ---------- */ .footer-logo { width: 150px; display: block; } .footer-logo-col { text-align: left; } .footer-subtitle { margin-top: 10px; font-size: 0.95rem; opacity: 0.8; } /* ---------- TITRES ---------- */ .footer-col h4 { margin-bottom: 12px; font-size: 1.2rem; } /* ---------- LIENS ---------- */ .footer-links { list-style: none; padding: 0; margin: 0; } .footer-links li { margin-bottom: 8px; } .footer-links a { color: #999999; text-decoration: none; transition: color 0.25s ease, transform 0.3s ease; } /* ---- COULEUR DE RFRENCE (hover) ---- */ .footer-links a:hover { color: #fff; transform: translateX(4px); } /* ----- BAS DU FOOTER ----- */ .footer-bottom { margin-top: 40px; text-align: center; opacity: 0.8; } .footer-slogan { margin-top: 5px; font-size: 1rem; opacity: 0.9; } /* ================================ RESPONSIVE ================================ */ @media (max-width: 900px) { .footer-container { grid-template-columns: 1fr 1fr; text-align: center; } .footer-logo-col { text-align: center; } .footer-logo { margin: 0 auto; } } @media (max-width: 600px) { .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: center; } .footer-col { width: 100%; } .footer-logo-col { text-align: center; } } /* ============================================== ==== UTILITAIRES ==== ============================================== */ .show { display: block !important; } /* ============================== GALERIE (10 IMAGES) ============================== */ /* Section galerie : layout vertical */ .galerie-section-b { display: flex; flex-direction: column; /* titre + texte au-dessus de la grille */ align-items: center; /* centrer horizontalement */ padding: 4rem 2rem; gap: 2rem; /* espace entre titre/texte et grille */ width: 100%; background-color: #f2e261; /* couleur de fond optionnelle */ color: #000; } /* Header (titre + texte) */ .galerie-header-b h2 { font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 3rem; text-align: center; margin: 0; } .galerie-header-b p { font-size: 1.2rem; font-weight: 500; text-align: center; color: rgba(0, 0, 0, 0.7); max-width: 1000px; margin: 0; } /* Grille des images */ .galerie-item-b { background-size: cover; background-position: center; border-radius: 0px; transition: transform 0.4s ease, box-shadow 0.4s ease; position: relative; cursor: pointer; aspect-ratio: 1 / 1; /* ← force carrés parfaits */ } /* Chaque image */ .galerie-grid-b { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; width: 100%; max-width: 1200px; } /* Hover : zoom + ombre */ .galerie-item-b:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 0, 0, 0.3); } /* Responsive : tablettes */ @media (max-width: 1024px) { .galerie-grid-b { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); grid-auto-rows: 180px; } } /* Responsive : mobiles */ @media (max-width: 600px) { .galerie-grid-b { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .galerie-header-b h2 { font-size: 2rem; } .galerie-header-b p { font-size: 1rem; } } /* Conteneur de l'image, plac en absolu pour ne pas bouger le formulaire */ .avion-container { position: absolute; top: 9%; /* remonte un peu au dessus du formulaire */ right: 30%; /* coin droit */ pointer-events: none; /* l'image n'interfre jamais avec les clics */ z-index: -1 } /* Effet de base : invisible + lgrement vers le bas */ .avion-fx { width: 250px; opacity: 0; transform: translateY(10%); transition: opacity 1s ease, transform 1s ease; } /* Classe active : fait apparatre et remonter l'image */ .avion-fx.visible { opacity: 1; transform: translateY(0); } /* Responsive : cacher l'avion sur mobile */ @media (max-width: 768px) { .avion-container { display: none; } } /* ========================= PONG ========================= */ .pong-wrapper { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); height: 200px; background: transparent; z-index: -1; overflow: hidden; margin-top: 3rem; } /* Raquettes verticales */ .pong-paddle { position: absolute; width: 14px; /* largeur fixe */ height: 80px; /* hauteur desktop */ background: #fff; border-radius: 0; } /* Position gauche / droite */ .paddle-left { left: 10%; /* distance du bord gauche */ } .paddle-right { right: 10%; /* distance du bord droit */ } /* Balle carre */ .pong-ball { position: absolute; width: 16px; height: 16px; background: #fff; top: 50%; transform: translateY(-50%); } /* Responsive */ @media (max-width: 1024px) { .pong-wrapper { height: 150px; } .pong-paddle { height: 60px; } .pong-ball { width: 12px; height: 12px; } } @media (max-width: 480px) { .pong-wrapper { height: 120px; } .pong-paddle { height: 50px; } .pong-ball { width: 10px; height: 10px; } } /* Effet de base : invisible + lgrement vers le bas */ .galerie-item-b.apparition { opacity: 0; transform: translateY(20px); transition: opacity 1.5s ease, transform 1.5s ease; } /* Classe visible : apparition et remonte */ .galerie-item-b.apparition.visible { opacity: 1; transform: translateY(0); } .imgAvatar { display: block; /* permet de centrer avec margin auto */ margin: 0 auto; /* centre horizontalement */ height: auto; /* garde les proportions */ } .septante { width: 50%; /* largeur par dfaut */ margin: 0 auto; /* centre le bloc horizontalement */ text-align: center; /* centre le texte  l'intrieur */ } /* version responsive pour smartphone */ @media (max-width: 600px) { .septante { width: 90%; } } /* optionnel : pour tablette */ @media (max-width: 1024px) { .septante { width: 90%; } } .boldT { font-weight: 700; } .blanc { color: #fff !important; } .soixante { width: 70%; /* largeur par dfaut */ margin: 0 auto; /* centre le bloc horizontalement */ text-align: center; /* centre le texte  l'intrieur */ } /* version responsive pour smartphone */ @media (max-width: 600px) { .soixante { width: 90%; } } /* optionnel : pour tablette */ @media (max-width: 1024px) { .soixante { width: 90%; } } /* tirets */ .tiretLigne { display: flex; justify-content: center; align-items: center; gap: 12px; /* espace entre les carrs */ margin: 20px 0; /* espace au-dessus et en dessous */ } .tiretLigne span { width: 12px; height: 12px; background-color: white; /* couleur des carrs */ display: block; } .animated-char { display: inline-block; padding: 0.1em; animation: colorCycleC 4s infinite; color: white; /* optionnel si tu veux que le caractre soit blanc  sinon tu peux mettre background-color ou fill selon le caractre */ color: var(--accent-1); /* couleur de dpart */ } @keyframes colorCycleC { 0% { color: var(--accent-1); } 25% { color: var(--accent-2); } 50% { color: var(--accent-3); } 75% { color: var(--accent-4); } 100% { color: var(--accent-1); } }