/* ============================================
   CONFIGURATION COULEURS
   ============================================ */
@charset "UTF-8";
:root {
    --color-primary: #333;
    --color-secondary: #09F;
	--color-third: # 666;
    --color-accent: #0070DF;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;
}
/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: var(--color-primary);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
	position: relative;
}
.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    transition: color 0.3s;
    font-weight: 500;
	display: block;
    padding: 0.5rem 0;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-primary);
    min-width: 230px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
	list-style-type:none;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    display: block;
    transition: background 0.3s, padding-left 0.3s;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 1rem;
}


/* ============================================
   HERO SECTION AVEC IMAGE
   ============================================ */
.hero {
    background: linear-gradient(180deg, #272727 80%, var(--color-secondary) 100%);
    color: white;
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px; /* Texte à gauche, image à droite */
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}
.hero-content h2 {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

/* Animation flottante pour l'image */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* VERSION : Image à gauche, texte à droite */
.hero-container.image-left {
    grid-template-columns: 400px 1fr;
}


/* ============================================
   SECTIONS
   ============================================ */
.categories,
.projects-section,
.contact-section,
.gallery-section,
.skills-section {
    max-width: 1200px;
    margin: 2rem auto;
	margin-bottom: 4rem;
    padding: 0 2rem;
    flex: 1; /* Permet de pousser le footer en bas */
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-align: center;
}

/* ============================================
   CATÉGORIES
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 éléments par ligne */
    gap: 2rem;
    margin-top: 2rem;
}

/* Si vous voulez changer le nombre par ligne, modifiez le 4 ci-dessus :
   repeat(3, 1fr) = 3 par ligne
   repeat(5, 1fr) = 5 par ligne
   etc.
*/

.category-card {
    background: var(--color-bg-alt);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.category-content {
    padding: 0.5rem;
}

.category-content h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.category-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}
/* ============================================
   SECTION PRÉSENTATION DU DOMAINE
   ============================================ */
.domain-intro {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.domain-intro-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--color-bg-alt);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--color-secondary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.domain-intro-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.domain-acdl-icon {
    flex-shrink: 0;
    width: 120px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.domain-intro-content h2 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.domain-intro-content p {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1.05rem;
}


/* ============================================
   SECTION COMPÉTENCES
   ============================================ */
.skills-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.skills-grid {
    display: block;
    grid-template-columns: repeat(3, 1fr); /* 3 éléments par ligne */
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Si vous voulez changer le nombre par ligne, modifiez le 3 ci-dessus :
   repeat(2, 1fr) = 2 par ligne
   repeat(4, 1fr) = 4 par ligne
   etc.
*/

.skill-card {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skill-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    font-size: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.skill-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.skill-name {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.skill-level {
    margin-top: 0.5rem;
}

.skill-level-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    display: block;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: 5px;
    transition: width 1s ease;
}

/* Niveaux de compétence avec couleurs */
.skill-bar-fill.master {
    width: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.skill-bar-fill.good {
    width: 75%;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.skill-bar-fill.average {
    width: 50%;
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.skill-bar-fill.basic {
    width: 25%;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

/* Indication hover sur les compétences avec détails */
.skill-card.has-details {
    cursor: pointer;
    position: relative;
}

.skill-card.has-details::after {
    content: '👆 Survolez pour details';
    position: absolute;
    bottom: 0.2rem;
    right: 0.5rem;
    font-size: 0.7rem;
    color: var(--color-secondary);
    opacity: 0.6;
    font-weight: 600;
    pointer-events: none;
}

.skill-card.has-details:hover::after {
    opacity: 0;
}

/* Animation douce des détails */
.skill-details {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e0e0e0;
	display: none;
    /*max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;*/
}

.skill-card:hover .skill-details {
    max-height: 500px;
    opacity: 1;
	 display: block;
}

.skill-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-details li {
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

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

.skills-main-section {
    margin-bottom: 4rem;
}

.skills-main-title {
    font-size: 2rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem 0;
    background: var(--color-bg-alt);
    border-radius: 10px;
    border-left: 5px solid var(--color-secondary);
}

.skills-category-section {
    margin-bottom: 2rem;
}

.skills-category-title {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
}

.skills-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
/* ============================================
   PROJETS
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 éléments par ligne */
    gap: 2rem;
    margin-top: 2rem;
}

/* Si vous voulez changer le nombre par ligne, modifiez le 3 ci-dessus :
   repeat(2, 1fr) = 2 par ligne
   repeat(4, 1fr) = 4 par ligne
   etc.
*/

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 250px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.project-info p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ============================================
   GALERIE MODALE
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.modal-caption {
    color: white;
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.7);
    border-radius: 5px;
    margin-top: 1rem;
    max-width: 80%;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-nav:hover {
    background: rgba(255,255,255,0.4);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}
/* ============================================
   PAGE À PROPOS - STYLES SUPPLÉMENTAIRES
   ============================================ */

.about-full-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.about-full-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* Intro avec photo et bio */
.about-intro {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-photo {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-bio h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.about-subtitle {
    color: var(--color-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-description {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Timeline (Parcours) */
.about-timeline {
    background: var(--color-bg-alt);
    padding: 3rem;
    border-radius: 15px;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-secondary);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-year {
    flex-shrink: 0;
    width: 80px;
    font-weight: bold;
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    border-radius: 50%;
    border: 4px solid var(--color-bg-alt);
}

.timeline-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Philosophie */
.about-philosophy {
    text-align: center;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.philosophy-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.philosophy-card:hover {
    transform: translateY(-5px);
}

.philosophy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.philosophy-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.philosophy-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pourquoi me choisir */
.about-why {
    background: var(--color-bg-alt);
    padding: 3rem;
    border-radius: 15px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.why-item {
    display: flex;
    gap: 2rem;
    align-items: start;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.why-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.why-content p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Call to Action */
.about-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--color-primary);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}


/* ============================================
   FORMULAIRE DE CONTACT
   ============================================ */
.contact-form {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.char-count {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.captcha-group {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    border: 2px solid #ddd;
}

.captcha-box {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.captcha-box span {
    font-weight: bold;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.captcha-box input {
    width: 110px;
    margin: 0;
}

.captcha-refresh {
    background: var(--color-secondary);
    color: white;
    border: none;
    padding: 0.5rem 0.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

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

.form-status {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ============================================
   FOOTER ÉVOLUÉ
   ============================================ */
footer {
    background: var(--color-primary);
    color: white;
    padding: 3rem 2rem 1.5rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: white;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.footer-contact-info li::before {
    content: '→';
    color: var(--color-secondary);
    font-weight: bold;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }
 	.dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-toggle::after {
        margin-left: auto;
    }
     .hero-container,
    .hero-container.image-left {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-image {
        order: -1; /* Image au-dessus sur mobile */
    }
    
    .hero-image img {
        max-height: 300px;
    }
    /* Sur mobile : 1 élément par ligne pour toutes les grilles */
    .category-grid,
    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
	.skills-category-grid {
        grid-template-columns: 1fr;
    }
    .modal-nav {
        padding: 0.5rem 1rem;
        font-size: 1.5rem;
    }
	.about-intro {
        grid-template-columns: 1fr;
    }
    
    .about-photo {
        height: 350px;
    }
    
    .timeline::before {
        left: 60px;
    }
    
    .timeline-year {
        width: 60px;
        font-size: 1rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .why-item {
        flex-direction: column;
        text-align: center;
    }
    
    .why-number {
        margin: 0 auto;
    }
	.domain-intro-container {
        flex-direction: column;
        text-align: center;
    }
    
    .domain-intro-content h2 {
        font-size: 1.5rem;
    }
	
	 .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}