﻿/* ==========================================================================
   CHRISTELLE SOBREVIA — Art Gallery
   ========================================================================== */

/* --- Font --- */
@font-face {
    font-family: 'Archivo';
    src: url('../fonts/Archivo-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo', sans-serif;
    background: #0a0a0a;
    color: #f5f0eb;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

::selection {
    background: rgba(200, 169, 126, 0.3);
    color: #f5f0eb;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: rgba(245, 240, 235, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 240, 235, 0.3);
}

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner img {
    width: 280px;
    animation: loaderPulse 2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.2; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 50px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 18px 50px;
    border-bottom: 1px solid rgba(245, 240, 235, 0.05);
}

.header-logo img {
    height: 35px;
    width: auto;
    transition: opacity 0.3s;
}

.header-logo:hover img {
    opacity: 0.7;
}

.nav {
    display: flex;
    gap: 45px;
}

.nav a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.6);
    transition: color 0.3s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f5f0eb;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover {
    color: #f5f0eb;
}

.nav a:hover::after {
    width: 100%;
}

/* --- Language Switcher --- */
#langSwitch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.35;
    transition: opacity 0.3s ease, transform 0.2s ease;
    border-radius: 2px;
    overflow: hidden;
}

.lang-btn:hover {
    opacity: 0.7;
}

.lang-btn.active {
    opacity: 1;
}

.lang-btn svg {
    width: 22px;
    height: 16px;
    display: block;
}

/* --- Menu Toggle (Mobile) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 1px;
    background: #f5f0eb;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.mobile-menu nav a {
    font-size: 22px;
    font-weight: 200;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #f5f0eb;
    transition: opacity 0.3s;
}

.mobile-menu nav a:hover {
    opacity: 0.4;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.zoom {
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    from { transform: scale(1.02); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse at center, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.45) 100%),
        linear-gradient(to bottom,
            rgba(10,10,10,0.5) 0%,
            rgba(10,10,10,0.05) 25%,
            rgba(10,10,10,0.05) 55%,
            rgba(10,10,10,0.65) 80%,
            rgba(10,10,10,0.92) 100%
        );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    z-index: 3;
    text-align: center;
}

.hero-logo {
    width: min(480px, 65vw);
    margin-bottom: 24px;
    opacity: 0;
    animation: heroFadeIn 1.2s ease 0.3s forwards;
    filter: drop-shadow(0 2px 20px rgba(0,0,0,0.5));
}

.hero-subtitle {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.6);
    opacity: 0;
    animation: heroFadeIn 1s ease 0.7s forwards;
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

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

.hero-bottom {
    position: absolute;
    bottom: 80px;
    left: 50px;
    right: 200px;
    z-index: 3;
}

.hero-painting-title {
    font-size: clamp(1.2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.4s ease;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
    line-height: 1.2;
}

.hero-painting-title.fade {
    opacity: 0;
}

.hero-progress {
    margin-top: 20px;
    width: 180px;
    height: 1px;
    background: rgba(245, 240, 235, 0.15);
    overflow: hidden;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: rgba(245, 240, 235, 0.7);
}

.hero-progress-bar.animate {
    width: 100%;
    transition: width linear;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 50px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: heroFadeIn 1s ease 1.2s forwards;
}

.scroll-indicator span {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    color: rgba(245, 240, 235, 0.4);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(245, 240, 235, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 240, 235, 0.6);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery {
    padding: 140px 50px 100px;
    min-height: 100vh;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 90px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-header.revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.7);
    white-space: nowrap;
}

.section-line {
    display: block;
    width: 70px;
    height: 1px;
    background: rgba(245, 240, 235, 0.15);
}

/* --- Gallery Grid (CSS Columns Masonry) --- */
.gallery-grid {
    columns: 3;
    column-gap: 22px;
    max-width: 1500px;
    margin: 0 auto;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 3px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.3) 35%,
        rgba(10, 10, 10, 0) 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 28px;
}

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

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

.gallery-item-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f5f0eb;
    transform: translateY(8px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.5;
}

