/* Google Fonts chargé via <link> dans le HTML pour éviter le render-blocking */

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

html {
    scroll-behavior: smooth;
    background: #ffffff;
}

html.dark-mode {
    background: #020810;
}

body.landing {
    background: #ffffff;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    position: relative;

    --text-primary:   rgba(0, 0, 0, 1);
    --text-secondary: rgba(0, 0, 0, 0.80);
    --text-muted:     rgba(0, 0, 0, 0.55);
    --text-faint:     rgba(0, 0, 0, 0.35);
    --card-bg:        rgba(0, 0, 0, 0.03);
    --card-border:    rgba(0, 0, 0, 0.12);
    --card-bg-hover:  rgba(0, 0, 0, 0.06);
    --glass-bg:       rgba(0, 0, 0, 0.03);
    --glass-border:   rgba(0, 0, 0, 0.12);
}

.section-pill {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 14px 160px;
}

/* LOGO */
.logo {
    position: fixed;
    top: 20px;
    left: 28px;
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s ease;
}

.logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 1px;
    color: white;
    line-height: 1;
    user-select: none;
}

.logo-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3.5px;
    color: white;
    opacity: 0.8;
    text-transform: uppercase;
    user-select: none;
}

.logo:hover {
    transform: scale(1.04);
}

.logo:hover .logo-circle {
    background: rgba(255, 255, 255, 0.18);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 28px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.6),
        inset 0 -2px 6px rgba(0,0,0,0.2),
        0 10px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 1000;
}

.navbar::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    opacity: 0.9;
    transition: 0.3s ease;
    padding: 8px 14px;
    border-radius: 20px;
}

.nav-links a:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

/* HERO */
.hero {
    min-height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 140px 80px 80px;
    text-align: left;
}



.hero-content {
    max-width: 560px;
    z-index: 2;
    will-change: transform, opacity;
}
.tag {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
    background: var(--card-bg-hover);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}



.hero h1 {
    font-size: 64px;
    line-height: 0.95;
    font-weight: 300;
    letter-spacing: -1px;
}

.hero-text {
    font-size: 20px;
    opacity: 0.9;
    max-width: 520px;
    margin: 0 0 35px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* BOUTONS */
.btn {
    text-decoration: none;
    border: none;
    cursor: pointer;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 15px;
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.primary-btn {
    background: #ffffff;
    color: #111;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.primary-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22), 0 0 32px rgba(22, 202, 145, 0.30);
}

.secondary-btn {
    background: var(--card-bg-hover);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

/* SECTIONS */
.section {
    padding: 180px 20px;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

/* SERVICES */

/* PORTFOLIO */
.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    height: 180px;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    transition: transform 0.55s cubic-bezier(0.2, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.07);
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project-card p {
    opacity: 0.9;
    line-height: 1.5;
}

/* HISTOIRE — citation */
.histoire-quote {
    max-width: 760px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-left: 3px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 48px;
    position: relative;
}
.histoire-quote-mark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 80px;
    line-height: 0.6;
    opacity: 0.25;
    display: block;
    margin-bottom: 16px;
}
.histoire-quote p {
    font-size: 20px;
    line-height: 1.75;
    opacity: 0.92;
    font-style: italic;
    margin-bottom: 20px;
}
.histoire-quote-author {
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.55;
    text-transform: uppercase;
}

/* HISTOIRE — timeline */
.histoire-timeline {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.histoire-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 40px;
}
.histoire-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 52px;
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.histoire-step-num {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
}
.histoire-step-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 10px;
}
.histoire-step-content p {
    font-size: 16px;
    line-height: 1.75;
    opacity: 0.75;
}

/* HISTOIRE — value cards */
.histoire-value-card {
    background: var(--card-bg-hover);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 36px 28px;
    transition: 0.3s ease;
}
.histoire-value-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.12);
}
.histoire-value-icon {
    font-size: 28px;
    margin-bottom: 18px;
    opacity: 0.8;
}
.histoire-value-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.histoire-value-card p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.72;
}

/* SERVICES PAGE */
.services-page {
    padding-top: 140px;
}

.services-intro {
    text-align: center;
    font-size: 18px;
    opacity: 0.8;
    max-width: 560px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 36px 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.service-card:hover {
    background: var(--card-bg-hover);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-6px);
}

.service-card--featured {
    background: var(--card-bg-hover);
    border-color: rgba(0, 0, 0, 0.20);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transform: translateY(-12px);
}

.service-card--featured:hover {
    transform: translateY(-18px);
}

.service-img {
    width: 100%;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-number {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.45;
    font-weight: 600;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 500;
}

.service-card p {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.65;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0;
}

.service-list li {
    font-size: 14px;
    opacity: 0.75;
    padding-left: 18px;
    position: relative;
}

.service-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0.6;
}

.service-cta {
    margin-top: 8px;
    font-size: 14px;
    padding: 12px 20px;
    text-align: center;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card--featured {
        transform: none;
    }
}

/* CONTACT */
.contact-form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    background: var(--card-bg-hover);
    color: white;
    font-size: 16px;
    outline: none;
    backdrop-filter: blur(15px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

/* ─── PORTFOLIO GALLERY ──────────────────────────────── */

.pf-gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 1 / 1;
}

