:root {
    --magenta: #A61B5A;
    --magenta-dark: #8A1549;
    --magenta-light: #C62068;
    --rose: #E0006F;
    --lime: #8BC53F;
    --lime-dark: #6BA32D;
    --lime-light: #9FD454;
    --gold: #D4AF37;
    --cream: #FAF9F6;
    --cream-dark: #F0EDE8;
    --charcoal: #0F0F0F;
    --charcoal-light: #4A4A4A;
    --gray: #6B7280;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 60px rgba(166, 27, 90, 0.15);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

/* Retour visuel au clavier (couleurs inchangées) */
:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
}

.nav-link:focus-visible,
.nav-cta:focus-visible,
.logo:focus-visible,
.skip-link:focus-visible {
    outline-color: var(--lime);
}

.header.scrolled .nav-link:focus-visible {
    outline-color: var(--magenta);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 0;
    z-index: 2000;
    padding: 0.85rem 1.35rem;
    background: var(--charcoal);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 12px;
    transform: translateY(-120%);
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-md);
}

.skip-link:focus-visible {
    transform: translateY(4.5rem);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .skip-link:focus-visible {
        transform: translateY(5.25rem);
    }
}

/* Image Quality Enhancement */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

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

/* Custom Selection */
::selection {
    background: var(--magenta);
    color: white;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Smooth gradient text for titles */
.gradient-text {
    background: linear-gradient(135deg, var(--magenta) 0%, var(--lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effect for highlighted elements */
.glow {
    box-shadow: 0 0 30px rgba(166, 27, 90, 0.3);
}

/* Animated underline */
.animated-underline {
    position: relative;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--magenta), var(--lime));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.animated-underline:hover::after {
    transform: scaleX(1);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    border-radius: 100px;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.header.scrolled .nav-link {
    color: var(--charcoal);
}

.logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    letter-spacing: -1px;
    text-transform: lowercase;
    transition: var(--transition);
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-link:hover {
    color: var(--magenta);
    background: rgba(166, 27, 90, 0.08);
}

.nav-cta {
    background: var(--lime);
    color: var(--charcoal);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Menu mobile (lisible, même palette) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.header.scrolled .nav-toggle {
    background: rgba(0, 0, 0, 0.06);
    color: var(--charcoal);
}

.header.scrolled .nav-toggle:hover {
    background: rgba(166, 27, 90, 0.12);
    color: var(--magenta);
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    background: var(--charcoal);
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* L'image est pilotée en JS via applyPhotosToSite(config.hero) */
    background: center/cover no-repeat;
    opacity: 0.35;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    filter: contrast(1.05) saturate(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(166, 27, 90, 0.4) 0%, rgba(15, 15, 15, 0.3) 50%, transparent 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--charcoal) 0%, transparent 50%);
}

/* Floating shapes in hero */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--magenta);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--lime);
    bottom: 20%;
    right: -5%;
    animation-delay: -2s;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gold);
    top: 50%;
    left: 50%;
    animation-delay: -4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content>* {
    animation: heroFadeUp 1s ease-out both;
}

.hero-content>*:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-content>*:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-content>*:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-content>*:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 2rem;
}

.hero-badge::before {
    display: none;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -3px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--lime) 0%, var(--lime-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--lime);
    border-radius: 2px;
    transform: scaleX(0);
    animation: underlineGrow 1s ease 1.2s forwards;
}

@keyframes underlineGrow {
    to {
        transform: scaleX(1);
    }
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--lime) 0%, var(--lime-dark) 100%);
    color: var(--charcoal);
    box-shadow: 0 4px 15px rgba(139, 197, 63, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 197, 63, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

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

.btn-dark:hover {
    background: var(--magenta);
    transform: translateY(-2px);
}

/* === SERVICES === */
.services {
    padding: 8rem 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: -1px;
}

.section-title em {
    font-style: italic;
    color: var(--magenta);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--magenta), var(--lime));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(166, 27, 90, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--cream), var(--cream-dark));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    color: var(--charcoal);
}

