/* ==========================================================================
   L'ATELIER CRÉATION - RENNES
   Design System: Raw Elegance & Minimalist Wabi-Sabi
   ========================================================================== */

/* ─── VARIABLES & DESIGN TOKENS ─── */
:root {
    --bg-stone: #f5efeb;      /* Ivoire Sablé chaud / Lin écru */
    --bg-white: #ffffff;
    --bg-input: #fbf9f7;
    
    --primary: #1e221e;       /* Charbon de Bois */
    --primary-light: #323832;
    --secondary: #c27e63;     /* Terre Cuite / Argile */
    --secondary-dark: #aa654b;
    --accent: #d9a66c;        /* Laiton Doré sablé */
    --text-dark: #1e221e;
    --text-muted: #6b6a65;
    --text-light: #f5efeb;
    
    --border-color: rgba(30, 34, 30, 0.08);
    --border-gold: rgba(217, 166, 108, 0.3);
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #0d0f0d 100%);
    --gradient-clay: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    
    --shadow-sm: 0 4px 15px rgba(30, 34, 30, 0.03);
    --shadow-md: 0 10px 30px rgba(30, 34, 30, 0.05);
    --shadow-lg: 0 20px 45px rgba(30, 34, 30, 0.08);
    
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-round: 50%;
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease;
    
    --font-title: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* ─── RESET & BASE STYLES ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-stone);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-stone);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

::selection {
    background: var(--secondary);
    color: var(--text-light);
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.2rem);
    font-weight: 300;
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-align: center;
    position: relative;
    margin-bottom: 12px;
    text-transform: capitalize;
}
h2::after {
    content: '✧';
    display: block;
    font-size: 1.4rem;
    color: var(--secondary);
    margin-top: 6px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    font-style: italic;
}

.section-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(80px, 12vw, 120px) 0;
    position: relative;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(30, 34, 30, 0.12);
}
.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(194, 126, 99, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid rgba(30, 34, 30, 0.25);
}
.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
    background: rgba(194, 126, 99, 0.02);
}

/* ─── HEADER & NAVIGATION ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(245, 239, 235, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(30, 34, 30, 0.04);
    transition: var(--transition);
}
header.scrolled {
    padding: 14px 0;
    background: rgba(245, 239, 235, 0.98);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 1px;
}
.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 1px;
    transition: var(--transition-fast);
    padding: 6px 0;
}
.nav-links a:hover {
    color: var(--secondary);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--text-light) !important;
    padding: 8px 22px !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
}
.nav-cta:hover {
    background: var(--secondary) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--text-dark);
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO SECTION ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(194, 126, 99, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(217, 166, 108, 0.04) 0%, transparent 40%),
                var(--bg-stone);
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}
.hero h1 span {
    display: block;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 5px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual Box */
.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
.hero-visual-inner {
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    position: relative;
    background: linear-gradient(135deg, rgba(194, 126, 99, 0.02) 0%, rgba(217, 166, 108, 0.01) 100%);
}
.hero-visual-decor {
    font-size: 4.5rem;
    filter: drop-shadow(0 4px 10px rgba(194, 126, 99, 0.2));
    margin-bottom: 20px;
}
.hero-visual-inner h3 {
    font-size: 2.2rem;
    margin-bottom: 6px;
    font-weight: 300;
}
.hero-visual-inner p {
    font-family: var(--font-title);
    font-style: italic;
    color: var(--secondary);
    font-size: 1.1rem;
    margin: 0;
}
.hero-location-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-stone);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ─── SAVOIR FAIRE (STORY) ─── */
.story {
    background: var(--bg-white);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.story-content {
    max-width: 720px;
    margin: 0 auto;
}
.story-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.85;
    font-weight: 300;
}

/* ─── COLLECTION (PRODUCTS) ─── */
.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.produit-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.produit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}
.produit-img-placeholder {
    height: 250px;
    background: linear-gradient(135deg, rgba(245, 239, 235, 0.4) 0%, rgba(240, 232, 220, 0.8) 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    cursor: pointer;
}
.produit-info {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.produit-info h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-weight: 400;
}
.produit-info .price {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 600;
    margin: 8px 0 12px;
}
.produit-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    flex-grow: 1;
}
.produit-details-btn {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-fast);
    cursor: pointer;
}
.produit-details-btn:hover {
    color: var(--secondary);
}

/* ─── SIMULATEUR DE COMMISSION SUR-MESURE ─── */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

.calculator-form {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.sim-label {
    font-family: var(--font-title);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: block;
}

.sim-category-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}
.sim-category-item {
    background: var(--bg-stone);
    border: 1px solid var(--border-color);
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.85rem;
}
.sim-category-item:hover {
    border-color: rgba(30,34,30,0.2);
}
.sim-category-item.active {
    border-color: var(--secondary);
    background: rgba(194, 126, 99, 0.03);
    color: var(--text-dark);
}
.sim-category-item h5 {
    font-family: var(--font-body);
    font-weight: 500;
    margin-top: 4px;
}
.sim-category-item .icon {
    font-size: 1.5rem;
}

