﻿:root {
    --bg-color: #0f172a;
    --bg-alt: #111827;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-strong: #2563eb;
    --surface: rgba(15, 23, 42, 0.85);
    --card: rgba(15, 23, 42, 0.65);
    --border: rgba(148, 163, 184, 0.12);
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    --radius: 20px;
    --font: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

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

.skip-link {
    position: absolute;
    left: -999px;
    top: 16px;
    padding: 10px 18px;
    background: var(--accent-strong);
    color: #0f172a;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease;
    z-index: 3000;
}

.skip-link:focus {
    left: 16px;
    transform: translateY(0);
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
    position: relative;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.section-heading p {
    margin-top: 12px;
    color: var(--text-muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.is-loading {
    overflow: hidden;
}

body .topbar,
body main,
body footer {
    transition: opacity 0.85s ease 0.55s, filter 1s ease 0.55s, transform 1.3s cubic-bezier(0.19, 1, 0.3, 1) 0.55s;
    transform-origin: center top;
}

body.is-loading .topbar,
body.is-loading main,
body.is-loading footer {
    opacity: 0;
    filter: blur(24px) saturate(0.8);
    transform: scale(0.82) translateY(72px);
}

body.site-loaded .topbar,
body.site-loaded main,
body.site-loaded footer {
    opacity: 1;
    filter: none;
    transform: none;
}

.loader {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.28), rgba(15, 23, 42, 0.95));
    z-index: 2000;
    transition: opacity 0.6s ease 0.2s, visibility 0.6s ease 0.2s;
}

.loader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-window,
.window-glass,
.window-shutter,
.window-light,
.loader-text {
    animation-play-state: paused;
}

.loader--animate .loader-window,
.loader--animate .window-glass,
.loader--animate .window-shutter,
.loader--animate .window-light,
.loader--animate .loader-text {
    animation-play-state: running;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.loader-window {
    position: relative;
    width: 150px;
    height: 190px;
    border-radius: 18px;
    border: 2px solid rgba(226, 232, 240, 0.55);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(37, 99, 235, 0.65));
    box-shadow: 0 30px 46px rgba(8, 15, 30, 0.6);
    overflow: hidden;
    transform: scale(0.52);
    transform-origin: center;
    animation: windowReveal 4.6s cubic-bezier(0.19, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

.window-glass {
    position: absolute;
    inset: 16px;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.78) 45%, rgba(56, 189, 248, 0.35) 100%);
    box-shadow: inset 0 0 28px rgba(15, 23, 42, 0.55);
    animation: glassGlow 4.8s ease-in-out infinite alternate;
    animation-delay: 1.4s;
}

.window-bar {
    position: absolute;
    background: rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(6px);
}

.window-bar.vertical {
    width: 4px;
    height: calc(100% - 32px);
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
}

.window-bar.horizontal {
    height: 4px;
    width: calc(100% - 32px);
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.window-shutter {
    position: absolute;
    top: 16px;
    bottom: 16px;
    width: calc(50% - 16px);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.18), rgba(30, 64, 175, 0.35));
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: 12px;
    box-shadow: inset 0 0 18px rgba(15, 23, 42, 0.55);
    transform: scaleX(1);
    transform-origin: center;
    animation: shutterOpen 4.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 1.6s;
    will-change: transform, opacity;
}

.window-shutter.left {
    left: 16px;
    transform-origin: left center;
}

.window-shutter.right {
    right: 16px;
    transform-origin: right center;
}

.window-light {
    position: absolute;
    inset: 32px;
    border-radius: 14px;
    background: radial-gradient(circle at center, rgba(94, 234, 212, 0.4), rgba(59, 130, 246, 0.25) 55%, transparent 90%);
    opacity: 0;
    animation: lightPulse 3.2s ease-in-out forwards;
    animation-delay: 3.6s;
}

.loader-text {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.78);
    text-align: center;
    animation: textFade 3s ease-in-out infinite alternate;
    animation-delay: 3.2s;
}

