/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0C0C0E;
    --bg-secondary: #1A1A1E;
    --border-subtle: rgba(255,255,255,0.06);
    --text-primary: #F2F0ED;
    --text-secondary: #9A9590;
    --text-muted: #5E5A56;
    --accent: #C9A96E;
    --accent-light: #DBBF8A;
    --accent-glow: rgba(201,169,110,0.12);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body.menu-open {
    overflow: hidden;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

a, button {
    touch-action: manipulation;
}

/* Focus visible (clavier) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.nav-cta:focus-visible,
.mobile-menu-cta:focus-visible,
.btn-filled:focus-visible,
.btn-outline:focus-visible,
.btn-submit:focus-visible,
.pillar-cta:focus-visible,
.pillar-promo:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 48px;
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .scroll-indicator .line::after {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
    background: rgba(12, 12, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    transition: color 0.3s;
}

.nav-logo svg {
    height: 28px;
    width: auto;
    display: block;
}

.nav-logo:hover {
    color: var(--accent);
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.3s;
    letter-spacing: 0.02em;
    padding: 8px 0;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--text-primary);
}

.nav-links .nav-lang {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-links .nav-lang:hover {
    color: var(--text-primary);
}

.mobile-menu-links .nav-lang {
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav-links .nav-cta,
.nav-links a.nav-cta {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    padding: 10px 22px;
    border-radius: 4px;
    transition: background 0.4s, color 0.4s;
    letter-spacing: 0.06em;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
}

.nav-links .nav-cta:hover,
.nav-links a.nav-cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

/* Hamburger button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 1px;
}

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

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

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

/* Mobile fullscreen menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(12, 12, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 48px;
}

.mobile-menu-links a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s, opacity 0.6s, transform 0.6s;
    padding: 12px 24px;
    min-height: 44px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(16px);
}

.mobile-menu.open .mobile-menu-links a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-links a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu-links a:nth-child(3) { transition-delay: 0.15s; }

.mobile-menu-links a:active {
    color: var(--text-primary);
}

.mobile-menu-cta {
    width: calc(100% - 48px);
    max-width: 320px;
    padding: 16px 36px;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 4px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s 0.2s, transform 0.6s 0.2s, background 0.3s;
}

.mobile-menu.open .mobile-menu-cta {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-cta:active {
    background: var(--accent-light);
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/IMG_7215.jpeg') center center / cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12, 12, 14, 0.95) 0%,
        rgba(12, 12, 14, 0.7) 40%,
        rgba(12, 12, 14, 0.5) 100%
    );
    z-index: -1;
}

.hero-content {
    padding-top: 72px;
}

.hero .section-label {
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.08;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-title .accent {
    color: var(--accent);
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.btn-filled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border-radius: 8px;
    transition: background 0.4s, transform 0.4s;
    cursor: pointer;
    min-height: 48px;
}

.btn-filled:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border: 1px solid var(--accent);
    border-radius: 8px;
    transition: background 0.4s, color 0.4s, transform 0.4s;
    cursor: pointer;
    min-height: 48px;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator span {
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.scroll-indicator .line {
    width: 1px;
    height: 32px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
    padding: 160px 0 80px;
    border-bottom: 1px solid var(--border-subtle);
}

.page-hero .section-label {
    margin-bottom: 16px;
}

.page-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero-title .accent {
    color: var(--accent);
}

.page-hero-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.75;
}

/* ========================================
   ETHIQUE (homepage)
   ======================================== */
.ethique {
    padding: 120px 0;
}

.ethique-intro {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 72px;
}

.ethique-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.ethique-pillar {
    border-top: 1px solid var(--border-subtle);
    padding: 40px 48px 40px 0;
}

.ethique-pillar:nth-child(even) {
    padding-left: 48px;
    padding-right: 0;
    border-left: 1px solid var(--border-subtle);
}

.pillar-number {
    color: var(--text-secondary);
    line-height: 1;
    margin-bottom: 22px;
    opacity: 0.85;
}

.pillar-number svg {
    width: 38px;
    height: 38px;
    display: block;
}

.ethique-pillar h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ethique-pillar p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.75;
}

.pillar-promo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    text-decoration: none;
    line-height: 1;
}

.pillar-promo:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 169, 110, 0.28);
    transform: translateY(-1px);
}