.service-icon svg {
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--rose), var(--rose));
    color: white;
}

.service-card:hover .service-icon svg {
    stroke: white;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.service-text {
    color: var(--charcoal-light);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* === ABOUT === */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    filter: contrast(1.02) saturate(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 160px;
    height: 160px;
    background: var(--charcoal);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    z-index: 2;
}

.accent-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--lime);
}

.accent-text {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0.35rem;
    opacity: 0.8;
}

.about-content {
    padding-left: 1rem;
}

.about-text {
    font-size: 1rem;
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--cream);
    border-radius: 12px;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--lime);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
}

/* === GALLERY === */
.gallery {
    padding: 8rem 0;
    background: var(--cream);
}

.section-subtitle {
    color: var(--charcoal-light);
    font-size: 1rem;
    margin-top: 0.75rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--charcoal);
    background: transparent;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--charcoal);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--charcoal);
    border-radius: 50px;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.filter-btn:hover {
    color: var(--white);
    border-color: var(--charcoal);
}

.filter-btn:hover::before {
    transform: scaleX(1);
}

.filter-btn.active::before {
    transform: scaleX(1);
    background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
}

.filter-btn.active {
    color: var(--white);
    border-color: var(--magenta);
    box-shadow: 0 8px 25px rgba(166, 27, 90, 0.3);
}

.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 120px;
    gap: 0.75rem;
}

/* Layout: Grille uniforme */
.gallery-grid-large.layout-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
}

.gallery-grid-large.layout-grid .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
}

/* Layout: Masonry */
.gallery-grid-large.layout-masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
}

.gallery-grid-large.layout-masonry .gallery-item:nth-child(odd) {
    grid-row: span 2;
}

.gallery-grid-large.layout-masonry .gallery-item:nth-child(even) {
    grid-row: span 1;
}