@keyframes windowReveal {
    0% {
        transform: scale(0.52);
        opacity: 0;
    }
    35% {
        transform: scale(0.68);
        opacity: 1;
    }
    72% {
        transform: scale(1.08);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shutterOpen {
    0% {
        transform: scaleX(1);
        opacity: 1;
    }
    45% {
        transform: scaleX(1);
        opacity: 1;
    }
    78% {
        transform: scaleX(0.32);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

@keyframes glassGlow {
    0% {
        filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.6));
    }
}

@keyframes lightPulse {
    0% {
        opacity: 0;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes textFade {
    0% {
        opacity: 0.4;
        letter-spacing: 0.12em;
    }
    100% {
        opacity: 1;
        letter-spacing: 0.2em;
    }
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.topbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
    background: transparent;
    filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.4));
}

.logo-letter {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-color);
}

.logo-letter span {
    color: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-list a {
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a:focus::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 120px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(37, 99, 235, 0.6)), url('https://images.unsplash.com/photo-1512710223685-079e03b8c1ea?auto=format&fit=crop&w=1800&q=80') center/cover;
    overflow: hidden;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.8) 0%, rgba(37, 99, 235, 0.5) 60%, rgba(56, 189, 248, 0.15) 100%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 640px;
}

.hero-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-description {
    color: rgba(226, 232, 240, 0.82);
    font-size: 1.07rem;
    margin-bottom: 28px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 999px;
    padding: 14px 28px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #0f172a;
    box-shadow: 0 20px 35px rgba(37, 99, 235, 0.35);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(37, 99, 235, 0.45);
}

.btn.secondary {
    background: rgba(226, 232, 240, 0.08);
    border-color: rgba(226, 232, 240, 0.15);
    font-size: 0.95rem;
}

.btn.secondary:hover {
    background: rgba(226, 232, 240, 0.16);
}

.btn.ghost {
    border: 1px solid rgba(226, 232, 240, 0.2);
    background: transparent;
}

.btn.full {
    width: 100%;
}

.hero-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    color: rgba(226, 232, 240, 0.78);
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 36px;
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
}

.hero-card h2 {
    font-size: 1.5rem;
    margin-bottom: 22px;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 14px;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 24px;
}

.hero-card li span {
    margin-right: 10px;
}

.grid {
    display: grid;
    gap: 32px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.26);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4);
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
}

.expertise {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 40%),
                radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.12), transparent 45%);
}

.expertise-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    align-items: center;
}

.checks {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.checks li {
    position: relative;
    padding-left: 28px;
    color: var(--text-muted);
}

.checks li::before {
    position: absolute;
    left: 0;
    color: var(--accent);
}

.expertise-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
}

.stat {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.stat .label {
    color: var(--text-muted);
    margin-top: 6px;
}

.realisations {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(24, 33, 56, 0.9));
}

.gallery {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-item {
    display: grid;
    gap: 12px;
}

.gallery-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.3);
}

.gallery-item figcaption {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.temoignages {
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 45%);
}

.testimonials {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial {
    background: rgba(15, 23, 42, 0.75);
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.12);
    padding: 30px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.28);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: rgba(226, 232, 240, 0.9);
}

.testimonial h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.testimonial span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.98));
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.contact p {
    color: var(--text-muted);
}


.legal-content {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.legal-content article {
    background: rgba(15, 23, 42, 0.78);
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 24px;
    line-height: 1.7;
    color: var(--text-muted);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
}
.contact-card {
    margin-top: 24px;
    padding: 28px;
    background: rgba(15, 23, 42, 0.78);
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.15);
    font-style: normal;
}

.contact-card p + p {
    margin-top: 12px;
}

.contact-form {
    background: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

label {
    font-weight: 500;
    color: rgba(226, 232, 240, 0.92);
}

input,
select,
textarea {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-color);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

textarea {
    resize: vertical;
}

.form-confirmation {
    margin-top: 12px;
    font-size: 0.92rem;
    color: var(--accent);
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-confirmation.visible {
    opacity: 1;
}

.required {
    color: #ef4444;
    font-weight: 600;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.9);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: rgba(56, 189, 248, 0.5);
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #0f172a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: var(--accent-strong);
}

/* Section Facebook Posts */
.facebook-posts {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(24, 33, 56, 0.9));
}

.facebook-carousel {
    position: relative;
    margin: 40px 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
}

.facebook-post {
    min-width: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(15, 23, 42, 0.9);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0f172a;
    font-size: 1.2rem;
}

.post-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-color);
}

