:root {
    /* Base colors - VERSION CLAIRE pour publication */
    --bg: #F8F9FA;
    --surface: #FFFFFF;
    --text: #2D3748;
    --muted: #6B7280;
    --primary: #0A1410;
    --primary-ink: #FFFFFF;
    --accent: #8B5A3C;
    --border: #E2E8F0;
    
    /* Main palette - VERSION CLAIRE */
    --deep-green: #0A1410;
    --warm-beige: #A0967E;
    --copper: #8B5A3C;
    --dark-charcoal: #2D3748;
    
    /* Section backgrounds - TRÈS CLAIRES avec dégradés 7% max */
    --section-green-light: rgba(10, 20, 16, 0.05);
    --section-beige-light: rgba(160, 150, 126, 0.07);
    --section-copper-light: rgba(139, 90, 60, 0.05);
    --section-warm-light: #FFFFFF;
    
    /* Border colors - TRÈS CLAIRES */
    --border-green: rgba(10, 20, 16, 0.15);
    --border-beige: rgba(160, 150, 126, 0.15);
    --border-copper: rgba(139, 90, 60, 0.15);
}

html {
    scroll-padding-top: 100px; /* Compensation pour le header fixe lors des ancres */
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    padding-top: 0; /* Suppression du padding pour coller le hero au header */
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}

/* Texture fine uniforme derrière tout le site */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 1px 1px, rgba(166, 115, 85, 0.02) 1px, transparent 0),
        radial-gradient(circle at 3px 3px, rgba(209, 202, 192, 0.01) 1px, transparent 0);
    background-size: 20px 20px, 40px 40px;
    z-index: -3;
    opacity: 0.6;
}



/* Supprimer l'ancien filigrane body::before */
body::before {
    display: none;
}

.site-header {
    position: fixed; /* Header fixe lors du scroll */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100; /* Au-dessus de tout */
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(204, 139, 101, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(227, 220, 210, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.02) 50%, transparent 50%);
    background-size: 300px 300px, 200px 200px, 40px 40px;
    z-index: -1;
    opacity: 0.6;
}

/* Navigation avec transparence et effet glass morphism */
.nav {
    display: flex;
    gap: 32px;
    align-items: center;
    padding: 20px 30px;
    max-width: 1400px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
}

.nav .logo {
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--warm-beige);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav .logo img {
    filter: brightness(1.5) contrast(1.2);
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.nav .logo:hover {
    color: var(--copper);
    text-shadow: 0 0 10px rgba(204, 139, 101, 0.3);
}

.nav .logo:hover img {
    filter: brightness(1.8) contrast(1.3);
    transform: scale(1.05);
}

.nav .spacer {
    flex: 1;
}

.nav a {
    color: rgba(227, 220, 210, 0.9);
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav a:hover:not(.cta):not(.logo) {
    color: var(--copper);
    background: rgba(204, 139, 101, 0.1);
    border-radius: 4px;
}

.nav a:not(.cta):not(.logo)::after {
    display: none;
}

.nav .cta {
    padding: 12px 24px;
    border: 1px solid rgba(227, 220, 210, 0.6);
    background: rgba(227, 220, 210, 0.1);
    color: var(--warm-beige);
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
}

.nav .cta:hover {
    background: var(--warm-beige);
    border-color: var(--warm-beige);
    color: var(--deep-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(227, 220, 210, 0.3);
}

.hero {
    padding: 80px 20px 60px;
    margin-top: 70px; /* Compensation pour le header fixe */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.65) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Aspect ratio crop effect for 32:9 */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../fonds/atelier.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    opacity: 0.35;
    z-index: 1;
}

/* Éléments de parallaxe par-dessus la photo */
.hero::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(166, 115, 85, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(209, 202, 192, 0.02) 0%, transparent 50%);
    background-size: 800px 600px, 600px 400px;
    z-index: 2;
    animation: heroParallax 25s ease-in-out infinite;
}

@keyframes heroParallax {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1.2s ease-out;
}

.hero-logo {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 20;
}

.hero-logo img {
    filter: brightness(1.5) contrast(1.2);
    position: relative;
    z-index: 20;
    display: inline-block;
    opacity: 1 !important;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0 0 2rem;
    font-weight: 600;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
    
    /* Style Petralithe avec espacement des lettres */
    word-spacing: 0.1em;
}

.hero h1::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--copper) 0%, transparent 100%);
    margin: 2rem auto 0;
    border-radius: 2px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin: 0 auto 2rem;
    max-width: 900px;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 10;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid var(--deep-green);
    background: var(--deep-green);
    color: var(--primary-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 31, 26, 0.4);
}

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

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 8px;
    border: 2px solid var(--warm-beige);
    background: transparent;
    color: var(--warm-beige);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--warm-beige);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--deep-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(227, 220, 210, 0.3);
}

