/* ============================================
   COUCHE PAR COUCHE — Design System
   Style: Dark Editorial / Tech Futuriste
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,600;0,700;1,600&family=DM+Sans:wght@300;400;500&display=swap');

/* === VARIABLES === */
:root {
    --lime:        #D4F656;
    --lime-dim:    #b8d93e;
    --dark-green:  #1D6A48;
    --teal:        #3ECFCF;
    --dark:        #07090A;
    --dark-2:      #0D1410;
    --dark-3:      #131f17;
    --dark-card:   #0f1c13;
    --border:      rgba(212, 246, 86, 0.15);
    --border-dim:  rgba(255,255,255,0.07);
    --white:       #EFF9EB;
    --gray:        #5a7a62;
    --gray-light:  #94b09a;
    --font-head:   'Chakra Petch', monospace;
    --font-body:   'DM Sans', sans-serif;
    --radius:      12px;
    --radius-lg:   20px;
    --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background-color: var(--dark);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
}

/* === NOISE TEXTURE OVERLAY === */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }

/* === HEADER === */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 72px;
    background: rgba(7, 9, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dim);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo {
    height: 42px;
    width: 42px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-container h1 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
}

.logo-container h1 a {
    color: var(--white) !important;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

nav ul li a {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-light);
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--lime);
    background: rgba(212, 246, 86, 0.08);
}

.nav-cta a {
    background: var(--lime) !important;
    color: var(--dark) !important;
    font-weight: 700 !important;
}

.nav-cta a:hover {
    background: var(--lime-dim) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 246, 86, 0.3);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 5% 80px;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(29, 106, 72, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 70%, rgba(62, 207, 207, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(212, 246, 86, 0.04) 0%, transparent 80%);
    animation: heroBgPulse 8s ease-in-out infinite alternate;
}

@keyframes heroBgPulse {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 246, 86, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 246, 86, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 100%, black 40%, transparent 80%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 246, 86, 0.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 18px;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 28px;
    width: fit-content;
    animation: fadeUp 0.8s ease forwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--lime);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 32px;
    animation: fadeUp 0.8s 0.1s ease both;
}

.hero h1 .accent {
    color: var(--lime);
    font-style: italic;
    display: block;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 540px;
    margin-bottom: 44px;
    font-weight: 300;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    right: 5%;
    font-family: var(--font-head);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeUp 0.8s 0.4s ease both;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gray), transparent);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === TICKER MARQUEE === */
.ticker {
    background: var(--lime);
    color: var(--dark);
    padding: 14px 0;
    overflow: hidden;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ticker-inner {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
}

.ticker-item::after {
    content: '◆';
    font-size: 0.6rem;
    opacity: 0.5;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* === SECTIONS === */
.section {
    padding: 100px 5%;
}

.section-label {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--lime);
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-title .accent { color: var(--lime); }

/* === SERVICES SPLIT === */
.services-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border-dim);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-block {
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.service-block:hover { filter: brightness(1.05); }

.service-block.resine {
    background: var(--dark-3);
}

.service-block.fdm {
    background: var(--dark-2);
}

.service-block-icon {
    font-size: 3.5rem;
    margin-bottom: 28px;
    display: block;
    line-height: 1;
}

.service-block-tag {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 20px;
}

.resine .service-block-tag {
    background: rgba(62, 207, 207, 0.15);
    color: var(--teal);
    border: 1px solid rgba(62, 207, 207, 0.3);
}

.fdm .service-block-tag {
    background: rgba(212, 246, 86, 0.1);
    color: var(--lime);
    border: 1px solid var(--border);
}

.service-block h3 {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.service-block p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.service-spec-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray-light);
    font-family: var(--font-head);
}

.service-spec-list li::before {
    content: '→';
    color: var(--lime);
    font-size: 0.9rem;
}

.service-block-bg {
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 10rem;
    opacity: 0.03;
    pointer-events: none;
    font-family: var(--font-head);
    font-weight: 700;
}

/* === STATS BAND === */
.stats-band {
    padding: 70px 5%;
    background: var(--dark-3);
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-dim);
}

