/* ============================================
   HEIARII WONG — NEUROPSYCHOLOGUE
   LUXURY EDITION
   Inspired by: Aesop, Apple, high-end medical
   ============================================ */

:root {
    --sage: #2D4A4A;
    --sage-dark: #1F3636;
    --sage-deep: #152828;
    --sage-light: #4A6B6B;
    --sage-pale: #E4ECEC;
    --sage-muted: #8AACAC;
    --blue: #4A7FA5;
    --blue-light: #6BA4C8;
    --cream: #F5F1EA;
    --cream-dark: #E8E1D8;
    --warm-white: #FAF8F5;
    --charcoal: #1A1A1A;
    --text: #252525;
    --text-light: #555555;
    --text-muted: #8A8A8A;
    --white: #ffffff;
    --border: #D8CFC4;
    --gold: #6B5E57;
    --gold-light: #A89F94;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition: 0.4s var(--ease-out);
    --transition-slow: 0.8s var(--ease-out);
    --shadow-md: 0 4px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 50px rgba(0,0,0,0.1);
    --radius: 12px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* Smooth scroll with lenis-like feel */
html.lenis { height: auto; }
html.lenis, html.lenis body { scroll-behavior: auto; }

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--sage-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* Fallback text — hidden when canvas runs */
.loader-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--white);
    opacity: 0;
    position: relative;
    z-index: 1;
}
.loader.no-canvas .loader-text {
    animation: loaderFade 1.2s ease forwards;
}

/* Static loader for secondary pages */
.loader-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
    opacity: 0;
}
.loader-name {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 400;
    color: var(--sage-light);
    line-height: 1.1;
}
.loader-surname {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: var(--sage-light);
    letter-spacing: 0.55em;
    text-transform: uppercase;
}
.loader.no-canvas.fonts-ready .loader-text-block {
    animation: loaderFade 2.6s ease forwards;
}

/* Loader — gold title reveal */
.loader-title {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gold-light);
    letter-spacing: 0.25em;
    margin-top: 1.2rem;
    height: 1.5em;
}
.loader-title .loader-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(6px);
}
.loader.no-canvas.fonts-ready .loader-title .loader-char {
    animation: charReveal 0.4s ease forwards;
}

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

@keyframes loaderFade {
    0% { opacity: 0; transform: translateY(15px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gold);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 10001;
    pointer-events: none;
    transition: none;
}

/* ============================================
   CUSTOM CURSOR — Dual ring (desktop only)
   ============================================ */
.cursor-dot {
    position: fixed;
    top: -4px; left: -4px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--white);
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
.cursor-ring {
    position: fixed;
    top: -20px; left: -20px;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.4s cubic-bezier(0.16,1,0.3,1), height 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease, opacity 0.3s ease;
}
.cursor-dot.hover {
    width: 0; height: 0;
    opacity: 0;
}
.cursor-ring.hover {
    width: 70px; height: 70px;
    top: -35px; left: -35px;
    border-color: rgba(255,255,255,0.8);
}
@media (hover: none), (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
    .scroll-progress { height: 2px; }
}

/* ============================================
   NAVIGATION — Minimal, luxury
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s var(--ease-out);
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom-color: rgba(0,0,0,0.06);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.nav-container {
    max-width: 1300px; margin: 0 auto; padding: 0 3rem;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; flex-direction: column; }
.logo-name {
    font-family: var(--font-serif);
    font-size: 1.05rem; font-weight: 600;
    color: var(--white);
    transition: color 0.5s ease;
    letter-spacing: 0.02em;
}
.logo-subtitle {
    font-size: 0.58rem; font-weight: 400;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase; letter-spacing: 0.25em;
    transition: color 0.5s ease;
}
.navbar.scrolled .logo-name { color: var(--charcoal); }
.navbar.scrolled .logo-subtitle { color: var(--text-muted); }

.nav-menu { display: flex; list-style: none; gap: 0; align-items: center; }
.nav-link {
    font-size: 0.78rem; font-weight: 400;
    color: rgba(255,255,255,0.75);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.04em;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1rem; right: 1rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--white); }
.navbar.scrolled .nav-link { color: var(--text-light); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--charcoal); }

.nav-link--cta {
    margin-left: 0.5rem;
    padding: 0.45rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    color: var(--white) !important;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.navbar.scrolled .nav-link--cta {
    background: var(--charcoal); color: var(--white) !important; border-color: var(--charcoal);
}
.navbar.scrolled .nav-link--cta:hover { background: var(--sage-dark); border-color: var(--sage-dark); }

/* Nav on light page-headers */
.navbar--light {
    border-bottom-color: rgba(0,0,0,0.06);
}
.navbar--light .logo-name { color: var(--charcoal); }
.navbar--light .logo-subtitle { color: var(--text-muted); }
.navbar--light .nav-link { color: var(--text-light); }
.navbar--light .nav-link:hover, .navbar--light .nav-link.active { color: var(--charcoal); }
.navbar--light .nav-link--cta { background: var(--charcoal); color: var(--white) !important; border-color: var(--charcoal); }
.navbar--light .nav-link--cta:hover { background: var(--sage-dark); border-color: var(--sage-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--white); transition: all 0.4s ease; }
.navbar.scrolled .nav-toggle span { background: var(--charcoal); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   BUTTONS — Luxury feel
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.82rem; font-weight: 400;
    border-radius: 50px;
    border: none; cursor: pointer;
    transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transform: none !important;
    box-shadow: none;
}
/* Gold halo on hover — all buttons */
.btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 1px solid rgba(184,168,138,0);
    transition: border-color 0.6s ease, inset 0.6s ease;
    pointer-events: none;
}
.btn:hover::after {
    inset: -6px;
    border-color: rgba(184,168,138,0.7);
}

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

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

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

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
}

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

.btn-lg { padding: 1.15rem 3rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ============================================
   HERO — Full screen, cinematic
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--sage-deep);
}

.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #1a2419 0%, var(--sage-deep) 30%, var(--sage-dark) 70%, #2a3a25 100%);
}

.hero-pattern {
    position: absolute; inset: 0;
    opacity: 0.025;
    background-image: radial-gradient(circle at 20% 50%, var(--white) 0.5px, transparent 0.5px);
    background-size: 40px 40px;
}