.pillar-promo-name {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.pillar-promo-dot {
    color: var(--text-muted);
    opacity: 0.5;
    font-weight: 300;
}

.pillar-promo-code {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.12em;
}

.pillar-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}

.pillar-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.pillar-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.pillar-cta:hover svg {
    transform: translateX(3px);
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px 32px;
    transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s, background 0.4s;
}

.service-card:hover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.service-duration {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    opacity: 0.8;
    margin-bottom: 18px;
}

.service-card > p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.service-list li {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0.5;
}

/* ========================================
   TIMELINE (Parcours page)
   ======================================== */
.timeline-section {
    padding: 40px 0 120px;
}

.timeline-rail {
    position: relative;
    max-width: 880px;
    margin: 0 auto 72px;
}

.timeline-rail-line {
    position: absolute;
    top: 27px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: var(--border-subtle);
    overflow: hidden;
}

.timeline-rail-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.14));
}

.timeline-markers {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 1;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
}

.timeline-marker-num {
    width: 56px;
    height: 56px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.timeline-marker-num svg {
    width: 24px;
    height: 24px;
}

.timeline-marker-title {
    margin-top: 16px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.timeline-marker-duration {
    margin-top: 4px;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

/* Looping animation when timeline is in viewport (motion allowed) */
@media (prefers-reduced-motion: no-preference) {
    .timeline-rail.in-view .timeline-rail-fill {
        animation: timeline-line-loop 8s ease-in-out infinite;
    }

    .timeline-rail.in-view .timeline-marker:nth-child(1) .timeline-marker-num {
        animation: timeline-marker1-num 8s ease-in-out infinite;
    }
    .timeline-rail.in-view .timeline-marker:nth-child(1) .timeline-marker-title {
        animation: timeline-marker1-title 8s ease-in-out infinite;
    }
    .timeline-rail.in-view .timeline-marker:nth-child(1) .timeline-marker-duration {
        animation: timeline-marker1-duration 8s ease-in-out infinite;
    }

    .timeline-rail.in-view .timeline-marker:nth-child(2) .timeline-marker-num {
        animation: timeline-marker2-num 8s ease-in-out infinite;
    }
    .timeline-rail.in-view .timeline-marker:nth-child(2) .timeline-marker-title {
        animation: timeline-marker2-title 8s ease-in-out infinite;
    }
    .timeline-rail.in-view .timeline-marker:nth-child(2) .timeline-marker-duration {
        animation: timeline-marker2-duration 8s ease-in-out infinite;
    }

    .timeline-rail.in-view .timeline-marker:nth-child(3) .timeline-marker-num {
        animation: timeline-marker3-num 8s ease-in-out infinite;
    }
    .timeline-rail.in-view .timeline-marker:nth-child(3) .timeline-marker-title {
        animation: timeline-marker3-title 8s ease-in-out infinite;
    }
    .timeline-rail.in-view .timeline-marker:nth-child(3) .timeline-marker-duration {
        animation: timeline-marker3-duration 8s ease-in-out infinite;
    }
}

/* Reduced-motion fallback: static "active" state when in view, no animation */
@media (prefers-reduced-motion: reduce) {
    .timeline-rail.in-view .timeline-rail-fill { width: 100%; }
    .timeline-rail.in-view .timeline-marker .timeline-marker-num {
        border-color: rgba(255, 255, 255, 0.32);
        color: var(--text-primary);
        background: var(--bg-secondary);
    }
    .timeline-rail.in-view .timeline-marker .timeline-marker-title { color: var(--text-primary); }
    .timeline-rail.in-view .timeline-marker .timeline-marker-duration { color: var(--text-secondary); }
}

@keyframes timeline-line-loop {
    0% { width: 0; }
    40% { width: 100%; }
    60% { width: 100%; }
    90% { width: 0; }
    100% { width: 0; }
}

@keyframes timeline-marker1-num {
    0%, 5% { border-color: var(--border-subtle); color: var(--text-muted); background: var(--bg-primary); }
    10%, 60% { border-color: rgba(255, 255, 255, 0.32); color: var(--text-primary); background: var(--bg-secondary); }
    75%, 100% { border-color: var(--border-subtle); color: var(--text-muted); background: var(--bg-primary); }
}
@keyframes timeline-marker1-title {
    0%, 5% { color: var(--text-secondary); }
    10%, 60% { color: var(--text-primary); }
    75%, 100% { color: var(--text-secondary); }
}
@keyframes timeline-marker1-duration {
    0%, 5% { color: var(--text-muted); }
    10%, 60% { color: var(--text-secondary); }
    75%, 100% { color: var(--text-muted); }
}

@keyframes timeline-marker2-num {
    0%, 18% { border-color: var(--border-subtle); color: var(--text-muted); background: var(--bg-primary); }
    22%, 60% { border-color: rgba(255, 255, 255, 0.32); color: var(--text-primary); background: var(--bg-secondary); }
    75%, 100% { border-color: var(--border-subtle); color: var(--text-muted); background: var(--bg-primary); }
}
@keyframes timeline-marker2-title {
    0%, 18% { color: var(--text-secondary); }
    22%, 60% { color: var(--text-primary); }
    75%, 100% { color: var(--text-secondary); }
}
@keyframes timeline-marker2-duration {
    0%, 18% { color: var(--text-muted); }
    22%, 60% { color: var(--text-secondary); }
    75%, 100% { color: var(--text-muted); }
}

@keyframes timeline-marker3-num {
    0%, 38% { border-color: var(--border-subtle); color: var(--text-muted); background: var(--bg-primary); }
    42%, 60% { border-color: rgba(255, 255, 255, 0.32); color: var(--text-primary); background: var(--bg-secondary); }
    75%, 100% { border-color: var(--border-subtle); color: var(--text-muted); background: var(--bg-primary); }
}
@keyframes timeline-marker3-title {
    0%, 38% { color: var(--text-secondary); }
    42%, 60% { color: var(--text-primary); }
    75%, 100% { color: var(--text-secondary); }
}
@keyframes timeline-marker3-duration {
    0%, 38% { color: var(--text-muted); }
    42%, 60% { color: var(--text-secondary); }
    75%, 100% { color: var(--text-muted); }
}

.service-duration.mobile-only,
.card-phase-icon.mobile-only {
    display: none;
}

.card-phase-icon {
    flex-shrink: 0;
}

/* ========================================
   FEATURE STRIP
   ======================================== */
.feature-strip {
    padding: 100px 0 40px;
}

.feature-strip-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}

.feature-strip-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-strip-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 12, 14, 0) 60%, rgba(12, 12, 14, 0.4) 100%);
    pointer-events: none;
}