.section {
    max-width: 1400px;
    margin: 56px auto; /* Réduit de 80px à 56px (30% de rapprochement) */
    padding: 60px 40px; /* Réduit de 80px à 60px */
    background: var(--surface);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    
    /* Parallaxe entre sections */
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.section.section-enter {
    transform: translateY(10%); /* Réduit de 30% à 10% */
    opacity: 0.3;
}

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

/* Couleurs spécifiques pour chaque section - style Petralithe */
#presentation {
    background: 
        linear-gradient(135deg, var(--section-beige-light) 0%, rgba(255,255,255,0.93) 100%); /* Dégradé 7% max */
    border: 1px solid var(--border-beige);
    box-shadow: 0 2px 10px rgba(160, 150, 126, 0.05);
    border-radius: 8px;
}

#projets {
    background: rgba(255, 255, 255, 0.93); /* Fond très clair avec dégradé 7% max */
    border: 1px solid var(--border-beige);
    border-radius: 8px;
}

/* Grille des projets statiques */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Responsive pour tablettes */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Carte projet - design premium */
.project-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(45, 55, 72, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--copper), var(--warm-beige));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 30px rgba(45, 55, 72, 0.1),
        0 6px 15px rgba(45, 55, 72, 0.05);
    border-color: var(--copper);
}

/* Image du projet */
.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* Contenu de la carte */
.project-content {
    padding: 1.5rem;
}

.project-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.project-summary {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Badges de résultats */
.project-results {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.result-badge {
    background: rgba(139, 90, 60, 0.1);
    color: var(--copper);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 90, 60, 0.2);
}

/* Bouton du projet */
.project-btn {
    background: transparent;
    border: 1px solid var(--copper);
    color: var(--copper);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.project-btn:hover {
    background: var(--copper);
    color: white;
    transform: translateY(-1px);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-content h4 {
        font-size: 1.1rem;
    }
}

/* Détail de projet - Design épuré */
#projet-detail {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

#projet-detail.hidden {
    display: none !important;
}

#projet-detail:not(.hidden) {
    display: block !important;
}

/* Modal mobile pour détails de projet */
#projet-detail.mobile-modal-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    background: white !important;
    display: block !important;
}

#projet-detail.mobile-modal-active .project-detail-content {
    background: white !important;
    min-height: 100% !important;
    padding: 4rem 1.5rem 2rem !important;
    margin: 0 !important;
}

.mobile-close {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: var(--copper) !important;
    color: white !important;
    font-size: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 10001 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    line-height: 1 !important;
    transition: all 0.2s ease;
}
}

.mobile-close:hover {
    transform: rotate(90deg);
}

.project-detail-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Layout à 2 colonnes pour desktop */
.project-detail-layout {
    display: block; /* Par défaut: mobile - une colonne */
}

@media (min-width: 1024px) {
    .project-detail-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin-top: 2rem;
    }
}

/* Bouton retour simple et élégant */
.btn-back {
    background: var(--copper);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    background: #b8835d;
    transform: translateX(-3px);
}