/* Grain texture overlay */
.hero-grain {
    position: absolute; inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

/* Hero — Typographic variant (no photo) */
.hero--typo {
    background: linear-gradient(135deg, var(--sage-deep) 0%, #1a2a25 25%, var(--charcoal) 60%, #2a2420 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero--typo .hero-bg,
.hero--typo .hero-pattern { display: none; }
.hero--typo .hero-grain { opacity: 0.04; }
.hero--typo .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: unset;
    padding: 10rem 3rem 6rem;
    max-width: 900px;
}
.hero--typo .hero-text {
    max-width: 700px;
    text-align: center;
}
.hero--typo .hero-title-line {
    font-size: clamp(3.5rem, 7vw, 6rem);
}
.hero--typo .hero-subtitle {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.hero--typo .hero-actions {
    justify-content: center;
}
.hero--typo::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 20%, var(--gold-light) 50%, transparent 80%);
    z-index: 3;
    opacity: 0.3;
}
.hero--typo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 20%, var(--gold-light) 50%, transparent 80%);
    z-index: 3;
    opacity: 0.3;
}
/* Decorative gold line accent */
.hero-line-accent {
    width: 60px;
    height: 1px;
    background: var(--gold-light);
    margin: 0 auto 2rem;
    opacity: 0;
    transform: translateY(25px);
}
.hero-ready .hero-line-accent { animation: heroReveal 1s var(--ease-out) 0.05s forwards; }

/* Hero — Immersive photo variant */
.hero--photo { background: transparent; }
.hero--photo .hero-bg,
.hero--photo .hero-pattern,
.hero--photo .hero-grain { display: none; }
.hero-photo-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 20%;
    transform: scale(1.03);
    transition: transform 8s ease;
}
.hero-ready .hero-photo-bg { transform: scale(1); }
.hero-photo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(23,23,23,0.92) 0%,
        rgba(23,23,23,0.78) 35%,
        rgba(23,23,23,0.25) 65%,
        rgba(23,23,23,0.05) 100%
    );
}
.hero-content--photo {
    display: flex;
    grid-template-columns: unset;
    padding: 8rem 3rem 5rem 6rem;
}
.hero--photo::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light) 0%, transparent 60%);
    z-index: 3;
    opacity: 0.4;
}
.hero--photo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light) 0%, transparent 60%);
    z-index: 3;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem 3rem 5rem;
    width: 100%;
}

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

.hero-badge {
    display: inline-block;
    font-size: 0.62rem; font-weight: 400;
    color: var(--gold-light);
    text-transform: uppercase; letter-spacing: 0.3em;
    margin-bottom: 2.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(184,168,138,0.2);
    border-radius: 50px;
    opacity: 0;
    transform: translateY(25px);
}

.hero-title { margin-bottom: 2rem; overflow: hidden; }
.hero-title-line {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(25px);
}
.hero-title-accent {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    margin-top: 1.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(25px);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 2;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(25px);
}
.hero-subtitle strong { color: rgba(255,255,255,0.85); font-weight: 400; }

.hero-actions {
    display: flex; gap: 1.25rem; flex-wrap: wrap;
    opacity: 0;
    transform: translateY(25px);
}

/* Hero zoom settle — starts slightly zoomed, relaxes after loader */
.hero-content {
    transform: scale(1.04);
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-ready .hero-content { transform: scale(1); }

/* Staggered reveal — triggered AFTER loader via .hero-ready */
.hero-ready .hero-badge        { animation: heroReveal 1s var(--ease-out) 0.1s forwards; }
.hero-ready .hero-title-line   { animation: heroReveal 1.2s var(--ease-out) 0.25s forwards; }
.hero-ready .hero-title-accent { animation: heroReveal 1.2s var(--ease-out) 0.45s forwards; }
.hero-ready .hero-subtitle     { animation: heroReveal 1.2s var(--ease-out) 0.6s forwards; }
.hero-ready .hero-actions      { animation: heroReveal 1.2s var(--ease-out) 0.8s forwards; }

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

/* Hero photo */
.hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-photo-wrapper {
    position: relative;
    width: 100%; max-width: 480px;
    aspect-ratio: 3/4;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 85% 100%, 0 100%);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-photo-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(180deg, var(--sage) 0%, var(--sage-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; color: rgba(255,255,255,0.3);
    font-size: 0.75rem; gap: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-photo-placeholder svg { width: 48px; height: 48px; opacity: 0.25; }

/* Floating gold frame — offset behind photo */
.hero-photo::before {
    content: '';
    position: absolute;
    top: 20px; right: -16px;
    width: calc(100% - 20px); height: calc(100% - 20px);
    border: 1px solid var(--gold-light);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 85% 100%, 0 100%);
    z-index: -1;
    opacity: 0.5;
    transition: opacity 1.2s ease 0.8s;
}
.hero-photo:hover::before { opacity: 0.8; }
/* Small gold accent corner */
.hero-photo::after {
    content: '';
    position: absolute;
    bottom: 20px; left: -12px;
    width: 60px; height: 60px;
    border-left: 1px solid var(--gold-light);
    border-bottom: 1px solid var(--gold-light);
    opacity: 0.4;
    z-index: 2;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem; left: 3rem;
    display: flex; align-items: center; gap: 1rem;
    color: rgba(255,255,255,0.25);
    font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-scroll-line {
    width: 50px; height: 1px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: rgba(255,255,255,0.6);
    animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* ============================================
   SECTIONS — Generous spacing
   ============================================ */
.section { padding: 8rem 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--sage { background: var(--sage-deep); }
.section--dark { background: var(--charcoal); }
.section--compact { padding: 2.5rem 0; }
.section--cta {
    background: var(--sage-deep);
    padding: 7rem 0;
}

/* Full-bleed image sections */
.section--visual {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.section--visual .visual-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.section--visual.visible .visual-bg { transform: scale(1); }
.section--visual .visual-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.6) 50%, rgba(26,26,26,0.35) 100%);
}
/* Gold accent line at top of visual sections */
.section--visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, var(--gold-light) 30%, var(--gold-light) 70%, transparent 95%);
    z-index: 3;
    opacity: 0.45;
}
/* Diagonal geometric accent */
.section--visual::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 200px; height: 200px;
    border-right: 1px solid rgba(196,176,138,0.2);
    border-bottom: 1px solid rgba(196,176,138,0.2);
    z-index: 3;
}

