/* =====================================================
   BPS — Best Prestige Service | CSS complet
   Palette : blanc, noir profond, or sable #C8A97E
   Polices  : Cormorant Garamond (serif) + Jost (sans)
   ===================================================== */

/* ---- PRELOADER ------------------------------------- */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    width: 100%; height: 100%;
    background: #0A0907;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.pre-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;           /* espacement uniforme entre tous les enfants */
}
.pre-logo {
    /* Le PNG a ~27% de padding transparent de chaque côté.
       background-size: 190% zoome pour couper ce padding.
       background-position: 50% 48% centre sur le monogramme réel. */
    width:  clamp(150px, 25vw, 200px);
    height: clamp(100px, 16vw, 135px);
    background: url('../image/bpslogo.png') no-repeat 50% 47%;
    background-size: 148%;
    animation: preFadeIn 0.9s ease forwards;
}
.pre-brand {
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: rgba(200,169,126,0.5);
    animation: preFadeIn 1.1s ease forwards;
}
@keyframes preFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.pre-bar {
    width: 180px; height: 1px;
    background: rgba(200,169,126,0.2);
    margin: 0 auto;
    overflow: hidden;
}
.pre-progress {
    height: 100%;
    background: #C8A97E;
    animation: preLoad 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    width: 0;
}
@keyframes preLoad { to { width: 100%; } }