/* Header épuré */
.project-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.project-title {
    color: var(--text);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.project-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.project-client,
.project-materials,
.project-ip {
    color: var(--text);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Sections de contenu */
.project-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--copper);
}

.project-section h3 {
    color: var(--copper);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.project-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--copper);
    font-weight: bold;
}

/* Info grid */
.project-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.phases {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
}

/* Galerie de miniatures cliquables */
.horizontal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem 0;
    margin: 2rem 0;
}

.gallery-item {
    width: 100%;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: "🔍";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Info boxes simplifiées */
.project-info-simple,
.project-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.info-box {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--copper);
}

.info-box h3 {
    color: var(--copper);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.info-box p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Lightbox pour images en grand */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.lightbox-container {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(90vh - 60px);
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
    color: white;
    font-size: 1rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Responsive */
@media (max-width: 1024px) {
    .horizontal-gallery {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .gallery-item {
        height: 130px;
    }
}

@media (max-width: 768px) {
    .project-detail-content {
        padding: 2rem 1.5rem;
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .horizontal-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.8rem;
    }
    
    .gallery-item {
        height: 100px;
    }
    
    .project-info-simple,
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Grands écrans */
@media (min-width: 1920px) {
    #projet-detail {
        max-width: 1600px;
    }
    
    .horizontal-gallery {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .gallery-item {
        height: 180px;
    }
}

@media (min-width: 2560px) {
    #projet-detail {
        max-width: 2000px;
    }
    
    .project-title {
        font-size: 2.8rem;
    }
    
    .horizontal-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (min-width: 3840px) {
    #projet-detail {
        max-width: 2800px;
    }
    
    .project-detail-content {
        padding: 4rem;
    }
    
    .project-title {
        font-size: 3.2rem;
    }
    
    .project-subtitle {
        font-size: 1.6rem;
    }
    
    .horizontal-gallery {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .gallery-item {
        height: 240px;
    }
}


#positionnement {
    background: 
        linear-gradient(135deg, var(--section-green-light) 0%, rgba(255,255,255,0.93) 100%); /* Dégradé 7% max */
    border: 1px solid var(--border-green);
    box-shadow: 0 2px 10px rgba(10, 20, 16, 0.05);
    border-radius: 8px;
}

#tarifs {
    background: 
        linear-gradient(135deg, var(--section-warm-light) 0%, rgba(255,255,255,0.93) 100%); /* Dégradé 7% max */
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

/* Section intro */
.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Domaines d'intervention - Section Projets */
.domaines-intervention {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem auto 3rem auto;
    max-width: 900px;
}

.domaine-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 90, 60, 0.25);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.domaine-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 90, 60, 0.15);
    border-color: var(--copper);
}

.domaine-card span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--copper);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .domaines-intervention {
        flex-wrap: wrap;
        gap: 1rem;
        max-width: 100%;
    }
    
    .domaine-card {
        flex: 0 0 calc(50% - 0.5rem);
        padding: 0.8rem 1rem;
    }
    
    .domaine-card span {
        font-size: 0.85rem;
    }
}

/* Section Moyens de Production */
#moyens-production {
    background: 
        linear-gradient(135deg, var(--section-warm-light) 0%, rgba(255,255,255,0.93) 100%);
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.production-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 90, 60, 0.15);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.production-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(139, 90, 60, 0.12);
    border-color: var(--copper);
}

.production-icon-svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: #2d3748;
}

.production-icon-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.production-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--copper);
    margin: 0 0 1rem 0;
}

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

.production-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(139, 90, 60, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--copper);
}

.production-footer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    text-align: center;
}

.production-footer strong {
    color: var(--copper);
}

@media (max-width: 768px) {
    .production-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .production-card {
        padding: 1.5rem;
    }
    
    .production-footer {
        padding: 1.5rem;
    }
}

/* Container pour les sous-sections en ligne horizontale */
.pricing-subsections-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: start; /* Align to top */
}

