/* ============================================
   MOOILOOP HOUT — Stylesheet
   ============================================ */

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

:root {
    --bg-primary: #1A1A1A;
    --bg-secondary: #2C2C2C;
    --accent-gold: #C9A96E;
    --accent-gold-hover: #D4B97E;
    --text-primary: #F5F0EB;
    --text-secondary: #C8C0B6;
    --text-muted: #8A847E;
    --bg-card: #242424;

    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;

    --section-padding: clamp(80px, 12vw, 160px);
    --container-width: 1200px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

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

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

:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

/* ---------- PRELOADER ---------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 260px;
    height: auto;
}

/* Africa — clip-path reveal */
.africa-draw {
    fill: var(--accent-gold);
    clip-path: inset(0 100% 0 0);
    animation: revealAfrica 1.6s ease forwards;
}

/* Text letters */
.logo-text-group path {
    fill: var(--text-primary);
    opacity: 0;
    animation: fadeInText 0.6s ease forwards 1.2s;
}

.preloader-line {
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 24px auto 0;
    transform: scaleX(0);
    animation: expandLine 0.6s ease forwards 1.8s;
}

@keyframes revealAfrica {
    to { clip-path: inset(0 0 0 0); }
}

@keyframes fadeInText {
    to { opacity: 1; }
}

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

/* ---------- NAVIGATION ---------- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.6s ease, padding 0.4s ease, backdrop-filter 0.6s ease;
}

#navbar .nav-links,
#navbar .nav-toggle {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#navbar.scrolled .nav-links,
#navbar.scrolled .nav-toggle {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#navbar.scrolled {
    background: rgba(26, 26, 26, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 14px 40px;
}

.nav-logo {
    pointer-events: auto;
}

.nav-logo-text {
    font-family: 'Baskerville', 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width var(--transition);
}

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

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

.nav-links .nav-cta {
    border: 1px solid var(--accent-gold);
    padding: 8px 20px;
    color: var(--accent-gold);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.nav-links .nav-cta::after {
    display: none;
}

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

/* Language switcher */
.nav-lang a {
    border: 1px solid var(--text-muted);
    padding: 4px 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.nav-lang a::after {
    display: none;
}

.nav-lang a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    display: block;
}

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

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

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

/* ---------- HERO ---------- */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-bg img.loaded {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.15) 0%,
        rgba(26, 26, 26, 0.05) 30%,
        rgba(26, 26, 26, 0.08) 50%,
        rgba(26, 26, 26, 0.25) 75%,
        rgba(26, 26, 26, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.hero-spacer {
    flex: 1;
}

.hero-logo-mark {
    width: 140px;
    margin: 0 auto 32px;
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 2.2s;
}

.hero-logo-mark img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.hero-meaning {
    font-family: var(--font-serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(18px, 3vw, 26px);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 2.4s;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0;
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 2.6s;
}

.hero-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 3s;
    transition: color var(--transition);
}

.hero-scroll:hover {
    color: var(--accent-gold-hover);
}

.hero-scroll svg {
    animation: bounceDown 2s infinite;
}

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

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---------- SECTIONS (COMMON) ---------- */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

/* Smooth gradient transitions between sections */
.section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.section-dark::before {
    background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    opacity: 0.6;
}

.section-dark + .section::before {
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    opacity: 0.6;
}

#histoire::before,
#story::before {
    display: none;
}

.section-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.section-title em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
}

.section-intro {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 640px;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);

}

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

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

/* ---------- HISTOIRE ---------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-separator {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    margin: 24px 0;
}

.story-quote {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.story-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.story-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.story-image {
    position: relative;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-image:hover img {
    transform: scale(1.08);
}

.story-image-caption {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.caption-line {
    flex: 1;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.4;
}

/* ---------- PHOTO BAND ---------- */
.photo-band {
    overflow: hidden;
    padding: 4px 0;
    background: var(--bg-secondary);
}

.photo-band-track {
    display: flex;
    gap: 4px;
    animation: scrollBand 40s linear infinite;
    width: max-content;
    will-change: transform;
}

.photo-band-track img {
    height: 350px;
    width: auto;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.4s ease;
}

.photo-band-track img:hover {
    filter: brightness(1);
}

