/* ========================================
   VARIABLES GLOBALES - MODIFIEZ ICI
   ======================================== */
:root {
    --couleur-primaire: #00a650;
    --couleur-secondaire: #7ed957;
    --couleur-accent: #004d25;
    --couleur-texte: #1a1a1a;
    --couleur-texte-clair: #666666;
    --couleur-fond: #ffffff;
    --couleur-fond-alt: #f8faf8;
    --transition-rapide: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-lente: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ombre-legere: 0 4px 12px rgba(0, 166, 80, 0.08);
    --ombre-moyenne: 0 8px 30px rgba(0, 166, 80, 0.15);
    --ombre-forte: 0 20px 60px rgba(0, 166, 80, 0.2);
    --glow-vert: 0 0 40px rgba(0, 166, 80, 0.3);
}

/* ========================================
   RESET ET BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--couleur-fond);
    color: var(--couleur-texte);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 2rem;
    transition: var(--transition-rapide);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--ombre-legere);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--couleur-texte);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-secondaire));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Menu Sandwich */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--couleur-texte);
    border-radius: 2px;
    transition: var(--transition-rapide);
    position: absolute;
}

.menu-toggle span:nth-child(1) {
    transform: translateY(-8px);
}

.menu-toggle span:nth-child(3) {
    transform: translateY(8px);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--couleur-texte);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-rapide);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--couleur-primaire), var(--couleur-secondaire));
    transition: var(--transition-rapide);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--couleur-primaire);
}

/* Bouton Contact Navigation */
.btn-contact-nav {
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-accent));
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-rapide);
    box-shadow: 0 4px 15px rgba(0, 166, 80, 0.3);
}

.btn-contact-nav::after {
    display: none !important;
}

.btn-contact-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 166, 80, 0.4);
}

/* ========================================
   SECTION HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 2rem 4rem;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    background: var(--couleur-fond-alt);
    color: var(--couleur-primaire);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(10, 132, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--couleur-texte);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-secondaire));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--couleur-texte-clair);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Boutons généraux */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-accent));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-rapide);
    box-shadow: 0 8px 30px rgba(0, 166, 80, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-lente);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 166, 80, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--couleur-texte);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-rapide);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: var(--couleur-primaire);
    color: var(--couleur-primaire);
    transform: translateY(-2px);
}

/* Image Hero - Imprimante / Spline Viewer */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual spline-viewer {
    width: 100%;
    max-width: 700px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
}

.printer-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Effets de fond */
.hero-bg-effect {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 6rem 2rem;
    background: var(--couleur-fond-alt);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--couleur-texte-clair);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--ombre-legere);
    transition: var(--transition-rapide);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--couleur-primaire), var(--couleur-secondaire));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-rapide);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-moyenne);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-secondaire));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--couleur-texte-clair);
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--couleur-texte);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-description {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .printer-image {
        max-width: 400px;
    }
    
    .hero-visual spline-viewer {
        max-width: 100%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: var(--ombre-forte);
        transition: var(--transition-rapide);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .hero {
        padding: 80px 1rem 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .features {
        padding: 4rem 1rem;
    }
}

/* ========================================
   ANIMATIONS UTILITAIRES
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ========================================
   ANIMATIONS AVANCÉES - SCROLL & HOVER
   ======================================== */

/* Particules flottantes */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--couleur-primaire);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; width: 8px; height: 8px; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; width: 12px; height: 12px; }
.particle:nth-child(3) { left: 35%; animation-delay: 4s; width: 6px; height: 6px; }
.particle:nth-child(4) { left: 50%; animation-delay: 1s; width: 14px; height: 14px; }
.particle:nth-child(5) { left: 65%; animation-delay: 3s; width: 10px; height: 10px; }
.particle:nth-child(6) { left: 80%; animation-delay: 5s; width: 8px; height: 8px; }
.particle:nth-child(7) { left: 90%; animation-delay: 2.5s; width: 16px; height: 16px; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Effet de scan futuriste */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--couleur-secondaire), transparent);
    opacity: 0.5;
    animation: scanLine 8s linear infinite;
    z-index: 3;
}