/* Sous-sections de tarifs */
.pricing-subsection {
    margin-bottom: 0;
    padding: 1.5rem;
    border: 1px solid rgba(204, 139, 101, 0.2);
    border-radius: 16px;
    background: rgba(248, 249, 250, 0.3);
    display: flex;
    flex-direction: column;
    min-width: 0; /* Allow grid items to shrink below content size */
    height: 100%; /* Full height */
}

.pricing-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--copper);
    text-align: center;
    margin: 0 0 0.8rem 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    line-height: 1.3;
    min-height: 2.6em; /* Fixed minimum height for 2 lines */
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--copper), var(--warm-beige));
}

.subsection-intro {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
    margin: 0 auto 1.5rem auto;
    line-height: 1.5;
    min-height: 8em; /* Fixed minimum height for alignment to handle longer text */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grille des cartes tarifs - style premium */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0 auto;
}

/* Centrer une carte unique dans la grille */
.pricing-grid .pricing-card:only-child {
    margin: 0 auto;
    width: 100%;
}

/* Carte tarif - design haut de gamme gracz.fr */
.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(45, 55, 72, 0.1);
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px; /* Minimum height for consistency */
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--copper), var(--warm-beige));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(45, 55, 72, 0.08),
        0 3px 10px rgba(45, 55, 72, 0.05);
    border-color: var(--copper);
}

/* Header de carte */
.card-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(45, 55, 72, 0.05);
}

.pricing-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Prix - style premium */
.price-tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--copper);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-tag span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
}

.price-alt,
.price-range {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* Résumé de la carte */
.card-summary {
    padding: 0 2rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    flex-grow: 1;
}

/* Bouton toggle - style gracz */
.card-toggle {
    width: 100%;
    padding: 1.2rem 2rem;
    background: rgba(45, 55, 72, 0.02);
    border: none;
    border-top: 1px solid rgba(45, 55, 72, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
    margin-top: auto;
}

.card-toggle:hover {
    background: rgba(139, 90, 60, 0.05);
    color: var(--copper);
}

.toggle-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--copper);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.card-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

/* Section détail - accordion */
.card-detail {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(248, 249, 250, 0.5);
    border-top: 1px solid rgba(45, 55, 72, 0.05);
}

.card-detail.open {
    max-height: 500px;
    padding: 2rem;
}

/* Justifier texte des réponses FAQ */
.card-detail p,
.card-detail li {
    text-align: justify;
}

/* Colonnes détail */
.detail-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.detail-left h5,
.detail-right h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.detail-left h5 {
    color: var(--copper);
}

.detail-right h5 {
    color: var(--warm-beige);
}

.detail-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.detail-columns li {
    padding: 0.4rem 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
    padding-left: 1.5rem;
}

.detail-left li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--copper);
    font-weight: bold;
}

.detail-right li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--warm-beige);
    font-weight: bold;
}

/* Modal légale */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 800px;
    max-height: 80vh;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(45, 55, 72, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--text);
    z-index: 10;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(45, 55, 72, 0.2);
}

.modal-body {
    padding: 3rem 2.5rem 2.5rem;
    overflow-y: auto;
    max-height: calc(80vh - 2rem);
}

.modal-body h2 {
    color: var(--text);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: none;
}

.modal-body h3 {
    color: var(--copper);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.modal-body p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li {
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .modal-body {
        padding: 2rem 1.5rem 1.5rem;
        max-height: calc(90vh - 1rem);
    }
}

/* Responsive mobile */
@media (max-width: 768px) {
    .pricing-subsections-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .pricing-card {
        margin: 0;
    }
    
    .card-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .card-summary {
        padding: 0 1.5rem 1rem;
    }
    
    .card-toggle {
        padding: 1rem 1.5rem;
    }
    
    .detail-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-detail.open {
        padding: 1.5rem;
        max-height: 600px;
    }
    
    .price-tag {
        font-size: 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
}

/* Section "qui je suis" toujours visible sans parallaxe */
#presentation {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Supprimer tout effet d'ombre 3D des titres de sections */
.section h2,
#presentation h2,
#projets h2,
#positionnement h2,
#tarifs h2,
#contact h2,
#faq h2 {
    text-shadow: none !important; /* Suppression complète des ombres 3D */
}
#projets {
    z-index: 5; /* Section projets au-dessus */
    position: relative;
}