.gallery-item:hover .gallery-item-title {
    transform: translateY(0);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 88vw;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-title {
    margin-top: 28px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.7);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    z-index: 3;
    background: none;
    border: none;
    color: rgba(245, 240, 235, 0.6);
    font-size: 36px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s;
    font-family: 'Archivo', sans-serif;
    font-weight: 200;
    line-height: 1;
}

.lightbox-close:hover {
    color: #f5f0eb;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: none;
    border: none;
    color: rgba(245, 240, 235, 0.5);
    font-size: 55px;
    cursor: pointer;
    padding: 20px;
    transition: all 0.3s;
    font-family: 'Archivo', sans-serif;
    font-weight: 200;
    line-height: 1;
}

.lightbox-nav:hover {
    color: #f5f0eb;
}

.lightbox-prev {
    left: 15px;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox-next {
    right: 15px;
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(3px);
}

.lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 4px;
    color: rgba(245, 240, 235, 0.35);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 90px 50px 50px;
    text-align: center;
    border-top: 1px solid rgba(245, 240, 235, 0.06);
}

.footer-logo {
    height: 45px;
    width: auto;
    margin: 0 auto 20px;
    opacity: 0.5;
}

.footer-text {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.3);
    margin-bottom: 50px;
}

.footer-copy {
    font-size: 10px;
    font-weight: 300;
    color: rgba(245, 240, 235, 0.2);
    letter-spacing: 1px;
}

.footer-agency {
    font-size: 10px;
    font-weight: 300;
    color: rgba(245, 240, 235, 0.2);
    letter-spacing: 1px;
    margin-top: 6px;
}

.footer-agency a {
    color: rgba(245, 240, 235, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-agency a:hover {
    color: rgba(245, 240, 235, 0.65);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .gallery-grid {
        columns: 3;
        column-gap: 18px;
    }

    .gallery-item {
        margin-bottom: 18px;
    }
}

@media (max-width: 1024px) {
    .gallery-grid {
        columns: 2;
        column-gap: 18px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 20px 25px;
    }

    .header.scrolled {
        padding: 14px 25px;
    }

    .nav {
        display: none;
    }

    #langSwitch {
        margin-left: auto;
        margin-right: 12px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        transform: translate(-50%, -52%);
    }

    .hero-logo {
        width: 75vw;
    }

    .hero-bottom {
        left: 25px;
        right: 25px;
        bottom: 70px;
    }

    .hero-painting-title {
        letter-spacing: 2px;
    }

    .scroll-indicator {
        right: 25px;
        bottom: 30px;
    }

    .gallery {
        padding: 100px 18px 60px;
    }

    .gallery-grid {
        columns: 2;
        column-gap: 14px;
    }

    .gallery-item {
        margin-bottom: 14px;
    }

    .gallery-item-overlay {
        padding: 18px;
    }

    .gallery-item-title {
        font-size: 10px;
        letter-spacing: 2px;
    }

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

    .lightbox-content img {
        max-width: 94vw;
        max-height: 65vh;
    }

    .lightbox-nav {
        font-size: 40px;
        padding: 12px;
    }

    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }

    .footer {
        padding: 60px 25px 40px;
    }
}

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

    .hero-logo {
        width: 85vw;
    }

    .hero-subtitle {
        letter-spacing: 6px;
        font-size: 9px;
    }

    .hero-bottom {
        bottom: 60px;
    }

    .hero-progress {
        width: 120px;
    }
}

/* --- Body lock when lightbox/menu open --- */
body.no-scroll {
    overflow: hidden;
}

/* ==========================================================================
   HOME — ABOUT SECTION
   ========================================================================== */
.home-about {
    padding: 120px 50px;
    background: #0d0d0d;
    border-top: 1px solid rgba(245, 240, 235, 0.04);
}

.home-about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.home-about-portrait {
    flex-shrink: 0;
    position: relative;
}

.home-about-portrait img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(15%) contrast(1.05);
    border: 1px solid rgba(245, 240, 235, 0.08);
    transition: filter 0.6s;
}

.home-about-portrait:hover img {
    filter: grayscale(0%) contrast(1);
}

/* Decorative ring */
.home-about-portrait::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1px dashed rgba(245, 240, 235, 0.12);
    pointer-events: none;
}

