/* ============================================
   ARTISAN BOIS - Design Moderne & Épuré
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --accent: #b08968;
    --accent-light: #ddb892;
    --accent-dark: #8a6a4e;
    --text: #2d2d2d;
    --text-light: #787878;
    --text-muted: #a0a0a0;
    --bg: #ffffff;
    --bg-warm: #faf6f1;
    --bg-dark: #0f0f0f;
    --border: #e8e4df;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --radius: 4px;
    --radius-lg: 12px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.3rem; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 70px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.8;
}

.section-header.center p {
    margin: 0 auto;
}

/* --- Boutons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    border: 1.5px solid transparent;
    border-radius: 0;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-dark:hover {
    background: transparent;
    color: var(--primary);
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.btn-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition);
    padding: 8px 0;
}

.header:not(.scrolled) {
    background: transparent;
}

.header.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    transition: color var(--transition);
}

.header.scrolled .logo {
    color: var(--primary);
}

.logo span {
    font-weight: 400;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

.header.scrolled .nav-links a {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 28px !important;
    border: 1.5px solid rgba(255,255,255,0.4) !important;
    letter-spacing: 1px;
    transition: all var(--transition);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
    border-color: var(--white) !important;
}

.header.scrolled .nav-cta {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.header.scrolled .nav-cta:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
}

.header.scrolled .hamburger span {
    background: var(--primary);
}

.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 --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    padding: 0 40px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero h1 em {
    color: var(--accent-light);
    font-style: italic;
    font-weight: 400;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 48px;
    line-height: 1.9;
    max-width: 480px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(0.6); }
}

/* --- Services (simplifié) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.service-card {
    background: var(--bg);
    padding: 50px 40px;
    transition: all var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.6s ease;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    background: var(--bg-warm);
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
    margin-bottom: 20px;
    transition: color var(--transition);
}

.service-card:hover .service-number {
    color: var(--accent-light);
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* --- Diaporama / Slider --- */
.slider-section {
    background: var(--bg-warm);
}

.slider-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

.slider-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
}

.slider-content .section-label {
    margin-bottom: 16px;
}

.slider-content h2 {
    margin-bottom: 20px;
}

.slider-content p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-counter {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--text-muted);
}

.slider-counter .current {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
}

.slider-btn {
    width: 52px;
    height: 52px;
    background: transparent;
    border: 1.5px solid var(--border);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--primary);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.slider-images {
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 600px;
}

/* --- Galerie mise en avant (accueil) --- */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 20px;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.showcase-item:first-child {
    grid-row: 1 / 3;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition);
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.showcase-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,15,15,0.75);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* --- Galerie Réalisations --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition);
    position: relative;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: all var(--transition);
    transform: translateX(-50%);
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--primary);
}

.filter-btn.active::after {
    width: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-overlay h3 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    transition: color var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--white);
}

.lightbox-caption {
    text-align: center;
    color: rgba(255,255,255,0.5);
    padding: 20px 0;
    font-size: 0.9rem;
}

/* --- Formulaire de devis --- */
.form-section {
    background: var(--bg-warm);
}

.devis-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.devis-info {
    position: sticky;
    top: 120px;
}

.devis-info h2 {
    margin-bottom: 20px;
}

.devis-info > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.devis-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.devis-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.devis-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.devis-detail-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.devis-detail-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.devis-form {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group label .required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color var(--transition);
    background: var(--bg);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #c0392b;
}

.error-message {
    color: #c0392b;
    font-size: 0.78rem;
    margin-top: 6px;
    display: none;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

.form-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.form-checkbox a {
    color: var(--accent);
    text-decoration: underline;
}

.form-submit {
    margin-top: 24px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 18px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.form-success .checkmark {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.form-success h3 {
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 32px;
}

/* --- Pages Légales --- */
.legal-page {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 100vh;
    background: var(--bg-warm);
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.legal-content .last-update {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-content p {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.95rem;
    padding-left: 16px;
    position: relative;
}

.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

/* --- Page Hero (sous-pages) --- */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,15,15,0.7);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    max-width: 460px;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.5);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    display: block;
    letter-spacing: 2px;
}

.footer-logo span {
    font-weight: 400;
    font-style: italic;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-legal a {
    margin-left: 24px;
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 0;
        transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: rgba(255,255,255,0.6) !important;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        width: 100%;
    }

    .nav-links a:hover {
        color: var(--white) !important;
    }

    .hamburger { display: flex; }

    .hamburger.active span {
        background: var(--white) !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .slider-wrapper {
        grid-template-columns: 1fr;
    }

    .slider-content {
        padding: 50px 40px;
        order: 2;
    }

    .slider-images {
        order: 1;
        min-height: 400px;
    }

    .slide img { min-height: 400px; }

    .devis-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .devis-info {
        position: static;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .showcase-item:first-child {
        grid-row: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-content { padding: 0 24px; }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .devis-form {
        padding: 28px 20px;
    }

    .legal-content {
        padding: 32px 24px;
    }

    .page-hero {
        padding: 140px 0 70px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-legal a {
        margin: 0 10px;
    }

    .showcase-grid {
        grid-template-rows: 250px 250px 250px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .slide img { min-height: 300px; }

    .hero h1 { font-size: 2.2rem; }
}