#projet-detail {
    z-index: 10; /* Détail projet au-dessus de tout */
    position: relative;
    margin-bottom: 100px; /* Espace pour éviter la collision avec positionnement */
}

#positionnement {
    z-index: 3; /* Section positionnement en dessous */
    position: relative;
}

/* Style pour les détails de projets - fond clair et texte sombre */
#projet-detail:not(.mobile-modal-active) {
    background: rgba(255, 255, 255, 0.95) !important; /* Fond clair */
    color: #2d3748 !important; /* Texte sombre */
}

#projet-detail h2,
#projet-detail h3,
#projet-detail p,
#projet-detail ul,
#projet-detail li {
    color: #2d3748 !important; /* Tous les textes en sombre */
}

#projet-detail .muted {
    color: #666 !important; /* Texte muté légèrement plus clair mais toujours lisible */
}

/* Titres spécifiques des sections "projets" et "qui je suis" en texte sombre */
#presentation h2,
#projets h2 {
    color: #000000 !important; /* Noir pur sur fond clair pour contraste optimal */
}

/* Titres sections avec fonds spécifiques - contraste 40% amélioré */
#positionnement h2 {
    color: #000000 !important; /* Noir sur fond clair pour meilleur contraste */
}

#tarifs h2 {
    color: #000000 !important; /* Noir sur fond clair/blanc */
}

#contact h2 {
    color: #000000 !important; /* Noir sur fond clair */
}

#faq h2 {
    color: var(--text) !important; /* Texte sombre sur fond clair */
}

/* Textes tarifs en couleur sombre pour lisibilité sur fond clair */
#tarifs, 
#tarifs p, 
#tarifs ul, 
#tarifs li,
#tarifs .card p,
#tarifs .card span {
    color: var(--text) !important; /* Texte sombre sur fond clair */
}
/* SEO/LLM Content - Invisible to humans, readable by search engines and AI */
.seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Section Savoir-faire & Savoir-être */
.savoir-faire-section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.section-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--copper);
    text-align: center;
    margin: 0 0 2rem 0;
}

.qualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.qualite-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 90, 60, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qualite-card:hover {
    box-shadow: 0 4px 12px rgba(139, 90, 60, 0.12);
    border-color: var(--copper);
}

.qualite-header {
    width: 100%;
    padding: 1rem 1.2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.qualite-header:hover {
    background: rgba(139, 90, 60, 0.05);
}

.qualite-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--copper);
    flex: 1;
}

.qualite-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--copper);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.qualite-header[aria-expanded="true"] .qualite-toggle {
    transform: rotate(45deg);
}

.qualite-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.2rem;
}

.qualite-content.open {
    max-height: 300px;
    padding: 0 1.2rem 1rem 1.2rem;
}

.qualite-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    text-align: justify;
}

@media (max-width: 768px) {
    .qualites-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .qualite-header {
        padding: 0.9rem 1rem;
    }
    
    .qualite-title {
        font-size: 0.95rem;
    }
}

