/* Polices locales pour de meilleures performances */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/Poppins-Light.ttf') format('truetype');
}

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

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/Poppins-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/Poppins-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/Poppins-Bold.ttf') format('truetype');
}

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

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/Lora-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/Lora-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/Lora-Bold.ttf') format('truetype');
}

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

/* Couleurs principales */
:root {
    /* Couleurs de base */
    --bg-primary: #1A2425;
    --text-primary: #F0FFFF;
    --accent-color: #E8B377;
    
    /* Dimensions */
    --header-height: 72px;
    --header-height-calc: calc(100vh - var(--header-height));
    
    /* Couleurs dérivées */
    --header-border: rgba(240, 255, 255, 0.20);
    --header-bg: rgba(26, 36, 37, 0.90);
    --logo-gradient-start: #F0FFFF;
    --logo-gradient-end: #E8B377;
    
    /* Typographie */
    --font-heading: 'Lora', serif;
    --font-body: 'Poppins', sans-serif;
}

/* Styles de base */
body {
    background-color: #1A2425;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    padding-top: var(--header-height); /* Pour compenser le header fixed */
    font-weight: 300;
    /* Désactiver le zoom sur mobile */
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body.no-scroll {
    overflow: hidden;
}

/* Désactiver le zoom sur les éléments interactifs uniquement */
button, .btn, .carousel-btn, .indicator, .hamburger, .quick-nav-btn, .back-to-top {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Permettre la sélection de texte dans les champs de formulaire et le contenu */
input, textarea, select, p, h1, h2, h3, h4, h5, h6, .hero-description, .about-description, .project-description, .faq-answer p, .cta-description, .footer-description, .advice-excerpt, .advice-points li {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Overlay de flou quand le menu est ouvert */
.content-blur {
    position: fixed;
    top: var(--header-height); /* Hauteur du header */
    left: 0;
    width: 100%;
    height: var(--header-height-calc);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(26, 36, 37, 0.4);
    z-index: 998; /* Juste en-dessous du menu mobile */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.content-blur.active {
    opacity: 1;
    visibility: visible;
}

/* Styles généraux */
img {
    max-width: 100%;
    height: auto;
}

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

/* Conteneur principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    border-bottom: 1px solid rgba(240, 255, 255, 0.20);
    background: rgba(26, 36, 37, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* Header lors du défilement */
.header.scrolled {
    background: rgba(26, 36, 37, 0.85); /* Plus opaque lors du défilement */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.2px;
    text-align: center;
    background: linear-gradient(98deg, #F0FFFF 15.27%, #E8B377 105.78%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

/* S'assurer que la navigation est visible sur desktop */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static !important;
        background: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        flex-direction: row !important;
        justify-content: center !important;
        padding-top: 0 !important;
        width: auto !important;
        height: auto !important;
        left: auto !important;
        z-index: auto !important;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link:not(.btn-devis):hover,
.nav-link.active:not(.btn-devis) {
    color: var(--text-primary);
}

.nav-link.active:not(.btn-devis)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

.btn-devis {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 8px 20px;
    border-radius: 9px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-body);
}

.btn-devis:hover {
    transform: translateY(-2px);
    color: var(--bg-primary);
}

/* Boutons génériques */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 9px;
    font-weight: 500;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-body);
}

/* Classe utilitaire pour les boutons désactivés */
.disabled {
    background: #666;
    color: #999;
    border-color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.disabled:hover {
    transform: none;
    box-shadow: none;
    background: #666;
    color: #999;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

/* Hamburger pour mobile */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: none;
}

/* S'assurer que le hamburger est masqué sur desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        background: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        flex-direction: row !important;
        justify-content: center !important;
        padding-top: 0 !important;
        width: auto !important;
        height: auto !important;
    }
    
    .nav-list {
        flex-direction: row !important;
        gap: 30px !important;
    }
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Section Hero */
.hero-section {
    min-height: var(--header-height-calc);
    display: flex;
    align-items: center;
    padding: 60px 0 100px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-greeting {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.name-container {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    align-items: center;
}

.left-line {
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.hero-name {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-heading);
    position: relative;
    z-index: 2;
}

.hero-name .highlight {
    color: var(--accent-color);
}

.hero-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.hero-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
    min-width: auto;
}

.hero-buttons .btn-primary {
    background: var(--accent-color);
    color: var(--bg-primary);
    min-width: 140px;
}

.hero-buttons .btn-primary:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(232, 179, 119, 0.3);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-color);
    min-width: 100px;
}

/* Statistiques de la section hero */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    opacity: 0.8;
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Contenu visuel de la section hero */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Version desktop - masquée sur mobile */
.desktop-version {
    display: flex;
}

/* Version mobile - masquée sur desktop */
.mobile-version {
    display: none;
}

/* Classes de base communes pour les fenêtres de code */
.code-window {
    background: rgba(26, 36, 37, 0.8);
    border: 1px solid rgba(240, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    width: 100%;
    font-family: 'Courier New', monospace;
    position: relative;
}

.code-window--desktop {
    max-width: 400px;
    z-index: 2;
}

.code-window--mobile {
    max-width: 350px;
    z-index: 5;
}

.code-header {
    background: rgba(26, 36, 37, 0.9);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(240, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.code-dots {
    display: flex;
    gap: 6px;
}

/* Classes spécifiques pour compatibilité */
.code-block {
    background: rgba(26, 36, 37, 0.8);
    border: 1px solid rgba(240, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
    font-family: 'Courier New', monospace;
    position: relative;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.code-title {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.code-content {
    padding: 20px 16px;
    line-height: 1.6;
}

.code-line {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.line-number {
    color: rgba(240, 255, 255, 0.4);
    margin-right: 16px;
    min-width: 20px;
    text-align: right;
    font-size: 12px;
}

.code-text {
    color: var(--text-primary);
    flex: 1;
}

.keyword { color: #ff79c6; }
.variable { color: #8be9fd; }
.property { color: #50fa7b; }
.string { color: #f1fa8c; }

/* Classes de base communes pour les éléments flottants */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    background: var(--accent-color);
    color: var(--bg-primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-body);
    box-shadow: 0 4px 15px rgba(232, 179, 119, 0.3);
}

/* Modificateurs pour les versions desktop et mobile */
.floating-icon--mobile {
    padding: 8px 12px;
    border-radius: 18px;
    font-size: 12px;
    box-shadow: 0 6px 20px rgba(232, 179, 119, 0.4);
    z-index: 15;
}

.floating-icon.html {
    top: 15%;
    right: 0.2%; /* Décalé de 5px vers la droite (2% - 0.5% ≈ 5px) */
    animation-delay: 0s;
}

.floating-icon.css {
    top: 55%;
    right: 2%;
    animation-delay: 1.5s;
}

.floating-icon.js {
    top: 35%;
    left: 3%;
    animation-delay: 3s;
}

.floating-icon.react {
    top: 75%;
    left: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* Classes spécifiques pour compatibilité */
.html-window {
    background: rgba(26, 36, 37, 0.8);
    border: 1px solid rgba(240, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 350px;
    font-family: 'Courier New', monospace;
    position: relative;
    z-index: 5;
}

.html-header {
    background: rgba(26, 36, 37, 0.9);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(240, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.html-dots {
    display: flex;
    gap: 6px;
}

.html-title {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.html-content {
    padding: 20px 16px;
    line-height: 1.6;
    text-align: left;
}

.html-line {
    display: flex;
    margin-bottom: 8px;
    font-size: 13px;
    text-align: left;
}

.html-text {
    color: var(--text-primary);
    flex: 1;
    text-align: left;
}

.html-tag { color: #ff79c6; }
.html-attr { color: #8be9fd; }
.html-value { color: #f1fa8c; }

/* Classes spécifiques pour compatibilité mobile */
.mobile-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.mobile-floating-icon {
    position: absolute;
    background: var(--accent-color);
    color: var(--bg-primary);
    padding: 8px 12px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-body);
    box-shadow: 0 6px 20px rgba(232, 179, 119, 0.4);
    z-index: 15;
}

.mobile-floating-icon.html {
    top: 15%; /* Plus haut */
    right: 19%; /* Plus à droite */
    animation-delay: 0s;
}

.mobile-floating-icon.css {
    top: 45%; /* Repositionné */
    right: 4%; /* Plus à droite */
    animation-delay: 2s;
}

.mobile-floating-icon.js {
    top: 75%; /* Plus haut */
    left: 8%; /* Plus à gauche */
    animation-delay: 4s;
}

/* Animation de flottement pour les bulles mobiles */
.mobile-floating-icon:not(.static) {
    animation: float-mobile 4s ease-in-out infinite;
}

/* Animation commune pour les éléments flottants */
.floating-icon:not(.static) {
    animation: float 4s ease-in-out infinite;
}

@keyframes float-mobile {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-4px) rotate(-0.5deg);
    }
    75% {
        transform: translateY(-12px) rotate(0.5deg);
    }
}

/* Banderole Outils & Langages */
.tools-banner {
    background: linear-gradient(135deg, rgba(232, 179, 119, 0.1) 0%, rgba(26, 36, 37, 0.9) 100%);
    border-top: 1px solid rgba(232, 179, 119, 0.3);
    border-bottom: 1px solid rgba(232, 179, 119, 0.3);
    padding: 25px 0;
    overflow: hidden;
    position: relative;
}

.tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.tools-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

.scrolling-tools {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.tools-track {
    display: flex;
    animation: scroll-left 13s linear infinite;
    gap: 25px;
    white-space: nowrap;
}

.tool-item {
    background: rgba(232, 179, 119, 0.15);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(232, 179, 119, 0.3);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    white-space: nowrap;
}

/* Élément flottant WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: float-whatsapp 3s ease-in-out infinite;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    background: #20c55a;
}

@keyframes float-whatsapp {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* qr-code Facebook flottant */
.qr-code-float {
    position: absolute;
    z-index: 100;
    top: 85%;
    left: 2%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-color);
    pointer-events: none;
}

.qr-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* Version mobile du qr-code */
.qr-code-float.mobile {
    top: 12%;
    left: 2%;
    z-index: 100;
    border: 1px solid var(--accent-color);
}

.qr-code-float.mobile .qr-image {
    width: 70px;
    height: 70px;
}

/* Éléments flottants collés derrière les fenêtres */
.floating-icon.static,
.mobile-floating-icon.static {
    animation: none;
    position: absolute;
    z-index: 1;
}

.floating-icon.animated {
    animation: float 6s ease-in-out infinite;
}

.mobile-floating-icon.animated {
    animation: float-mobile 6s ease-in-out infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive pour la banderole */
@media (max-width: 768px) {
    .tools-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .tool-item {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .tools-track {
        gap: 20px;
    }
    
    /* WhatsApp flottant sur mobile */
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    
    /* qr-code Facebook sur mobile */
    .qr-code-float.mobile {
        top: 10%;
        left: 1%;
        z-index: 100;
        border: 1px solid var(--accent-color);
    }
    
    .qr-code-float.mobile .qr-image {
        width: 60px;
        height: 60px;
    }
    
    /* Ajustements des bulles flottantes sur mobile */
    .mobile-floating-icon:not(.static) {
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 15px;
    }
    
    .mobile-floating-icon.html {
        top: 12%;
        right: 3%;
    }
    
    .mobile-floating-icon.css {
        top: 40%;
        right: 6%;
    }
    
    .mobile-floating-icon.js {
        top: 70%;
        left: 6%;
    }
}

/* Section À propos */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden; /* Pour éviter les débordements sur petits écrans */
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 60px;
    font-family: var(--font-heading);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    max-width: 100%;
    width: 100%;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    width: 300px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(232, 179, 119, 0.2);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.image-frame:hover .profile-photo {
    transform: scale(1.05);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-intro {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    font-family: var(--font-body);
}

.about-description {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: var(--font-body);
    opacity: 0.9;
}

.about-description strong {
    color: var(--accent-color);
    font-weight: 600;
}

.skills-container {
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
    position: relative;
}

/* Masquer les contrôles du carousel sur desktop */
.skills-indicators {
    display: none;
}

/* Grille des compétences - Règles de base */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: start;
}

.skills-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

/* Règles spécifiques pour forcer l'affichage en grille */
.skills-container .skills-grid,
.about-content .skills-container .skills-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: start !important;
}

.skill-category {
    background-color: rgba(240, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(240, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.skill-category h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-align: center;
    font-family: var(--font-heading);
    width: 100%;
}

.skills-list {
    list-style: none;
    width: 100%;
    text-align: left;
}

.skills-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    text-align: left;
}

.skills-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.cta-container {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: flex-start; /* Alignement à gauche sur desktop */
}

.cta-container .btn {
    padding: 10px 20px;
    font-size: 14px;
    min-width: auto;
}

.cta-container .btn-primary {
    background: var(--accent-color);
    color: var(--bg-primary);
    min-width: 140px;
}

.cta-container .btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.cta-container .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    min-width: 100px;
}

/* Règles spécifiques pour desktop - s'assurer que la grille fonctionne */
@media (min-width: 993px) {
    .skills-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        align-items: start;
        width: 100%;
    }
    
    .skill-category {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }
}

/* Media queries pour responsive */
@media (max-width: 992px) {
    /* Afficher la version mobile sur tablette */
    .desktop-version {
        display: none;
    }
    
    .mobile-version {
        display: flex;
    }
    
    .hero-image {
        display: flex;
    }
    
    /* À propos responsive tablette */
    .about-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .image-frame {
        width: 250px;
        height: 300px;
    }
    
    .skills-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
        align-items: start;
    }
}

/* Breakpoint intermédiaire pour les compétences - Tablette */
@media (max-width: 900px) {
    .skills-container {
        position: relative;
        overflow: hidden;
    }
    
    .skills-grid,
    .about-content .skills-container .skills-grid,
    .skills-container .skills-grid {
        display: flex !important;
        overflow-x: auto;
        gap: 20px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100% !important;
    }
    
    .skills-grid::-webkit-scrollbar {
        display: none;
    }
    
    .skill-category {
        flex: 0 0 calc(85% - 10px);
        scroll-snap-align: start;
        padding: 20px;
        height: auto;
        min-height: 220px;
        background-color: rgba(240, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(232, 179, 119, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .skill-category:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(232, 179, 119, 0.15);
    }
    
    .skill-category h4 {
        font-size: 18px;
        margin-bottom: 15px;
        color: var(--accent-color);
        text-align: center;
    }
    
    .skills-list {
        text-align: center;
    }
    
    .skills-list li {
        padding: 8px 0;
        font-size: 14px;
        opacity: 0.9;
    }
    
    /* Afficher les indicateurs du carousel sur tablette */
    .skills-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }
    
    .skill-indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(232, 179, 119, 0.3);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .skill-indicator.active {
        background-color: var(--accent-color);
    }
    
}

@media (max-width: 768px) {
    /* Hero responsive */
    .hero-section {
        padding: 40px 0 80px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1; /* Texte en premier sur mobile */
    }
    
    .hero-image {
        order: 2; /* Contenu visuel en second sur mobile */
        display: flex; /* Afficher la version mobile */
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-greeting {
        font-size: 28px;
    }
    
    .hero-name {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .name-container {
        justify-content: center;
    }
    
    .left-line {
        width: 40px;
    }
    
    /* Statistiques responsive */
    .hero-stats {
        gap: 30px;
        margin-top: 25px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0 60px 0;
    }
    
    .skills-container {
        position: relative;
        overflow: hidden;
    }
    
    .skills-grid {
        display: flex !important;
        overflow-x: auto;
        gap: 15px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 15px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100% !important;
    }
    
    .skills-grid::-webkit-scrollbar {
        display: none;
    }
    
    .skill-category {
        flex: 0 0 calc(90% - 7px);
        scroll-snap-align: start;
        padding: 18px;
        margin-bottom: 0;
        height: auto;
        min-height: 180px;
        background-color: rgba(240, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(232, 179, 119, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .skill-category:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(232, 179, 119, 0.15);
    }
    
    .skill-category h4 {
        font-size: 16px;
        margin-bottom: 12px;
        color: var(--accent-color);
        text-align: center;
    }
    
    .skills-list {
        text-align: center;
    }
    
    .skills-list li {
        padding: 6px 0;
        font-size: 13px;
        opacity: 0.9;
    }
    
    /* Afficher les indicateurs du carousel sur mobile */
    .skills-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
        padding: 0 15px;
    }
    
    .skill-indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(232, 179, 119, 0.3);
        cursor: pointer;
        transition: all 0.2s ease;
        border: 2px solid transparent;
    }
    
    .skill-indicator.active {
        background-color: var(--accent-color);
        transform: scale(1.2);
        border-color: rgba(232, 179, 119, 0.5);
    }
    
    .skill-indicator:hover {
        background-color: rgba(232, 179, 119, 0.6);
        transform: scale(1.1);
    }
    
    
    /* Centrer le bouton "Voir mes projets" sur petit mobile */
    .cta-container {
        justify-content: center !important;
        align-items: center;
    }
    
    /* À propos responsive - Mobile */
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        order: 0;
        margin-bottom: 30px;
    }
    
    .about-content {
        order: 1;
    }
    
    .skills-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        align-items: start;
        width: 100% !important;
    }
    
    .skill-category {
        padding: 20px;
        height: auto;
        min-height: 180px;
    }
    
    .skill-category h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .skills-list li {
        padding: 8px 0;
        font-size: 15px;
    }
    
    /* Centrer tous les éléments des compétences sur mobile */
    .skills-list li {
        text-align: center;
    }
    }

/* Section Projets - Carrousel en vague */
.projects-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(232, 179, 119, 0.05) 0%, rgba(26, 36, 37, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
    z-index: 1;
}

.projects-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
    z-index: 1;
}

/* Grille de projets */
.projects-carousel {
    position: relative;
    margin-top: 60px;
    z-index: 2;
}

.carousel-container {
    position: relative;
    border-radius: 20px;
    background: rgba(240, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(240, 255, 255, 0.1);
    padding: 20px;
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

/* Masquer les contrôles sur desktop */
.carousel-controls,
.carousel-indicators {
    display: none;
}

.project-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Hauteurs différentes pour créer un effet de vague */
.project-slide:nth-child(1) {
    margin-top: 0;
}

.project-slide:nth-child(2) {
    margin-top: 40px;
}

.project-slide:nth-child(3) {
    margin-top: 20px;
}

.project-slide:nth-child(4) {
    margin-top: 60px;
}

.project-image {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(232, 179, 119, 0.3);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.project-info {
    max-width: 500px;
    padding: 0 20px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-align: center;
}

.project-description {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    opacity: 0.9;
    text-align: center;
}

/* Mise en avant des flèches d'accroche */
.project-description strong {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    background: rgba(232, 179, 119, 0.1);
    border-radius: 6px;
    animation: pulse-highlight 2s ease-in-out infinite;
}

@keyframes pulse-highlight {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(232, 179, 119, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 4px rgba(232, 179, 119, 0.1);
    }
}

.carousel-btn {
    background: rgba(232, 179, 119, 0.9);
    color: var(--bg-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(232, 179, 119, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(240, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(232, 179, 119, 0.6);
    transform: scale(1.1);
}

/* Desktop - Masquer complètement les contrôles */
@media (min-width: 993px) {
    .carousel-controls,
    .carousel-indicators {
        display: none;
    }
}

/* Responsive pour le carrousel */
@media (max-width: 992px) {
    .carousel-track {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 30px;
    }
    
    .project-slide {
        min-width: calc(50% - 15px);
        margin-top: 0;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .project-description {
        font-size: 13px;
    }
    
    .carousel-controls,
    .carousel-indicators {
        display: flex;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 80px 0;
    }
    
    .carousel-container {
        padding: 15px;
        overflow: hidden;
    }
    
    .carousel-track {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        width: 100%;
    }
    
    .project-slide {
        min-width: 100%;
        margin-top: 0;
        flex-shrink: 0;
        padding: 0 5px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .project-image {
        height: 250px;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .project-info {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .project-title {
        font-size: 22px;
    }
    
    .project-description {
        font-size: 16px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        pointer-events: all;
    }
    
    .carousel-controls {
        display: flex;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        justify-content: space-between;
        padding: 0 10px;
        pointer-events: none;
        z-index: 3;
    }
    
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
        z-index: 3;
        position: relative;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Section FAQ */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(232, 179, 119, 0.05) 0%, rgba(26, 36, 37, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.8;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.faq-divider {
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
    height: 100%;
    min-height: 400px;
}

.faq-item {
    background: rgba(240, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(240, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    padding-right: 20px;
    line-height: 1.4;
    text-align: left;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 15px 0;
    opacity: 0.9;
    text-align: left;
}

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

.faq-answer strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Responsive pour la section FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 80px 0;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .faq-divider {
        display: none;
    }
    
    .faq-column {
        gap: 15px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 15px;
    }
    
    .faq-icon {
        font-size: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

/* Section CTA */
.cta-section {
    background: linear-gradient(135deg, rgba(232, 179, 119, 0.102) 0%, rgba(26, 36, 37, 0.902) 100%);
    border-top: 1px solid rgba(232, 179, 119, 0.3);
    border-bottom: 1px solid rgba(232, 179, 119, 0.3);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-text {
    text-align: left;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-description {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.6;
    opacity: 0.9;
}

.cta-button-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cta-button {
    font-size: 18px;
    padding: 15px 40px;
    min-width: 200px;
    font-weight: 600;
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(232, 179, 119, 0.2);
}

/* Responsive pour la section CTA */
@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .cta-text {
        text-align: center;
    }
    
    .cta-button-container {
        justify-content: center;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .cta-button {
        font-size: 16px;
        padding: 12px 30px;
        min-width: 180px;
    }
}

/* Section Garanties */
.guarantees-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(232, 179, 119, 0.05) 0%, rgba(26, 36, 37, 0.95) 100%);
    border-top: 1px solid rgba(232, 179, 119, 0.2);
    border-bottom: 1px solid rgba(232, 179, 119, 0.2);
    position: relative;
}

.guarantees-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23E8B377" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.guarantees-section .container {
    position: relative;
    z-index: 2;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.guarantee-item {
    background: rgba(26, 36, 37, 0.8);
    border: 1px solid rgba(232, 179, 119, 0.3);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.guarantee-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 179, 119, 0.1), transparent);
    transition: left 0.5s ease;
}

.guarantee-item:hover::before {
    left: 100%;
}

.guarantee-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(232, 179, 119, 0.2);
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--accent-color), #D4A574);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 12px;
    box-sizing: border-box;
}

.guarantee-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.guarantee-item:hover .guarantee-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(232, 179, 119, 0.4);
}

.guarantee-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
    flex-shrink: 0;
}

.guarantee-description {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(240, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Responsive pour les garanties */
@media (max-width: 1200px) {
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .guarantees-section {
        padding: 80px 0;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .guarantee-item {
        padding: 25px 20px;
        height: auto;
        min-height: 200px;
    }
    
    .guarantee-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
        padding: 10px;
    }
    
    .guarantee-icon-img {
        width: 30px;
        height: 30px;
    }
    
    .guarantee-title {
        font-size: 18px;
    }
    
    .guarantee-description {
        font-size: 14px;
    }
}
    
    /* Navigation responsive */
     .nav-menu {
         position: fixed;
         top: 72px;
         left: -100%;
         width: 100%;
         height: calc(100vh - 72px);
         background: rgba(26, 36, 37, 0.95);
         backdrop-filter: blur(10px);
         -webkit-backdrop-filter: blur(10px);
         flex-direction: column;
         justify-content: flex-start;
         padding-top: 50px;
         transition: left 0.3s ease;
        z-index: 999;
     }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 40px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 7px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -7px);
    }

/* ========================================
   SECTION DEVIS
======================================== */

.quote-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.quote-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

/* Colonne de gauche - Pourquoi me contacter */
.quote-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quote-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
    position: relative;
}

.quote-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.quote-reasons {
    margin-bottom: 30px;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(232, 179, 119, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(232, 179, 119, 0.1);
    transition: all 0.3s ease;
}

.reason-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.reason-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(15%) sepia(8%) saturate(1000%) hue-rotate(180deg) brightness(95%) contrast(85%);
}

.reason-content h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.reason-content p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

/* Informations de contact */
.contact-info-section {
    margin: 15px 0;
    padding: 20px;
    background: rgba(232, 179, 119, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(232, 179, 119, 0.2);
}

.contact-info-section h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(26, 36, 37, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-method-icon {
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.contact-icon-svg {
    color: var(--bg-primary);
    width: 20px;
    height: 20px;
}

.contact-method-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-primary);
    opacity: 0.7;
    font-weight: 500;
}

.contact-value {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: #d4a574;
    transform: translateX(3px);
}

/* Statistiques - Utilise les styles de base des statistiques */
.quote-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.quote-stats .stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(232, 179, 119, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(232, 179, 119, 0.2);
    transition: all 0.3s ease;
}

.quote-stats .stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 3px;
}

.quote-stats .stat-label {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-primary);
    opacity: 0.8;
    font-weight: 500;
}

/* Colonne de droite - Formulaire de devis */
.quote-form-container {
    background: rgba(26, 36, 37, 0.5);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(232, 179, 119, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quote-form-container h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-description {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.5;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Lignes horizontales du formulaire */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 1px solid rgba(232, 179, 119, 0.3);
    border-radius: 8px;
    background: rgba(26, 36, 37, 0.8);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
    /* Empêcher le zoom sur mobile */
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Personnalisation complète des select */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8B377' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 12px 15px;
    border: none;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
}

.form-group select option:hover {
    background: rgba(232, 179, 119, 0.1);
}

.form-group select option:checked {
    background: var(--accent-color);
    color: var(--bg-primary);
    font-weight: 600;
}

.form-group select option:first-child {
    color: rgba(240, 255, 255, 0.6);
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(232, 179, 119, 0.1);
    background: rgba(26, 36, 37, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(240, 255, 255, 0.5);
}

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

/* Personnalisation du scroll du textarea */
.form-group textarea::-webkit-scrollbar {
    width: 8px;
}

.form-group textarea::-webkit-scrollbar-track {
    background: rgba(26, 36, 37, 0.3);
    border-radius: 4px;
}

.form-group textarea::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.form-group textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 179, 119, 0.8);
}

/* Compteur de caractères */
.character-count {
    font-size: 12px;
    color: rgba(240, 255, 255, 0.6);
    text-align: right;
    margin-top: 5px;
    font-family: var(--font-body);
}

.character-count.warning {
    color: #ffc107;
}

.character-count.error {
    color: #e74c3c;
}

/* Personnalisation de l'icône de redimensionnement */
.form-group textarea::-webkit-resizer {
    background: transparent;
    border: none;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    outline: none;
}

/* Suppression complète du fond blanc sur tous les navigateurs */
.form-group textarea::-webkit-resizer:active,
.form-group textarea::-webkit-resizer:hover,
.form-group textarea::-webkit-resizer:focus {
    background: transparent;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: linear-gradient(135deg, #1a2425 0%, #0f1415 100%);
    border-top: 1px solid rgba(232, 179, 119, 0.1);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

/* Logo et description */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.footer-logo .logo-dev {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: -1px;
}

.footer-description {
    color: rgba(240, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Newsletter */
.footer-newsletter h3,
.footer-nav h3,
.footer-social h3 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-newsletter p {
    color: rgba(240, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.newsletter-form {
    position: relative;
}

.newsletter-input-group {
    display: flex;
    background: rgba(26, 36, 37, 0.8);
    border: 1px solid rgba(232, 179, 119, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(232, 179, 119, 0.1);
}

.newsletter-input-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: rgba(240, 255, 255, 0.5);
}

.newsletter-btn {
    padding: 15px 20px;
    background: var(--accent-color);
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-success {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4ade80;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.newsletter-success.show {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(240, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 6px;
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(26, 36, 37, 0.8);
    border: 1px solid rgba(232, 179, 119, 0.3);
    border-radius: 8px;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 179, 119, 0.3);
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(232, 179, 119, 0.1);
}

.footer-copyright p {
    color: rgba(240, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.legal-link {
    color: rgba(240, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--accent-color);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-link:hover {
        padding-left: 0;
    }
    
    .footer-link::before {
        display: none;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo .logo-text,
    .footer-logo .logo-dev {
        font-size: 28px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        border-radius: 0 0 8px 8px;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 15px;
    }
}

/* Checkbox personnalisé */
.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(232, 179, 119, 0.5);
    border-radius: 4px;
    background: transparent;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--bg-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -1px;
}

/* Bouton de soumission */
.form-submit {
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-submit .btn-text,
.form-submit .btn-loading {
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.form-submit.loading .btn-text {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.form-submit.loading .btn-loading {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Variables pour les couleurs des messages */
:root {
    --success-color: #4CAF50;
    --warning-color: #ffc107;
    --success-bg: rgba(76, 175, 80, 0.1);
    --success-border: rgba(76, 175, 80, 0.3);
    --warning-bg: rgba(255, 193, 7, 0.1);
    --warning-border: #ffc107;
}

/* Message de succès */
.form-success {
    text-align: center;
    padding: 40px 20px;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: 12px;
    margin-top: 20px;
}

/* Message de développement */
.development-message {
    text-align: center;
    padding: 30px 20px;
    background: var(--warning-bg);
    border: 2px solid var(--warning-border);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--warning-color);
}

.development-message h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--warning-color);
}

.development-message p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-success p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    opacity: 0.8;
    margin: 0;
}

/* Responsive pour la section Devis */
@media (max-width: 992px) {
    .quote-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .quote-form-container {
        padding: 30px;
    }
    
    .quote-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .quote-section {
        padding: 80px 0;
    }
    
    .quote-info h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .reason-item {
        padding: 20px;
        gap: 15px;
    }
    
    .reason-icon {
        width: 50px;
        height: 50px;
    }
    
    .reason-content h4 {
        font-size: 18px;
    }
    
    .reason-content p {
        font-size: 14px;
    }
    
    .contact-info-section {
        margin: 30px 0;
        padding: 20px;
    }
    
    .contact-info-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .contact-method {
        padding: 10px;
        gap: 12px;
    }
    
    .contact-method-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-label {
        font-size: 11px;
    }
    
    .contact-value {
        font-size: 13px;
    }
    
    .quote-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .quote-form-container {
        padding: 25px;
    }
    
    .quote-form-container h3 {
        font-size: 20px;
    }
    
    .form-description {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .form-group select {
        padding-right: 45px;
        background-size: 18px;
        background-position: right 12px center;
    }
    
    .form-success h3 {
        font-size: 20px;
    }
    
    .form-success p {
        font-size: 14px;
    }
    
    /* Bouton de soumission mobile */
    .form-submit {
        height: 52px;
        font-size: 16px;
        padding: 0 20px;
    }
    
    .form-submit .btn-text,
    .form-submit .btn-loading {
        font-size: 16px;
        font-weight: 600;
    }
    
    .form-submit .btn-loading {
        gap: 10px;
    }
    
    .spinner {
        width: 18px;
        height: 18px;
    }
}

/* ===== NAVIGATION AMÉLIORÉE ===== */

/* Navigation rapide - Masquée sur desktop */
.quick-nav {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: none; /* Masqué par défaut */
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.quick-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(26, 36, 37, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--header-border);
    border-radius: 25px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.quick-nav-btn:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    border-color: var(--accent-color);
    transform: translateX(-5px);
    opacity: 1;
}

.quick-nav-icon {
    font-size: 14px;
}

.quick-nav-text {
    white-space: nowrap;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    color: var(--bg-primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top:hover {
    background: var(--accent-hover, #d4a574);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 179, 119, 0.4);
}

/* Afficher la navigation rapide sur tablette et mobile */
@media (max-width: 992px) {
    .quick-nav {
        display: flex; /* Afficher sur tablette et mobile */
    }
}

/* Responsive pour la navigation */
@media (max-width: 768px) {
    .quick-nav {
        right: 10px;
        gap: 8px;
    }
    
    .quick-nav-btn {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .quick-nav-text {
        display: none; /* Masquer le texte sur mobile */
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .quick-nav {
        right: 5px;
    }
    
    .quick-nav-btn {
        padding: 8px 10px;
    }
}

/* ===== POPUP TIME-BASED ===== */

/* Overlay de la popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Conteneur de la popup */
.popup-container {
    background: var(--bg-primary);
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}

/* Bouton de fermeture */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(232, 179, 119, 0.2);
    color: var(--accent-color);
}

/* Contenu de la popup */
.popup-content {
    text-align: center;
}

.popup-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.popup-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-primary);
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Formulaire de la popup */
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.popup-form-group {
    display: flex;
    flex-direction: column;
}

.popup-form-group input,
.popup-form-group select {
    padding: 15px 20px;
    border: 2px solid rgba(232, 179, 119, 0.3);
    border-radius: 12px;
    background: rgba(26, 36, 37, 0.8);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.popup-form-group input:focus,
.popup-form-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(232, 179, 119, 0.1);
    background: rgba(26, 36, 37, 0.9);
}

.popup-form-group input::placeholder {
    color: rgba(240, 255, 255, 0.5);
    font-family: var(--font-body);
}

/* Personnalisation du select */
.popup-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8B377' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px;
    cursor: pointer;
    transition: none;
    background-attachment: fixed;
}

.popup-form-group select:focus,
.popup-form-group select:active,
.popup-form-group select:hover {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8B377' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    background-attachment: fixed;
}

.popup-form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 12px 15px;
    border: none;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
}

.popup-form-group select option:hover {
    background: rgba(232, 179, 119, 0.1);
}

.popup-form-group select option:checked {
    background: var(--accent-color);
    color: var(--bg-primary);
    font-weight: 600;
}

.popup-form-group select:focus {
    transition: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8B377' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    background-attachment: fixed;
}

.popup-form-group select option:first-child {
    color: rgba(240, 255, 255, 0.6);
    font-style: italic;
}

.popup-cta {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-primary);
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.popup-cta:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Responsive pour la popup */
@media (max-width: 768px) {
    .popup-container {
        padding: 30px 25px;
        max-width: 400px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-subtitle {
        font-size: 16px;
    }
    
    .popup-form {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .popup-form-group input,
    .popup-form-group select {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .popup-form-group select {
        background-size: 18px;
        background-position: right 12px center;
        padding-right: 45px;
    }
    
    .popup-cta {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        padding: 25px 20px;
        max-width: 350px;
    }
    
    .popup-title {
        font-size: 22px;
    }
    
    .popup-subtitle {
        font-size: 15px;
    }
    
    .popup-form {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .popup-form-group input,
    .popup-form-group select {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .popup-form-group select {
        background-size: 16px;
        background-position: right 10px center;
        padding-right: 40px;
    }
    
    .popup-cta {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* ===== SECTION CONSEILS ===== */

.advice-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 36, 37, 0.95), rgba(26, 36, 37, 0.98));
    position: relative;
}

.advice-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23E8B377" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23E8B377" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23E8B377" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23E8B377" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23E8B377" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.advice-section .container {
    position: relative;
    z-index: 2;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
    align-items: start;
}

.advice-card:nth-child(1) {
    transform: translateY(20px);
    z-index: 3;
}

.advice-card:nth-child(2) {
    transform: translateY(-15px);
    z-index: 2;
}

.advice-card:nth-child(3) {
    transform: translateY(25px);
    z-index: 1;
}

.advice-card {
    background: rgba(240, 255, 255, 0.05);
    border: 1px solid rgba(232, 179, 119, 0.2);
    border-radius: 15px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover, #d4a574));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advice-image {
    text-align: center;
    margin-bottom: 25px;
    flex-shrink: 0;
}

.advice-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 179, 119, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(232, 179, 119, 0.3);
    margin: 0 auto;
    padding: 12px;
    box-sizing: border-box;
}

.advice-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.advice-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.advice-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.advice-excerpt {
    color: rgba(240, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.advice-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.advice-category {
    background: var(--accent-color);
    color: var(--bg-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advice-read-time {
    color: rgba(240, 255, 255, 0.6);
    font-size: 14px;
    font-style: italic;
}

.advice-points {
    margin-bottom: 25px;
    flex-grow: 1;
}

.advice-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advice-points li {
    color: rgba(240, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 5px;
}

.advice-cta {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

.advice-cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(232, 179, 119, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(232, 179, 119, 0.2);
}

.advice-cta-section h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.advice-cta-section p {
    color: rgba(240, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive pour la section conseils */
@media (max-width: 768px) {
    .advice-section {
        padding: 80px 0;
    }
    
    .advice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .advice-card:nth-child(1) {
        transform: translateY(10px);
    }
    
    .advice-card:nth-child(2) {
        transform: translateY(-5px);
    }
    
    .advice-card:nth-child(3) {
        transform: translateY(15px);
    }
    
    .advice-card {
        padding: 20px;
    }
    
    .advice-title {
        font-size: 20px;
    }
    
    .advice-excerpt {
        font-size: 15px;
    }
    
    .advice-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .advice-cta-section {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .advice-cta-section h3 {
        font-size: 24px;
    }
    
    .advice-cta-section p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .advice-card {
        padding: 15px;
    }
    
    .advice-card:nth-child(1),
    .advice-card:nth-child(2),
    .advice-card:nth-child(3) {
        transform: translateY(0);
    }
    
    .advice-icon {
        width: 60px;
        height: 60px;
        padding: 10px;
    }
    
    .advice-icon-img {
        width: 30px;
        height: 30px;
    }
    
    .advice-title {
        font-size: 18px;
    }
    
    .advice-cta {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* Bouton de soumission très petit mobile */
    .form-submit {
        height: 56px;
        font-size: 18px;
        padding: 0 25px;
    }
    
    .form-submit .btn-text,
    .form-submit .btn-loading {
        font-size: 18px;
        font-weight: 700;
    }
    
    .form-submit .btn-loading {
        gap: 12px;
    }
    
    .spinner {
        width: 20px;
        height: 20px;
    }
}

/* Skip links dans les fenêtres portfolio */
.skip-link-line {
    position: relative;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skip-link-code,
.skip-link-html {
    color: #E8B377;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    animation: typewriter 3s steps(40) 1s 1 normal both;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #E8B377;
}

/* Animation d'écriture */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Suppression de la bordure après l'animation */
.skip-link-code.animation-complete,
.skip-link-html.animation-complete {
    border-right: none;
}