@keyframes scanLine {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* Icônes animées au hover */
.icon-animated {
    display: inline-block;
    transition: var(--transition-rapide);
}

.icon-animated:hover {
    transform: scale(1.2) rotate(10deg);
}

.feature-card:hover .icon-animated {
    animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Effet de typing pour le texte */
.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--couleur-primaire);
    white-space: nowrap;
    animation: typing 3s steps(40) forwards, blink 0.8s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Parallax effect */
.parallax {
    transition: transform 0.1s linear;
}

/* Glow effect au survol */
.glow-hover {
    transition: var(--transition-rapide);
}

.glow-hover:hover {
    box-shadow: var(--glow-vert);
}

/* Morphing button */
.btn-morph {
    position: relative;
    overflow: hidden;
}

.btn-morph::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-morph:hover::after {
    width: 300px;
    height: 300px;
}

/* Curseur personnalisé */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--couleur-primaire);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s, width 0.3s, height 0.3s;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(0, 166, 80, 0.1);
}

/* Ligne de progression au scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--couleur-primaire), var(--couleur-secondaire));
    z-index: 9999;
    transition: width 0.1s;
}

/* Counter animation */
.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--couleur-primaire);
}

/* Stats section */
.stats {
    padding: 4rem 2rem;
    background: var(--couleur-fond);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-secondaire));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--couleur-texte-clair);
    font-weight: 500;
}

/* Magnetic button effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Tech lines background */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 49.5%, rgba(0, 166, 80, 0.03) 49.5%, rgba(0, 166, 80, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(0, 166, 80, 0.03) 49.5%, rgba(0, 166, 80, 0.03) 50.5%, transparent 50.5%);
    background-size: 100px 100px;
    z-index: 0;
    animation: techLinesMove 20s linear infinite;
}

@keyframes techLinesMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Rotating icon */
.icon-rotate {
    animation: rotateIcon 10s linear infinite;
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Pulse effect */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 166, 80, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(0, 166, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 166, 80, 0); }
}

/* Tilt effect on cards */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Neon text effect */
.neon-text {
    text-shadow: 
        0 0 10px rgba(0, 166, 80, 0.5),
        0 0 20px rgba(0, 166, 80, 0.3),
        0 0 30px rgba(0, 166, 80, 0.2);
}

/* Loading spinner for buttons */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive pour les nouvelles animations */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
    
    .particle {
        opacity: 0.2;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   PAGE CONTACT / FORMULAIRE
   ======================================== */

/* Hero Contact */
.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 2rem 4rem;
    overflow: hidden;
}

.contact-hero-content {
    max-width: 800px;
    z-index: 10;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--couleur-texte);
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--couleur-texte-clair);
    line-height: 1.7;
}

/* Section formulaire */
.contact-form-section {
    padding: 4rem 2rem;
    background: var(--couleur-fond-alt);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--ombre-legere);
}

/* Sections du formulaire */
.form-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--couleur-texte);
}

.section-icon {
    font-size: 1.8rem;
}

/* Groupes de formulaire */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--couleur-texte);
    font-size: 0.95rem;
}

/* Inputs généraux */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-rapide);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--couleur-primaire);
    box-shadow: 0 0 0 3px rgba(0, 166, 80, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Upload de fichiers */
.file-upload-area {
    margin-top: 1rem;
    position: relative;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: block;
    padding: 3rem 2rem;
    border: 2px dashed rgba(0, 166, 80, 0.3);
    border-radius: 16px;
    background: rgba(0, 166, 80, 0.02);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-rapide);
}

.file-upload-label:hover {
    border-color: var(--couleur-primaire);
    background: rgba(0, 166, 80, 0.05);
}

.file-upload-area.drag-over .file-upload-label {
    border-color: var(--couleur-primaire);
    background: rgba(0, 166, 80, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--couleur-texte);
}

.upload-formats {
    font-size: 0.9rem;
    color: var(--couleur-texte-clair);
    line-height: 1.6;
}