.gallery-grid-large.layout-masonry .gallery-item:nth-child(3n) {
    grid-row: span 3;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: var(--charcoal);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Disposition bento */
.gallery-item:nth-child(1) {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item:nth-child(3) {
    grid-column: span 3;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 3;
    grid-row: span 2;
}

.gallery-item:nth-child(5) {
    grid-column: span 4;
    grid-row: span 3;
}

.gallery-item:nth-child(6) {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:nth-child(7) {
    grid-column: span 4;
    grid-row: span 2;
}

/* Les derniers items étaient trop petits : on leur donne plus d'espace */
.gallery-item:nth-child(8) {
    grid-column: span 6;
    grid-row: span 3;
}

.gallery-item:nth-child(9) {
    grid-column: span 6;
    grid-row: span 3;
}

/* Au-delà de 9 photos — uniquement ≥1025px (évite conflit avec tablette/mobile) */
@media (min-width: 1025px) {
    .gallery-grid-large:not(.layout-grid):not(.layout-masonry) .gallery-item:nth-child(10),
    .gallery-grid-large:not(.layout-grid):not(.layout-masonry) .gallery-item:nth-child(11) {
        grid-column: span 6;
        grid-row: span 2;
    }

    .gallery-grid-large:not(.layout-grid):not(.layout-masonry) .gallery-item:nth-child(n + 12) {
        grid-column: span 4;
        grid-row: span 2;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-font-smoothing: antialiased;
    filter: contrast(1.02) saturate(1.05);
}

.gallery-item:hover img {
    filter: brightness(1.08) contrast(1.05) saturate(1.15);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(166, 27, 90, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-tag {
    background: var(--lime);
    color: var(--charcoal);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.gallery-label {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
}

.gallery-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Before/After Slider */
.before-after-section {
    padding: 6rem 0;
    background: var(--white);
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
    align-items: center;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.comparison-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    filter: contrast(1.02) saturate(1.05);
}

.comparison-slider .img-before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.comparison-slider .img-after {
    z-index: 0;
}

.comparison-slider .slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--white);
    z-index: 10;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.comparison-slider .slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.comparison-slider .slider-handle::after {
    content: '◀ ▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.6rem;
    color: var(--charcoal);
    letter-spacing: 3px;
    font-weight: bold;
    white-space: nowrap;
}

.comparison-label {
    position: absolute;
    bottom: 1rem;
    padding: 0.4rem 0.9rem;
    background: var(--charcoal);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    z-index: 5;
}

.comparison-label.before {
    left: 1rem;
}

.comparison-label.after {
    right: 1rem;
    background: var(--lime);
    color: var(--charcoal);
}

.comparison-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comparison-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.comparison-info h3 em {
    font-style: italic;
    color: var(--magenta);
}

.comparison-info p {
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.comparison-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-item .number {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}

.stat-item .label {
    font-size: 0.8rem;
    color: var(--charcoal-light);
    margin-top: 0.2rem;
}

/* Fleet Section */
.fleet-section {
    margin-top: 4rem;
    background: var(--cream);
    border-radius: 24px;
    overflow: hidden;
}

.fleet-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
}

.fleet-text {
    padding: 3rem;
}

.fleet-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.fleet-text h3 em {
    font-style: italic;
    color: var(--lime);
}

.fleet-text p {
    color: var(--charcoal-light);
    line-height: 1.7;
}

.fleet-image {
    height: 100%;
    min-height: 280px;
}

.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    filter: contrast(1.02) saturate(1.05);
}

/* === CONTACT === */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.contact-info h2 em {
    font-style: italic;
    color: var(--magenta);
}

.contact-info>p {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.875rem 0.5rem;
    background: var(--cream);
    border-radius: 14px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--charcoal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: var(--charcoal);
    font-size: 0.85rem;
}

.contact-item-text p {
    color: var(--charcoal-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .contact-item {
        padding: 0.6rem 0.3rem;
        gap: 0.3rem;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .contact-item-text h4 {
        font-size: 0.7rem;
    }

    .contact-item-text p {
        font-size: 0.65rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .contact-details {
        gap: 0.35rem;
    }

    .contact-item {
        padding: 0.5rem 0.2rem;
        gap: 0.25rem;
        border-radius: 10px;
    }

    .contact-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    .contact-item-text h4 {
        font-size: 0.6rem;
    }

    .contact-item-text p {
        font-size: 0.55rem;
    }
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 320px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(30%);
    transition: var(--transition);
}

.contact-map:hover iframe {
    filter: grayscale(0%);
}

/* === FOOTER === */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 0.5rem;
    display: inline-block;
    font-size: 1.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--lime);
    color: var(--charcoal);
}


.footer-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

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

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

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: var(--transition);
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-bg {
        /* Garder le fond plein écran sur tablettes/mobile */
        width: auto;
    }

    .about-grid {
        gap: 3rem;
    }

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

    .service-card {
        padding: 1.25rem 0.75rem;
        border-radius: 16px;
        height: auto;
    }

    .service-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }

    .service-icon svg {
        width: 22px;
        height: 22px;
    }

    .service-title {
        font-size: 0.9rem;
        margin-bottom: 0.35rem;
    }

    .service-text {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .service-cta {
        font-size: 0.65rem;
        margin-top: 0.5rem;
    }

    .gallery-grid-large {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 100px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .gallery-item:nth-child(2) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .gallery-item:nth-child(3) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 4;
        grid-row: span 2;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(7) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .gallery-item:nth-child(8) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .gallery-item:nth-child(9) {
        grid-column: span 6;
        grid-row: span 2;
    }

    .fleet-content {
        grid-template-columns: 1fr;
    }

    .fleet-image {
        min-height: 200px;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .footer-brand .logo {
        font-size: 1.2rem;
    }

    .footer-text {
        font-size: 0.75rem;
    }

    .footer-title {
        font-size: 0.8rem;
    }

    .footer-links li a {
        font-size: 0.75rem;
    }
}

/* Photos 10+ : tablette uniquement (grille 6 col.). Pas sur mobile → évite span 3 sur 2 col. */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-grid-large:not(.layout-grid):not(.layout-masonry) .gallery-item:nth-child(10),
    .gallery-grid-large:not(.layout-grid):not(.layout-masonry) .gallery-item:nth-child(11) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .gallery-grid-large:not(.layout-grid):not(.layout-masonry) .gallery-item:nth-child(n + 12) {
        grid-column: span 3;
        grid-row: span 2;
    }
}

@media (max-width: 1000px) {
    .header {
        top: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: calc(100% - 1rem);
        padding: 0.4rem 0.5rem 0.4rem 1rem;
        gap: 1rem;
    }

    .nav-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

}

@media (max-width: 768px) {
    .header {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        transform: none;
        width: auto;
        max-width: none;
        padding: 0.4rem 0.5rem 0.4rem 0.75rem;
        gap: 0.5rem;
        justify-content: space-between;
    }

    .logo {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .nav-list {
        gap: 0;
    }

    .nav-link {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
    }

    .nav-cta {
        padding: 0.4rem 0.75rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .nav-actions {
        gap: 0.3rem;
        flex-shrink: 0;
    }

}

@media (max-width: 600px) {
    .header {
        padding: 0.35rem 0.5rem;
        gap: 0.4rem;
    }

    .logo {
        font-size: 0.9rem;
    }

    .nav-link {
        padding: 0.25rem 0.4rem;
        font-size: 0.6rem;
    }

    .nav-cta {
        padding: 0.3rem 0.6rem;
        font-size: 0.55rem;
    }

}

@media (max-width: 480px) {
    .header {
        border-radius: 35px;
        padding: 0.3rem 0.4rem;
        gap: 0.3rem;
    }

    .header.scrolled {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: fit-content;
        max-width: calc(100% - 1rem);
    }

    .logo {
        font-size: 0.8rem;
    }

    .nav-link {
        padding: 0.2rem 0.3rem;
        font-size: 0.5rem;
    }

    .nav-cta {
        padding: 0.25rem 0.5rem;
        font-size: 0.5rem;
    }


    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
        /* Évite un hero trop petit sur mobile */
        min-height: 100svh;
    }

    .hero-bg {
        background-position: center top;
        animation: none;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-accent {
        right: 1rem;
        bottom: -1rem;
        width: 120px;
        height: 120px;
    }

    .accent-number {
        font-size: 2rem;
    }

    .about-content {
        padding-left: 0;
    }

    .about-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem 0.25rem;
        gap: 0.25rem;
    }

    .feature-check {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .feature-text {
        font-size: 0.6rem;
    }

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

    .gallery-grid-large {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
        gap: 0.5rem;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Layouts alternatifs sur mobile */
    .gallery-grid-large.layout-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery-grid-large.layout-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 100px;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(8) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(9) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-grid-large:not(.layout-grid):not(.layout-masonry) .gallery-item:nth-child(10),
    .gallery-grid-large:not(.layout-grid):not(.layout-masonry) .gallery-item:nth-child(11),
    .gallery-grid-large:not(.layout-grid):not(.layout-masonry) .gallery-item:nth-child(n + 12) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-filters {
        gap: 0.25rem;
    }

    .filter-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comparison-info h3 {
        font-size: 1.35rem;
    }

    .comparison-stats {
        justify-content: flex-start;
        gap: 1.5rem;
    }

    .stat-item .number {
        font-size: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }

    .footer-brand .logo {
        font-size: 1rem;
    }

    .footer-text {
        font-size: 0.6rem;
        margin-bottom: 0.5rem;
    }

    .footer-social a {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .footer-title {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .footer-links li a {
        font-size: 0.6rem;
        padding: 0.15rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        font-size: 0.65rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .services,
    .about,
    .gallery,
    .contact,
    .before-after-section {
        padding: 5rem 0;
    }
}

@media (max-width: 400px) {
    .header {
        padding: 0.25rem 0.35rem;
        gap: 0.2rem;
        border-radius: 30px;
    }

    .logo {
        font-size: 0.7rem;
    }

    .nav-link {
        padding: 0.15rem 0.2rem;
        font-size: 0.45rem;
    }

    .nav-cta {
        padding: 0.2rem 0.4rem;
        font-size: 0.45rem;
    }


    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
    }

    .services-grid {
        gap: 0.5rem;
        align-items: start;
    }

    .service-card {
        padding: 1rem 0.5rem;
        border-radius: 14px;
        height: auto;
    }

    .service-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        margin-bottom: 0.4rem;
    }

    .service-icon svg {
        width: 18px;
        height: 18px;
    }

    .service-title {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .service-text {
        font-size: 0.65rem;
        display: block;
        line-height: 1.35;
    }

    .service-cta {
        display: none;
    }

    .feature-item {
        padding: 0.4rem 0.2rem;
        gap: 0.2rem;
    }

    .feature-check {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }

    .feature-text {
        font-size: 0.5rem;
    }

    .about-features {
        gap: 0.35rem;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .footer-brand .logo {
        font-size: 0.85rem;
    }

    .footer-text {
        font-size: 0.5rem;
        line-height: 1.3;
    }

    .footer-social {
        gap: 0.3rem;
    }

    .footer-social a {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
    }

    .footer-social a svg {
        width: 10px;
        height: 10px;
    }

    .footer-title {
        font-size: 0.55rem;
        margin-bottom: 0.35rem;
    }

    .footer-links li a {
        font-size: 0.5rem;
        padding: 0.1rem 0;
    }

    .footer-bottom {
        font-size: 0.55rem;
    }

    .footer-bottom-links a {
        font-size: 0.5rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--magenta), var(--lime));
    border-radius: 5px;
}

::selection {
    background: var(--magenta);
    color: var(--white);
}

/* === ANIMATIONS === */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    animation: fadeUp 1s ease-out;
}

.hero-badge {
    animation: scaleIn 0.6s ease-out;
}

.service-card {
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item {
    opacity: 0;
    animation: scaleIn 0.5s ease-out forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.05s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.15s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.25s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(7) {
    animation-delay: 0.35s;
}

.gallery-item:nth-child(8) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(9) {
    animation-delay: 0.45s;
}

.gallery-item:nth-child(10) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(11) {
    animation-delay: 0.55s;
}

/* Smooth cursor */
* {
    cursor: default;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem 1.5rem;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--rose), transparent);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px rgba(166, 27, 90, 0.3);
    transition: var(--transition);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed var(--magenta);
    opacity: 0;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(166, 27, 90, 0.4);
}

.process-step:hover .step-number::before {
    opacity: 0.5;
    animation: spin 8s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.step-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Stats Banner */
.stats-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(166, 27, 90, 0.15) 0%, transparent 50%);
    animation: rotateBg 30s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(166, 27, 90, 0.3);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: var(--rose);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--cream) 100%);
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 4px;
    background: linear-gradient(90deg, var(--magenta), var(--lime));
    border-radius: 4px;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(166, 27, 90, 0.12);
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: var(--rose);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: #FFD700;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--rose);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .process-step::after {
        display: none;
    }

    .process-step {
        padding: 1rem 0.5rem;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .step-title {
        font-size: 0.7rem;
    }

    .step-text {
        font-size: 0.6rem;
        line-height: 1.35;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .process-step {
        padding: 1rem 0.5rem;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .step-title {
        font-size: 0.65rem;
        margin-top: 0.4rem;
    }

    .step-text {
        font-size: 0.55rem;
        display: block;
        line-height: 1.3;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .stat-card {
        padding: 1rem 0.5rem;
        border-radius: 14px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }

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

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
}

a,
button,
.filter-btn,
.gallery-item,
.comparison-slider {
    cursor: pointer;
}

/* Service Card CTA */
.service-cta {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rose);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-cta {
    opacity: 1;
    transform: translateY(0);
}

.service-card[data-service] {
    cursor: pointer;
}

/* Service Modal */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 85vh;
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    overflow-y: auto;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--charcoal);
}

.modal-close:hover {
    background: var(--rose);
    color: white;
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--charcoal);
}

.modal-title em {
    font-style: normal;
    color: var(--rose);
}

.modal-gallery {
    display: none;
}

.modal-gallery.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    filter: contrast(1.02) saturate(1.05);
}

.gallery-card:hover img {
    filter: contrast(1.05) saturate(1.15) brightness(1.05);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-card-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .modal-title {
        font-size: 1.5rem;
        padding-right: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-card {
        aspect-ratio: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Google Reviews Styles */
.google-rating-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(52, 168, 83, 0.1) 100%);
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.google-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.google-logo svg {
    width: 24px;
    height: 24px;
}

.google-logo span {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 1rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars svg {
    width: 20px;
    height: 20px;
    fill: #FBBC04;
}

.rating-stars svg.empty {
    fill: #E0E0E0;
}

.rating-stars svg.half {
    fill: url(#halfGradient);
}

.rating-count {
    font-size: 0.9rem;
    color: var(--gray);
}

@media (max-width: 480px) {
    .google-rating-header {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: 16px;
        width: 100%;
        max-width: 520px;
    }

    .rating-number {
        font-size: 1.4rem;
    }

    .rating-stars svg {
        width: 18px;
        height: 18px;
    }

    .rating-count {
        font-size: 0.85rem;
    }
}

.reviews-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--cream);
    border-top-color: var(--magenta);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.reviews-loading p {
    color: var(--gray);
    font-size: 0.95rem;
}

.google-reviews-footer {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.google-reviews-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.google-reviews-footer .btn svg {
    flex-shrink: 0;
}

.testimonial-card .google-badge {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--charcoal);
}

.testimonial-card .google-badge svg {
    width: 16px;
    height: 16px;
}

.testimonial-card .review-date {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.author-avatar.google-avatar {
    background: none;
    overflow: hidden;
}

.author-avatar.google-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.reviews-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--cream);
    border-radius: 20px;
}

.reviews-error svg {
    width: 60px;
    height: 60px;
    color: var(--gray);
    margin-bottom: 1rem;
}

.reviews-error h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.reviews-error p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Reviews Carousel */
.reviews-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.reviews-carousel {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1rem 0;
}

.reviews-carousel .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 280px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: var(--charcoal);
}

.carousel-btn:hover {
    background: var(--magenta);
    color: white;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn:disabled:hover {
    background: var(--white);
    color: var(--charcoal);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border: none;
    background: var(--cream-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--magenta);
    transform: scale(1.2);
}

.carousel-dot:hover:not(.active) {
    background: var(--gray);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;
        left: 0.5rem;
        right: 0.5rem;
        top: 4.85rem;
        z-index: 999;
        width: auto;
        height: auto;
        max-height: none;
        flex: none;
        margin: 0;
        overflow: visible;
        clip: auto;
        clip-path: none;
        padding: 0.75rem;
        border-radius: 20px;
        background: rgba(26, 26, 26, 0.96);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    }

    .header.scrolled .nav-menu {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: var(--shadow-md);
    }

    .header.nav-open .nav-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.35rem;
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.92);
        border-radius: 14px;
    }

    .header.scrolled .nav-link {
        color: var(--charcoal);
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.12);
        color: var(--white);
    }

    .header.scrolled .nav-link:hover {
        background: rgba(166, 27, 90, 0.1);
        color: var(--magenta);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-bg {
        animation: none !important;
    }

    .hero-shape {
        animation: none !important;
    }

    .hero-content>* {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-title em::after {
        animation: none !important;
        transform: scaleX(1);
    }

    .reveal.active,
    .reveal-element.revealed {
        opacity: 1;
        transform: none;
    }

    .reveal,
    .reveal-element {
        transition: none;
    }
}

@media (max-width: 768px) {
    .reviews-carousel .testimonial-card {
        flex: 0 0 calc(100% - 1rem);
        min-width: 260px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
    }
}
    