/* ---- CUSTOM CURSOR --------------------------------- */
body:has(.cursor-dot) { cursor: none; }
.cursor-dot,
.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    top: 0; left: 0;
    will-change: transform;
    translate: -50% -50%;
}
.cursor-dot {
    width: 6px; height: 6px;
    background: #C8A97E;
    transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid rgba(200,169,126,0.55);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-dot.hover  { width: 10px; height: 10px; background: #C8A97E; }
.cursor-ring.hover { width: 56px; height: 56px; border-color: rgba(200,169,126,0.85); }

@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---- NAV ACTIVE LINK ------------------------------- */
.nav-links a {
    position: relative;
    padding-bottom: 2px;
}
.nav-links a::after {
    content: '';
    position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: #C8A97E;
    transition: width 0.35s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ---- SMOOTH TRANSITIONS on .btn ------------------- */
.btn { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, color 0.3s, border-color 0.3s; }

/* ---- RESET & BASE ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    background: #0A0907;
    color: #E8E0D4;
    overflow-x: hidden;
    line-height: 1.7;
}
img { display: block; width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPEWRITER CURSOR ----------------------------- */
.tw-cursor {
    display: inline-block;
    color: #C8A97E;
    font-weight: 300;
    margin-left: 1px;
    animation: blink 0.75s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ---- 3D CANVAS ------------------------------------ */
#canvas-3d {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #0C0B09; /* Fond sombre — constellation dorée lisible */
    transition: opacity 0.1s linear;
}
/* Everything above the canvas */
.navbar, .hero, .pillars, .philosophie, .expertises,
.organisation, .engagement, .contact, .footer {
    position: relative;
    z-index: 1;
}
/* Hero transparent — le fond sombre du canvas sert de background */
.hero { background: transparent !important; }
/* Toutes les sections = dark — cohérence totale */
.pillars, .philosophie, .expertises, .organisation, .engagement, .contact { background: transparent; }
.footer { background: #050403; }

/* ---- VARIABLES — Dark Luxury Palette --------------- */
:root {
    --gold:    #C8A97E;
    --black:   #0A0907;   /* fond global */
    --dark1:   #111009;   /* sections altérnées */
    --dark2:   #161410;   /* cards, inputs */
    --white:   #F0EAE0;   /* texte principal crème */
    --off:     #1A1814;   /* fond cards */
    --grey:    #9A9185;   /* texte secondaire */
    --border:  rgba(200,169,126,0.15); /* trait doré discret */
    --serif:   'NyghtSerif', 'Georgia', serif;
    --sans:    'Instrument Sans', sans-serif;
    --nav-h:   110px;
    --max:     1320px;
    --gap:     clamp(2rem, 4vw, 5rem);
}

/* ---- TYPOGRAPHY ------------------------------------ */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; color: var(--white); }
h1 { font-size: clamp(3.2rem, 6vw, 6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
p  { font-size: clamp(0.95rem, 1.5vw, 1.1rem); color: var(--grey); font-family: var(--sans); }
p.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: rgba(240,234,224,0.7); font-family: var(--sans); }
strong { font-weight: 500; color: var(--white); }

.tag-line {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1.2rem;
}

/* ---- LAYOUT ---------------------------------------- */
.wrapper {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: clamp(1.5rem, 5vw, 5rem);
}
.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 5rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.1rem; }

/* ---- BUTTONS --------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.4rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-dark  { background: var(--gold); color: #0A0907; border-color: var(--gold); }
.btn-dark:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-white { background: transparent; color: var(--white); border-color: rgba(240,234,224,0.35); }
.btn-white:hover { background: var(--gold); color: #0A0907; border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(240,234,224,0.3); }
.btn-ghost:hover { background: var(--gold); color: #0A0907; border-color: var(--gold); }
.btn-full  { width: 100%; justify-content: center; }

/* ---- NAVBAR ---------------------------------------- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
    height: var(--nav-h);
    background: rgba(10,9,7,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.3s;
}
.navbar.on-dark {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}
.navbar.on-dark .nav-links a { color: rgba(240,234,224,0.7); }
.navbar.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.4); }
.nav-inner {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: clamp(1.5rem, 4vw, 4rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.logo-wrap img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1) sepia(1) saturate(0.3);
    opacity: 0.9;
    transition: opacity 0.3s;
}
.logo-wrap img:hover { opacity: 0.6; }
.nav-links { display: flex; align-items: center; gap: 2.8rem; }
.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(240,234,224,0.65);
    transition: color 0.25s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* ---- LANGUAGE SELECTOR (Custom with Flags) ---------------- */
.custom-lang-selector {
    position: relative;
    margin-right: 1.5rem;
    font-family: var(--sans);
    z-index: 1000;
}
.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 1px solid rgba(200, 169, 126, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}
.lang-current:hover {
    border-color: var(--gold);
    background: rgba(200, 169, 126, 0.05);
}
.lang-current img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}
.lang-current i {
    font-size: 0.7rem;
    margin-left: 4px;
}
.lang-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: rgba(10, 9, 7, 0.98);
    border: 1px solid rgba(200, 169, 126, 0.2);
    border-radius: 4px;
    list-style: none;
    padding: 0.5rem 0;
    min-width: 140px;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}
.lang-menu.show { display: block; }
.lang-menu li {
    padding: 0.6rem 1rem;
    color: rgba(240, 234, 224, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.lang-menu li:hover {
    background: rgba(200, 169, 126, 0.1);
    color: var(--gold);
}
.lang-menu li img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

/* Hide google translate top bar */
.skiptranslate iframe { display: none !important; }
body { top: 0 !important; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 26px; height: 1.5px; background: var(--white); transition: all 0.3s; }

/* ---- HERO ------------------------------------------ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    /* Pas de background — le canvas Three.js fixe est visible dessous */
}
/* Vignette douce — assombrit les bords sans toucher le bas */
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.38) 100%);
    pointer-events: none; z-index: 1;
}
/* Ligne dorée verticale bas */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    z-index: 3;
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 880px;
    padding-inline: clamp(1.5rem, 5vw, 3rem);
}
.hero-tag {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 2.2rem;
    opacity: 0.9;
}
.hero-content h1 {
    color: #FAF8F4;
    margin-bottom: 1.8rem;
    font-size: clamp(2.6rem, 5.5vw, 5.2rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}
.hero-content p {
    color: rgba(255,255,255,0.65);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 3rem;
    line-height: 1.8;
}
.hero-ctas { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.btn-outline-dark {
    background: transparent;
    color: rgba(255,255,255,0.85) !important;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-dark:hover {
    background: var(--white);
    color: var(--black) !important;
    border-color: var(--white);
}
.scroll-down {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    z-index: 2; color: rgba(255,255,255,0.3); font-size: 1.3rem;
    animation: bounce 2.5s ease-in-out infinite;
    transition: color 0.3s;
}
.scroll-down:hover { color: var(--gold); }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* ---- GOLD SEPARATOR -------------------------------- */
.gold-sep {
    display: block;
    width: 60px; height: 1px;
    background: var(--gold);
    margin: 0 auto 2rem;
}

/* ---- PHILOSOPHIE ----------------------------------- */
.philosophie { position: relative; }
/* BPS watermark (reste en place) */
.philosophie::before {
    content: 'BPS';
    position: absolute;
    right: 3vw; top: 50%;
    transform: translateY(-50%);
    font-family: var(--serif);
    font-size: clamp(8rem, 18vw, 22rem);
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1px rgba(200,169,126,0.05);
    pointer-events: none;
    letter-spacing: -0.02em;
    line-height: 1;
    user-select: none;
}
.philosophie .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    align-items: start;
    position: relative; z-index: 1;
}
/* Texte sur fond sombre */
.philo-text h2       { margin-bottom: 1.8rem; }
.philo-text p        { margin-bottom: 1.4rem; }
.philo-text .btn     { margin-top: 1rem; }
.philo-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}
.stat-block {
    padding: 2.8rem 2.4rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 0.6rem;
    transition: background 0.4s;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}
.stat-block::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.5s ease;
}
.stat-block:hover { background: rgba(200,169,126,0.06); }
.stat-block:hover::after { width: 100%; }
.stat-number {
    font-family: var(--serif);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--white);
    font-weight: 300;
}
.stat-number small { font-size: 1.6rem; color: var(--gold); }
/* Stat texte (ex : Sur-mesure) — taille réduite, italique élégant */
.stat-text {
    font-size: 2rem;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 0.02em;
}
.stat-label {
    font-size: 0.70rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- EXPERTISES ------------------------------------ */
.expertises { position: relative; }
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}
.section-head::after {
    content: '';
    display: block;
    width: 50px; height: 1px;
    background: var(--gold);
    margin: 2rem auto 0;
}
.expertises-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}
/* -- Expertise row (timeline style) -- */
.expertise-row {
    display: grid;
    grid-template-columns: 80px 3px 60px 1fr auto;
    align-items: center;
    gap: 0 2.5rem;
    padding: 3.5rem 3rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: background 0.4s ease, padding-left 0.4s ease;
    cursor: default;
}
.expertise-row:first-child { border-top: 1px solid var(--border); }
.expertise-row:hover {
    background: rgba(200,169,126,0.04);
    padding-left: 3.8rem;
}
/* Num */
.expertise-row-num {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(200,169,126,0.15);
    line-height: 1;
    text-align: center;
    transition: color 0.4s;
    user-select: none;
}
.expertise-row:hover .expertise-row-num {
    color: rgba(200,169,126,0.35);
}
/* Gold accent line */
.expertise-row-accent {
    width: 3px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    border-radius: 2px;
    opacity: 0.4;
    transition: height 0.4s ease, opacity 0.4s;
}
.expertise-row:hover .expertise-row-accent {
    height: 70px;
    opacity: 0.8;
}
/* Icon */
.expertise-row-icon {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.expertise-row-icon svg { width: 100%; height: 100%; }
/* Content */
.expertise-row-content { min-width: 0; }
.expertise-row-content h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    margin-bottom: 0.3rem;
}
.expertise-row-subtitle {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}
.expertise-row-content p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--grey);
    max-width: 600px;
}
/* CTA button */
.expertise-row-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: none;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.9rem 1.8rem;
    cursor: pointer;
    transition: all 0.35s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.expertise-row-cta:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}