.home-about-content {
    flex: 1;
}

.home-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.3);
    margin-bottom: 22px;
}

.home-about-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: #f5f0eb;
    margin-bottom: 28px;
}

.home-about-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(245, 240, 235, 0.55);
    margin-bottom: 40px;
    letter-spacing: 0.3px;
    max-width: 520px;
}

.home-about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.65);
    border-bottom: 1px solid rgba(245, 240, 235, 0.2);
    padding-bottom: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-about-link::after {
    content: '\2192';
    font-weight: 300;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-about-link:hover {
    color: #f5f0eb;
    border-bottom-color: rgba(245, 240, 235, 0.5);
    gap: 18px;
}

/* ==========================================================================
   HOME — TECHNIQUE SECTION
   ========================================================================== */
.home-technique {
    padding: 120px 50px;
}

.home-technique-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.home-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 0;
}

.home-tech-card {
    border-radius: 3px;
    overflow: hidden;
    background: rgba(245, 240, 235, 0.02);
    border: 1px solid rgba(245, 240, 235, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-tech-card:hover {
    background: rgba(245, 240, 235, 0.04);
    border-color: rgba(245, 240, 235, 0.12);
    transform: translateY(-5px);
}

.home-tech-card-img {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.home-tech-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-tech-card:hover .home-tech-card-img img {
    transform: scale(1.06);
}

.home-tech-card-body {
    padding: 28px 24px;
}

.home-tech-card-body h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.85);
    margin-bottom: 12px;
}

.home-tech-card-body p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(245, 240, 235, 0.45);
}

/* ==========================================================================
   HOME — CTA SECTION
   ========================================================================== */
.home-cta {
    padding: 130px 50px;
    background: #0d0d0d;
    text-align: center;
    border-top: 1px solid rgba(245, 240, 235, 0.05);
}

.home-cta-inner {
    max-width: 580px;
    margin: 0 auto;
}

.home-cta-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f5f0eb;
    margin-bottom: 22px;
    line-height: 1.2;
}

.home-cta-inner p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(245, 240, 235, 0.45);
    margin-bottom: 45px;
    letter-spacing: 0.3px;
}

.home-cta-btn {
    display: inline-block;
    font-family: 'Archivo', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #0a0a0a;
    background: #f5f0eb;
    padding: 18px 50px;
    border-radius: 3px;
    transition: all 0.4s;
}

.home-cta-btn:hover {
    background: rgba(245, 240, 235, 0.85);
    transform: translateY(-2px);
}

/* ==========================================================================
   HOME — FOOTER LEGAL
   ========================================================================== */
.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 30px;
    margin-bottom: 40px;
}

.footer-legal a {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.25);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: rgba(245, 240, 235, 0.6);
}

/* ==========================================================================
   HOME — SCROLL REVEAL (sections accueil)
   ========================================================================== */
.home-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.home-about-content.home-reveal { transition-delay: 0.15s; }
.home-tech-card:nth-child(2).home-reveal { transition-delay: 0.1s; }
.home-tech-card:nth-child(3).home-reveal { transition-delay: 0.2s; }

/* ==========================================================================
   RESPONSIVE — nouvelles sections
   ========================================================================== */
@media (max-width: 768px) {
    .home-about {
        padding: 80px 25px;
    }

    .home-about-inner {
        flex-direction: column;
        gap: 40px;
    }

    .home-about-portrait::after {
        display: none;
    }

    .home-about-content {
        text-align: center;
    }

    .home-about-text {
        max-width: 100%;
    }

    .home-about-link {
        justify-content: center;
    }

    .home-technique {
        padding: 80px 25px;
    }

    .home-tech-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-tech-card:nth-child(2).home-reveal,
    .home-tech-card:nth-child(3).home-reveal {
        transition-delay: 0s;
    }

    .home-cta {
        padding: 80px 25px;
    }

    .home-cta-btn {
        padding: 16px 35px;
    }
}

@media (max-width: 480px) {
    .home-about-portrait img {
        width: 180px;
        height: 180px;
    }

    .home-about-title {
        font-size: 1.8rem;
    }

    .home-about-content.home-reveal {
        transition-delay: 0s;
    }
}