.feature-strip-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-strip-inner:hover .feature-strip-image img {
    transform: scale(1.03);
}

.feature-strip-text .section-label {
    margin-bottom: 16px;
}

.feature-strip-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.feature-strip-text p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 460px;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
    padding: 120px 0;
}

/* Bande défilante ping-pong (bounce) */
.gallery-strip {
    position: relative;
    overflow: hidden;
    padding: 4px 0 12px;
    margin: 0 -40px;
    --gallery-fade: 80px;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 var(--gallery-fade),
        #000 calc(100% - var(--gallery-fade)),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 var(--gallery-fade),
        #000 calc(100% - var(--gallery-fade)),
        transparent 100%
    );
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: gallery-bounce 30s linear infinite alternate;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

@keyframes gallery-bounce {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(min(0px, calc(100vw - 100% - 80px)), 0, 0); }
}

.gallery-item {
    position: relative;
    flex: 0 0 auto;
    margin-right: 20px;
    width: clamp(240px, 32vw, 400px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
    display: block;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 12, 14, 0) 50%, rgba(12, 12, 14, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

@media (hover: hover) {
    .gallery-item:hover::after {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-track {
        animation: none;
    }
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    max-width: 920px;
    margin: 0 auto;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: background 0.3s, border-color 0.3s;
    min-height: 52px;
}

.instagram-link:hover {
    background: var(--bg-secondary);
    border-color: rgba(201, 169, 110, 0.15);
}

.instagram-link svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

.instagram-link span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Form */
.contact-form-wrapper {
    padding: 8px 4px;
}

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

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.form-optional {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.28);
    text-transform: lowercase;
    font-weight: 300;
    margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    padding: 12px 0 14px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 300;
    font-family: inherit;
    transition: border-color 0.4s ease;
    min-height: 48px;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-bottom-color: rgba(255, 255, 255, 0.28);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.7;
    padding: 12px 0;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 28px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%239A9590' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5 L6 6 L11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* ============ CUSTOM SELECT (Durée du parcours) ============ */
.custom-select {
    position: relative;
}

.custom-select-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    border: 0;
    padding: 0;
    margin: 0;
}

.custom-select-trigger {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    padding: 12px 28px 14px 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 300;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.4s ease;
    position: relative;
}

.custom-select-trigger:hover {
    border-bottom-color: rgba(255, 255, 255, 0.28);
}

.custom-select-trigger:focus,
.custom-select-trigger:focus-visible,
.custom-select-trigger[aria-expanded="true"] {
    outline: none;
    border-bottom-color: var(--accent);
}

.custom-select-value {
    color: var(--text-muted);
    font-weight: 300;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-value.has-value {
    color: var(--text-primary);
}

.custom-select-chevron {
    width: 12px;
    height: 8px;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.custom-select-trigger[aria-expanded="true"] .custom-select-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.custom-select-options {
    list-style: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), var(--bg-secondary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7), 0 2px 8px -4px rgba(0, 0, 0, 0.5);
    z-index: 30;
    opacity: 0;
    transform: translateY(-4px);
    animation: customSelectOpen 0.2s ease forwards;
    max-height: 280px;
    overflow-y: auto;
}

.custom-select.opens-up .custom-select-options {
    top: auto;
    bottom: calc(100% + 6px);
    transform: translateY(4px);
    animation: customSelectOpenUp 0.2s ease forwards;
    box-shadow: 0 -18px 40px -22px rgba(0, 0, 0, 0.7), 0 -2px 8px -4px rgba(0, 0, 0, 0.5);
}

.custom-select-options[hidden] {
    display: none;
}

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

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

.custom-select-options li {
    padding: 12px 16px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s ease;
    outline: none;
}

.custom-select-options li:hover,
.custom-select-options li:focus,
.custom-select-options li:focus-visible,
.custom-select-options li.is-focused,
.custom-select-options li[aria-selected="true"] {
    background: rgba(255, 255, 255, 0.05);
}

.custom-select-options li:active {
    background: rgba(255, 255, 255, 0.08);
}

.custom-select-options li:hover .custom-select-option-duration,
.custom-select-options li.is-focused .custom-select-option-duration,
.custom-select-options li[aria-selected="true"] .custom-select-option-duration {
    color: var(--text-primary);
}

.custom-select-option-duration {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-primary);
    font-family: inherit;
}

.custom-select-option-phase {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    .custom-select-chevron,
    .custom-select-value,
    .custom-select-options li {
        transition: none;
    }
    .custom-select-options {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 500;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    margin-top: 12px;
    min-height: 60px;
}

.btn-submit:hover {
    background: var(--accent-light);
    box-shadow: 0 12px 32px -16px rgba(201, 169, 110, 0.6);
    transform: translateY(-1px);
}

.form-success {
    display: none;
    text-align: center;
    padding: 18px 16px 4px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-top: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.form-success.show {
    display: block;
    opacity: 1;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 56px;
    margin-bottom: 32px;
    text-align: center;
}

.footer-brand {
    text-align: center;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.footer-brand .footer-logo svg {
    height: 24px;
    width: auto;
    display: block;
}

.footer-brand p {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.3s;
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

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

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

.footer-partner {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-partner-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    opacity: 0.7;
    margin-bottom: 10px;
}

.footer-partner-main {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.footer-partner-main strong {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.footer-partner-address {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-partner-address:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* ========================================
   TOUCH DEVICES
   ======================================== */
@media (hover: none) {
    .service-card:hover {
        transform: none;
        border-color: var(--border-subtle);
        box-shadow: none;
    }

    .service-card:active {
        transform: scale(0.98);
        border-color: rgba(201, 169, 110, 0.2);
    }

    .gallery-item:hover {
        transform: none;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.05);
    }

    .gallery-item:hover img {
        transform: none;
    }

    .gallery-item:hover::after {
        opacity: 0;
    }

    .gallery-item:active {
        border-color: rgba(201, 169, 110, 0.2);
    }

    .btn-filled:hover,
    .btn-outline:hover {
        transform: none;
    }

    .btn-filled:active {
        background: var(--accent-light);
        transform: scale(0.98);
    }

    .btn-outline:active {
        background: var(--accent);
        color: var(--bg-primary);
        transform: scale(0.98);
    }

    .btn-submit:hover {
        transform: none;
        box-shadow: none;
    }

    .btn-submit:active {
        background: var(--accent-light);
        transform: scale(0.98);
    }

    .instagram-link:active {
        background: var(--bg-secondary);
        border-color: rgba(201, 169, 110, 0.15);
    }
}

/* ========================================
   RESPONSIVE - TABLET (max 1024px)
   ======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .nav-logo svg {
        height: 24px;
    }

    .nav-links {
        gap: 28px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid .service-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }

    .contact-grid {
        gap: 40px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .btn-filled,
    .btn-outline {
        padding: 12px 24px;
    }

    .ethique-grid {
        gap: 0;
    }

    .ethique-pillar {
        padding: 32px 32px 32px 0;
    }

    .ethique-pillar:nth-child(even) {
        padding-left: 32px;
    }
}

/* ========================================
   RESPONSIVE - SMALL TABLET (max 768px)
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
        order: -1;
    }

    .nav-logo {
        order: 1;
    }

    .nav-inner {
        height: 64px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-content {
        padding-top: 64px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }

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

    .hero-buttons a {
        text-align: center;
        width: 100%;
    }

    .scroll-indicator span {
        font-size: 0.6rem;
    }

    .scroll-indicator .line {
        height: 24px;
    }

    .gallery,
    .contact,
    .ethique {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 36px;
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }

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

    .services-grid .service-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .timeline-section {
        padding: 20px 0 80px;
    }

    .timeline-rail {
        display: none;
    }

    .service-duration.mobile-only {
        display: inline-block;
        vertical-align: middle;
        color: var(--text-secondary);
        opacity: 1;
    }

    .card-phase-icon.mobile-only {
        display: inline-block;
        vertical-align: middle;
        width: 22px;
        height: 22px;
        color: var(--text-secondary);
        margin-right: 10px;
        margin-bottom: 18px;
    }

    .feature-strip {
        padding: 60px 0 20px;
    }

    .feature-strip-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-strip-image img {
        aspect-ratio: 3 / 4;
    }

    .service-card {
        padding: 28px;
    }

    .gallery-strip {
        margin: 0 -32px;
        padding: 4px 0 8px;
        --gallery-fade: 48px;
    }

    .gallery-item {
        margin-right: 14px;
        width: clamp(220px, 60vw, 320px);
        border-radius: 6px;
    }

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

    .contact-info > p {
        margin-bottom: 24px;
    }

    .instagram-link {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 4px 0 0;
    }

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

    .footer {
        padding: 36px 0 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

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

    .ethique-pillar {
        padding: 32px 0;
    }

    .ethique-pillar:nth-child(even) {
        padding-left: 0;
        border-left: none;
    }

    .ethique-intro {
        margin-bottom: 40px;
    }

    .page-hero {
        padding: 120px 0 60px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE LARGE (max 480px)
   ======================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .gallery,
    .contact,
    .ethique {
        padding: 64px 0;
    }

    .gallery-strip {
        margin: 0 -20px;
        --gallery-fade: 36px;
    }

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

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.6rem);
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 0.88rem;
        margin-bottom: 28px;
    }

    .scroll-indicator {
        bottom: 24px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .contact-form-wrapper {
        padding: 0;
    }
}

/* ========================================
   RESPONSIVE - MOBILE SMALL (max 375px)
   ======================================== */
@media (max-width: 375px) {
    .container {
        padding: 0 16px;
    }

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

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

    .mobile-menu-links a {
        font-size: 1.7rem;
        gap: 32px;
    }
}

/* ========================================
   RESERVE MODAL
   ======================================== */
.reserve-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}

.reserve-modal:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.reserve-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 14, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.reserve-modal-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 48px 40px 40px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.reserve-modal:not([hidden]) .reserve-modal-panel {
    transform: translateY(0);
}

.reserve-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s, background 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.reserve-modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.reserve-modal-close svg {
    width: 18px;
    height: 18px;
}

.reserve-modal .section-label {
    margin-bottom: 12px;
}

.reserve-modal .section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 16px;
}

.reserve-modal-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .reserve-modal {
        padding: 0;
    }
    .reserve-modal-panel {
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
        padding: 56px 24px 32px;
    }
    .reserve-modal-close {
        top: 12px;
        right: 12px;
    }
    .reserve-modal .section-title {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reserve-modal,
    .reserve-modal-panel {
        transition: none;
    }
}
