/* ============================================================
   Gamondes Conseils — built on the Assist landing (pihassist.com, landing/assets/css/landingCSS.css):
   transparent navbar → floating glass capsule, full-screen editorial photo sections with the text
   bottom-left, black sections with cards, Barlow Condensed titles, Roboto text, blue #1A56DB.
   Fonts are served from this site (assets/fonts): no call to Google.
============================================================ */

@font-face { font-family: 'Barlow Condensed'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/BarlowCondensed-300.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/BarlowCondensed-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/BarlowCondensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/BarlowCondensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 300 700; font-style: normal; font-display: swap; src: url('../fonts/Roboto.woff2') format('woff2'); }

:root {
    --bg:      #000;
    --bg-dark: #05070b;
    --bg-alt:  #0a0d13;
    --card:    #0e1117;
    --card-hover: #121722;
    --soft:    rgba(255,255,255,.75);
    --muted:   rgba(255,255,255,.5);
    --line:    rgba(255,255,255,.1);
    --accent:  #1A56DB;
    --accent-hover: #1e40af;
    --link:    #6ea8ff;
    --title:   'Barlow Condensed', 'Arial Narrow', sans-serif;
    --body:    'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; background: var(--bg); color: #fff;
    font-family: var(--body); font-weight: 300; font-size: 1rem; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--title); margin: 0; }

/* ============================================================
   NAVBAR — as on Assist
============================================================ */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid transparent;
    transition: top .35s ease, left .35s ease, width .35s ease, padding .35s ease,
                border-radius .35s ease, background-color .35s ease, box-shadow .35s ease;
}