/* Liste des fichiers uploadés */
.file-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--couleur-fond-alt);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.file-icon {
    font-size: 1.5rem;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: var(--couleur-texte);
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.file-size {
    font-size: 0.85rem;
    color: var(--couleur-texte-clair);
}

.file-remove {
    background: transparent;
    border: none;
    color: #ff3b30;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition-rapide);
}

.file-remove:hover {
    background: rgba(255, 59, 48, 0.1);
}

/* Checkboxes personnalisées */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-rapide);
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.checkbox-label:hover {
    background: var(--couleur-fond-alt);
    border-color: var(--couleur-primaire);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    position: relative;
    transition: var(--transition-rapide);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--couleur-primaire);
    border-color: var(--couleur-primaire);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Bouton de soumission */
.form-actions {
    text-align: center;
    padding-top: 2rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-accent));
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-rapide);
    box-shadow: 0 8px 30px rgba(0, 166, 80, 0.3);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 166, 80, 0.4);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit.btn-loading .btn-text {
    opacity: 0.7;
}

.form-notice {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--couleur-texte-clair);
}

/* Messages de succès/erreur */
.form-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
    border: 2px solid #34c759;
}

.form-message.error {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 2px solid #ff3b30;
}

/* Infos complémentaires */
.contact-info {
    padding: 4rem 2rem;
    background: white;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: var(--couleur-fond-alt);
    transition: var(--transition-rapide);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-legere);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--couleur-texte);
}

.info-card p {
    color: var(--couleur-texte-clair);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   CONFIGURATEUR DE DEVIS AVANCÉ
   ======================================== */

/* Estimateur de prix flottant */
.price-estimator-sidebar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: white;
    border-radius: 16px;
    box-shadow: var(--ombre-forte);
    max-width: 280px;
    transition: var(--transition-rapide);
}

.price-compact {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-accent));
    border-radius: 16px;
    color: white;
}

.price-label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    transition: var(--transition-rapide);
}

.price-amount.price-update {
    animation: pricePopular 0.3s ease;
}

@keyframes pricePopular {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.price-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-rapide);
}

.price-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.price-estimator-sidebar.expanded .price-toggle svg {
    transform: rotate(180deg);
}

.price-detail {
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    color: var(--couleur-texte-clair);
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.price-estimator-sidebar.expanded .price-detail {
    max-height: 200px;
}

/* Sélecteur de matériau discret */
.material-selector {
    max-width: 600px;
}

.selector-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--couleur-texte);
    font-size: 1rem;
}

.custom-select-material {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0, 166, 80, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    cursor: pointer;
    transition: var(--transition-rapide);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300a650' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

.custom-select-material:focus {
    outline: none;
    border-color: var(--couleur-primaire);
    box-shadow: 0 0 0 3px rgba(0, 166, 80, 0.1);
}

.material-info-box {
    margin-top: 1rem;
    padding: 1.25rem;
    background: var(--couleur-fond-alt);
    border-radius: 12px;
    border-left: 4px solid var(--couleur-primaire);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.material-info-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--couleur-primaire);
}

.material-info-box p {
    color: var(--couleur-texte-clair);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.info-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.info-specs .spec-badge {
    background: rgba(0, 166, 80, 0.15);
    color: var(--couleur-primaire);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive sidebar */
@media (max-width: 768px) {
    .price-estimator-sidebar {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .price-compact {
        flex-wrap: wrap;
    }
}

/* Formulaire de quotation */
.quotation-form {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* Sections de configuration */
.config-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: var(--ombre-legere);
    position: relative;
    overflow: hidden;
}

.config-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--couleur-primaire), var(--couleur-secondaire));
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--couleur-texte);
}

.step-number {
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-secondaire));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

/* Grille de matériaux */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.material-card {
    background: var(--couleur-fond-alt);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-rapide);
    border: 3px solid transparent;
    position: relative;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-moyenne);
}

.material-card.selected {
    border-color: var(--couleur-primaire);
    box-shadow: var(--glow-vert);
}