/* Styles pour la section CV interactive */
.cv-interactive {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cv-interactive h3 {
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    text-align: center;
}

.cv-section {
    margin-bottom: 1rem;
    border: 1px solid rgba(139, 90, 60, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.cv-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    transition: all 0.3s ease;
}

.cv-question:hover {
    background: rgba(139, 90, 60, 0.1);
}

.cv-question span:first-child {
    flex: 1;
}

.cv-icon {
    background: rgba(139, 90, 60, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #8b5a3c;
    transition: transform 0.3s ease;
}

.cv-question[aria-expanded="true"] .cv-icon {
    transform: rotate(45deg);
}

.cv-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.98);
}

.cv-answer.open {
    max-height: 1000px;
    padding: 1.5rem;
}

.cv-answer h4 {
    color: #8b5a3c;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.cv-answer p {
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cv-answer ul {
    color: #2d3748;
    margin-left: 1rem;
}

.cv-answer li {
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.expertise-grid,
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1rem 0;
}

.timeline {
    margin: 1rem 0;
}

.timeline-item {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid rgba(139, 90, 60, 0.3);
}

.timeline-item h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .expertise-grid,
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cv-interactive {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .cv-question {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

#contact {
    background: 
        linear-gradient(135deg, var(--section-copper-light) 0%, rgba(255,255,255,0.93) 100%); /* Dégradé 7% max */
    border: 1px solid var(--border-copper);
    box-shadow: 0 2px 10px rgba(139, 90, 60, 0.03);
    border-radius: 8px;
}

/* Section FAQ style Gracz */
#faq {
    background: 
        linear-gradient(135deg, var(--section-warm-light) 0%, rgba(255,255,255,0.93) 100%); /* Dégradé 7% max */
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(166, 115, 85, 0.15);
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 32px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.faq-question:hover {
    color: var(--copper);
}

.faq-question span:first-child {
    flex: 1;
    margin-right: 24px;
}

.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--copper);
    transition: transform 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(166, 115, 85, 0.1);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    background: var(--copper);
    color: white;
}

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

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 32px;
}

.faq-answer p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    padding-right: 56px;
}

/* Style inspiré de Petralithe avec overlays naturels */
.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(204, 139, 101, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(227, 220, 210, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.section > * {
    position: relative;
    z-index: 2;
}

.section h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin: 0 0 3rem;
    font-weight: 300;
    color: var(--text); /* Texte sombre pour fond clair */
    position: relative;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    width: 100%;
    
    /* Style Petralithe - espacement des lettres */
    word-spacing: 0.2em;
}

.section h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--copper), transparent);
    border-radius: 1px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.portrait {
    margin: 0;
    position: relative;
    z-index: 2;
}

.portrait img {
    width: 100%;
    height: auto;
    display: block !important;
    border-radius: 20px;
    border: 2px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 100%;
    object-fit: cover;
}

.portrait:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.bullets {
    padding-left: 0;
    list-style: none;
}

.bullets li {
    margin: 1rem 0;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.bullets li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--copper);
    font-weight: 600;
    font-size: 1.2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.card h3 {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    font-weight: 600;
    color: var(--text);
}

.card p {
    margin: 0 0 1rem;
    line-height: 1.6;
    color: var(--muted);
}

.price {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--copper);
    margin: 0;
}

/* Anciens styles du carousel supprimés - remplacés par projects-grid */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin: 2rem 0;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.02);
}

.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.muted {
    color: var(--muted);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

.small {
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

.site-footer {
    padding: 48px 20px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 80px;
}

.legal-links a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px dotted var(--border);
    transition: all 0.2s ease;
}

.legal-links a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.contact-inline-email {
    margin: 20px 0 16px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-phone {
    margin: 16px 0;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-inline-email a,
.contact-phone a {
    color: var(--copper);
    text-decoration: none;
    font-weight: 600;
}

.contact-inline-email a:hover,
.contact-phone a:hover {
    text-decoration: underline;
}

.recall-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0 32px;
    justify-content: center;
}

.recall-form input {
    flex: 1 1 300px;
    min-width: 300px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--surface);
}

.recall-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(63, 122, 107, 0.1);
}

.recall-form button {
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid var(--deep-green);
    background: var(--deep-green);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(0, 13, 10, 0.4);
}

.recall-form button:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    color: var(--warm-beige);
}

.tally-wrap {
    margin: 32px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    background: var(--surface);
    border: 2px solid var(--border-copper);
}