.logo { display: inline-flex; align-items: baseline; color: #fff; text-decoration: none; }
.brand {
    font-family: var(--title); font-size: 1.5rem; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase; color: #fff;
}
.subbrand {
    font-family: var(--title); font-size: .7rem; font-weight: 400;
    text-transform: uppercase; color: rgba(255,255,255,.6); margin-left: 6px;
}

.menu-items { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.menu-items li { margin: 0 15px; position: relative; display: flex; align-items: center; }
.menu-items a {
    position: relative;
    font-family: var(--title); font-size: .9rem; font-weight: 600; text-transform: uppercase;
    color: #fff; text-shadow: 0 0 1px rgba(0,0,0,.9);
    transition: color .3s ease;
}
.menu-items a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%;
    background-color: #fff; transition: width .3s ease, left .3s ease;
}
.menu-items a:hover::after { width: 100%; left: 0; }

.nav-cta {
    background: rgba(255,255,255,.1);
    padding: 5px 12px; border-radius: 4px;
    border: 1px solid rgba(255,255,255,.2);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: rgba(255,255,255,.18); }

.lang-switcher { gap: 5px; margin-left: 4px !important; }
.lang-switcher a {
    font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: #6b7280; text-shadow: none;
}
.lang-switcher a::after { display: none; }
.lang-switcher a:hover, .lang-switcher a.lang-active { color: #fff; }
.lang-sep { color: #374151; font-size: .72rem; user-select: none; }

/* Compact floating capsule once scrolled: logo left, one call to action right */
.navbar.navbar--compact {
    top: 12px; left: 7%; width: 86%;
    padding: 8px 16px; border-radius: 12px;
    background-color: rgba(255,255,255,.14);
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 6px 24px rgba(0,0,0,.14);
}
.navbar--compact .menu-items li:not(.nav-keep) { display: none; }
.navbar--compact .menu-items li.nav-keep { margin: 0; }
.navbar--compact .nav-cta {
    background: #fff; color: #000; text-shadow: none;
    padding: 9px 20px; border-radius: 6px; font-weight: 700; border-color: #fff;
}
.navbar--compact .nav-cta:hover { background: rgba(255,255,255,.85); }

.menu-toggle {
    display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px;
}
.mobile-menu {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.mobile-menu li { margin: 18px 0; }
.mobile-menu a {
    font-family: var(--title); font-size: 1.6rem; font-weight: 600; text-transform: uppercase; color: #fff;
}
.mobile-lang a { font-size: 1rem; color: var(--muted); }

/* ============================================================
   EDITORIAL PHOTO SECTIONS — full screen, text bottom-left
============================================================ */
.section {
    position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 560px;
    display: flex; align-items: flex-end; overflow: hidden;
    background: var(--bg);
}
.section > img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.scrim { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.scrim--left   { background: linear-gradient(90deg,  rgba(0,0,0,.72) 0%, rgba(0,0,0,.3) 45%, transparent 75%),
                             linear-gradient(0deg,   rgba(0,0,0,.55) 0%, transparent 45%); }
.scrim--right  { background: linear-gradient(270deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 45%, transparent 75%); }
.scrim--full   { background: rgba(0,0,0,.62); }

.section .content {
    position: relative; z-index: 1;
    max-width: min(760px, calc(100% - 160px));
    margin: 0 0 80px 80px;
}
.section .content--right { margin: 0 80px 80px auto; text-align: right; }
.section--center { align-items: center; justify-content: center; }
.section .content--center { margin: 0 auto; text-align: center; }

.section h1,
.statement {
    font-family: var(--title); font-size: clamp(1.8rem, 5.2vw, 3.4rem); font-weight: 600;
    line-height: 1.08; margin: 0 0 6px; text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.hero-sub {
    font-family: var(--title); font-size: 1.15rem; font-weight: 300; line-height: 1.5;
    color: rgba(255,255,255,.78); margin: 14px 0 24px; max-width: 560px;
}
.content--center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-top: 8px; }

/* ============================================================
   LABELS, BUTTONS, LINKS
============================================================ */
.label {
    display: inline-block;
    font-family: var(--title); font-size: .75rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255,255,255,.55); margin-bottom: 10px;
}
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    font-family: var(--title); font-size: .8rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 4px;
    transition: background .2s, border-color .2s, transform .15s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--glass {
    background: rgba(17,24,39,.6); border-color: rgba(255,255,255,.3);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn--glass:hover { background: rgba(17,24,39,.85); border-color: rgba(255,255,255,.6); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.text-link {
    font-family: var(--title); font-size: .85rem; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: rgba(255,255,255,.6); transition: color .2s;
}
.text-link:hover { color: #fff; }

/* ============================================================
   DARK SECTIONS WITH CARDS
============================================================ */
.section-dark {
    background: var(--bg-dark); color: #fff;
    padding: 120px 8%;
    display: flex; justify-content: center;
}
.section-dark--alt { background: var(--bg-alt); }
.section-dark--short { padding-top: 90px; padding-bottom: 90px; }
.section-dark-inner { width: 100%; max-width: 1100px; }

.dark-title {
    font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; line-height: 1.1; margin: 0 0 18px;
}
.section-intro {
    font-family: var(--title); font-size: 1.2rem; font-weight: 300; line-height: 1.55;
    color: var(--soft); max-width: 760px; margin: 0 0 48px;
}

.card-grid { display: grid; gap: 18px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
    display: flex; flex-direction: column;
    background: var(--card); border-radius: 12px; padding: 28px 26px 30px;
    border-top: 2px solid var(--accent);
    transition: transform .3s ease, background .3s ease;
}
.card:hover { transform: translateY(-4px); background: var(--card-hover); }
.card--plain { border-top-color: rgba(255,255,255,.18); }
.card-num {
    font-family: var(--title); font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--link);
    margin-bottom: 14px;
}
.card h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 10px; }
.card p { margin: 0; color: var(--soft); line-height: 1.6; }
.card--link { color: #fff; border-top-color: rgba(255,255,255,.18); }
.card-src {
    font-family: var(--title); font-size: .78rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.card-quote {
    flex: 1; font-family: var(--title); font-size: 1.45rem !important; font-weight: 400;
    line-height: 1.3 !important; color: #fff !important; margin-bottom: 22px !important;
}
.card-more {
    font-family: var(--title); font-size: .85rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--link);
}

/* ---- Parcours ---- */
.path-head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 44px; align-items: center; margin-bottom: 56px; }
.portrait { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; filter: grayscale(.2); }
.path-head .dark-title { margin-bottom: 4px; }
.path-role {
    font-family: var(--title); font-size: 1.05rem; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--link); margin: 0 0 14px;
}
.path-head .section-intro { margin-bottom: 0; }

.timeline {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px;
    counter-reset: step;
}
.timeline li {
    position: relative; padding: 26px 22px 24px;
    background: var(--card); border-radius: 12px;
    counter-increment: step;
}
.timeline li::before {
    content: counter(step, decimal-leading-zero);
    display: block; font-family: var(--title); font-size: .8rem; font-weight: 700;
    letter-spacing: .12em; color: var(--link); margin-bottom: 12px;
}
.timeline h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--soft); font-size: .95rem; }

/* ---- Notes ---- */
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.notes a { font-family: var(--title); font-size: 1.3rem; font-weight: 600; color: #fff; }
.notes time { color: var(--muted); font-size: .85rem; white-space: nowrap; }

/* ---- Contact ---- */
.contact-mail { margin: 22px 0 6px; }
.contact-mail a {
    font-family: var(--title); font-size: clamp(1.6rem, 4.5vw, 2.6rem); font-weight: 600; color: #fff;
    border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.contact-mail a:hover { border-color: #fff; }

/* ============================================================
   LEGAL PAGES
============================================================ */
.page { padding: 150px 8% 110px; background: var(--bg-dark); min-height: 75vh; }
.page .inner { max-width: 760px; margin: 0 auto; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; margin-bottom: 28px; }
.page h2 { font-size: 1.35rem; font-weight: 600; margin: 36px 0 10px; }
.page p { color: var(--soft); margin: 0 0 14px; }
.muted { color: var(--muted) !important; font-size: .9rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--soft); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px;
    padding: 28px 6%; border-top: 1px solid var(--line); background: var(--bg);
    font-size: .85rem; color: var(--muted);
}
.footer-brand .brand { font-size: 1.2rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: var(--muted); transition: color .2s; }
.footer a:hover { color: #fff; }

/* ============================================================
   REVEAL ON SCROLL (only when JS runs) — as .fade-in-up on Assist
============================================================ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .menu-items li { margin: 0 9px; }
    .menu-items a { font-size: .82rem; }
}
@media (max-width: 900px) {
    .card-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .navbar nav { display: none; }
    .menu-toggle { display: block; }
    .navbar.navbar--compact { top: 8px; left: 10px; width: calc(100% - 20px); padding: 8px 12px; }
    .section .content, .section .content--right {
        max-width: none; margin: 0 20px 56px; text-align: left;
    }
    .section .content--center { margin: 0 20px; text-align: center; }
    .scrim--left, .scrim--right { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.1) 100%); }
    .section-dark { padding: 84px 20px; }
    .card-grid--2 { grid-template-columns: 1fr; }
    .path-head { grid-template-columns: 1fr; gap: 24px; }
    .portrait { width: 140px; height: 140px; }
    .page { padding: 120px 20px 80px; }
    .facts { grid-template-columns: 1fr; gap: 2px; }
    .facts dd { margin-bottom: 10px; }
    .footer { flex-direction: column; align-items: flex-start; }
}