.material-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--couleur-primaire);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.material-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.material-info {
    padding: 1.5rem;
}

.material-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--couleur-texte);
}

.material-rating {
    color: #f1c40f;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.material-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.spec-badge {
    background: rgba(0, 166, 80, 0.1);
    color: var(--couleur-primaire);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.material-desc {
    color: var(--couleur-texte-clair);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.material-price {
    font-weight: 700;
    color: var(--couleur-primaire);
    font-size: 1.1rem;
}

/* Settings grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.setting-card {
    background: var(--couleur-fond-alt);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.setting-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--couleur-texte);
}

.setting-desc {
    font-size: 0.85rem;
    color: var(--couleur-texte-clair);
    line-height: 1.5;
    margin-top: 0.75rem;
}

/* Slider personnalisé */
.slider-container {
    position: relative;
    margin: 1rem 0;
}

.custom-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(0, 166, 80, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--couleur-primaire);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 166, 80, 0.3);
    transition: var(--transition-rapide);
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.custom-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--couleur-primaire);
    cursor: pointer;
    border: none;
}

.slider-value {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--couleur-primaire);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.infill-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--couleur-texte-clair);
    padding: 0.25rem 0.75rem;
    background: rgba(0, 166, 80, 0.1);
    border-radius: 20px;
}

/* Infill visual */
.setting-visual {
    margin: 1rem 0;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.infill-preview {
    width: 100%;
    height: 100%;
    transition: var(--transition-rapide);
}

/* Select personnalisé */
.custom-select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    cursor: pointer;
    transition: var(--transition-rapide);
}

.custom-select:focus {
    outline: none;
    border-color: var(--couleur-primaire);
    box-shadow: 0 0 0 3px rgba(0, 166, 80, 0.1);
}

/* Grille de couleurs */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.color-option {
    height: 100px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
    transition: var(--transition-rapide);
    position: relative;
    overflow: hidden;
}

.color-option:hover {
    transform: scale(1.05);
}

.color-option.selected {
    box-shadow: 0 0 0 4px var(--couleur-primaire);
}

.color-option.selected::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    color: var(--couleur-primaire);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.color-name {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Dimensions input */
.dimensions-input {
    max-width: 600px;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--couleur-texte);
}

.custom-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-rapide);
}

.custom-input:focus {
    outline: none;
    border-color: var(--couleur-primaire);
    box-shadow: 0 0 0 3px rgba(0, 166, 80, 0.1);
}

.input-help {
    font-size: 0.85rem;
    color: var(--couleur-texte-clair);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* Grille de finitions */
.finishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.finish-card {
    background: var(--couleur-fond-alt);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-rapide);
    border: 3px solid transparent;
    position: relative;
}

.finish-card input[type="checkbox"] {
    display: none;
}

.finish-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ombre-legere);
}

.finish-card.selected {
    border-color: var(--couleur-primaire);
    background: rgba(0, 166, 80, 0.05);
}

.finish-content {
    text-align: center;
}

.finish-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.finish-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--couleur-texte);
}

.finish-card p {
    font-size: 0.85rem;
    color: var(--couleur-texte-clair);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.finish-price {
    font-weight: 700;
    color: var(--couleur-primaire);
    font-size: 1.1rem;
}

/* Unknown option */
.unknown-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 166, 80, 0.05);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-rapide);
    margin-top: 2rem;
}

.unknown-option:hover {
    background: rgba(0, 166, 80, 0.1);
}

.unknown-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Contact fields */
.contact-fields {
    max-width: 800px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.field-group {
    margin-bottom: 1.5rem;
}

.field-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--couleur-texte);
}

.custom-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: var(--transition-rapide);
}

.custom-textarea:focus {
    outline: none;
    border-color: var(--couleur-primaire);
    box-shadow: 0 0 0 3px rgba(0, 166, 80, 0.1);
}

/* Bouton de soumission */
.btn-submit-quote {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-accent));
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-rapide);
    box-shadow: 0 10px 40px rgba(0, 166, 80, 0.3);
}