.expertise-row-cta svg { transition: transform 0.3s; }
.expertise-row-cta:hover svg { transform: translateX(4px); }

/* ---- SERVICE MODAL --------------------------------- */
.svc-modal {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex; align-items: stretch; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.45s ease;
}
.svc-modal.open { opacity: 1; pointer-events: all; }

.svc-modal-inner {
    background: var(--off);
    width: 100%; max-width: 1400px;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    transform: translateY(40px);
    transition: transform 0.45s ease;
    overflow: hidden;
}
.svc-modal.open .svc-modal-inner { transform: translateY(0); }

/* Image side */
.svc-modal-img-wrap {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.svc-modal-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content side — dark luxury */
.svc-modal-body {
    background: #111009;
    padding: clamp(3rem, 6vw, 7rem) clamp(2.5rem, 5vw, 6rem);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border);
}
.svc-modal-body .tag-line { margin-bottom: 1rem; }
.svc-modal-body h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    margin-bottom: 3rem;
    color: var(--white);
}

/* Sections list (valeurs style) */
.svc-modal-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.svc-modal-section {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
}
.svc-modal-section-icon {
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--gold);
}
.svc-modal-section-icon svg {
    width: 100%; height: 100%;
    stroke: var(--gold);
}
.svc-modal-section strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 0.35rem;
}
.svc-modal-section p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--grey);
    margin: 0;
}

/* CTA */
.svc-modal-cta { margin-top: 3rem; align-self: flex-start; }