.pf-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.pf-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.pf-gallery-overlay span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ─── PORTFOLIO FOLDERS GRID ─────────────────────────── */
.pf-folders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 50px auto 0;
    align-items: start;
}

.pf-folder {
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: border-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.pf-folder:not(.pf-folder--empty):hover {
    border-color: rgba(255,255,255,0.22);
    transform: translateY(-3px);
}

.pf-folder-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.pf-folder-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pf-folder:hover .pf-folder-cover img {
    transform: scale(1.05);
}

.pf-folder-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pf-folder:hover .pf-folder-overlay {
    opacity: 1;
}

.pf-folder-count {
    font-size: 13px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

.pf-folder-open-icon {
    font-size: 18px;
    color: white;
    font-weight: 300;
}

.pf-folder-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
}

.pf-folder-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.35;
    flex-shrink: 0;
}

.pf-folder-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 3px;
}

.pf-folder-sub {
    font-size: 12px;
    opacity: 0.45;
    margin: 0;
}

/* Dossier vide */
.pf-folder--empty {
    opacity: 0.4;
    cursor: default;
}

.pf-folder-cover--empty {
    background: var(--card-bg);
    border-bottom: 1px dashed var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-folder-plus {
    font-size: 28px;
    opacity: 0.3;
    font-weight: 300;
}

/* Drawer dépliable */
.pf-folder-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.pf-folder.open .pf-folder-drawer {
    max-height: 800px;
}

.pf-folder-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px 12px 14px;
}

/* ─── MULTI-STEP FORM ────────────────────────────────── */
.msf-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    margin: 40px auto 48px;
}

.msf-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.msf-step-dot.active {
    opacity: 1;
}

.msf-step-dot.done {
    opacity: 0.7;
}

.msf-dot-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.3s ease;
}

.msf-step-dot.active .msf-dot-num,
.msf-step-dot.done .msf-dot-num {
    background: rgba(255,255,255,0.15);
}

.msf-dot-label {
    font-size: 11px;
    letter-spacing: 0.5px;
    opacity: 0.8;
    white-space: nowrap;
}

.msf-progress-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.2);
    max-width: 80px;
    margin-bottom: 20px;
}

.msf-form {
    max-width: 560px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
}

.msf-panel {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.msf-panel.active {
    display: flex;
}

.msf-step-hint {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: -8px;
}

.msf-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msf-field label {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.9;
}

.msf-field input[type="text"],
.msf-field input[type="email"],
.msf-field textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg-hover);
    color: white;
    font-size: 16px;
    outline: none;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s ease;
}

.msf-field input:focus,
.msf-field textarea:focus {
    border-color: rgba(255,255,255,0.4);
}

.msf-field input::placeholder,
.msf-field textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.msf-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msf-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    font-size: 15px;
}

.msf-check-item:hover {
    background: var(--card-bg-hover);
    border-color: rgba(255,255,255,0.25);
}

.msf-check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: white;
    flex-shrink: 0;
}

.msf-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.msf-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    font-size: 14px;
    text-align: center;
}

.msf-option:hover {
    background: var(--card-bg-hover);
    border-color: rgba(255,255,255,0.25);
}

.msf-option input[type="radio"] {
    display: none;
}

.msf-option:has(input:checked) {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    font-weight: 600;
}

.msf-reassurance {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    opacity: 0.55;
    padding-top: 8px;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 30px 20px 40px;
    opacity: 0.8;
}

/* PORTFOLIO FILTERS */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pf-btn {
    background: var(--card-bg-hover);
    border: 1px solid var(--glass-border);
    color: rgba(255,255,255,0.75);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

.pf-btn:hover,
.pf-btn.active {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,1);
}

.portfolio-proof {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    letter-spacing: 0.03em;
}

.portfolio-service-link {
    display: inline-block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-top: 8px;
    transition: color 0.2s ease;
}

.portfolio-service-link:hover {
    color: rgba(255,255,255,1);
}

.project-card.hidden {
    display: none;
}

/* LIGHTBOX */
.lb-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lb-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lb-glass {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 28px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    max-width: 860px;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding: 32px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lb-overlay.active .lb-glass {
    transform: scale(1);
}

.lb-glass img {
    width: 50%;
    max-height: 75vh;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    flex-shrink: 0;
    align-self: flex-start;
}

.lb-glass.no-info {
    flex-direction: column;
    max-width: fit-content;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 16px 24px 16px;
    gap: 12px;
}

.lb-glass.no-info img {
    width: auto;
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.lb-glass.no-info .lb-info {
    width: 100%;
    max-width: 320px;
    align-items: center;
}

.lb-glass.no-info .lb-info h3 {
    font-size: 18px;
}

.lb-glass.no-info .lb-info p {
    font-size: 13px;
    line-height: 1.6;
}

.lb-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.90);
}

.lb-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.lb-info p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: rgba(255,255,255,0.80);
}

.lb-arrow {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lb-arrow:hover {
    background: rgba(255,255,255,0.25);
}

.lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-close:hover {
    background: rgba(255,255,255,0.25);
}

@media (max-width: 640px) {
    .lb-glass {
        flex-direction: column;
        padding: 20px;
    }
    .lb-glass img {
        width: 100%;
        max-height: 60vh;
    }
}
.cta-box {
    position: absolute;
    right: 160px;
    bottom: 55px;
    z-index: 2;
    width: 340px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 18px 16px 22px;
    border-radius: 999px;
    background: var(--card-bg-hover);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.22);
    color: white;
    z-index: 3;
}