.btn-submit-quote:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 166, 80, 0.4);
}

.btn-submit-quote:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive pour configurateur */
@media (max-width: 1024px) {
    .material-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-estimator {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .config-section {
        padding: 2rem 1.5rem;
    }
    
    .material-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .color-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .finishes-grid {
        grid-template-columns: 1fr;
    }
    
    .field-row {
        grid-template-columns: 1fr;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-submit-quote {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   PAGE CONTACT SIMPLE
   ======================================== */

/* Section "Pourquoi nous contacter" */
.why-contact {
    padding: 4rem 2rem;
    background: var(--couleur-fond);
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--couleur-fond-alt);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-rapide);
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--couleur-primaire);
    box-shadow: var(--ombre-legere);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--couleur-texte);
}

.why-card p {
    color: var(--couleur-texte-clair);
    line-height: 1.6;
}

/* Formulaire simple */
.simple-contact-section {
    padding: 4rem 2rem;
    background: var(--couleur-fond-alt);
}

.simple-contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.simple-contact-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--ombre-legere);
}

.simple-form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.simple-form-section:last-of-type {
    border-bottom: none;
}

.simple-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--couleur-texte);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon-inline {
    font-size: 1.5rem;
}

.simple-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.simple-form-group {
    margin-bottom: 1.5rem;
}

.simple-form-group:last-child {
    margin-bottom: 0;
}

.simple-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--couleur-texte);
}

.simple-input,
.simple-select,
.simple-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-rapide);
    background: white;
}

.simple-input:focus,
.simple-select:focus,
.simple-textarea:focus {
    outline: none;
    border-color: var(--couleur-primaire);
    box-shadow: 0 0 0 3px rgba(0, 166, 80, 0.1);
}

.simple-textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--couleur-texte-clair);
    margin-top: 0.5rem;
}

/* Upload fichiers simple */
.simple-file-upload-area {
    margin-top: 1rem;
}

.simple-file-input {
    display: none;
}

.simple-file-upload-label {
    display: block;
    padding: 2rem;
    border: 2px dashed rgba(0, 166, 80, 0.3);
    border-radius: 12px;
    background: rgba(0, 166, 80, 0.02);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-rapide);
}

.simple-file-upload-label:hover {
    border-color: var(--couleur-primaire);
    background: rgba(0, 166, 80, 0.05);
}

.simple-file-upload-area.drag-over .simple-file-upload-label {
    border-color: var(--couleur-primaire);
    background: rgba(0, 166, 80, 0.1);
}

.simple-upload-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.simple-upload-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--couleur-texte);
}

.simple-upload-formats {
    font-size: 0.85rem;
    color: var(--couleur-texte-clair);
}

.simple-file-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.simple-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--couleur-fond-alt);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Bouton d'envoi simple */
.simple-form-actions {
    text-align: center;
    padding-top: 1rem;
}

.btn-submit-simple {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--couleur-primaire), var(--couleur-accent));
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-rapide);
    box-shadow: 0 8px 30px rgba(0, 166, 80, 0.3);
}

.btn-submit-simple:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 166, 80, 0.4);
}

.btn-submit-simple:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.simple-form-notice {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--couleur-texte-clair);
}

.simple-form-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.simple-form-message.success {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
    border: 2px solid #34c759;
}

.simple-form-message.error {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 2px solid #ff3b30;
}

/* Infos de contact directes */
.direct-contact-info {
    padding: 4rem 2rem;
    background: white;
}

.direct-info-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.direct-info-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--couleur-texte);
}

.direct-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.direct-info-card {
    padding: 2rem;
    background: var(--couleur-fond-alt);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-rapide);
    border: 2px solid transparent;
}

.direct-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--couleur-primaire);
    box-shadow: var(--ombre-legere);
}

.direct-info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.direct-info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--couleur-texte);
}