/* Visual break — Network animation (corps & cerveau) */
.visual-break-network {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--sage-deep) 0%,
        #1a2a25 25%,
        var(--charcoal) 60%,
        #2a2420 100%
    );
}
.visual-break-network #networkCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.visual-break-network__content {
    max-width: 480px;
    padding: 4rem 0;
    margin: 0 auto;
    text-align: center;
}
.visual-break-network__grain {
    position: absolute; inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    z-index: 0;
}
.visual-break-network__line {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--gold-light) 30%, var(--gold-light) 70%, transparent 95%);
    z-index: 3;
    opacity: 0.3;
}
.visual-break-network__line--top { top: 0; }
.visual-break-network__line--bottom { bottom: 0; }

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.62rem; font-weight: 400;
    color: var(--sage);
    text-transform: uppercase; letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
}
.section-tag--light { color: var(--gold-light); }

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.section-title--light { color: var(--white); }
.section-title--huge {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
}

.section-intro {
    font-size: 0.95rem; color: var(--text-light);
    margin-top: 1.5rem; line-height: 1.9;
    font-weight: 300; letter-spacing: 0.01em;
}
.section-intro--light { color: rgba(255,255,255,0.5); }

/* Horizontal rule / separator — animated */
.separator {
    width: 0; height: 1px;
    background: var(--sage);
    margin: 2rem auto;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.separator--visible { width: 60px; }
.separator--light { background: var(--gold-light); margin: 1.5rem 0; }
.separator--light.separator--visible { width: 60px; }
.separator--centered { margin: 1.5rem auto; }
.separator--tight { margin: 1.5rem 0; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }

[data-reveal="fade"] { transform: none; }
[data-reveal="slide-up"] { transform: translateY(60px); }
[data-reveal="slide-left"] { transform: translateX(60px); }
[data-reveal="slide-right"] { transform: translateX(-60px); }
[data-reveal="scale"] { transform: scale(0.92); }

[data-reveal="slide-left"].visible,
[data-reveal="slide-right"].visible { transform: translateX(0); }
[data-reveal="scale"].visible { transform: scale(1); }

/* Stagger children */
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 0.12s); }

/* Text split reveal */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}
.text-reveal span {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.8s var(--ease-out);
}
.text-reveal.visible span { transform: translateY(0); }

/* Image parallax */
.parallax-img {
    overflow: hidden;
    border-radius: var(--radius);
}
.parallax-img img {
    width: 100%; height: 120%;
    object-fit: cover;
    will-change: transform;
}

/* Image reveal animations */
.bio-photo {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.bio-photo.img-revealed {
    opacity: 1;
    transform: translateX(0);
}
.content-photo {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.content-photo.img-revealed {
    clip-path: inset(0 0% 0 0);
}
.bio-photo img, .content-photo img {
    transform: scale(1.08);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bio-photo.img-revealed img, .content-photo.img-revealed img {
    transform: scale(1);
}

/* Hero photo reveal — waits for hero-ready */
.hero-photo-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.hero-ready .hero-photo-wrapper.img-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Form shake animation */
@keyframes formShake {
    0%, 100% { transform: translateX(0); }
    10%, 50%, 90% { transform: translateX(-4px); }
    30%, 70% { transform: translateX(4px); }
}
.form-shake { animation: formShake 0.5s ease; }

/* Specialite card number */
.specialite-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 0.5s var(--ease-out);
}
.specialite-card:hover .specialite-num {
    color: rgba(255,255,255,0.12);
}

/* Card tilt — transform origin needs to be set */
.diff-card, .publication-card, .trouble-card, .pillar-card-luxury {
    transform-style: preserve-3d;
    will-change: transform;
}

/* ============================================
   BRAIN 3D SECTION
   ============================================ */
.brain-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: var(--charcoal);
    overflow: hidden;
}
/* Hero variant — decorative lines like other page heroes */
.brain-section--hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light) 0%, transparent 60%);
    z-index: 3;
    opacity: 0.4;
}
.brain-section--hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light) 0%, transparent 60%);
    z-index: 3;
    opacity: 0.4;
}

.brain-canvas-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.brain-canvas-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Brain interactive split layout */
.brain-interactive {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 45% 55%;
    pointer-events: none;
}

.brain-disorders {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem 2.5rem 3.5rem;
    position: relative;
    z-index: 3;
    order: 1;
    pointer-events: auto;
}

.brain-disorders .section-tag {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.22em;
}

.brain-disorders-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    margin: 0 0 1.8rem;
    letter-spacing: -0.01em;
}

.disorder-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.disorder-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.1rem 1rem;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s var(--ease-out);
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.disorder-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.06);
}
.disorder-item:hover,
.disorder-item.active {
    background: rgba(255,255,255,0.03);
    transform: translateX(4px);
}

.disorder-marker {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(168,159,148,0.25);
    border: 1px solid rgba(168,159,148,0.15);
    flex-shrink: 0;
    margin-top: 0.5rem;
    transition: all 0.6s var(--ease-out);
}
.disorder-item:hover .disorder-marker,
.disorder-item.active .disorder-marker {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 0 8px rgba(196,176,138,0.5), 0 0 20px rgba(196,176,138,0.25);
    transform: scale(1.4);
}

/* Cycle animation at rest — softer than hover */
.disorder-item.cycle-active .disorder-marker {
    background: rgba(168,159,148,0.6);
    border-color: rgba(168,159,148,0.5);
    box-shadow: 0 0 6px rgba(168,159,148,0.3);
    transform: scale(1.2);
}
.disorder-item.cycle-active .disorder-content strong {
    color: rgba(255,255,255,0.92);
}
.disorder-item.cycle-active .disorder-content em {
    color: rgba(168,159,148,0.55);
}

.disorder-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.disorder-content strong {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.01em;
    line-height: 1.3;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.disorder-item:hover .disorder-content strong,
.disorder-item.active .disorder-content strong {
    color: var(--white);
}

.disorder-content em {
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.disorder-item:hover .disorder-content em,
.disorder-item.active .disorder-content em {
    color: var(--gold-light);
}

.disorder-detail {
    font-size: 0.72rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.0);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), color 0.3s ease 0.1s;
}
.disorder-item:hover .disorder-detail,
.disorder-item.active .disorder-detail {
    max-height: 80px;
    color: rgba(255,255,255,0.35);
}

.brain-view {
    position: relative;
    pointer-events: none;
    order: 2;
}

.brain-hint-bottom {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
}
.brain-hint-label {
    color: rgba(255,255,255,0.2);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.brain-scroll-line {
    width: 35px;
    height: 1px;
    background: rgba(255,255,255,0.12);
    position: relative;
    overflow: hidden;
}
.brain-scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.4);
    animation: scrollLine 2.5s ease-in-out infinite;
}

/* Gradient fade between list and 3D */
.brain-disorders::after {
    display: none;
}