.stat-number {
    font-family: var(--font-head);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--lime);
    display: block;
}

.stat-unit {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 300;
}

.stat-label {
    font-family: var(--font-head);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 10px;
    display: block;
}

/* === GALLERY PREVIEW === */
.gallery-preview {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.gallery-preview-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--dark-3);
    cursor: pointer;
}

.gallery-preview-item:first-child {
    grid-row: span 2;
    min-height: 480px;
}

.gallery-preview-item:not(:first-child) {
    min-height: 225px;
}

.gallery-preview-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-card) 100%);
    transition: var(--transition);
}

.gallery-preview-item:hover .gallery-preview-placeholder {
    transform: scale(1.05);
}

.gallery-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,9,10,0.9) 0%, transparent 60%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.gallery-preview-item:hover .gallery-preview-overlay { opacity: 1; }

.gallery-preview-overlay h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    margin-bottom: 4px;
}

.gallery-preview-overlay p {
    font-size: 0.8rem;
    color: var(--gray-light);
}

/* === CTA BAND === */
.cta-band {
    background: var(--lime);
    padding: 80px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.03em;
    max-width: 600px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--lime);
    color: var(--dark);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 246, 86, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
    border-color: var(--lime);
    color: var(--lime);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: var(--lime);
}

.btn-dark:hover {
    background: var(--dark-2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-arrow::after { content: ' →'; }

/* === PAGE HERO (inner pages) === */
.page-hero {
    padding: 80px 5% 60px;
    background: var(--dark-2);
    border-bottom: 1px solid var(--border-dim);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(29,106,72,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.page-hero h1 span { color: var(--lime); }

.page-hero p {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 500px;
}

/* === SERVICES PAGE CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card.teal-accent::before { background: var(--teal); }

.service-card:hover {
    border-color: var(--border);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: block;
}

.service-card h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.service-card .specs {
    background: rgba(212, 246, 86, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 20px;
    font-family: var(--font-head);
    font-size: 0.82rem;
}

.service-card .specs p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: var(--gray-light);
    border-bottom: 1px solid var(--border-dim);
}

.service-card .specs p:last-child { border-bottom: none; }

.service-card .specs p strong {
    color: var(--lime);
    font-weight: 600;
}

.service-card.teal-accent .specs {
    background: rgba(62, 207, 207, 0.06);
    border-color: rgba(62, 207, 207, 0.2);
}

.service-card.teal-accent .specs p strong { color: var(--teal); }

.service-card p.desc {
    color: var(--gray-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.badge {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(212, 246, 86, 0.1);
    color: var(--lime);
    border: 1px solid var(--border);
}

.badge.teal {
    background: rgba(62, 207, 207, 0.1);
    color: var(--teal);
    border-color: rgba(62,207,207,0.25);
}

/* === GALLERY FULL === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--dark-card);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-dim);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.gallery-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-card) 100%);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,246,86,0.05) 0%, rgba(62,207,207,0.05) 100%);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.04);
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.gallery-info p {
    font-size: 0.82rem;
    color: var(--gray);
}

.gallery-type {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: var(--font-head);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}

.gallery-type.resine {
    background: rgba(62,207,207,0.2);
    color: var(--teal);
    border: 1px solid rgba(62,207,207,0.4);
}

.gallery-type.fdm {
    background: rgba(212,246,86,0.15);
    color: var(--lime);
    border: 1px solid rgba(212,246,86,0.3);
}

/* === DEVIS FORM === */
.devis-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}

.devis-form { width: 100%; }

.form-section {
    background: var(--dark-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 20px;
}

.form-section h2 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--white);
    padding-bottom: 16px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-dim);
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section h2 .step-num {
    width: 28px;
    height: 28px;
    background: var(--lime);
    color: var(--dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.form-section label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-light);
}

.form-section > div { margin-bottom: 24px; }
.form-section > div:last-child { margin-bottom: 0; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row > div { margin-bottom: 0 !important; }

input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--dark-2);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

input::placeholder, textarea::placeholder {
    color: var(--gray);
    font-size: 0.88rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--lime);
    background: var(--dark-3);
    box-shadow: 0 0 0 3px rgba(212, 246, 86, 0.08);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a7a62' fill='none' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
    cursor: pointer;
}

select option {
    background: var(--dark-2);
    color: var(--white);
}

textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.file-upload {
    border: 2px dashed rgba(212, 246, 86, 0.2);
    padding: 36px 24px;
    border-radius: var(--radius);
    background: rgba(212, 246, 86, 0.02);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.file-upload:hover {
    border-color: rgba(212, 246, 86, 0.5);
    background: rgba(212, 246, 86, 0.05);
}

.file-upload-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }

.file-upload label {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    display: block;
    margin-bottom: 8px;
}

.file-upload input[type="file"] {
    width: auto;
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 0.8rem;
    padding: 8px;
    cursor: pointer;
}

.file-upload p {
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 10px;
}

.files-selected {
    list-style: none;
    padding: 16px;
    background: var(--dark-2);
    border-radius: var(--radius);
    border: 1px solid var(--border-dim);
    margin-top: 16px;
}

.files-selected li {
    padding: 8px 4px;
    color: var(--gray-light);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-dim);
    font-family: var(--font-head);
}