.cta-box h4 {
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 500;
}

.cta-box p {
    font-size: 13px;
    opacity: 0.75;
}

.glass-toggle {
    position: relative;
    display: flex;
    align-items: center;
    width: 58px;
    height: 30px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    padding: 3px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.glass-toggle-ball {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 1);
    flex-shrink: 0;
    transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-toggle:hover .glass-toggle-ball {
    transform: translateX(28px);
}

.glass-toggle:hover {
    background: rgba(255, 255, 255, 0.26);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .cards,
    .projects {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section-title {
        font-size: 32px;
    }
}

.right-cards {
    position: absolute;
    right: 40px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* encadrés */
.mini-card {
    width: 110px;
    height: 150px;
    border-radius: 22px;
    background: var(--card-bg-hover);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.45s cubic-bezier(0.2, 0, 0.2, 1),
                box-shadow 0.45s cubic-bezier(0.2, 0, 0.2, 1),
                background 0.3s ease;
    overflow: hidden;
}

.mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.mini-card:hover {
    transform: translateY(-12px) scale(1.06);
    background: rgba(255,255,255,0.16);
    box-shadow: 0 28px 55px rgba(0,0,0,0.34), 0 0 0 1.5px rgba(255,255,255,0.28);
    cursor: pointer;
}

.mini-card:hover img {
    transform: scale(1.08);
}

/* LIGHTBOX — voir .lb-overlay plus bas */

/* ─── GRADIENT ANIMÉ (body) ─────────────────────────── */
@keyframes gradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ─── GRAIN OVERLAY ─────────────────────────────────── */
.grain {
    position: fixed;
    inset: -200%;
    width: 500%;
    height: 500%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    animation: grainMove 7s steps(8) infinite;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

@keyframes grainMove {
    0%   { transform: translate(0,    0   ); }
    12%  { transform: translate(-4%,  -8% ); }
    25%  { transform: translate(-12%, 4%  ); }
    37%  { transform: translate(5%,   -18%); }
    50%  { transform: translate(-4%,  18% ); }
    62%  { transform: translate(-10%, 6%  ); }
    75%  { transform: translate(10%,  -1% ); }
    87%  { transform: translate(1%,   10% ); }
    100% { transform: translate(0,    0   ); }
}

/* ─── ENTRÉES HERO — stagger élégant ────────────────── */
.hero-content .tag       { animation: fadeUp 0.75s cubic-bezier(0.2, 0, 0.2, 1) 0.10s both; }
.hero-content h1         { animation: fadeUp 0.85s cubic-bezier(0.2, 0, 0.2, 1) 0.28s both; }
.hero-content .hero-text { animation: fadeUp 0.75s cubic-bezier(0.2, 0, 0.2, 1) 0.44s both; }
.hero-buttons            { animation: fadeUp 0.75s cubic-bezier(0.2, 0, 0.2, 1) 0.58s both; }
.hero-stats              { animation: fadeUp 0.75s cubic-bezier(0.2, 0, 0.2, 1) 0.72s both; }

.right-cards .mini-card:nth-child(1) { animation: fadeUp 0.7s cubic-bezier(0.2, 0, 0.2, 1) 0.40s both; }
.right-cards .mini-card:nth-child(2) { animation: fadeUp 0.7s cubic-bezier(0.2, 0, 0.2, 1) 0.54s both; }
.right-cards .mini-card:nth-child(3) { animation: fadeUp 0.7s cubic-bezier(0.2, 0, 0.2, 1) 0.68s both; }

.cta-box { animation: fadeUp 0.75s cubic-bezier(0.2, 0, 0.2, 1) 0.78s both; }

/* ─── HERO STATS ─────────────────────────────────────── */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 42px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-stat-num {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.hero-stat-label {
    font-size: 11px;
    opacity: 0.5;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.hero-stat-sep {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}

/* ─── ITALIC ACCENT H1 ───────────────────────────────── */
.hero h1 i {
    font-family: 'Ephesis', cursive;
    font-style: normal;
    font-size: 1.9em;
    font-weight: 400;
    text-shadow: 0 0 32px rgba(255,255,255,0.22);
}

/* ─── GLOW FEATURED SERVICE CARD ─────────────────────── */
.service-card--featured {
    box-shadow: 0 0 48px rgba(22,202,145,0.12), 0 24px 44px rgba(0,0,0,0.14);
}

/* ─── RESPONSIVE HERO STATS ──────────────────────────── */

/* ═══════════════════════════════════════════════════════
   DARK MODE
═══════════════════════════════════════════════════════ */

/* Overlay fond JOUR (toujours visible, s'efface en dark) */
.light-overlay {
    position: fixed;
    top: -200px;
    bottom: -200px;
    left: -100px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, #7b85b0 0%, #8a9bc6 30%, #7a8bbf 65%, #5f6a94 100%);
    background-size: 280% 280%;
    animation: gradientFlow 22s ease infinite;
    opacity: 0;
    transition: opacity 600ms ease-in-out;
}

body.dark .light-overlay { opacity: 0; }

/* Overlay fond NUIT (invisible par défaut, fade-in en dark) */
.dark-overlay {
    position: fixed;
    top: -200px;
    bottom: -200px;
    left: -100px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, #020810 0%, #06101E 40%, #0A1628 100%);
    background-size: 280% 280%;
    animation: gradientFlow 22s ease infinite;
    opacity: 0;
    transition: opacity 1000ms ease-in-out;
}

body.dark .dark-overlay { opacity: 1; }

/* Transitions thème — incluent transform pour ne pas casser les hovers */
body { transition: color 500ms ease-in-out; }

.navbar, .logo-circle {
    transition: background 500ms ease-in-out, border-color 500ms ease-in-out,
                box-shadow 500ms ease-in-out, transform 0.3s ease;
}

.nav-links a {
    transition: background 500ms ease-in-out, color 500ms ease-in-out,
                opacity 0.3s ease, transform 0.3s ease;
}

.project-card {
    transition: background 500ms ease-in-out, border-color 500ms ease-in-out,
                box-shadow 500ms ease-in-out, transform 0.3s ease;
}

.service-card {
    transition: background 500ms ease-in-out, border-color 500ms ease-in-out,
                box-shadow 500ms ease-in-out, transform 0.3s ease;
}

.mini-card {
    transition: background 500ms ease-in-out, border-color 500ms ease-in-out,
                box-shadow 500ms ease-in-out,
                transform 0.45s cubic-bezier(0.2, 0, 0.2, 1);
}

.tag, .cta-box, .hero-stat-sep, .footer, .glass-toggle {
    transition: background 500ms ease-in-out, border-color 500ms ease-in-out,
                color 500ms ease-in-out, box-shadow 500ms ease-in-out;
}

.btn {
    transition: background 500ms ease-in-out, border-color 500ms ease-in-out,
                color 500ms ease-in-out, box-shadow 500ms ease-in-out,
                transform 0.3s ease;
}

.contact-form input, .contact-form textarea {
    transition: background 500ms ease-in-out, border-color 500ms ease-in-out,
                color 500ms ease-in-out;
}

/* ═══════════════════════════════════════════════════════
   LIGHT MODE — fond blanc, texte noir
═══════════════════════════════════════════════════════ */

/* Logo */
.logo-circle {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
}
.logo-text { color: #1a1a1a; }
.logo-name { color: #1a1a1a; }
.logo:hover .logo-circle { background: rgba(0, 0, 0, 0.10); }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nav-links a { color: #1a1a1a; }
.nav-links a:hover { color: #3a4a7a; }

/* Boutons */
.primary-btn {
    background: #1a1a1a;
    color: #ffffff;
}
.primary-btn:hover {
    background: #333333;
}
.secondary-btn {
    border-color: rgba(0, 0, 0, 0.25);
    color: #1a1a1a;
}
.secondary-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Tag */
.tag {
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.6);
}

/* Hero stats */
.hero-stat-sep { background: rgba(0, 0, 0, 0.15); }

/* CTA box */
.cta-box {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.10);
}

/* Theme toggle */
.theme-toggle {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer { color: rgba(0, 0, 0, 0.5); }

/* Grain */
.grain { opacity: 0.03; }

/* Section title pill (inline styles override needed) */

/* Service cards */
.service-card {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.service-card:hover {
    background: var(--card-bg-hover);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.service-card--featured {
    border-color: rgba(0, 0, 0, 0.20);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Tarif cards */
.tarif-card {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.tarif-card--featured {
    border-color: rgba(0, 0, 0, 0.20);
    background: var(--card-bg-hover);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.tarif-badge {
    background: #1a1a1a;
    color: #ffffff;
    border-color: transparent;
}

/* FAQ */
.tarifs-faq-item {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* SA pages */
.sa-pain-item, .sa-benefit, .sa-testimonial, .sa-include-item, .sa-stat {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sa-pricing-box {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sa-diff-col.bad {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sa-diff-col.good {
    background: var(--card-bg);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sa-divider hr {
    border-color: rgba(0, 0, 0, 0.08);
}
.sa-final-cta {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Portfolio */
.pf-folder-cover { border-color: rgba(0, 0, 0, 0.08); }
.pf-folder-meta { border-color: rgba(0, 0, 0, 0.06); }

/* Lightbox */
.lb-overlay { background: rgba(0, 0, 0, 0.85); }

/* Histoire */
.histoire-quote {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.histoire-value-card {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* MSF form */
.msf-check-item {
    background: var(--card-bg);
    border-color: var(--card-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.msf-check-item input[type="checkbox"] { accent-color: #1a1a1a; }
.msf-field input[type="text"],
.msf-field input[type="email"],
.msf-field textarea { color: #1a1a1a; }
.msf-field input::placeholder,
.msf-field textarea::placeholder { color: rgba(0, 0, 0, 0.4); }
.msf-field input:focus,
.msf-field textarea:focus { border-color: rgba(0, 0, 0, 0.3); }
.msf-step-dot.active .msf-dot-num,
.msf-step-dot.done .msf-dot-num { background: rgba(0, 0, 0, 0.08); }
.msf-progress-line { background: rgba(0, 0, 0, 0.12); }
.msf-option:hover { border-color: rgba(0, 0, 0, 0.20); }
.msf-option:has(input:checked) {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.30);
}

/* Contact form */
.contact-form input,
.contact-form textarea { color: #1a1a1a; border-color: rgba(0, 0, 0, 0.15); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(0, 0, 0, 0.4); }

/* CTA box */
.cta-box { color: #1a1a1a; }

/* Cards & project-card */
.project-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.project-card:hover { background: var(--card-bg-hover); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.project-image { background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02)); }

/* Portfolio filters */
.pf-btn { color: rgba(0, 0, 0, 0.65); }
.pf-btn:hover,
.pf-btn.active {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.20);
    color: #1a1a1a;
}
.portfolio-proof { color: rgba(0, 0, 0, 0.5); }
.portfolio-service-link { color: rgba(0, 0, 0, 0.6); }
.portfolio-service-link:hover { color: #1a1a1a; }

/* Mini cards */
.mini-card { border-color: rgba(0, 0, 0, 0.10); }
.mini-card:hover { background: rgba(0, 0, 0, 0.04); }

/* Nav hover */
.nav-links a:hover { background: rgba(0, 0, 0, 0.05); }

/* Histoire */
.histoire-quote { border-left-color: rgba(0, 0, 0, 0.15); }
.histoire-step:not(:last-child)::after { background: rgba(0, 0, 0, 0.10); }
.histoire-step-num {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
}
.histoire-value-card:hover { background: rgba(0, 0, 0, 0.05); }

/* PF folder hover */
.pf-folder:hover { border-color: rgba(0, 0, 0, 0.15); }

/* SA benefit hover */
.sa-benefit:hover { border-color: rgba(0, 0, 0, 0.15); }
.sa-process::before { background: rgba(0, 0, 0, 0.08); }

/* ═══════════════════════════════════════════════════════
   DARK MODE
═══════════════════════════════════════════════════════ */

/* Couleur texte */
body.dark {
    background: #020810;
    color: #CBD5E1;
    --text-primary:   rgba(255, 255, 255, 1);
    --text-secondary: rgba(255, 255, 255, 0.90);
    --text-muted:     rgba(255, 255, 255, 0.65);
    --text-faint:     rgba(255, 255, 255, 0.45);
    --card-bg:        rgba(255, 255, 255, 0.04);
    --card-border:    rgba(255, 255, 255, 0.10);
    --card-bg-hover:  rgba(255, 255, 255, 0.07);
    --glass-bg:       rgba(255, 255, 255, 0.06);
    --glass-border:   rgba(255, 255, 255, 0.12);
}

/* Navbar */
body.dark .navbar {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.06),
        inset 0 -1px 4px rgba(0,0,0,0.5),
        0 10px 40px rgba(0,0,0,0.6);
}
body.dark .nav-links a { color: #ffffff; }
body.dark .nav-links a:hover { color: rgba(168, 212, 220, 0.85); }

/* Logo */
body.dark .logo-circle {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark .logo-text { color: #ffffff; }
body.dark .logo-name { color: #ffffff; }

body.dark .logo:hover .logo-circle {
    background: rgba(255, 255, 255, 0.10);
}

/* Cards */
body.dark .project-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.07);
}

body.dark .project-card:hover {
    background: rgba(255, 255, 255, 0.07);
}

/* Service cards */
body.dark .service-card {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark .service-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

body.dark .service-card--featured {
    background: rgba(168, 212, 220, 0.06);
    border-color: rgba(168, 212, 220, 0.18);
    box-shadow: 0 0 55px rgba(168, 212, 220, 0.12), 0 24px 44px rgba(0,0,0,0.5);
}

/* Bouton primaire */
body.dark .primary-btn {
    background: rgba(168, 212, 220, 0.85);
    color: #060E1C;
    border-color: rgba(168, 212, 220, 0.3);
}

body.dark .primary-btn:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 36px rgba(168, 212, 220, 0.45);
}

/* Bouton secondaire */
body.dark .secondary-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

body.dark .secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Tag */
body.dark .tag {
    background: rgba(168, 212, 220, 0.08);
    border-color: rgba(168, 212, 220, 0.15);
    color: rgba(168, 212, 220, 0.85);
}

/* CTA box */
body.dark .cta-box {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Mini cards */
body.dark .mini-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark .mini-card:hover {
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        0 28px 55px rgba(0,0,0,0.7),
        0 0 0 1.5px rgba(168, 212, 220, 0.25),
        0 0 28px rgba(168, 212, 220, 0.14);
}

/* Formulaire */
body.dark .contact-form input,
body.dark .contact-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
}

/* Séparateur stats */
body.dark .hero-stat-sep {
    background: rgba(255, 255, 255, 0.08);
}

/* Glow italic dark */
body.dark .hero h1 i {
    text-shadow: 0 0 40px rgba(168, 212, 220, 0.35);
}

/* ─── TOGGLE THÈME ───────────────────────────────────── */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 28px;
    z-index: 1000;
    display: flex;
    align-items: center;
    width: 70px;
    height: 34px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    cursor: pointer;
    padding: 4px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.10);
    transform: scale(1.05);
}

.theme-toggle-icons {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 9px;
    pointer-events: none;
    font-size: 13px;
    line-height: 1;
}

.theme-toggle-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
    z-index: 1;
    transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.4s ease,
                box-shadow 0.4s ease;
}

body.dark .theme-toggle {
    background: rgba(168, 212, 220, 0.10);
    border-color: rgba(168, 212, 220, 0.22);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 14px rgba(168, 212, 220, 0.12), inset 0 1px 0 rgba(255,255,255,0.15);
}

body.dark .theme-toggle:hover {
    background: rgba(168, 212, 220, 0.18);
}

body.dark .theme-toggle-thumb {
    transform: translateX(36px);
    background: rgba(168, 212, 220, 0.95);
    box-shadow: 0 2px 12px rgba(168, 212, 220, 0.45), inset 0 1px 0 rgba(255,255,255,0.8);
}

/* ============================================
   PAGES SERVICE — styles partagés (.sa-*)
   ============================================ */

.sa-hero *:not(.btn):not(a.btn),
.sa-section *:not(.btn):not(a.btn) {
    color: rgba(0, 0, 0, 0.80);
}
body.dark .sa-hero *:not(.btn):not(a.btn),
body.dark .sa-section *:not(.btn):not(a.btn) {
    color: rgba(255,255,255,0.90);
}

.sa-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 160px 80px 100px;
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.sa-hero h1 {
    font-size: 62px;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 28px;
}

.sa-hero h1 em {
    font-family: 'Ephesis', cursive;
    font-size: 1.35em;
    font-style: normal;
    font-weight: 400;
}

.sa-hero-sub {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 44px;
}

.sa-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 80px 80px;
}

.sa-section + .sa-section { padding-top: 0; }

.sa-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.sa-title {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
}

.sa-text {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 640px;
}

/* Pain points */
.sa-pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.sa-pain-item {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 24px 28px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.sa-pain-item::before {
    content: "—";
    display: block;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Stats */
.sa-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.sa-stat {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 32px 28px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.sa-stat-num {
    display: block;
    font-size: 44px;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 10px;
}

.sa-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Benefits */
.sa-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
}

.sa-benefit {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 24px 28px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.sa-benefit:hover {
    background: var(--card-bg-hover);
    border-color: rgba(255,255,255,0.22);
}

.sa-benefit-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.sa-benefit-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.sa-benefit-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--text-muted);
}

/* Testimonials */
.sa-testimonials {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.sa-testimonial {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 32px;
}

.sa-testimonial-quote {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}

.sa-testimonial-meta {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Includes */
.sa-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 36px;
}

.sa-include-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: var(--text-secondary);
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.09);
}

.sa-include-item::before {
    content: "✓";
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

/* Process */
.sa-process {
    display: flex;
    gap: 0;
    margin-top: 48px;
    position: relative;
}

.sa-process::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.sa-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.sa-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--card-bg-hover);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    margin: 0 auto 20px;
    backdrop-filter: blur(20px);
}

.sa-step-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sa-step-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Pricing */
.sa-pricing-box {
    margin-top: 40px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 48px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    backdrop-filter: blur(20px);
}

.sa-pricing-left h3 {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sa-pricing-amount {
    font-size: 52px;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1;
}

.sa-pricing-amount span {
    font-size: 18px;
    color: var(--text-muted);
    letter-spacing: 0;
}

.sa-pricing-note {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
    line-height: 1.7;
}

/* Differentiator */
.sa-diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.sa-diff-col {
    border-radius: 20px;
    padding: 28px 30px;
}

.sa-diff-col.bad {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.sa-diff-col.good {
    background: var(--card-bg-hover);
    border: 1px solid rgba(255,255,255,0.2);
}

.sa-diff-col h4 {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.sa-diff-col.good h4 { color: var(--text-secondary); }

.sa-diff-col li {
    list-style: none;
    font-size: 15px;
    line-height: 2;
    color: var(--text-secondary);
}

.sa-diff-col.bad li { color: var(--text-muted); }

/* Final CTA */
.sa-final-cta {
    text-align: center;
    padding: 100px 80px;
    max-width: 860px;
    margin: 0 auto;
}

.sa-final-cta h2 {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.sa-final-cta h2 em {
    font-family: 'Ephesis', cursive;
    font-size: 1.3em;
    font-style: normal;
}

.sa-final-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.sa-cta-note {
    font-size: 13px;
    color: var(--text-faint);
    margin-top: 20px;
    letter-spacing: 0.5px;
}

/* Divider */
.sa-divider {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 80px;
}

.sa-divider hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ═══════════════════════════════════════════════════════
   TARIFS PAGE
═══════════════════════════════════════════════════════ */

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
    align-items: start;
}

.tarif-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    backdrop-filter: blur(20px);
    position: relative;
}

.tarif-card--featured {
    border-color: rgba(255,255,255,0.35);
    background: var(--card-bg-hover);
}

.tarif-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #3a4a7a;
    color: #fcfcf6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.3);
}

.tarif-name {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.tarif-price {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1;
}

.tarif-price span {
    font-size: 18px;
    color: var(--text-muted);
    letter-spacing: 0;
}

.tarif-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 10px;
}

.tarif-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.tarif-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.tarif-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-size: 12px;
}

/* FAQ Tarifs */
.tarifs-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.tarifs-faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 28px 32px;
}

.tarifs-faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tarifs-faq-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Dark mode overrides pour les cards/panels des pages service */
body.dark .sa-pain-item,
body.dark .sa-benefit,
body.dark .sa-testimonial,
body.dark .sa-include-item,
body.dark .sa-stat,
body.dark .sa-pricing-box,
body.dark .sa-diff-col.bad,
body.dark .sa-diff-col.good {
    background: var(--card-bg);
    border-color: rgba(255,255,255,0.1);
}

/* Dark mode — tarifs, FAQ, histoire, form, footer */
body.dark .tarif-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
}
body.dark .tarif-card--featured {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.25);
}
body.dark .tarif-badge {
    background: rgba(168, 212, 220, 0.85);
    color: #060E1C;
    border-color: transparent;
}
body.dark .tarifs-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
}
body.dark .histoire-quote {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
}
body.dark .histoire-value-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
}
body.dark .msf-check-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
}
body.dark .footer { color: rgba(255, 255, 255, 0.4); }
body.dark .sa-divider hr { border-color: rgba(255, 255, 255, 0.08); }
body.dark .sa-final-cta { border-top-color: rgba(255, 255, 255, 0.08); }
body.dark .section-pill {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
}

/* Dark mode — mini cards et portfolio */
body.dark .pf-folder-cover { border-color: rgba(255, 255, 255, 0.08); }
body.dark .pf-folder-meta { border-color: rgba(255, 255, 255, 0.06); }
body.dark .pf-folder:hover { border-color: rgba(255, 255, 255, 0.22); }
body.dark .mini-card { border-color: rgba(255, 255, 255, 0.12); }
body.dark .mini-card:hover { background: rgba(255, 255, 255, 0.07); }

/* Dark mode — cards, portfolio filters, contact form */
body.dark .project-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
body.dark .project-card:hover { background: rgba(255,255,255,0.07); }
body.dark .pf-btn { color: rgba(255,255,255,0.75); }
body.dark .pf-btn:hover,
body.dark .pf-btn.active { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); color: #fff; }
body.dark .portfolio-proof { color: rgba(255,255,255,0.5); }
body.dark .portfolio-service-link { color: rgba(255,255,255,0.6); }
body.dark .portfolio-service-link:hover { color: #fff; }
body.dark .cta-box { color: #CBD5E1; }
body.dark .nav-links a:hover { background: rgba(255,255,255,0.08); }
body.dark .contact-form input,
body.dark .contact-form textarea { color: #CBD5E1; border-color: rgba(255,255,255,0.12); }
body.dark .contact-form input::placeholder,
body.dark .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
body.dark .msf-field input[type="text"],
body.dark .msf-field input[type="email"],
body.dark .msf-field textarea { color: #CBD5E1; }
body.dark .msf-field input::placeholder,
body.dark .msf-field textarea::placeholder { color: rgba(255,255,255,0.4); }
body.dark .msf-field input:focus,
body.dark .msf-field textarea:focus { border-color: rgba(255,255,255,0.4); }
body.dark .msf-check-item input[type="checkbox"] { accent-color: white; }
body.dark .msf-step-dot.active .msf-dot-num,
body.dark .msf-step-dot.done .msf-dot-num { background: rgba(255,255,255,0.15); }
body.dark .msf-progress-line { background: rgba(255,255,255,0.2); }
body.dark .msf-option:hover { border-color: rgba(255,255,255,0.25); }
body.dark .msf-option:has(input:checked) { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }
body.dark .histoire-quote { border-left-color: rgba(255,255,255,0.6); }
body.dark .histoire-step:not(:last-child)::after { background: rgba(255,255,255,0.15); }
body.dark .histoire-step-num { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.25); }
body.dark .histoire-value-card:hover { background: rgba(255,255,255,0.12); }
body.dark .sa-benefit:hover { border-color: rgba(255,255,255,0.22); }
body.dark .sa-process::before { background: rgba(255,255,255,0.10); }
body.dark .project-image { background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05)); }

/* ═══════════════════════════════════════════════════════
   MOBILE — max 480px
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* LOGO — compact, ne chevauche pas la nav */
    .logo {
        top: 14px;
        left: 16px;
        gap: 8px;
    }
    .logo-circle {
        width: 36px;
        height: 36px;
    }
    .logo-text {
        font-size: 15px;
    }
    .logo-name {
        display: none;
    }

    /* NAVBAR — positionnée sous le logo, centrée */
    .navbar {
        top: 64px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        padding: 8px 16px;
    }
    .nav-links {
        gap: 0;
        justify-content: space-around;
        width: 100%;
    }
    .nav-links a {
        font-size: 15px;
        letter-spacing: 0;
        padding: 7px 12px;
    }

    /* MINI CARDS + CTA BOX — cachés sur mobile */
    .right-cards,
    .cta-box {
        display: none !important;
    }

    /* HERO */
    .hero {
        min-height: 100dvh !important;
        height: auto !important;
        padding: 140px 24px calc(50px + env(safe-area-inset-bottom)) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .sa-hero {
        min-height: auto !important;
        height: auto !important;
    }
    .hero h1 {
        font-size: 42px;
        line-height: 1.15;
    }
    .hero-text {
        font-size: 18px;
        line-height: 1.7;
        max-width: 100%;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .btn {
        font-size: 17px !important;
        padding: 16px 28px !important;
    }

    /* STATS — une seule définition, sur une ligne */
    .hero-stats {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 16px;
        margin-top: 32px;
    }
    .hero-stat-num {
        font-size: 24px;
    }
    .hero-stat-label {
        font-size: 14px;
    }

    /* SECTIONS — supprimer les espaces vides */
    .section {
        min-height: auto !important;
        height: auto !important;
        padding: 70px 24px;
    }
    .section-title {
        font-size: 34px;
    }
    .services-intro {
        font-size: 17px;
    }

    /* GRILLES */
    .cards,
    .projects {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* PROJECT CARDS */
    .project-card {
        padding: 20px;
    }
    .project-card h3 {
        font-size: 22px;
    }
    .project-card p {
        font-size: 16px;
    }
    .project-image {
        height: 220px !important;
    }

    /* SERVICES PAGE */
    .sa-hero {
        padding: 120px 24px 70px !important;
        min-height: auto !important;
    }
    .sa-hero h1 {
        font-size: 38px !important;
    }
    .sa-hero-sub {
        font-size: 18px !important;
    }
    .sa-section {
        padding: 60px 24px;
    }
    .sa-label {
        font-size: 13px;
    }
    .sa-title {
        font-size: 30px;
    }
    .sa-text {
        font-size: 17px;
    }
    .sa-pain-item {
        font-size: 16px;
    }
    .sa-benefit-title {
        font-size: 18px;
    }
    .sa-benefit-text {
        font-size: 16px;
    }
    .sa-stat-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .sa-stat-num {
        font-size: 40px;
    }
    .sa-stat-label {
        font-size: 15px;
    }
    .sa-include-item {
        font-size: 16px;
    }
    .sa-step-title {
        font-size: 20px;
    }
    .sa-step-text {
        font-size: 16px;
    }
    .sa-pricing-box {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }
    .sa-pricing-amount {
        font-size: 52px;
    }
    .sa-pricing-note {
        font-size: 16px;
    }
    .sa-diff-grid {
        grid-template-columns: 1fr;
    }
    .sa-process {
        flex-direction: column;
    }
    .sa-benefits {
        grid-template-columns: 1fr;
    }
    .sa-testimonial-quote {
        font-size: 17px;
    }
    .sa-final-cta {
        padding: 70px 24px;
    }
    .sa-final-cta h2 {
        font-size: 32px;
    }
    .sa-final-cta p {
        font-size: 17px;
    }

    /* FIX RESPONSIVE — grilles manquantes */
    .pf-folder-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .sa-pain-grid {
        grid-template-columns: 1fr;
    }
    .sa-includes {
        grid-template-columns: 1fr;
    }
    .sa-stat-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* FIX RESPONSIVE — textes trop petits */
    .msf-dot-label { font-size: 14px; }
    .pf-folder-sub { font-size: 14px; }
    .pf-folder-num { font-size: 14px; }
    .service-number { font-size: 14px; }
    .portfolio-proof { font-size: 14px; }
    .msf-step-hint { font-size: 14px; }
    .msf-reassurance { font-size: 14px; }
    .pf-btn { font-size: 15px; padding: 12px 22px; min-height: 44px; }

    /* FIX RESPONSIVE — touch targets */
    .nav-links a {
        padding: 12px 14px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .lb-close {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .theme-toggle {
        height: 44px;
        width: 80px;
    }

    /* FIX RESPONSIVE — padding trop grands */
    .sa-pricing-box {
        padding: 32px 24px;
    }
    .sa-divider {
        padding: 0 24px;
    }
    .sa-process::before {
        display: none;
    }

    /* Section pills — réduire padding mobile */
    .section-pill {
        padding: 12px 24px;
    }

    /* Cards — pas de débordement */
    .project-card,
    .service-card {
        max-width: 100%;
        overflow: hidden;
    }

    /* TARIFS */
    .tarifs-grid {
        grid-template-columns: 1fr;
    }
    .tarifs-faq {
        grid-template-columns: 1fr;
    }

    /* PORTFOLIO FILTERS */
    .portfolio-filters {
        gap: 10px;
    }
    .pf-btn {
        font-size: 15px;
        padding: 10px 20px;
    }

    /* LIGHTBOX */
    .lb-arrow {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    .lb-glass {
        padding: 20px;
        gap: 20px;
    }
    .lb-info h3 {
        font-size: 22px;
    }
    .lb-info p {
        font-size: 16px;
    }

    /* HISTOIRE */
    .histoire-quote {
        padding: 28px 24px;
    }
    .histoire-quote p {
        font-size: 17px;
    }
    .histoire-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .histoire-step {
        gap: 20px;
    }

    /* PORTFOLIO FOLDERS */
    .pf-folders-grid {
        grid-template-columns: 1fr;
    }
    .pf-folder-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .pf-folder-overlay {
        opacity: 1;
    }
    .pf-folder-open-icon {
        display: none;
    }
    .pf-gallery-overlay {
        opacity: 1;
    }
    .pf-gallery-overlay span {
        display: none;
    }

    /* CONTACT */
    .contact-form input,
    .contact-form textarea {
        font-size: 17px;
        padding: 16px 18px;
    }

    /* MULTI-STEP FORM MOBILE */
    .msf-form { padding: 28px 20px; }
    .msf-options { grid-template-columns: 1fr 1fr; }
    .msf-progress { gap: 8px; }
    .msf-progress-line { flex: 1; }
}