/* Floating abbreviation labels on brain */
.brain-float-labels {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.brain-float-label {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.brain-float-label.visible {
    opacity: 1;
}

.brain-float-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow:
        0 0 8px rgba(196, 176, 138, 0.9),
        0 0 22px rgba(196, 176, 138, 0.5);
    flex-shrink: 0;
    animation: floatPulse 2s ease-in-out infinite;
}
@keyframes floatPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.8; }
}

.brain-float-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, rgba(196,176,138,0.7), transparent);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out) 0.1s;
}
.brain-float-label.visible .brain-float-line {
    transform: scaleX(1);
}

.brain-float-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gold-light);
    letter-spacing: 0.10em;
    text-shadow: 0 0 16px rgba(196, 176, 138, 0.6), 0 2px 12px rgba(0,0,0,0.9);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.3s ease 0.15s, transform 0.3s var(--ease-out) 0.15s;
}
.brain-float-label.visible .brain-float-text {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .brain-interactive {
        grid-template-columns: 45% 55%;
    }
    .brain-disorders {
        padding: 2rem 1.5rem 2rem 2rem;
    }
    .brain-disorders-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .brain-section {
        height: auto;
        min-height: auto;
    }
    .brain-interactive {
        grid-template-columns: 1fr;
        position: relative;
    }
    .brain-disorders {
        padding: 2rem 1.5rem;
        order: 2;
    }
    .brain-disorders::after {
        display: none;
    }
    .brain-disorders-title {
        font-size: 1.6rem;
    }
    .brain-view {
        height: 55vh;
        min-height: 350px;
        order: 1;
    }
    .brain-canvas-container {
        height: 55vh;
        min-height: 350px;
    }
    .brain-hint-bottom {
        display: none;
    }
    .brain-label-text strong {
        font-size: 0.8rem;
    }
    .brain-label-text em {
        display: none;
    }
    .disorder-detail {
        display: none;
    }
}

/* ============================================
   DIFFERENTIATORS — Elegant cards
   ============================================ */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem 5rem;
}
.diff-grid--3col {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 4rem;
}
.diff-card {
    text-align: left;
    padding: 0;
    position: relative;
}
.diff-card::before {
    content: '';
    display: block;
    width: 30px; height: 1px;
    background: var(--sage);
    margin-bottom: 1.5rem;
}
.diff-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem; font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.75rem; line-height: 1.35;
}
.diff-card p {
    font-size: 0.85rem; color: var(--text-light);
    line-height: 1.7; font-weight: 300;
}

/* Dark section overrides for cards */
.section--sage .diff-card::before { background: var(--gold-light); }
.section--sage .diff-card h3 { color: var(--white); }
.section--sage .diff-card p { color: rgba(255,255,255,0.55); }
.section--sage .publication-date { color: var(--gold-light); }
.section--sage .publication-card h3 { color: var(--white); }
.section--sage .publication-card p { color: rgba(255,255,255,0.55); }
.section--sage .section-intro { color: rgba(255,255,255,0.6); }
.section--sage .trouble-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.section--sage .trouble-card h3 { color: var(--white); }
.section--sage .trouble-card p { color: rgba(255,255,255,0.55); }
.section--sage .trouble-card .trouble-tag { color: var(--gold-light); }
.section--sage .content-block h3 { color: var(--white) !important; }
.section--sage .tools-table td { border-bottom-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
.section--sage .tools-table td strong { color: var(--white); }
.section--sage .tools-table tr:hover td { background: rgba(255,255,255,0.04); }
.section--sage .pillars-grid-luxury { background: none; gap: 1.5rem; }
.section--sage .pillar-card-luxury { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; }
.section--sage .pillar-card-luxury:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.section--sage .pillar-card-luxury .pillar-num { color: var(--gold-light); }
.section--sage .pillar-card-luxury h3 { color: var(--white); }
.section--sage .pillar-card-luxury p { color: rgba(255,255,255,0.50); }

/* Experience grid — luxury cards */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3.5rem;
}
.exp-card {
    position: relative;
    padding: 1.8rem 1.8rem 1.8rem 2.2rem;
    background: var(--cream);
    border-left: 2px solid var(--gold-light);
    transition: all 0.4s var(--ease-out);
}
.exp-card:hover {
    background: var(--cream-dark);
    border-left-color: var(--gold);
    transform: translateX(4px);
}
.exp-date {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.exp-card h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}
.exp-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.65;
    font-weight: 300;
}
@media (max-width: 768px) {
    .exp-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================
   SPECIALITES — Immersive cards
   ============================================ */
.specialites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
}
.specialite-card {
    display: flex; flex-direction: column;
    justify-content: space-between;
    padding: 3rem 2.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease-out);
    min-height: 280px;
}
.specialite-card:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.specialite-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem; font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1rem; line-height: 1.3;
    transition: color 0.5s ease;
}
.specialite-card:hover h3 { color: var(--white); }
.specialite-card p {
    font-size: 0.85rem; color: var(--text-muted);
    line-height: 1.7; font-weight: 300;
    margin-bottom: 2rem;
    transition: color 0.5s ease;
}
.specialite-card:hover p { color: rgba(255,255,255,0.45); }
.specialite-link {
    font-size: 0.72rem; font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.15em; text-transform: uppercase;
    transition: all 0.4s ease;
}
.specialite-card:hover .specialite-link { color: var(--white); letter-spacing: 0.25em; }

/* ============================================
   APPROCHE — Split layout
   ============================================ */
.approche-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.approche-text {
    font-size: 1rem; color: var(--text-light);
    line-height: 1.9; font-weight: 300;
    margin-top: 1.25rem;
}
.approche-text.approche-text--light { color: rgba(255,255,255,0.95); }
.approche-text strong { color: var(--charcoal); font-weight: 500; }
.approche-text strong.approche-strong--light { color: var(--gold-light); font-weight: 400; }

.approche-quote {
    background: var(--sage-deep);
    padding: 3.5rem;
    border-radius: 0;
    position: relative;
}
.approche-quote::before {
    content: '"';
    position: absolute;
    top: 1.5rem; left: 2.5rem;
    font-family: var(--font-serif);
    font-size: 5rem;
    color: rgba(255,255,255,0.06);
    line-height: 1;
}
.approche-quote blockquote {
    font-family: var(--font-serif);
    font-size: 1.15rem; color: rgba(255,255,255,0.75);
    line-height: 1.8; font-style: normal; font-weight: 400;
}
.approche-quote cite {
    display: block; margin-top: 1.5rem;
    font-size: 0.75rem; font-style: normal; font-weight: 400;
    color: var(--gold-light);
    letter-spacing: 0.15em; text-transform: uppercase;
}