.direct-info-card p {
    color: var(--couleur-primaire);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive contact simple */
@media (max-width: 768px) {
    .simple-contact-form {
        padding: 2rem 1.5rem;
    }
    
    .simple-form-row {
        grid-template-columns: 1fr;
    }
    
    .btn-submit-simple {
        width: 100%;
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .direct-info-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   PATCH MOBILE AMÉLIORÉ - À ajouter à la fin
   ======================================== */

/* Améliorations globales mobile */
@media (max-width: 768px) {
    /* Navigation - amélioration */
    .navbar {
        padding: 0.75rem 1.5rem;
    }
    
    .nav-links {
        padding-top: 80px;
        overflow-y: auto;
    }
    
    .nav-links a {
        padding: 0.875rem 0;
        font-size: 1.1rem;
    }
    
    /* Hero section - meilleure lisibilité */
    .hero {
        padding: 100px 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .printer-image {
        max-width: 280px;
    }
    
    /* Stats - grille 2x2 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Features - une colonne */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    /* Estimateur de prix - NE BLOQUE PLUS */
    .price-estimator-sidebar {
        position: fixed !important;
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        max-width: none !important;
        z-index: 998 !important;
    }
    
    .price-estimator-sidebar.expanded {
        max-height: 45vh !important;
        overflow-y: auto !important;
    }
    
    .price-compact {
        padding: 0.875rem 1rem !important;
    }
    
    .price-amount {
        font-size: 1.3rem !important;
    }
    
    .price-toggle {
        flex-shrink: 0;
    }
    
    .price-detail {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    /* Formulaire devis - sections */
    .config-section {
        padding: 1.75rem 1.25rem !important;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Sélecteurs et inputs */
    .custom-select-material,
    .simple-input,
    .simple-select {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Sliders - PLUS MANIPULABLES */
    .custom-slider {
        height: 8px !important;
        margin: 1.5rem 0;
    }
    
    .custom-slider::-webkit-slider-thumb {
        width: 24px !important;
        height: 24px !important;
    }
    
    .custom-slider::-moz-range-thumb {
        width: 24px !important;
        height: 24px !important;
    }
    
    .slider-value {
        font-size: 1.1rem;
    }
    
    /* Grilles couleurs - plus espacées */
    .color-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .color-option {
        width: 50px !important;
        height: 50px !important;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Finitions - mieux espacées */
    .finishes-grid,
    .deadline-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .finish-item,
    .deadline-item {
        padding: 1rem;
    }
    
    .finish-item label,
    .deadline-item label {
        font-size: 0.95rem;
    }
    
    /* Upload fichiers */
    .file-upload-label,
    .simple-file-upload-label {
        padding: 2rem 1.5rem;
    }
    
    .upload-text,
    .simple-upload-text {
        font-size: 0.95rem;
    }
    
    /* Boutons soumission - full width */
    .btn-submit-quote,
    .btn-submit-simple {
        width: 100% !important;
        justify-content: center !important;
        padding: 1.125rem 2rem;
        font-size: 1rem;
    }
    
    /* Material info box */
    .material-info-box {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Contact simple */
    .simple-contact-form {
        padding: 1.75rem 1.25rem !important;
    }
    
    .simple-section-title {
        font-size: 1.25rem;
    }
    
    .simple-textarea {
        font-size: 0.95rem;
        min-height: 120px;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.3rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
}

/* Mobile très petit (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .color-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .color-option {
        width: 45px !important;
        height: 45px !important;
    }
    
    .config-section {
        padding: 1.5rem 1rem !important;
    }
    
    .section-title {
        font-size: 1.2rem !important;
    }
}

/* Mode paysage mobile - ajustements */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 90px 1.5rem 2rem;
    }
    
    .nav-links {
        padding-top: 60px;
    }
    
    .price-estimator-sidebar {
        position: relative !important;
        margin: 1rem;
        bottom: auto !important;
    }
}

/* Désactiver effets hover sur tactile */
@media (hover: none) and (pointer: coarse) {
    .tilt-card:hover,
    .magnetic:hover {
        transform: none !important;
    }
    
    .custom-cursor {
        display: none !important;
    }
}