/* Close button */
.svc-modal-close {
    position: fixed; top: 1.8rem; right: 2rem; z-index: 10;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--white);
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}
.svc-modal-close:hover { background: var(--gold); border-color: var(--gold); color: #0A0907; }

@media (max-width: 900px) {
    .svc-modal-inner { grid-template-columns: 1fr; grid-template-rows: 40vh 1fr; }
    .svc-modal-img-wrap { height: 40vh; }
    .svc-modal-body { padding: 2.5rem 1.8rem; justify-content: flex-start; }
}

/* ---- ENGAGEMENT ------------------------------------ */
.engagement { background: transparent; padding: 0; }
.engagement-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
}
/* -- Engagement / Contact visual panel (replaces image) -- */
.engagement-visual,
.contact-visual {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0f0d0a 0%, #1a1710 40%, #0f0d0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 680px;
}
.engagement-visual::before,
.contact-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(200,169,126,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.engagement-visual-inner,
.contact-visual-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}
.engagement-monogram,
.contact-monogram {
    font-family: var(--serif);
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 2rem;
    transition: opacity 0.6s ease;
}
.engagement-visual:hover .engagement-monogram,
.contact-visual:hover .contact-monogram {
    opacity: 0.55;
}
.engagement-visual-line,
.contact-visual-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 2rem;
    opacity: 0.5;
}
.engagement-visual-tag,
.contact-visual-tag {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 400;
}
.engagement-visual-sub,
.contact-visual-sub {
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.contact-visual-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--white);
    line-height: 1.5;
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    margin-top: 3rem;
    text-align: left;
    opacity: 0.85;
}
.engagement-content {
    padding: clamp(3rem, 6vw, 7rem);
    display: flex; flex-direction: column; justify-content: center;
    background: rgba(255,255,255,0.02);
}
.engagement-content h2 { margin-bottom: 2.5rem; }
.valeurs-list { display: flex; flex-direction: column; gap: 2rem; }
.valeurs-list li {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
}
.valeur-svg {
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--gold);
    stroke: var(--gold);
}
.valeur-svg svg { width: 100%; height: 100%; fill: none; }
.valeurs-list li strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    color: var(--white);
}
.valeurs-list li p { font-size: 0.98rem; margin: 0; color: var(--grey); }

/* ---- CONTACT --------------------------------------- */
.contact { background: transparent; }
.contact .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    align-items: start;
}
.contact-media {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}
.contact-media img {
    width: 100%;
    height: clamp(300px, 50vw, 720px);
    object-fit: cover;
    display: block;
    filter: brightness(0.25) contrast(1.3) sepia(0.4);
}
.contact-media-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 40%, transparent);
    display: flex; align-items: flex-end; padding: 3rem;
}
.contact-media-overlay blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--white);
    line-height: 1.4;
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
}
.contact-form-wrap { padding-top: 1rem; }
.contact-form-wrap h2 { margin-bottom: 1rem; }
.contact-form-wrap > p { margin-bottom: 2.5rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(200,169,126,0.7); /* or discret = label charte */
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--white);
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}
.form-field select option { background: #1A1814; color: var(--white); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(200,169,126,0.35); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note {
    font-size: 0.78rem;
    color: var(--grey);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: -0.5rem;
}
.form-note i { color: var(--gold); }

/* ---- FOOTER ---------------------------------------- */
.footer {
    background: #050403;
    color: rgba(240,234,224,0.4);
    padding: 5rem 0 3rem;
    text-align: center;
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 2rem;
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.footer-inner img { height: 70px; width: auto; filter: brightness(0) invert(1) sepia(1) saturate(0.3); opacity: 0.75; margin-inline: auto; }
.footer-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.3rem;
    color: rgba(240,234,224,0.55);
    letter-spacing: 0.02em;
}
.footer-nav { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(240,234,224,0.35);
    transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: 0.75rem; color: rgba(240,234,224,0.25); margin-top: 1rem; }

/* ---- PILLARS (Réactivité, Discrétion...) ----------- */
.pillars {
    border-bottom: 1px solid var(--border);
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.pillar-block {
    padding: 3.5rem 2.5rem;
    text-align: center;
    border-right: 1px solid var(--border);
    position: relative;
    transition: background 0.4s;
}
.pillar-block:last-child { border-right: none; }
.pillar-block:hover { background: rgba(200,169,126,0.04); }
.pillar-icon {
    width: 2.2rem;
    height: 2.2rem;
    color: var(--gold);
    margin: 0 auto 1.5rem;
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-block h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.02em;
}
.pillar-block p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--grey);
}