.tally-wrap iframe {
    width: 100%;
    height: 400px;
    background: var(--surface);
    border: none;
    border-radius: 14px;
    transform: scale(0.85);
    transform-origin: top left;
    width: 117.6%;
    height: 470px;
    margin: -35px -53px -70px -53px;
}

.legal-content {
    max-width: 900px;
    margin: 32px auto;
    padding: 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    color: var(--text);
    margin-bottom: 2rem;
}

.legal-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.legal-content strong {
    color: var(--primary);
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Formulaire de contact style Gracz */
.contact-intro {
    font-size: 1.2rem;
    color: var(--muted);
    text-align: center;
    margin: 2rem auto 3rem;
    max-width: 600px;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}

/* Zones d'intervention */
.intervention-zones {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 90, 60, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto 4rem;
    max-width: 700px;
    text-align: center;
}

.intervention-zones h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--copper);
    margin: 0 0 1.5rem 0;
}

.zones-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.zone-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--copper);
    color: white;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(139, 90, 60, 0.3);
    transition: all 0.3s ease;
}

.zone-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 90, 60, 0.4);
}

.zones-description {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 1rem 0 0 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .intervention-zones {
        padding: 1.5rem;
        margin: 2rem 1rem 3rem;
    }
    
    .zones-list {
        gap: 0.8rem;
    }
    
    .zone-badge {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}

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

.contact-label {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--copper);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-value:hover {
    color: var(--deep-green);
}

.linkedin-link svg {
    fill: #0077B5;
    transition: fill 0.2s ease;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.linkedin-link:hover svg {
    fill: var(--deep-green);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-beige);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(139, 90, 60, 0.3); /* Contour doré faible */
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(139, 90, 60, 0.7); /* Contour doré plus prononcé au focus */
    box-shadow: 0 0 0 3px rgba(139, 90, 60, 0.15); /* Ombre dorée au focus */
}

.form-group select {
    cursor: pointer;
    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='currentColor' 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 12px center;
    background-size: 16px;
    padding-right: 40px;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

.contact-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--deep-green);
    color: var(--warm-beige);
    border: 2px solid var(--deep-green);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-submit:hover {
    background: transparent;
    color: var(--deep-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 13, 10, 0.2);
}

/* Supprimer les anciens styles de contact */
.contact-inline-email,
.contact-phone,
.recall-form,
.tally-wrap {
    display: none;
}

/* Styles pour la lightbox des images de projets */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

/* Styles pour rendre les images cliquables dans la galerie */
.gallery img {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-nav.prev {
        left: -50px;
    }
    
    .lightbox-nav.next {
        right: -50px;
    }
    
    .lightbox-close {
        top: -50px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 12px 16px;
        gap: 16px;
        flex-wrap: wrap;
        transition: transform 0.3s ease-in-out;
        background: transparent !important;
    }
    
    /* Header disparaît complètement au scroll vers le bas */
    .nav.hidden-on-scroll {
        display: none !important;
    }
    
    .nav .logo {
        flex: 1 1 100%;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .nav a:not(.logo):not(.cta) {
        flex: 1 1 auto;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .nav .cta {
        order: 999;
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
    
    .hero {
        padding: 60px 16px 40px;
    }
    
    .section {
        margin: 60px auto;
        padding: 0 16px;
    }
    
    /* Désactiver la parallaxe en mobile pour éviter les chevauchements */
    #faq {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Justifier le texte des réponses FAQ */
    .accordion-body {
        text-align: justify;
    }
    
    /* Opacité 100% pour les cartes et modals mobiles */
    #projet-detail.mobile-modal-active {
        background: rgba(0, 0, 0, 1) !important;
    }
    
    #projet-detail.mobile-modal-active .project-detail-content {
        background: white !important;
        opacity: 1 !important;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .recall-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .recall-form input {
        min-width: auto;
    }
    
    .legal-content {
        padding: 32px 24px;
        margin: 16px;
    }
    
    .site-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .tally-wrap iframe {
        height: 600px;
    }
}