/* --- Piliers horizontal layout --- */
.piliers-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 5rem;
    align-items: center;
}
.piliers-text .section-tag { text-align: left; }
.piliers-text .section-title { text-align: left; }

/* --- Piliers canvas animation --- */
.piliers-canvas-wrap {
    position: relative;
    width: 420px;
    height: 420px;
}
.piliers-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* --- Piliers circle layout (fallback) --- */
.piliers-circle {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0;
}
.piliers-circle__ring {
    position: relative;
    width: 100%;
    height: 100%;
}
.piliers-circle__lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.piliers-circle__lines svg {
    width: 100%;
    height: 100%;
}
.piliers-circle__item {
    --angle: calc(var(--i) * 72deg - 90deg);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
               translate(
                   calc(cos(var(--angle)) * 160px),
                   calc(sin(var(--angle)) * 160px)
               );
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90px;
}
.piliers-circle__num {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: var(--sage);
    opacity: 0.6;
    margin-bottom: 0.25rem;
}
.piliers-circle__name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: 0.02em;
    line-height: 1.3;
}
.piliers-circle__center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
}
.piliers-circle__center span {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}

/* Old pilier classes kept for backward compat */
.piliers-grid {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin: 2rem 0 2.5rem;
}
.pilier {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50px;
}
.pilier-num { font-family: var(--font-serif); font-size: 0.8rem; color: var(--sage); }
.pilier-name { font-size: 0.78rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.02em; }

/* ============================================
   PUBLICATIONS
   ============================================ */
.publications-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 2rem; max-width: 900px; margin: 0 auto;
}
.publication-card {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0;
    transition: all 0.5s var(--ease-out);
    position: relative;
}
.publication-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 0; height: 2px; background: var(--sage);
    transition: width 0.6s var(--ease-out);
}
.publication-card:hover::before { width: 100%; }
.publication-card:hover { box-shadow: var(--shadow-md); }

.publication-date {
    font-size: 0.65rem; font-weight: 400; color: var(--sage);
    text-transform: uppercase; letter-spacing: 0.15em;
    margin-bottom: 1rem; display: block;
}
.publication-card h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem; font-weight: 400;
    color: var(--charcoal); margin-bottom: 0.5rem; line-height: 1.4;
}
.publication-journal { font-size: 0.78rem; color: var(--sage); margin-bottom: 0.75rem; letter-spacing: 0.02em; }
.publication-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; font-weight: 300; }

/* ============================================
   MARQUEE / Scrolling text
   ============================================ */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.marquee-inner {
    display: inline-flex; gap: 3rem;
    align-items: center;
    animation: marquee 30s linear infinite;
}
.marquee-item {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--text-muted);
    font-weight: 400;
}
.marquee-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--gold-light);
    transform: rotate(45deg);
    opacity: 0.5;
    vertical-align: middle;
    flex-shrink: 0;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   CTA — Cinematic
   ============================================ */
.cta-content {
    text-align: center; max-width: 650px; margin: 0 auto;
}
.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400; color: var(--white);
    margin-bottom: 1.5rem; line-height: 1.35;
}
.cta-content p {
    font-size: 0.92rem; color: rgba(255,255,255,0.45);
    line-height: 1.9; margin-bottom: 2.5rem; font-weight: 300;
}
.section--cta .btn-primary { background: var(--white); color: var(--charcoal); }

/* ============================================
   FOOTER — Understated luxury
   ============================================ */
.footer { background: var(--charcoal); padding: 5rem 0 2.5rem; }
.footer-content {
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 4rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 400; color: var(--white); letter-spacing: 0.02em; }
.footer-desc { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; }
.footer-location { font-size: 0.68rem; color: rgba(255,255,255,0.2); margin-top: 0.5rem; letter-spacing: 0.05em; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col h4 {
    font-size: 0.65rem; font-weight: 400; color: rgba(255,255,255,0.3);
    text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.75rem;
}
.footer-col a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: color 0.3s ease; letter-spacing: 0.02em; }
.footer-col a:hover { color: var(--white); }

.footer-legal { padding-top: 2rem; }
.footer-legal p { font-size: 0.65rem; color: rgba(255,255,255,0.15); line-height: 1.6; margin-bottom: 0.3rem; letter-spacing: 0.02em; }

/* ============================================
   INNER PAGES
   ============================================ */
.page-header {
    background: var(--white);
    padding: 11rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.page-header::before { display: none; }
.page-header .hero-grain { display: none; }
.page-header .section-tag { color: var(--gold); }
.page-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400; color: var(--charcoal);
    line-height: 1.05; margin-top: 0.5rem; letter-spacing: -0.03em;
    position: relative;
}
.page-header p {
    font-size: 0.95rem; color: var(--text-muted);
    margin-top: 1.25rem; max-width: 500px;
    line-height: 1.8; font-weight: 300;
    position: relative;
}
.page-header .container { position: relative; z-index: 1; }

/* Page header with background image */
.page-header--photo {
    padding: 12rem 0 6rem;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
}
.page-header--photo .page-header-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}
.page-header--photo .page-header-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(21,40,40,0.95) 0%, rgba(21,40,40,0.6) 50%, rgba(21,40,40,0.3) 100%);
}

/* Bio hero — full-width portrait band */
.bio-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.bio-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: top right;
    transform: scale(1.03);
    transition: transform 8s ease;
}
.bio-hero.visible .bio-hero-bg { transform: scale(1); }
.bio-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(23,23,23,0.92) 0%,
        rgba(23,23,23,0.78) 35%,
        rgba(23,23,23,0.25) 65%,
        rgba(23,23,23,0.05) 100%
    );
}
.bio-hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    padding: 8rem 3rem 5rem 6rem;
}
/* Right-aligned variant */
.bio-hero--right { justify-content: flex-end; }
.bio-hero-overlay--right {
    background: linear-gradient(
        to left,
        rgba(23,23,23,0.92) 0%,
        rgba(23,23,23,0.78) 35%,
        rgba(23,23,23,0.3) 100%
    ) !important;
}
.bio-hero-content--right {
    padding: 5rem 6rem 5rem 3rem;
}
.bio-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light) 0%, transparent 60%);
    z-index: 3;
    opacity: 0.4;
}
.bio-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light) 0%, transparent 60%);
    z-index: 3;
    opacity: 0.4;
}
@media (max-width: 1024px) {
    .bio-hero-content { padding: 4rem 2rem; max-width: 480px; }
    .bio-hero-content--right { padding: 4rem 2rem; }
    .bio-hero-overlay {
        background: linear-gradient(
            to right,
            rgba(23,23,23,0.94) 0%,
            rgba(23,23,23,0.82) 45%,
            rgba(23,23,23,0.4) 100%
        );
    }
}
@media (max-width: 768px) {
    .bio-hero { min-height: 80vh; }
    .bio-hero--right { justify-content: flex-start; }
    .bio-hero-content { padding: 3rem 1.5rem; max-width: 100%; }
    .bio-hero-content--right { padding: 3rem 1.5rem; }
    .bio-hero-bg { background-position: center; }
    .bio-hero-overlay,
    .bio-hero-overlay--right {
        background: linear-gradient(
            to bottom,
            rgba(23,23,23,0.85) 0%,
            rgba(23,23,23,0.55) 100%
        ) !important;
    }
}