/* ---- ORGANISATION ---------------------------------- */
.organisation {
    border-top: 1px solid var(--border);
}
.org-content { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.org-content h2 { margin-bottom: 1rem; }
.org-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}
.org-card {
    padding: 3rem 2.2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background 0.4s;
    position: relative;
}
.org-card:last-child { border-right: none; }
.org-card:hover { background: rgba(200,169,126,0.05); }
.org-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.5s ease;
}
.org-card:hover::after { width: 100%; }
.org-card-icon {
    width: 2rem;
    height: 2rem;
    color: var(--gold);
    margin: 0 auto 1.5rem;
}
.org-card-icon svg { width: 100%; height: 100%; }
.org-card strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--white);
}
.org-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--grey);
}

/* ---- CONTACT QUICK (Mail + WhatsApp buttons) ------- */
.contact-quick {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.contact-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.6rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-decoration: none;
}
.contact-quick-btn:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}
.contact-quick-btn i {
    font-size: 1.1rem;
    color: var(--gold);
    transition: color 0.3s;
}
.contact-quick-btn:hover i { color: var(--black); }
.contact-quick-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}
.contact-quick-whatsapp:hover i { color: #fff; }

/* ---- WHATSAPP FLOATING BUTTON ---------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1500;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 24px rgba(37,211,102,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 32px rgba(37,211,102,0.5);
}

/* ---- FOOTER (enriched with columns) ---------------- */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    text-align: left;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.footer-brand img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1) sepia(1) saturate(0.3);
    opacity: 0.75;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-address-text p {
    font-size: 0.85rem;
    color: rgba(240,234,224,0.45);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}
.footer-address-text strong {
    color: var(--text);
    font-weight: 500;
}
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col h4 {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.footer-col a {
    font-size: 0.85rem;
    color: rgba(240,234,224,0.45);
    transition: color 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-col a:hover { color: var(--gold); }
.footer-col a i { font-size: 0.9rem; width: 1.2rem; text-align: center; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    font-size: 0.72rem;
    color: rgba(240,234,224,0.25);
    transition: color 0.3s;
    text-decoration: none;
}
.footer-legal a:hover { color: var(--gold); }

/* ---- REVEAL ANIMATION ------------------------------ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ------------------------------------ */
@media (max-width: 1024px) {
    .philosophie .wrapper,
    .contact .wrapper { grid-template-columns: 1fr; }

    .engagement-inner { grid-template-columns: 1fr; }
    .engagement-visual { min-height: 400px; }
    .contact-visual { min-height: 400px; }
    .philo-stats { grid-template-columns: 1fr 1fr; }

    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .pillar-block:nth-child(2) { border-right: none; }
    .pillar-block:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .org-grid { grid-template-columns: repeat(2, 1fr); }
    .org-card:nth-child(2) { border-right: none; }
    .org-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { align-items: center; }
    .footer-brand img { margin: 0 auto; }
    .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
}
@media (max-width: 768px) {
    :root { --nav-h: 68px; }
    .logo-wrap img { height: 56px; }
    .nav-cta { display: none; }
    .custom-lang-selector { margin-right: 0.5rem; }
    .lang-current { padding: 0.35rem 0.7rem; font-size: 0.72rem; }

    /* ---- Mobile nav overlay ---- */
    .nav-links {
        display: none;
        position: fixed !important;
        top: var(--nav-h) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: calc(100vh - var(--nav-h)) !important;
        background: #0A0907 !important;
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        border-top: 1px solid var(--border);
        z-index: 9990 !important;
        isolation: isolate;
    }
    .nav-links.open { display: flex !important; }
    .nav-links a { font-size: 1rem; letter-spacing: 0.2em; }

    .burger { display: flex; }
    .burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    .philo-stats { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-content { padding-left: 1.5rem; }
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar-block { border-right: none; border-bottom: 1px solid var(--border); }
    .pillar-block:last-child { border-bottom: none; }
    .org-grid { grid-template-columns: 1fr; }
    .org-card { border-right: none; border-bottom: 1px solid var(--border); }
    .org-card:last-child { border-bottom: none; }
    .footer-columns { grid-template-columns: 1fr; text-align: center; }
    .footer-col { align-items: center; }
    .expertise-row { grid-template-columns: 50px 3px 40px 1fr; gap: 0 1.2rem; padding: 2.5rem 1.5rem; }
    .expertise-row-cta { grid-column: 1 / -1; margin-top: 1.5rem; justify-content: center; }
    .expertise-row-num { font-size: 2rem; }
    .expertise-row:hover { padding-left: 1.5rem; }
    .contact-quick { flex-direction: column; }
    .whatsapp-float { bottom: 1.2rem; left: 1.2rem; width: 48px; height: 48px; font-size: 1.3rem; }
    .stat-number { font-size: 2.5rem; }
    .section-head { margin: 0 auto 2.8rem; }
    .stat-block { padding: 2rem 1.5rem; }
    .engagement-visual, .contact-visual { min-height: 280px; }
    .engagement-inner { min-height: auto; }
    .preview-grid { grid-template-columns: 1fr; }
    .preview-card { border-right: none; border-bottom: 1px solid var(--border); }
    .preview-card:last-child { border-bottom: none; }
    .page-hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3rem; }
}

/* ======================================================
   PREMIUM v2 — Scroll bar · Tilt · Scramble · Dots · FAB
   ====================================================== */

/* ---- SCROLL PROGRESS BAR --------------------------- */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #C8A97E, #E8D5B4, #C8A97E);
    z-index: 10000;
    pointer-events: none;
    transition: width 0.08s linear;
}

/* ---- FLOATING CTA BUTTON --------------------------- */
#fab-cta {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--black);
    color: var(--white);
    padding: 0.85rem 1.5rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s;
    border: 1px solid transparent;
}
#fab-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
#fab-cta.hidden-fab { opacity: 0; pointer-events: none; }
#fab-cta:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
#fab-cta svg { flex-shrink: 0; }
@media (max-width: 600px) {
    #fab-cta .fab-label { display: none; }
    #fab-cta { padding: 1rem; border-radius: 50%; }
}