@keyframes scrollBand {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- SAVOIR-FAIRE ---------- */
.sf-header {
    text-align: center;
    margin-bottom: 80px;
}

.sf-header .section-intro {
    margin: 0 auto;
    text-align: center;
}

.sf-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 80px;
}

.sf-feature {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    transition: border-color 0.6s ease, background 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sf-feature:hover {
    border-color: rgba(201, 169, 110, 0.4);
    background: rgba(201, 169, 110, 0.03);
    transform: translateY(-4px);
}

.sf-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
}

.sf-feature-icon svg {
    width: 100%;
    height: 100%;
}

.sf-feature h3 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.sf-feature p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.sf-statement {
    text-align: center;
}

.sf-statement-text {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

/* ---------- NOS ESSENCES ---------- */
.essences-header {
    text-align: center;
    margin-bottom: 60px;
}

.essences-header .section-intro {
    margin: 0 auto;
    text-align: center;
}

.essences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.essence-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.essence-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.essence-img {
    width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    overflow: hidden;
}

.essence-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.essence-card:hover .essence-img img {
    transform: scale(1.1);
}

.essence-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.essence-info h3 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.essence-info p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.essence-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    opacity: 0.8;
}

/* ---------- ENGAGEMENT / JOURNEY MAP ---------- */
.eng-header {
    text-align: center;
    margin-bottom: 80px;
}

.journey-map {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 80px;
    padding-top: 40px;
}

.journey-line {
    position: absolute;
    top: 58px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: rgba(201, 169, 110, 0.15);
}

.journey-line-progress {
    position: absolute;
    top: 58px;
    left: 12.5%;
    width: 0%;
    max-width: 75%;
    height: 2px;
    background: var(--accent-gold);
    transition: width 1.5s ease;
}

.journey-map.visible .journey-line-progress {
    width: 75%;
}