.files-selected li:last-child { border-bottom: none; }

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-body) !important;
    font-size: 0.88rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--gray-light) !important;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    cursor: pointer;
    accent-color: var(--lime);
    margin-top: 2px;
}

/* Sidebar devis */
.devis-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.sidebar-card h3 {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-dim);
}

.sidebar-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray-light);
    line-height: 1.5;
}

.sidebar-card ul li::before {
    content: '✓';
    color: var(--lime);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.sidebar-contact {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(29,106,72,0.2) 0%, rgba(62,207,207,0.08) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.sidebar-contact p {
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.sidebar-contact .contact-email {
    color: var(--lime);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

/* === FOOTER === */
footer {
    background: var(--dark-2);
    border-top: 1px solid var(--border-dim);
    padding: 60px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .site-logo { height: 48px; border-radius: 10px; margin-bottom: 16px; }

.footer-brand h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li a {
    font-size: 0.88rem;
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-links ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-dim);
    font-family: var(--font-head);
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}

.footer-bottom .made-with { color: var(--lime); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .devis-layout { grid-template-columns: 1fr; }
    .devis-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; }
    .services-split { grid-template-columns: 1fr; }
    .gallery-preview { grid-template-columns: 1fr 1fr; }
    .gallery-preview-item:first-child { grid-row: span 1; min-height: 250px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    nav ul {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(7,9,10,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        border-bottom: 1px solid var(--border-dim);
        z-index: 99;
    }

    nav ul.open {
        transform: translateY(0);
        opacity: 1;
    }

    nav ul li a { font-size: 0.9rem; padding: 14px 16px; }

    .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
    .hero { min-height: 85vh; padding-bottom: 60px; }
    .hero-actions { flex-direction: column; }
    .hero-scroll { display: none; }

    .stats-grid { grid-template-columns: 1fr; gap: 1px; }
    .stat-item + .stat-item::before { display: none; }

    .gallery-preview { grid-template-columns: 1fr; }
    .gallery-preview-item:first-child { min-height: 280px; }

    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .cta-band { text-align: center; justify-content: center; }
    .section { padding: 70px 5%; }

    .service-block { padding: 40px 30px; }
}

@media (max-width: 480px) {
    header { padding: 0 4%; }
    .logo-container h1 { font-size: 0.85rem; }
    .section { padding: 60px 4%; }
    .hero { padding: 0 4% 50px; }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-lime { color: var(--lime); }
.text-teal { color: var(--teal); }
.mb-16 { margin-bottom: 16px; }
.mb-30 { margin-bottom: 30px; }
.mb-60 { margin-bottom: 60px; }
.mt-50 { margin-top: 50px; }

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== SERVICE BLOCK PHOTO ===== */
.service-block-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.2);
}

.service-block-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