/* Split bio layout */
.bio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
/* Reversed: photo left, text right */
.bio-layout--reverse {
    direction: ltr;
}
.bio-layout--reverse > :first-child { order: 1; }
.bio-layout--reverse > :last-child { order: 2; }
.bio-photo {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.bio-photo img { width: 100%; height: auto; display: block; }
/* Subtle frame behind bio photos */
.bio-photo::before {
    content: '';
    position: absolute;
    top: -14px; left: 14px;
    width: 100%; height: 100%;
    border: 1px solid var(--gold-light);
    opacity: 0.35;
    z-index: -1;
    transition: opacity 0.8s ease;
}
.bio-photo:hover::before { opacity: 0.65; }

/* Building photo — contact page */
.building-photo {
    position: relative;
    overflow: hidden;
    max-height: 45vh;
}
.building-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center 55%;
    height: 45vh;
}
.building-photo::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    z-index: 2;
    opacity: 0.6;
}
.building-photo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    z-index: 2;
    opacity: 0.6;
}

/* Inline photo in content */
.content-photo {
    margin: 3rem 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.content-photo img { width: 100%; height: auto; display: block; }
.content-photo--full {
    margin: 0;
    border-radius: 0;
}

/* IVA showcase with photo */
.iva-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Pillar cards for outils page */
.pillars-grid-luxury {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
    margin: 3rem 0;
}
.pillar-card-luxury {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s var(--ease-out);
}
.pillar-card-luxury:hover { background: var(--cream); }
.pillar-card-luxury .pillar-num {
    font-family: var(--font-serif);
    font-size: 2rem; color: var(--sage);
    display: block; margin-bottom: 1rem;
}
.pillar-card-luxury h3 {
    font-family: var(--font-serif);
    font-size: 1rem; font-weight: 400;
    color: var(--charcoal); margin-bottom: 0.75rem;
}
.pillar-card-luxury p {
    font-size: 0.82rem; color: var(--text-light);
    line-height: 1.65; font-weight: 300;
}

@media (max-width: 1024px) {
    .bio-layout { grid-template-columns: 1fr; gap: 3rem; }
    .bio-photo { max-width: 450px; margin: 0 auto; }
    .iva-layout { grid-template-columns: 1fr; gap: 3rem; }
    .pillars-grid-luxury { grid-template-columns: repeat(3, 1fr); }
    .diff-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pillars-grid-luxury { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .pillars-grid-luxury { grid-template-columns: 1fr; }
}

.content-section { padding: 5rem 0; }
.content-section + .content-section { padding-top: 0; }
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem; font-weight: 400;
    color: var(--charcoal); margin-bottom: 1rem; margin-top: 3rem; letter-spacing: -0.01em;
}
.content-block h3 {
    font-size: 1.1rem; font-weight: 500; color: var(--charcoal);
    margin-bottom: 0.5rem; margin-top: 2rem;
}
.content-block-title {
    font-family: var(--font-serif);
    font-size: 1.2rem; font-weight: 400; color: var(--charcoal);
    margin-bottom: 1.5rem; margin-top: 0;
}
.section--sage .content-block-title { color: var(--white); }
.content-block p {
    font-size: 0.93rem; color: var(--text-light); line-height: 1.9;
    margin-bottom: 0.75rem; font-weight: 300;
}
.content-block p strong { color: var(--charcoal); font-weight: 500; }

/* Trouble cards */
.trouble-card {
    background: var(--cream); padding: 2rem;
    border-radius: 0; border-left: 3px solid var(--sage);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}
.trouble-card:hover { background: var(--cream-dark); }
.trouble-card h4 {
    font-family: var(--font-serif);
    font-size: 1rem; font-weight: 400; color: var(--charcoal); margin-bottom: 0.4rem;
}
.trouble-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 0; font-weight: 300; }

/* Process steps (legacy) */
.process-steps { display: flex; flex-direction: column; gap: 0; margin: 2rem 0; }
.process-step { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.process-step:first-child { border-top: 1px solid var(--border); }
.step-num { flex-shrink: 0; width: 28px; font-family: var(--font-serif); font-size: 0.9rem; color: var(--sage); padding-top: 0.1rem; }
.step-content h4 { font-size: 0.9rem; font-weight: 500; color: var(--charcoal); margin-bottom: 0.1rem; }
.step-content p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; font-weight: 300; }

/* ═══ Horizontal Timeline ═══ */
.timeline-section {
    padding: 3rem 0 4rem;
    overflow: hidden;
}
.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 3.5rem;
    text-align: center;
    letter-spacing: 0.02em;
}
.timeline-track {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 1rem;
}
/* Horizontal connector line */
.timeline-line {
    position: absolute;
    top: 26px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: var(--border);
    z-index: 0;
}
.timeline-line-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--sage), var(--gold-light));
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Each step — hidden by default */
.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
    opacity: 0;
    transform: translateY(24px) scale(0.92);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
/* JS adds .step-active one by one */
.timeline-step.step-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Node circle */
.timeline-node {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    position: relative;
    transition: border-color 0.5s ease 0.1s, box-shadow 0.5s ease 0.1s;
}
.timeline-node span {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--sage);
    font-weight: 400;
    transition: color 0.5s ease;
}
/* Activated node — luxe glow */
.timeline-step.step-active .timeline-node {
    border-color: var(--sage);
    box-shadow: 0 0 0 5px rgba(122,154,110,0.12), 0 2px 16px rgba(122,154,110,0.10);
}

/* Gold diamond separator between steps */
.timeline-separator { display: none; }