.journey-step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.journey-map.visible .journey-step[data-step="1"] { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.journey-map.visible .journey-step[data-step="2"] { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.journey-map.visible .journey-step[data-step="3"] { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.journey-map.visible .journey-step[data-step="4"] { opacity: 1; transform: translateY(0); transition-delay: 1.1s; }

.journey-dot {
    width: 16px;
    height: 16px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    background: var(--bg-primary);
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    transition: background 0.4s ease;
}

.journey-map.visible .journey-dot {
    background: var(--accent-gold);
}

.journey-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--accent-gold);
}

.journey-icon svg {
    width: 100%;
    height: 100%;
}

.journey-content h3 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.journey-content p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Engagement pillars */
.eng-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.eng-pillar {
    padding: 24px 0;
}

.eng-pillar-number {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 300;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 12px;
}

.eng-pillar h3 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.eng-pillar p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ---------- GALLERY ---------- */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 8px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item-wide {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.2) 40%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay .gallery-wood {
    transform: translateY(10px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay .gallery-desc {
    transform: translateY(10px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.gallery-item:hover .gallery-overlay .gallery-wood,
.gallery-item:hover .gallery-overlay .gallery-desc {
    transform: translateY(0);
}

.gallery-wood {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: var(--accent-gold);
}

.gallery-desc {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ---------- PROCESSUS ---------- */
.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-steps {
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 32px 0;
}

.process-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    color: var(--accent-gold);
    line-height: 1;
    flex-shrink: 0;
    width: 64px;
}

.process-content h3 {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.process-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.process-connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    margin-left: 31px;
}

/* ---------- PROFESSIONNELS ---------- */
.pro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.pro-intro {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.pro-benefits {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.pro-benefit {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pro-benefit-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.pro-benefit-icon svg {
    width: 100%;
    height: 100%;
}

.pro-benefit h3 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.pro-benefit p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.pro-image {
    position: relative;
    overflow: hidden;
}

.pro-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pro-image:hover img {
    transform: scale(1.08);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    cursor: pointer;
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-gold:hover {
    background: var(--accent-gold-hover);
}

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

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

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

/* ---------- CONTACT ---------- */
#contact {
    position: relative;
}

.contact-bg-texture {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(139, 94, 60, 0.05) 0%, transparent 50%),
        linear-gradient(225deg, rgba(201, 169, 110, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-quote {
    text-align: center;
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.contact-quote p {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.contact-quote span {
    font-family: var(--font-serif);
    font-size: 16px;
    font-style: italic;
    color: var(--text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-detail svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.contact-detail strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.contact-detail span {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-detail a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.contact-detail a:hover {
    color: var(--accent-gold);
}

.contact-rdv {
    margin-top: 16px;
}

.btn-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* ---------- FORM ---------- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(201, 169, 110, 0.3);
    padding: 12px 0;
    outline: none;
    transition: border-color 0.6s ease, box-shadow 0.6s ease;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent-gold);
    box-shadow: 0 1px 0 0 var(--accent-gold);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A96E' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

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

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.form-group-checkbox {
    margin-top: 8px;
}

.form-group-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.5;
}

.form-group-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-top: 1px;
    border: 2px solid rgba(201, 169, 110, 0.5);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group-checkbox input[type="checkbox"]:checked {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.form-group-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid var(--bg-primary);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.form-group-checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.form-group-checkbox a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

/* ---------- FOOTER ---------- */
#footer {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-logo span {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.25em;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--text-muted);
    margin: 12px 0 28px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-origin {
    margin-top: 4px;
    color: var(--accent-gold);
    opacity: 0.6;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-legal-links a {
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-legal-links a:hover {
    color: var(--accent-gold);
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--bg-card);
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 600px;
}

.cookie-banner p a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 11px;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
        gap: 12px;
    }
}

/* ---------- LEGAL PAGES ---------- */
.legal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    z-index: 100;
    background: rgba(26, 26, 26, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    color: var(--text-secondary);
}

.legal-page h1 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 40px);
    color: var(--text-primary);
    margin-bottom: 12px;
}

.legal-page .legal-update {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.legal-page h2 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--text-primary);
    margin: 40px 0 16px;
}

.legal-page p,
.legal-page li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-page ul {
    padding-left: 20px;
    margin: 12px 0;
}

.legal-page a {
    color: var(--accent-gold);
}

.legal-page h3 {
    font-size: 16px;
    margin: 24px 0 8px;
    color: var(--text-primary);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent-gold);
    margin-bottom: 40px;
    transition: color var(--transition);
}

.legal-back:hover {
    color: var(--accent-gold-hover);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
    z-index: 2;
}

.lightbox-close:hover {
    color: var(--accent-gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    z-index: 2;
}

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

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .sf-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-map {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .journey-line,
    .journey-line-progress {
        display: none;
    }

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

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

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

    .gallery-item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

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

    .pro-image {
        order: -1;
    }

    .pro-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: clamp(60px, 10vw, 100px);
    }

    .section::before {
        height: 50px;
        opacity: 0.4;
    }

    .section-inner {
        padding: 0 24px;
    }

    #navbar {
        padding: 16px 24px;
    }

    #navbar.scrolled {
        padding: 12px 24px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 24px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(201, 169, 110, 0.1);
    }

    #navbar .nav-toggle {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    #navbar .nav-links.open {
        right: 0;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    #hero {
        height: 100dvh;
    }

    .sf-header,
    .eng-header,
    .process-header {
        margin-bottom: 40px;
    }

    .journey-map {
        margin-bottom: 40px;
    }

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

    .story-image img {
        height: 350px;
    }

    .sf-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .essence-img {
        width: 70px;
        min-height: 70px;
    }

    .journey-map {
        grid-template-columns: 1fr;
    }

    .journey-step {
        text-align: left;
        display: flex;
        gap: 20px;
    }

    .journey-dot {
        margin: 4px 0 0 0;
        flex-shrink: 0;
    }

    .journey-icon {
        margin: 0 0 8px 0;
    }

    .eng-pillars {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .gallery-overlay {
        opacity: 1;
    }

    .gallery-overlay .gallery-wood,
    .gallery-overlay .gallery-desc {
        transform: translateY(0);
        opacity: 1;
    }

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

    .process-step {
        gap: 20px;
    }

    .process-number {
        font-size: 36px;
        width: 48px;
    }

    .photo-band-track img {
        height: 220px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .section-inner {
        padding: 0 16px;
    }

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

    .contact-quote p {
        font-size: 28px;
    }

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

    .footer-links {
        gap: 12px;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-logo-mark {
        width: 110px;
    }

    .hero-meaning {
        font-size: 16px;
    }

    .photo-band-track img {
        height: 160px;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
    }

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

    .lightbox-prev svg,
    .lightbox-next svg {
        width: 18px;
        height: 18px;
    }
}

/* Samsung Galaxy Fold outer screen (~280px) and very narrow devices */
@media (max-width: 320px) {
    .section-inner {
        padding: 0 12px;
    }

    #navbar {
        padding: 12px 12px;
    }

    #navbar.scrolled {
        padding: 10px 12px;
    }

    .nav-logo-text {
        font-size: 13px;
        letter-spacing: 0.12em;
    }

    .nav-links {
        width: 100vw;
        right: -100vw;
        padding: 32px 24px;
    }

    .hero-logo-mark {
        width: 90px;
        margin-bottom: 20px;
    }

    .hero-meaning {
        font-size: 14px;
    }

    .hero-subtitle {
        font-size: 10px;
        letter-spacing: 0.15em;
    }

    .hero-scroll {
        font-size: 10px;
        margin-bottom: 32px;
    }

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

    .section-label {
        font-size: 10px;
    }

    .section-intro {
        font-size: 14px;
    }

    .story-quote {
        font-size: 22px;
    }

    .story-body {
        font-size: 13px;
    }

    .sf-feature {
        padding: 24px 16px;
    }

    .sf-statement-text {
        font-size: 20px;
    }

    .essence-card {
        flex-direction: column;
    }

    .essence-img {
        width: 100%;
        min-height: 120px;
        max-height: 140px;
    }

    .essence-info {
        padding: 12px;
    }

    .journey-step {
        flex-direction: column;
        gap: 12px;
    }

    .eng-pillar {
        padding: 20px 16px;
    }

    .process-number {
        font-size: 28px;
        width: 40px;
    }

    .process-step {
        gap: 16px;
    }

    .pro-benefits {
        gap: 20px;
    }

    .pro-benefit {
        flex-direction: column;
        gap: 8px;
    }

    .contact-detail {
        gap: 10px;
    }

    .contact-detail a {
        font-size: 12px;
        word-break: break-all;
    }

    .contact-quote p {
        font-size: 22px;
    }

    .photo-band-track img {
        height: 120px;
    }

    .cookie-banner {
        padding: 12px 12px;
        gap: 10px;
    }

    .cookie-banner p {
        font-size: 11px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions .btn-sm {
        flex: 1;
        padding: 8px 12px;
        font-size: 10px;
        text-align: center;
    }

    .btn-gold, .btn-outline {
        padding: 12px 20px;
        font-size: 11px;
    }

    .footer-inner {
        padding: 0 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 8px;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 32px;
        height: 32px;
    }

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

    .legal-nav {
        padding: 16px 12px;
    }

    .legal-page {
        padding: 100px 12px 60px;
    }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.4);
    background: rgba(26, 26, 26, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, border-color 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
}

/* ---------- PRINT ---------- */
@media print {
    body {
        background: #fff;
        color: #000;
    }

    #navbar, #preloader, .lightbox, .cookie-banner, .back-to-top,
    .photo-band, .hero-overlay, .hero-scroll, .nav-toggle {
        display: none !important;
    }

    .hero-bg img {
        transform: none;
    }

    #hero {
        height: auto;
        min-height: auto;
    }

    .section, .section-dark {
        background: #fff;
        padding: 32px 0;
    }

    .section::before {
        display: none;
    }

    .section-inner {
        max-width: 100%;
        padding: 0 24px;
    }

    .section-title, .section-label, .story-quote, .sf-statement-text,
    .contact-quote p, h1, h2, h3 {
        color: #000;
    }

    .section-intro, .story-body, p, li, .contact-text,
    .sf-feature p, .essence-info p, .journey-content p,
    .process-content p, .pro-intro, .pro-benefit p {
        color: #333;
    }

    .section-title em {
        color: #555;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .gallery-overlay {
        opacity: 1;
    }

    .gallery-overlay .gallery-wood,
    .gallery-overlay .gallery-desc {
        transform: none;
        opacity: 1;
        color: #fff;
    }

    .btn {
        border: 1px solid #000;
        color: #000;
        background: transparent;
    }

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

    .essence-tag, .eng-pillar-number, .process-number,
    .accent-gold, .section-label {
        color: #555;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .photo-band-track {
        animation: none;
        will-change: auto;
    }
}