.post-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-content {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.post-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.post-actions {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.post-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-action:hover {
    color: var(--accent);
}

.post-action-icon {
    font-size: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--accent);
    color: #0f172a;
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.carousel-btn:disabled:hover {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-color);
    border-color: rgba(148, 163, 184, 0.3);
    transform: translateY(-50%);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--accent);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: var(--accent);
    opacity: 0.7;
}

.facebook-link {
    text-align: center;
    margin-top: 32px;
}

.loading-posts {
    text-align: center;
    padding: 60px 32px;
    color: var(--text-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(148, 163, 184, 0.3);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    padding: 40px 32px;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .facebook-post {
        padding: 24px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        left: 12px;
    }
    
    .carousel-btn.next {
        right: 12px;
    }
    
    .post-header {
        gap: 12px;
    }
    
    .post-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .post-actions {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .facebook-post {
        padding: 20px;
    }
    
    .post-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .post-action {
        justify-content: center;
    }
}

/* Bandeau de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.cookie-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-actions {
        justify-content: center;
    }
    
    .cookie-actions .btn {
        flex: 1;
        min-width: 120px;
    }
}

.footer {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: #0b1120;
    padding: 28px 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    color: rgba(148, 163, 184, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 1200px) {
    .hero {
        padding: 150px 0 110px;
    }

    .hero-content {
        gap: 48px;
    }

    .hero-card {
        max-width: 440px;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 1024px) {
    .topbar .container {
        gap: 18px;
    }

    .logo img {
        height: 52px;
    }

    .logo-letter {
        font-size: 1.08rem;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 90px;
        background-position: center;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
        max-width: 560px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-highlights {
        justify-content: center;
    }

    .hero-card {
        margin: 0 auto;
        width: min(100%, 420px);
    }

    .section-heading {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .expertise-content {
        gap: 40px;
    }
}

@media (max-width: 960px) {
    .topbar .container {
        padding: 18px 0;
    }

    .nav {
        position: absolute;
        inset: 80px 24px auto 24px;
        background: rgba(15, 23, 42, 0.95);
        border-radius: var(--radius);
        padding: 28px;
        border: 1px solid rgba(148, 163, 184, 0.18);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 820px) {
    .container {
        width: min(640px, 92vw);
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero-highlights {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .hero-card {
        padding: 30px;
    }

    .services-grid,
    .expertise-content,
    .gallery,
    .testimonials,
    .expertise-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .expertise-content {
        text-align: center;
    }

    .checks {
        gap: 10px;
        justify-items: center;
    }

    .checks li {
        padding-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .checks li::before {
        position: static;
        display: inline-block;
        margin-right: 0;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .contact-info,
    .contact-form {
        max-width: 520px;
        margin: 0 auto;
    }

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

@media (max-width: 680px) {
    .container {
        width: min(560px, 92vw);
    }

    .hero {
        padding: 120px 0 72px;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-card {
        padding: 26px;
    }

    .cta-group {
        width: 100%;
    }

    .cta-group .btn {
        flex: 1 1 100%;
    }

    .card,
    .contact-form {
        padding: 26px;
    }

    .footer-links {
        gap: 12px;
    }
}

@media (max-width: 540px) {
    .loader-window {
        width: 110px;
        height: 140px;
    }

    .loader-text {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .logo img {
        height: 44px;
    }

    .logo-letter {
        font-size: 0.95rem;
        letter-spacing: 0.05em;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .hero-subtitle {
        letter-spacing: 0.16em;
    }

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

    .hero-description {
        font-size: 0.98rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-highlights {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-card {
        padding: 24px;
    }

    .hero-card h2 {
        font-size: 1.28rem;
    }

    .hero-card ul {
        gap: 12px;
    }

    .section {
        padding: 64px 0;
    }

    .card,
    .contact-form,
    .contact-card {
        padding: 24px;
    }

    .contact-grid {
        gap: 36px;
    }

    .gallery-photo {
        aspect-ratio: 3 / 2;
    }

    .footer {
        padding: 24px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loader,
    .loader-window,
    .window-glass,
    .window-shutter,
    .window-light,
    .loader-text {
        animation: none !important;
        animation-play-state: paused !important;
    }

    .loader {
        transition: none !important;
    }

    body .topbar,
    body main,
    body footer {
        transition-duration: 0.01ms !important;
    }
}