/* Step text */
.timeline-step h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.timeline-step p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.55;
    font-weight: 300;
    max-width: 175px;
    margin: 0 auto;
}

/* Luxe separator: gold diamond between nodes on the line */
.timeline-step + .timeline-step::before {
    content: '';
    position: absolute;
    top: 22px;
    left: -4px;
    width: 8px;
    height: 8px;
    background: var(--gold-light);
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}
.timeline-step.step-active + .timeline-step.step-active::before,
.timeline-step.step-active::before {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .timeline-track {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 0 2rem;
    }
    .timeline-line {
        top: 0;
        bottom: 0;
        left: 22px;
        right: auto;
        width: 1px;
        height: auto;
    }
    .timeline-line-fill {
        width: 100% !important;
        height: 0%;
        transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    .timeline-step {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 1.2rem;
        padding: 0;
        transform: translateX(-20px);
    }
    .timeline-step.step-active { transform: translateX(0); }
    .timeline-step h4 { margin-bottom: 0.15rem; }
    .timeline-step p { max-width: none; margin: 0; }
    .timeline-step + .timeline-step::before { display: none; }
}

/* Tools table */
.tools-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 2rem 0; }
.tools-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 500px; }
.tools-table th {
    text-align: left; padding: 0.85rem 1rem;
    background: var(--sage-deep); color: rgba(255,255,255,0.8);
    font-weight: 400; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.1em;
}
.tools-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-light); font-weight: 300; }
.tools-table td strong { color: var(--charcoal); font-weight: 500; }
.tools-table tr:hover td { background: var(--cream); }
.tools-note {
    margin-top: 2.5rem;
    font-size: 0.82rem;
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
    font-weight: 300;
}
.section--sage .tools-note { color: rgba(255,255,255,0.5); }

/* Timeline */
.timeline { position: relative; max-width: 700px; margin: 2.5rem auto; }
.timeline::before { content:''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--border); }
.timeline-item { padding-left: 3rem; padding-bottom: 2.5rem; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; left: -3px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.timeline-date { font-size: 0.68rem; font-weight: 400; color: var(--sage); letter-spacing: 0.1em; margin-bottom: 0.4rem; display: block; }
.timeline-item h3 { font-size: 1rem; font-weight: 500; color: var(--charcoal); margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; font-weight: 300; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; justify-content: space-between; }
.contact-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-icon {
    flex-shrink: 0; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: var(--sage);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item h4 { font-size: 0.72rem; font-weight: 400; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.contact-item p { font-size: 0.9rem; color: var(--text); line-height: 1.6; font-weight: 300; }
.contact-link { color: var(--text); text-decoration: none; }
.contact-link:hover { color: var(--sage); }
.contact-note { font-size: 0.82rem; color: var(--text-light); }

.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-group { display: flex; flex-direction: column; padding-top: 1.4rem; }
.form-group:first-child { padding-top: 0; }
.form-group label {
    font-size: 0.68rem; font-weight: 400; color: var(--text-muted);
    margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.12em;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.85rem 0;
    font-family: var(--font-sans); font-size: 0.9rem; color: var(--text); font-weight: 300;
    background: transparent;
    border: none; border-bottom: 1px solid var(--border);
    outline: none; transition: all 0.4s ease;
    border-radius: 0;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--sage); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { appearance: none; cursor: pointer; }
.form-note { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.02em; }

/* Contact on sage background — luxury variant */
.section--sage .contact-icon {
    color: var(--gold-light);
    width: 44px; height: 44px;
    border: 1px solid rgba(184,168,138,0.2);
    border-radius: 50%;
    transition: all 0.4s var(--ease-out);
}
.section--sage .contact-item:hover .contact-icon {
    border-color: rgba(184,168,138,0.5);
    background: rgba(184,168,138,0.08);
}
.section--sage .contact-item h4 { color: var(--gold-light); opacity: 0.7; }
.section--sage .contact-item p { color: rgba(255,255,255,0.8); }
.section--sage .contact-item strong { color: rgba(255,255,255,0.95); font-weight: 400; }
.section--sage .contact-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section--sage .contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-link--light { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s ease; }
.contact-link--light:hover { color: var(--gold-light); }

/* Form on sage — refined inputs */
.section--sage .form-group label { color: rgba(255,255,255,0.45); letter-spacing: 0.15em; }
.section--sage .form-group input,
.section--sage .form-group select,
.section--sage .form-group textarea {
    background: rgba(255,255,255,0.04);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    padding: 1rem 0.5rem;
    transition: all 0.4s ease;
}
.section--sage .form-group input::placeholder,
.section--sage .form-group select::placeholder,
.section--sage .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.section--sage .form-group input:focus,
.section--sage .form-group select:focus,
.section--sage .form-group textarea:focus {
    border-bottom-color: var(--gold-light);
    background: rgba(255,255,255,0.06);
}
.section--sage .form-group select option { background: var(--sage-deep); color: var(--white); }

/* Submit button — gold outline on sage */
.btn-contact-submit {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: transparent;
    border: 1px solid rgba(184,168,138,0.35);
    cursor: pointer;
    transition: border-color 0.5s ease, color 0.5s ease;
    position: relative;
}
.btn-contact-submit::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 0;
    border: 1px solid rgba(184,168,138,0);
    transition: border-color 0.6s ease, inset 0.6s ease;
    pointer-events: none;
}
.btn-contact-submit:hover {
    border-color: var(--gold-light);
    color: var(--white);
}
.btn-contact-submit:hover::after {
    inset: -6px;
    border-color: rgba(184,168,138,0.7);
}

.form-note--light { color: rgba(255,255,255,0.35); font-size: 0.72rem; margin-top: 0.5rem; }
.tarif-mutuelle--light { color: var(--text-muted); font-style: italic; }

/* ============================================
   RESPONSIVE
   ============================================ */
/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stats-grid .stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    color: var(--white);
    font-weight: 400;
}
.stats-grid .stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
}
.section--white .stats-grid .stat-number,
.section--cream .stats-grid .stat-number { color: var(--sage-deep); }
.section--white .stats-grid .stat-label,
.section--cream .stats-grid .stat-label { color: var(--text-muted); }