/* ---- SIDE DOTS NAVIGATION -------------------------- */
.side-dots {
    position: fixed;
    right: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1400;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.side-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(200,169,126,0.25);
    border: 1px solid rgba(200,169,126,0.35);
    display: block;
    position: relative;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}
.side-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200,169,126,0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.side-dot:hover::after { opacity: 1; }
.side-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.6);
    box-shadow: 0 0 8px rgba(200,169,126,0.4);
}
@media (max-width: 900px) { .side-dots { display: none; } }

/* ---- GRAIN TEXTURE OVERLAY ------------------------- */
#grain {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
    mix-blend-mode: overlay;
}

/* ---- EXPERTISE ROWS initial hidden state ---------- */
/* (JS sets these inline, this is fallback) */
.expertises-grid .expertise-row {
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================
   INNER PAGES — Shared styles for about, faq, contact, expertises
   ===================================================== */

/* ---- INNER PAGE BODY ------------------------------- */
.page-inner {
    background: var(--black);
}

/* ---- NAVBAR INNER (solid, no transparency) --------- */
.navbar.navbar-inner {
    background: rgba(10,9,7,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.navbar.navbar-inner .nav-links a { color: rgba(240,234,224,0.65); }
.navbar.navbar-inner .burger span { background: var(--white); }

/* ---- PAGE HERO ------------------------------------- */
.page-hero {
    position: relative;
    padding-top: calc(var(--nav-h) + 5rem);
    padding-bottom: 5rem;
    text-align: center;
    background: linear-gradient(180deg, #0A0907 0%, #111009 60%, transparent 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(200,169,126,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
    padding-inline: clamp(1.5rem, 5vw, 3rem);
}
.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.page-hero p {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--grey);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
}
.page-hero .tag-line {
    margin-bottom: 1.5rem;
}

/* ---- FAQ SECTION ----------------------------------- */
.faq-section {
    background: transparent;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3.5rem;
}
.faq-column {
    display: flex;
    flex-direction: column;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    padding: 1.6rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.01em;
    line-height: 1.5;
    transition: color 0.3s;
}
.faq-question:hover {
    color: var(--gold);
}
.faq-arrow {
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 0;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.6rem;
}
.faq-answer p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--grey);
    padding-right: 2rem;
}

/* ---- CTA BAND ------------------------------------- */
.cta-band {
    background: transparent;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-band h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--white);
    font-weight: 400;
}