/* Select Material dropdown */
.sim-dropdown-group {
    margin-bottom: 24px;
}
.sim-select {
    width: 100%;
    background: var(--bg-stone);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231e221e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

/* Slider Complexity */
.sim-slider-wrapper {
    background: var(--bg-stone);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 30px;
}
.sim-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.sim-slider-title h5 {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
}
.sim-slider-title p {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.sim-complexity-badge {
    background: var(--primary);
    color: var(--text-light);
    font-family: var(--font-title);
    font-size: 1.1rem;
    padding: 2px 12px;
    border-radius: 2px;
}
.sim-slider-control {
    display: flex;
    align-items: center;
    gap: 16px;
}
.sim-range-input {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(30, 34, 30, 0.12);
    outline: none;
}
.sim-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}
.sim-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Calculator Summary Box */
.sim-summary-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--secondary);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 110px;
}
.sim-summary-box h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(30, 34, 30, 0.05);
    padding-bottom: 12px;
}
.sim-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.sim-summary-line.art {
    color: var(--text-dark);
    font-weight: 500;
}
.sim-summary-divider {
    border-top: 1px dashed rgba(30, 34, 30, 0.1);
    margin: 20px 0;
}
.sim-total-display {
    text-align: center;
    margin: 30px 0;
}
.sim-total-price {
    font-family: var(--font-title);
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--primary);
}
.sim-total-price span {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
}
.sim-delay-display {
    font-size: 0.85rem;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}
.sim-book-btn {
    width: 100%;
}

/* ─── LIGHTBOX DRAWER (PRODUCT DETAILS) ─── */
.lightbox-drawer {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; max-width: 500px;
    height: 100vh;
    background: var(--bg-white);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    overflow-y: auto;
    padding: 50px 40px;
}
.lightbox-drawer.active {
    right: 0;
}
.drawer-close {
    position: absolute;
    top: 20px; left: 30px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}
.drawer-close:hover {
    color: var(--secondary);
}
.drawer-header {
    margin-bottom: 24px;
    margin-top: 20px;
}
.drawer-header span {
    font-size: 0.72rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}
.drawer-header h3 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-top: 4px;
}
.drawer-price {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 24px;
}
.drawer-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    background: var(--bg-stone);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 30px;
}
.meta-item h5 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.meta-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}
.drawer-desc h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}
.drawer-desc p {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Boutique Stock Checker Widget inside drawer */
.stock-checker-box {
    background: var(--bg-stone);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 30px;
}
.stock-checker-box h5 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.stock-select {
    width: 100%;
    padding: 10px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    outline: none;
    margin-bottom: 12px;
}
.stock-status-result {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    min-height: 24px;
}
.stock-dot {
    width: 8px; height: 8px;
    border-radius: var(--radius-round);
}
.stock-dot.green { background: #00ffaa; }
.stock-dot.orange { background: #ffaa00; }
.stock-dot.red { background: #ff3c3c; }

.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Blur overlay */
.drawer-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(30, 34, 30, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ─── FAQ INTERACTIVE ACCORDIONS ─── */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active {
    border-color: rgba(194, 126, 99, 0.3);
    box-shadow: var(--shadow-sm);
}
.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    outline: none;
}
.faq-trigger h3 {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--text-dark);
}
.faq-icon-box {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-icon-box::before, .faq-icon-box::after {
    content: '';
    position: absolute;
    background: var(--text-muted);
    transition: var(--transition-fast);
}
.faq-icon-box::before {
    width: 12px; height: 1px;
}
.faq-icon-box::after {
    width: 1px; height: 12px;
}
.faq-item.active .faq-icon-box::before {
    background: var(--secondary);
}
.faq-item.active .faq-icon-box::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.faq-content {
    padding: 0 30px 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
}

/* ─── CONTACT & FORM ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: start;
}
.contact-info-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(30, 34, 30, 0.05);
    padding-bottom: 12px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon-box {
    width: 38px;
    height: 38px;
    background: rgba(194, 126, 99, 0.05);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}
.contact-details h4 {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}
.contact-details p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
}

.crafts-badge {
    background: var(--bg-stone);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-top: 30px;
    border-left: 2px solid var(--secondary);
}
.crafts-badge h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--secondary-dark);
    margin-bottom: 6px;
}
.crafts-badge p {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Form Panel */
.contact-form-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.contact-form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}
.form-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    outline: none;
}
.form-input:focus {
    border-color: var(--primary);
    background: var(--bg-white);
}
textarea.form-input {
    min-height: 110px;
    resize: vertical;
}

/* Prefill badge information */
.form-prefill-badge {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(194, 126, 99, 0.08);
    border: 1px solid var(--secondary);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--secondary-dark);
    animation: fadeIn 0.3s ease;
}
.form-prefill-badge-close {
    margin-left: auto;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-muted);
}

/* ─── FOOTER ─── */
footer {
    background: #151815;
    color: #8c928c;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(30, 34, 30, 0.05);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.footer-top .logo {
    color: var(--text-light);
}
.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.footer-links a {
    color: #8c928c;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-fast);
}
.footer-links a:hover {
    color: var(--secondary);
}
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 30px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 300;
}
.footer-bottom strong {
    color: var(--secondary);
    font-weight: 400;
}
.footer-bottom a {
    color: #8c928c;
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-bottom a:hover {
    color: var(--text-light);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero h1 {
        margin: 0 auto 24px;
    }
    .hero p {
        margin: 0 auto 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        max-width: 440px;
        margin: 0 auto;
        aspect-ratio: 4/3;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    .sim-summary-box {
        position: static;
        top: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(245, 239, 235, 0.99);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 999;
    }
    .nav-links.active {
        right: 0;
    }
    .hamburger {
        display: flex;
    }
    
    .produits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero {
        padding-top: 100px;
    }
    .sim-category-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    .produits-grid {
        grid-template-columns: 1fr;
    }
    .calculator-form, .contact-info-panel, .contact-form-panel {
        padding: 24px 16px;
    }
    .lightbox-drawer {
        padding: 40px 20px;
    }
}