/* IVA-2 stat cards */
.iva-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.iva-stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.4s var(--ease-out);
}
.iva-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 2px;
    background: var(--gold-light);
    transition: width 0.4s var(--ease-out);
}
.iva-stat-card:hover {
    border-color: var(--gold-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.iva-stat-card:hover::before { width: 60px; }
.iva-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--sage);
    line-height: 1;
    margin-bottom: 0.6rem;
}
.iva-stat-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
}
.iva-stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; padding: 8rem 2rem 4rem; }
    .hero-text { max-width: 600px; margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .hero-photo-wrapper { max-width: 350px; margin: 0 auto; }
    .hero-scroll { display: none; }
    .hero-content--photo { padding: 8rem 2rem 4rem; text-align: left; }
    .hero-content--photo .hero-text { margin: 0; max-width: 480px; }
    .hero-content--photo .hero-actions { justify-content: flex-start; }
    .hero-photo-overlay {
        background: linear-gradient(
            to right,
            rgba(23,23,23,0.94) 0%,
            rgba(23,23,23,0.82) 45%,
            rgba(23,23,23,0.4) 100%
        );
    }
    .diff-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; gap: 2.5rem; }
    .diff-grid--3col { grid-template-columns: 1fr; max-width: 500px; }
    .specialites-grid { grid-template-columns: 1fr; }
    .approche-layout { grid-template-columns: 1fr; gap: 3rem; }
    .publications-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .iva-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .specialite-card { padding: 2.5rem 2rem; }
}

@media (max-width: 768px) {
    .piliers-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .piliers-canvas-wrap { width: 100%; height: 320px; }
    .piliers-text .section-tag,
    .piliers-text .section-title { text-align: center; }
    .piliers-text { text-align: center; }
    .piliers-circle {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    .piliers-circle__item {
        transform: translate(-50%, -50%)
                   translate(
                       calc(cos(var(--angle)) * 120px),
                       calc(sin(var(--angle)) * 120px)
                   );
        width: 70px;
    }
    .piliers-circle__name { font-size: 0.72rem; }
    .piliers-circle__center { width: 70px; height: 70px; }
    .piliers-circle__center span { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .piliers-circle {
        width: 260px;
        height: 260px;
    }
    .piliers-circle__item {
        transform: translate(-50%, -50%)
                   translate(
                       calc(cos(var(--angle)) * 100px),
                       calc(sin(var(--angle)) * 100px)
                   );
        width: 62px;
    }
    .piliers-circle__name { font-size: 0.65rem; }
    .piliers-circle__num { font-size: 0.65rem; }
    .piliers-circle__center { width: 60px; height: 60px; }
    .piliers-circle__center span { font-size: 0.65rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transition: right 0.5s var(--ease-out);
        z-index: 999;
    }
    .nav-menu.active { right: 0; }
    .nav-menu .nav-link {
        color: rgba(255,255,255,0.6); padding: 0.75rem 1.5rem;
        font-size: 1.1rem; letter-spacing: 0.05em;
    }
    .nav-menu .nav-link:hover, .nav-menu .nav-link.active { color: var(--white); }
    .navbar.scrolled .nav-menu .nav-link { color: rgba(255,255,255,0.6); }
    .nav-menu .nav-link--cta { border-color: rgba(255,255,255,0.2); margin-left: 0; margin-top: 1rem; }

    .section { padding: 5rem 0; }
    .section--visual { min-height: 50vh; }
    .page-header { padding: 8rem 0 2.5rem; }
    .hero--typo { min-height: 70vh; }
    .hero--typo .hero-content { padding: 7rem 1.5rem 4rem; }
    .hero--typo .hero-title-line { font-size: clamp(2.5rem, 8vw, 4rem); }
    .section-header { margin-bottom: 3rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }
    .hero-content--photo { padding: 3rem 1.5rem; text-align: left; }
    .hero-content--photo .hero-text { max-width: 100%; }
    .hero-content--photo .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-content--photo .hero-actions .btn { width: auto; max-width: none; }
    .hero--photo { min-height: 80vh; }
    .hero-photo-bg { background-position: center; }
    .hero-photo-overlay {
        background: linear-gradient(
            to bottom,
            rgba(23,23,23,0.85) 0%,
            rgba(23,23,23,0.7) 50%,
            rgba(23,23,23,0.5) 100%
        );
    }
    .footer-nav { grid-template-columns: 1fr; gap: 1.5rem; }
    .cursor { display: none; }
    .trouble-cards { display: flex; flex-direction: column; gap: 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.5rem; }
    .hero-badge { font-size: 0.55rem; }
    .specialite-card { padding: 2rem 1.5rem; }
    .approche-quote { padding: 2rem; }
    .page-header h1 { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; max-width: 300px; margin-left: auto; margin-right: auto; }
    .iva-stats { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .tools-table { min-width: auto; font-size: 0.78rem; }
    .tools-table th, .tools-table td { padding: 0.65rem 0.6rem; }
    .tarif-card { padding: 1.8rem 1.4rem; }
    .faq-question { font-size: 0.9rem; }
    .bio-hero-content, .bio-hero-content--right { padding: 2rem 1.5rem; max-width: 100%; }
    .approche-layout { gap: 2rem; }
}

/* ============================================
   TARIFS
   ============================================ */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.tarif-card {
    background: var(--white);
    padding: 2.2rem 1.8rem;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
    position: relative;
}
.tarif-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 0; height: 2px; background: var(--sage);
    transition: width 0.6s var(--ease-out);
}
.tarif-card:hover::before { width: 100%; }
.tarif-card:hover {
    box-shadow: var(--shadow-md);
}
.tarif-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}
.tarif-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1.2rem;
}
.tarif-prix {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--sage);
    margin-bottom: 0.3rem;
}
.tarif-prix span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}
.tarif-detail {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
}
.tarif-desc {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.65;
}
.tarif-mutuelle {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    font-style: italic;
}
@media (max-width: 1024px) {
    .tarifs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .tarifs-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
    border-top: 1px solid var(--border);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.5;
    transition: color 0.3s ease;
}
.faq-question:hover { color: var(--sage); }
.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 1.5rem;
    transition: transform 0.3s var(--ease-out);
}
.faq-item.faq-open .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
    padding: 0 0;
}
.faq-item.faq-open .faq-answer {
    max-height: 300px;
    padding: 0 0 1.5rem;
}
.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* ============================================
   CAS CLINIQUES
   ============================================ */
.cas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.cas-card {
    background: var(--white);
    padding: 2.2rem;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}
.cas-card:hover {
    box-shadow: var(--shadow-md);
}
.cas-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.8rem;
}
.cas-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--charcoal);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}
.cas-motif {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.cas-resultat {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.7;
}
.cas-resultat strong {
    color: var(--sage);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
@media (max-width: 900px) {
    .cas-grid { grid-template-columns: 1fr; }
}