/* ---- PREVIEW CARDS (landing page) ------------------ */
.expertises-preview {
    background: transparent;
    border-top: 1px solid var(--border);
}
.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}
.preview-card {
    padding: 3rem 2.2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    transition: background 0.4s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}
.preview-card:last-child { border-right: none; }
.preview-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}
.preview-card:hover { background: rgba(200,169,126,0.06); }
.preview-card:hover::after { width: 100%; }
.preview-card-icon {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--gold);
}
.preview-card-icon svg { width: 100%; height: 100%; }
.preview-card h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin: 0;
}
.preview-card-sub {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---- RESPONSIVE (inner pages) ---------------------- */
@media (max-width: 1024px) {
    .preview-grid { grid-template-columns: repeat(2, 1fr); }
    .preview-card:nth-child(2) { border-right: none; }
    .preview-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
    .faq-grid { grid-template-columns: 1fr; gap: 0; }
}


/* ---- MOBILE SMALL 480px (phones portrait) ---------- */
@media (max-width: 480px) {
    :root { --nav-h: 60px; }
    .logo-wrap img { height: 46px; }

    /* Hero */
    .hero-content h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
    .hero-content p  { font-size: 0.95rem; margin-bottom: 2rem; }
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding-inline: 1rem;
    }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-tag { letter-spacing: 0.18em; font-size: 0.6rem; margin-bottom: 1.5rem; }

    /* Sections */
    .section { padding-block: clamp(3.5rem, 8vw, 5rem); }
    .section-head { margin: 0 auto 2rem; }
    h2 { font-size: clamp(1.8rem, 7vw, 2.2rem); }
    .wrapper { padding-inline: 1.2rem; }

    /* Stats */
    .philo-stats { grid-template-columns: 1fr; }
    .stat-number { font-size: 2rem; }
    .stat-text  { font-size: 1.4rem; }
    .stat-block { padding: 1.8rem 1.5rem; }

    /* Expertise rows */
    .expertise-row {
        grid-template-columns: 36px 2px 28px 1fr;
        gap: 0 0.8rem;
        padding: 1.8rem 1rem;
    }
    .expertise-row-cta { grid-column: 1 / -1; margin-top: 1rem; width: 100%; justify-content: center; }
    .expertise-row-num { font-size: 1.8rem; }
    .expertise-row-content h3 { font-size: 1.15rem; }
    .expertise-row:hover { padding-left: 1rem; }

    /* Pillars */
    .pillar-block { padding: 2.2rem 1.2rem; }

    /* Org cards */
    .org-card { padding: 2rem 1.5rem; }

    /* Contact */
    .contact-quick-btn { width: 100%; justify-content: center; }
    .engagement-visual-inner, .contact-visual-inner { padding: 2rem 1.2rem; }
    .engagement-visual, .contact-visual { min-height: 200px; }
    .engagement-monogram, .contact-monogram { font-size: 3rem; margin-bottom: 1rem; }

    /* Buttons */
    .btn { padding: 0.9rem 1.6rem; font-size: 0.78rem; }

    /* Inner page hero */
    .page-hero { padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 2.5rem; }
    .page-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }

    /* FAQ */
    .faq-question { font-size: 0.88rem; padding: 1.2rem 0; }

    /* Footer */
    .footer { padding-top: 3rem; }
    .footer-top { gap: 2rem; }
    .footer-columns { gap: 1.5rem; }
    .footer-legal { flex-direction: column; align-items: center; gap: 0.8rem; }

    /* Modal */
    .svc-modal-inner { grid-template-rows: 35vh 1fr; }
    .svc-modal-img-wrap { height: 35vh; }
    .svc-modal-body { padding: 1.8rem 1.2rem; }
    .svc-modal-close { top: 0.6rem; right: 0.6rem; width: 38px; height: 38px; }

    /* Fixed elements */
    .whatsapp-float { bottom: 0.8rem; left: 0.8rem; width: 44px; height: 44px; font-size: 1.3rem; }
    #fab-cta { bottom: 1.2rem; right: 0.8rem; }

    /* Preview grid */
    .preview-grid { grid-template-columns: 1fr; }
    .preview-card { border-right: none; border-bottom: 1px solid var(--border); }
    .preview-card:last-child { border-bottom: none; }

    /* Lang selector */
    .lang-current span { display: none; } /* hide text, show only flag */
    .lang-current { padding: 0.35rem 0.5rem; gap: 4px; }
}
