/* ─────────────────────────────────────────────────────
   MARTINEZ NOTAIRE — main.css
   ───────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Couleurs — palette bleu pétrole / cyan sur fond clair */
    --bg:           #F5FBFD;
    --surface:      #FFFFFF;
    --surface2:     #EAF7FB;
    --border:       rgba(14, 165, 201, 0.16);
    --border-hover: rgba(14, 165, 201, 0.34);
    --text:         #14395E;
    --text-muted:   #5B7A8C;
    --text-faint:   #A5C4D2;
    --gold:         #0EA5C9;
    --gold-light:   #22C3E6;
    --gold-ink:     #0B7E9D;
    --gold-dim:     rgba(14, 165, 201, 0.10);

    /* Blocs sombres (sidenav, hero, étude, contact, footer) */
    --deep:         #0E2A47;
    --navy:         #14395E;
    --sky-light:    #67DFF7;

    /* Typographie */
    --serif:        'Cormorant Garamond', Georgia, serif;
    --sans:         'DM Sans', system-ui, sans-serif;

    /* Espacements */
    --nav-h:        72px;
    --section-pad:  56px 64px;
    --section-pad-tight: 40px 64px;
    --section-pad-wide:  80px 64px;

    /* Easings nommés */
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);
    --ease-in-out:  cubic-bezier(0.83, 0, 0.17, 1);

    /* Durées */
    --dur-short:    150ms;
    --dur-base:     250ms;
    --dur-long:     400ms;

    /* Z-index — échelle nommée à 6 niveaux */
    --z-below:      -1;
    --z-base:        0;
    --z-raised:     10;
    --z-nav:       100;
    --z-overlay:   200;
}

/* ─── BASE ─── */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

/* ─── HEADER ─── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: var(--z-nav);
    height: var(--nav-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(14, 42, 71, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color .25s var(--ease-out);
}

.site-header.scrolled { border-bottom-color: rgba(255, 255, 255, 0.22); }

.header__inner {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0 48px;
    gap: 48px;
}

.header__logo-text {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: .06em;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
}

.header__logo-text em {
    color: var(--gold-light);
    font-style: italic;
}

.header__logo img {
    height: 40px;
    width: auto;
}

.header__nav {
    display: flex;
    justify-content: flex-end;
}

.nav__list {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav__list a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.50);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s var(--ease-out);
    position: relative;
}

.nav__list a::after {
    content: '';
    position: absolute;
    left: 0; right: 100%; bottom: -3px;
    height: 1px;
    background: var(--gold-light);
    transition: right .25s var(--ease-out);
}

.nav__list a:hover::after,
.nav__list .current-menu-item a::after { right: 0; }

.nav__list a:hover,
.nav__list .current-menu-item a { color: #FFFFFF; }

.header__cta {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
    padding: 9px 20px;
    background: rgba(103, 223, 247, 0.14);
    border: 1px solid rgba(34, 195, 230, 0.35);
    white-space: nowrap;
    transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}

.header__cta:hover {
    background: rgba(34, 195, 230, 0.28);
    border-color: rgba(34, 195, 230, 0.60);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 1px;
    background: #FFFFFF;
    transition: transform var(--dur-base) var(--ease-out),
                opacity var(--dur-base) var(--ease-out);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: var(--deep);
    z-index: 99;
    padding: 48px 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-menu__list a {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.mobile-menu__cta {
    display: inline-block;
    background: var(--gold) !important;
    color: #FFFFFF !important;
    font-family: var(--sans) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 14px 28px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ─── BOUTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 32px;
    transition: background-color var(--dur-base) var(--ease-out),
                transform var(--dur-short) var(--ease-out),
                border-color var(--dur-base) var(--ease-out),
                color var(--dur-base) var(--ease-out);
    cursor: pointer;
    border: none;
}

.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
    background: var(--gold);
    color: #FFFFFF;
}
.btn--primary:hover { background: var(--gold-ink); transform: translateY(-1px); }

.btn--ghost {
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-hover);
    padding: 0;
    padding-bottom: 2px;
}
.btn--ghost:hover { color: var(--text); }

/* Ghost sur blocs sombres (hero, étude) */
.hero-b .btn--ghost,
.etude-b .btn--ghost {
    color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.20);
}
.hero-b .btn--ghost:hover,
.etude-b .btn--ghost:hover { color: #FFFFFF; }

.btn--dark {
    background: var(--gold);
    color: #FFFFFF;
}
.btn--dark:hover { background: var(--gold-ink); }

/* ─── HERO ─── */
.hero {
    min-height: 88vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: var(--surface);
    z-index: 0;
}

.hero__left {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px 40px 64px;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero__eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero__eyebrow-text {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero__title {
    font-family: var(--serif);
    font-size: clamp(52px, 5.5vw, 82px);
    font-weight: 300;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 32px;
}

.hero__title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero__subtitle {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 380px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__right {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 64px 40px 40px;
}

.hero__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image--placeholder {
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image--placeholder span {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    color: var(--text-faint);
}

.hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.hero__stat {
    border-left: 1px solid var(--border-hover);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero__stat-number {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 300;
    color: var(--text);
    line-height: 1;
}

.hero__stat-number sup {
    font-size: 18px;
    color: var(--gold);
}

.hero__stat-label {
    font-size: 11px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ─── SECTION HEADER ─── */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.section-number { display: none; }

.section-title {
    font-family: var(--serif);
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text);
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

/* ─── SERVICES ─── */
.services-section {
    padding: var(--section-pad);
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
}

.service-card {
    padding: 36px 28px;
    border-right: 1px solid var(--border);
    position: relative;
    transition: background .3s;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.service-card:last-child { border-right: none; }

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.service-card:hover { background: var(--surface2); }
.service-card:hover::after { transform: scaleX(1); }

.service-card__number {
    font-family: var(--serif);
    font-size: 11px;
    font-style: italic;
    color: var(--text-faint);
    margin-bottom: 20px;
    display: block;
}

.service-card__title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-card__desc {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: auto;
    padding-bottom: 20px;
}

.service-card__link {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap .2s;
}

.service-card:hover .service-card__link { gap: 14px; }

/* ─── CONTACT STRIP — bloc deep sombre ─── */
.contact-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
    background:
        radial-gradient(ellipse 600px 400px at 100% 50%, rgba(34, 195, 230, 0.16) 0%, transparent 65%),
        radial-gradient(ellipse 300px 300px at 0% 0%, rgba(103, 223, 247, 0.08) 0%, transparent 65%),
        var(--deep);
}

.contact-strip__left {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-strip__title {
    font-family: var(--serif);
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 300;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.contact-strip__sub {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-strip__right {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* Infos contact sur fond deep (scopé : .contact-info sert aussi sur pages claires) */
.contact-strip .contact-info__icon { color: var(--gold-light); }
.contact-strip .contact-info__label { color: rgba(255, 255, 255, 0.40); }
.contact-strip .contact-info__value { color: rgba(255, 255, 255, 0.85); }

.contact-info {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.contact-info__icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info__label {
    display: block;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.contact-info__value {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.4;
    text-decoration: none;
}

/* ─── FOOTER — deep ─── */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--deep);
}

.footer__inner {
    padding: 28px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__logo {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: .04em;
}

.footer__logo span { color: var(--gold-light); }

.footer__nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    flex-wrap: wrap;
}

.footer__nav-list a {
    font-size: 11px;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color .2s;
}

.footer__nav-list a:hover { color: rgba(255, 255, 255, 0.75); }

.footer__legal {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.40);
    letter-spacing: .06em;
}

/* ─── CHATBOT ─── */
.chatbot-bubble {
    position: fixed;
    bottom: 36px;
    right: 36px;
    z-index: 200;
    width: 52px;
    height: 52px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s, background .2s;
}

.chatbot-bubble {
    box-shadow: 0 4px 24px rgba(14, 165, 201, 0.32);
}

.chatbot-bubble:hover {
    transform: translateY(-3px);
    background: var(--gold-light);
    box-shadow: 0 8px 32px rgba(34, 195, 230, 0.38);
}

.chatbot-bubble svg { color: #FFFFFF; }

.chatbot-panel {
    position: fixed;
    bottom: 100px;
    right: 36px;
    width: 340px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(14, 165, 201, 0.18);
    box-shadow: 0 16px 64px rgba(14, 90, 120, 0.14);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s;
}

.chatbot-panel.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chatbot-panel__header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.chatbot-panel__close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}

.chatbot-panel__body {
    padding: 20px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.chatbot-welcome {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    :root { --section-pad: 44px 40px; }

    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero::before { display: none; }
    .hero__left { padding: 32px 40px 40px; justify-content: flex-start; }
    .hero__right { display: none; }

    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-card:nth-child(2) { border-right: none; }
    .service-card:nth-child(1),
    .service-card:nth-child(2) { border-bottom: 1px solid var(--border); }

    .contact-strip { grid-template-columns: 1fr; }
    .contact-strip__right { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 48px 40px; }
}

@media (max-width: 768px) {
    :root { --section-pad: 40px 24px; }

    .header__inner { padding: 0 24px; }
    .header__nav, .header__cta { display: none; }
    .header__burger { display: flex; }
    .mobile-menu { display: block; }

    .hero { min-height: auto; }
    .hero__left { padding: 20px 24px 32px; justify-content: flex-start; }

    .hero__eyebrow { margin-bottom: 16px; }
    .hero__title { margin-bottom: 14px; font-size: clamp(38px, 9vw, 56px); }
    .hero__subtitle { margin-bottom: 24px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { border-right: none; border-bottom: 1px solid var(--border); }
    .service-card:last-child { border-bottom: none; }

    .section-header { flex-direction: column; gap: 12px; }

    .contact-strip__left { padding: 48px 24px; }
    .contact-strip__right { padding: 48px 24px; }

    .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px; }

    .chatbot-panel { width: calc(100% - 48px); right: 24px; }
}

/* ─── ÉTUDE APERÇU ─── */
.etude-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: var(--section-pad);
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.etude-section__image-col {
    padding-right: 56px;
}

.etude-section__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--border);
    display: block;
}

.etude-section__image--placeholder {
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.etude-section__image--placeholder span {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    color: var(--text-faint);
}

.etude-section__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.etude-section__quote {
    border-left: 2px solid var(--gold);
    padding-left: 24px;
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.etude-section__text {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
}

.etude-section__signature {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--gold);
    width: fit-content;
}

.etude-section__signature-name {
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: var(--text);
}

.etude-section__signature-title {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ─── CHIFFRES ─── */
.chiffres-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.chiffre-item {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    border-right: 1px solid var(--border);
}

.chiffre-item:last-child { border-right: none; }

.chiffre-item__value {
    font-family: var(--serif);
    font-size: clamp(48px, 5vw, 64px);
    font-weight: 300;
    color: var(--text);
    line-height: 1;
}

.chiffre-item__label {
    font-size: 11px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── ACTUALITÉS ─── */
.actu-section {
    padding: var(--section-pad);
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.actu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-bottom: 36px;
}

.actu-card {
    padding: 28px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .3s, border-color .3s;
    opacity: 0;
    transform: translateY(24px);
}

.actu-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.actu-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.actu-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.actu-card__date {
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--text-muted);
}

.actu-card__cat {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 2px 8px;
}

.actu-card__title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    flex-grow: 1;
}

.actu-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}

.actu-card__title a:hover { color: var(--gold-ink); }

.actu-card__excerpt {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
}

.actu-card__link {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap .2s;
}

.actu-card:hover .actu-card__link { gap: 14px; }

.actu-section__footer {
    display: flex;
    justify-content: center;
}

.actu-empty {
    text-align: center;
    padding: 60px;
    color: var(--text-faint);
    font-style: italic;
    font-family: var(--serif);
}

/* ─── PAGE HERO ─── */
.page-hero {
    padding: 108px 64px 56px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.page-hero__inner {
    max-width: 900px;
}

.page-hero--404 .page-hero__inner,
.page-hero__inner--centered {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.page-hero__title {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text);
    margin-top: 16px;
}

.page-hero__title em {
    font-style: italic;
    color: var(--gold);
}

.page-hero__sub {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb a:hover { color: var(--text); }

.breadcrumb__sep { color: var(--text-muted); }

/* ─── PAGE CONTENT ─── */
.page-content {
    padding: var(--section-pad);
    max-width: 1200px;
    margin: 0 auto;
}

/* ─── ENTRY CONTENT (typographie éditoriale) ─── */
.entry-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 300;
    color: var(--text);
    line-height: 1.85;
}

.entry-content h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    color: var(--text);
    margin: 48px 0 20px;
    line-height: 1.2;
}

.entry-content h3 {
    font-family: var(--serif);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 400;
    color: var(--text);
    margin: 36px 0 16px;
}

.entry-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0 24px;
    padding-left: 2px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.entry-content li {
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 26px;
    position: relative;
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 12px;
    height: 1px;
    background: var(--gold);
}

.entry-content ol { counter-reset: mn-li; }
.entry-content ol li { counter-increment: mn-li; }
.entry-content ol li::before {
    content: counter(mn-li) '.';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 16px;
}

.entry-content blockquote {
    border-left: 2px solid var(--gold);
    padding-left: 24px;
    margin: 32px 0;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.65;
}

.entry-content a {
    color: var(--gold-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}

.entry-content a:hover { color: var(--gold); }

.entry-content strong { font-weight: 500; color: var(--text); }

.entry-content sup { font-size: .7em; }

/* CTA bouton dans le contenu — neutralise le style lien éditorial */
.entry-content a.btn,
.entry-content a.btn:hover {
    text-decoration: none;
    color: #FFFFFF;
}

/* FAQ accordéon dans le contenu éditorial */
.entry-content .faq { margin: 24px 0 8px; }
.entry-content .accordion__content p { margin-bottom: 0; color: var(--text-muted); }
.entry-content .accordion__trigger { font-weight: 400; }

/* ─── ARCHIVE ─── */
.archive-content {
    max-width: 1200px;
}

/* ─── SINGLE ARTICLE ─── */
.article-cat {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 12px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.article-meta__sep { color: var(--text-faint); }

.page-hero--article .page-hero__inner { max-width: 760px; }

.single-layout {
    padding: var(--section-pad);
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.single-content .entry-content { max-width: none; margin: 0; }

/* ─── POST NAV ─── */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.post-nav__link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    padding: 18px 20px;
    border: 1px solid var(--border);
    transition: border-color .2s;
}

.post-nav__link:hover { border-color: var(--gold); }

.post-nav__link--next { text-align: right; }

.post-nav__dir {
    font-size: 11px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.post-nav__title {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.3;
}

/* ─── SIDEBAR ARTICLES ─── */
.sidebar-articles {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 32px;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.sidebar-articles__title {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.sidebar-articles__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: opacity .2s;
}

.sidebar-articles__item:hover { opacity: .75; }
.sidebar-articles__item:last-child { border-bottom: none; }

.sidebar-articles__date {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: .04em;
}

.sidebar-articles__title-item {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--text);
    line-height: 1.3;
}

.sidebar-articles__empty {
    font-size: 13px;
    color: var(--text-faint);
    font-style: italic;
}

/* ─── PAGINATION ─── */
.pagination {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all .2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    border-color: var(--gold);
    color: var(--gold-ink);
}

.pagination .page-numbers.dots {
    border-color: transparent;
    pointer-events: none;
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 16px;
    font-size: 11px;
    letter-spacing: .08em;
}

/* ─── SERVICES PAGE ─── */
.services-page {
    padding: 0;
    max-width: none;
}

.services-list__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    border-bottom: 1px solid var(--border);
}

.services-list__item--right {
    direction: rtl;
}

.services-list__item--right > * { direction: ltr; }

.services-list__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.services-list__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-list__image--placeholder {
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-list__image--placeholder span {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 300;
    color: var(--text-faint);
}

/* Bloc graphique (illustration SVG) des services */
.services-list__graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    background:
        radial-gradient(circle at 50% 45%, var(--surface2) 0%, var(--surface) 70%);
    position: relative;
    overflow: hidden;
}

.services-list__graphic::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid var(--border);
    border-radius: 50%;
}

.services-list__graphic::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid var(--border);
    border-radius: 50%;
}

.services-list__graphic svg {
    position: relative;
    width: 180px;
    height: 180px;
    color: var(--gold);
    transition: transform .5s ease;
}

.services-list__item:hover .services-list__graphic svg {
    transform: scale(1.06);
}

.services-list__content {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: var(--surface);
}

.services-list__number {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    color: var(--gold);
}

.services-list__title {
    font-family: var(--serif);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 300;
    color: var(--text);
    line-height: 1.15;
}

.services-list__desc {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
}

/* ─── SERVICE SINGLE ─── */
.service-single .entry-content { max-width: 760px; margin: 0 auto 60px; }

.faq-section {
    max-width: 760px;
    margin: 0 auto 40px;
}

.faq-section__title {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 32px;
}

/* ─── ACCORDION ─── */
.accordion { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); }

.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item:last-child { border-bottom: none; }

.accordion__trigger {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    text-align: left;
    cursor: pointer;
    color: var(--text);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    transition: background .2s;
}

.accordion__trigger:hover { background: var(--surface2); }

.accordion__trigger[aria-expanded="true"] { background: var(--surface2); color: var(--gold-ink); }

.accordion__icon {
    flex-shrink: 0;
    color: var(--gold);
    transition: transform .3s;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(180deg); }

.accordion__content {
    padding: 0 24px 18px;
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ─── SERVICE CTA ─── */
.service-cta {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.service-cta__text {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 300;
    color: var(--text);
}

/* ─── ÉTUDE PAGE ─── */
.etude-page { max-width: none; padding: 0; }

.etude-page__portrait {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    border-bottom: 1px solid var(--border);
}

.etude-page__portrait-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.etude-page__portrait-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.etude-page__portrait-image--placeholder {
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.etude-page__portrait-image--placeholder span {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--text-faint);
    font-style: italic;
}

.etude-page__portrait-content {
    padding: 56px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.etude-page__section-title {
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 16px;
}

.etude-page__section-title em {
    font-style: italic;
    color: var(--gold);
}

.etude-page__section-title--centered { text-align: center; }

/* Feature : cadre (2 colonnes texte + image) */
.etude-page__feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.etude-page__feature-content {
    padding: var(--section-pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background: var(--surface);
}

.etude-page__feature-content p {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
}

.etude-page__feature-content .section-number {
    padding-top: 0;
    margin-bottom: 4px;
}

.etude-page__feature-image {
    overflow: hidden;
    min-height: 420px;
}

.etude-page__feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Galerie salles (1 grande + 2 empilées) */
.etude-page__rooms {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    background: var(--border);
}

.etude-page__rooms-large {
    overflow: hidden;
    min-height: 520px;
}

.etude-page__rooms-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.etude-page__rooms-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.etude-page__rooms-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.etude-page__team {
    padding: var(--section-pad);
    border-bottom: 1px solid var(--border);
}

.etude-page__values {
    padding: var(--section-pad-wide);
    border-bottom: 1px solid var(--border);
}

/* Valeurs — liste horizontale (remplace les 3 tiles égales) */
.etude-page__values-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.value-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: baseline;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.value-row:first-child { border-top: 1px solid var(--border); }

.value-row__label {
    display: flex;
    align-items: center;
    gap: 14px;
}

.value-row__label svg {
    color: var(--gold);
    flex-shrink: 0;
}

.value-row__title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--text);
}

.value-row__desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}

.etude-page__team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-align: center;
}

.team-card__avatar {
    width: 72px;
    height: 72px;
    background: var(--gold-dim);
    border: 1px solid rgba(14, 165, 201, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 300;
    color: var(--gold);
}

.team-card__name {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--text);
}

.team-card__role {
    font-size: 11px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.etude-page__values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
}

.value-item__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid rgba(14, 165, 201, .2);
}

.value-item__title {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--text);
}

.value-item__desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}

.etude-page__location {
    padding: var(--section-pad);
    border-bottom: 1px solid var(--border);
}

.etude-page__location-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    margin-top: 32px;
    align-items: start;
}

.etude-page__map {
    height: 320px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--surface2);
}

.etude-page__location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.etude-page__accreditations {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: .04em;
    line-height: 1.8;
}

.etude-page__access {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--surface2);
    border-left: 2px solid var(--gold);
}

.etude-page__access-title {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 12px;
}

.etude-page__access p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}

.etude-page__access p + p { margin-top: 10px; }

/* ─── RDV FORM ─── */
.rdv-page {
    max-width: 760px;
    margin: 0 auto;
}

.rdv-info {
    margin-bottom: 36px;
    padding: 24px 28px;
    background: var(--surface2);
    border-left: 2px solid var(--gold);
}

.rdv-info p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
}

.rdv-info p + p { margin-top: 10px; }

.rdv-info strong { font-weight: 500; color: var(--text); }

.rdv-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rdv-form__row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rdv-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rdv-form__label {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.rdv-form__input,
.rdv-form__select,
.rdv-form__textarea {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 300;
    padding: 14px 18px;
    width: 100%;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.rdv-form__input:focus,
.rdv-form__select:focus,
.rdv-form__textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.rdv-form__input::placeholder,
.rdv-form__textarea::placeholder {
    color: var(--text-faint);
}

.rdv-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B7A8C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
    cursor: pointer;
}

.rdv-form__textarea { resize: vertical; min-height: 140px; line-height: 1.7; }

.rdv-form__field--checkbox { flex-direction: row; align-items: flex-start; gap: 12px; }

.rdv-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    cursor: pointer;
}

.rdv-form__checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
}

.rdv-form__checkbox-label a { color: var(--gold); text-decoration: underline; }

.rdv-form__footer {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.rdv-form__submit { position: relative; }

.rdv-form__required-note {
    font-size: 12px;
    color: var(--text-muted);
}

.rdv-form__feedback {
    padding: 16px 20px;
    font-size: 14px;
    border: 1px solid var(--border);
}

.rdv-form__feedback--success {
    border-color: rgba(26, 145, 80, .4);
    color: #157A47;
    background: rgba(26, 145, 80, .07);
}

.rdv-form__feedback--error {
    border-color: rgba(190, 60, 60, .4);
    color: #B43A3A;
    background: rgba(190, 60, 60, .06);
}

/* ─── 404 ─── */
.not-found__number {
    font-family: var(--serif);
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 300;
    color: var(--text-faint);
    line-height: 1;
    display: block;
}

.not-found__title {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 300;
    color: var(--text);
    line-height: 1.2;
}

.not-found__sub {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
}

/* service-card : pas d'animation d'entrée, présence immédiate */
.service-card {
    transition: background .25s var(--ease-out);
}

/* ─── RESPONSIVE ADDITIONS ─── */
@media (max-width: 1024px) {
    .etude-section { grid-template-columns: 1fr; }
    .etude-section__image-col { padding-right: 0; padding-bottom: 28px; }

    .chiffres-grid { grid-template-columns: 1fr 1fr; }
    .chiffre-item:nth-child(2) { border-right: none; }
    .chiffre-item:nth-child(1),
    .chiffre-item:nth-child(2) { border-bottom: 1px solid var(--border); }

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

    .services-list__item { grid-template-columns: 1fr; min-height: auto; direction: ltr !important; }
    .services-list__image { min-height: 240px; }
    .services-list__content { padding: 40px; }

    .etude-page__portrait { grid-template-columns: 1fr; }
    .etude-page__portrait-content { padding: 40px; }
    .etude-page__team-grid { grid-template-columns: 1fr 1fr; }
    .etude-page__values-grid { grid-template-columns: 1fr; gap: 12px; }
    .value-row { grid-template-columns: 1fr; gap: 12px; }
    .etude-page__location-inner { grid-template-columns: 1fr; }
    .etude-page__feature { grid-template-columns: 1fr; }
    .etude-page__feature-image { min-height: 320px; order: -1; }
    .etude-page__rooms { grid-template-columns: 1fr; }
    .etude-page__rooms-large { min-height: 320px; }
    .etude-page__rooms-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .etude-page__rooms-stack img { min-height: 220px; }
    .services-list__graphic { min-height: 300px; }

    .single-layout { grid-template-columns: 1fr; gap: 40px; }
    .sidebar-articles { position: static; }

    .service-cta { flex-direction: column; align-items: flex-start; }

    .rdv-form__row--half { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .page-hero { padding: 100px 24px 48px; }

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

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

    .services-list__content { padding: 32px 24px; }

    .etude-page__portrait-content { padding: 32px 24px; }
    .etude-page__team-grid { grid-template-columns: 1fr 1fr; }
    .etude-page__banner { height: 200px; }

    .post-nav { grid-template-columns: 1fr; }

    .single-layout { padding: 48px 24px; }

    .entry-content { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ═══════════════════════════════════════════════════
   STYLE B — LAYOUT ASYMÉTRIQUE / LUXE
   ═══════════════════════════════════════════════════ */

/* ─── SIDENAV (desktop) ─── */
:root { --sidenav-w: 220px; }

@media (min-width: 1025px) {
    .site-header {
        width: var(--sidenav-w);
        height: 100vh;
        top: 0; left: 0;
        right: unset;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.06);
        background:
            radial-gradient(ellipse 160px 200px at 30% 12%, rgba(34, 195, 230, 0.14) 0%, transparent 70%),
            radial-gradient(ellipse 120px 120px at 80% 85%, rgba(14, 165, 201, 0.10) 0%, transparent 70%),
            var(--deep);
    }

    .header__inner {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 40px 32px;
        gap: 0;
    }

    .header__logo-text {
        font-size: 18px;
        writing-mode: horizontal-tb;
    }

    .header__nav {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .nav__list {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .nav__list a::after { display: none; }

    .nav__list a {
        font-size: 11px;
        letter-spacing: .13em;
        position: relative;
        padding-left: 0;
        transition: color .2s var(--ease-out), padding-left .2s var(--ease-out);
    }

    .nav__list a:hover,
    .nav__list .current-menu-item a {
        color: #FFFFFF;
        padding-left: 12px;
    }

    .nav__list a:hover::before,
    .nav__list .current-menu-item a::before {
        content: '';
        position: absolute;
        left: 0; top: 50%;
        width: 6px; height: 1px;
        background: var(--gold-light);
        transform: translateY(-50%);
    }

    .header__cta {
        font-size: 10px;
        padding: 8px 16px;
        white-space: nowrap;
        align-self: flex-start;
    }

    .header__burger { display: none; }

    #main-content,
    .site-footer {
        margin-left: var(--sidenav-w);
    }
}

/* ─── HERO B ─── */
.hero-b {
    min-height: 92vh;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: 1fr auto;
    padding: calc(var(--nav-h) + 48px) 80px 64px;
    position: relative;
    background:
        radial-gradient(ellipse 600px 600px at 88% -8%, rgba(34, 195, 230, 0.18) 0%, transparent 65%),
        radial-gradient(ellipse 420px 420px at 6% 96%, rgba(103, 223, 247, 0.12) 0%, transparent 65%),
        radial-gradient(ellipse 300px 300px at 60% 40%, rgba(34, 195, 230, 0.07) 0%, transparent 70%),
        var(--deep);
    overflow: hidden;
}

.hero-b__banner {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 -80px 48px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-b__banner img {
    display: block;
    width: 100%;
    height: clamp(320px, 46vh, 560px);
    object-fit: cover;
    object-position: center 42%;
}

.hero-b::before {
    content: 'M';
    position: absolute;
    right: -0.05em;
    bottom: -0.15em;
    font-family: var(--serif);
    font-size: clamp(320px, 35vw, 520px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.025);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hero-b__upper {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.hero-b__location,
.hero-b__year {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.hero-b__location::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.20);
    margin-left: 32px;
    vertical-align: middle;
}

.hero-b__title {
    grid-column: 1;
    grid-row: 3;
    font-family: var(--serif);
    font-size: clamp(52px, 6.5vw, 96px);
    font-weight: 300;
    line-height: 1.04;
    color: #FFFFFF;
    align-self: center;
    position: relative;
    z-index: 1;
    overflow-wrap: anywhere;
    min-width: 0;
}

.hero-b__title em {
    font-style: italic;
    color: var(--sky-light);
}

.hero-b__index {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding-left: 48px;
    padding-bottom: 8px;
    position: relative;
    z-index: 1;
}

.hero-b__index span {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: .04em;
    writing-mode: horizontal-tb;
    white-space: nowrap;
}

.hero-b__lower {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    gap: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.hero-b__desc {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    max-width: 520px;
}

.hero-b__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

/* ─── SERVICES B — liste verticale ─── */
.services-b {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.services-b__head {
    padding: 48px 80px 32px;
    border-bottom: 1px solid var(--border);
}

.services-b__title {
    font-family: var(--serif);
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 300;
    color: var(--text);
}

.services-b__title em {
    font-style: italic;
    color: var(--gold);
}

.services-b__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-b__item {
    display: grid;
    grid-template-columns: 48px 1fr 40px;
    align-items: center;
    gap: 40px;
    padding: 36px 80px;
    border-bottom: 1px solid var(--border);
    transition: background-color var(--dur-base) var(--ease-out);
    cursor: default;
}

.services-b__item:last-child { border-bottom: none; }

.services-b__item:hover { background: var(--surface2); }

.services-b__num {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    color: var(--gold);
    align-self: flex-start;
    padding-top: 6px;
}

.services-b__content { min-width: 0; }

.services-b__name {
    font-family: var(--serif);
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 300;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 10px;
}

.services-b__desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 640px;
}

.services-b__link {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    transition: color var(--dur-base) var(--ease-out),
                border-color var(--dur-base) var(--ease-out),
                transform var(--dur-short) var(--ease-out);
    flex-shrink: 0;
    text-decoration: none;
}

.services-b__item:hover .services-b__link {
    color: var(--gold);
    border-color: rgba(14, 165, 201, .4);
    transform: translateX(4px);
}

/* ─── ÉTUDE B — bloc navy sombre ─── */
.etude-b {
    display: grid;
    grid-template-columns: 5fr 7fr;
    background:
        radial-gradient(ellipse 500px 500px at -10% 50%, rgba(34, 195, 230, 0.10) 0%, transparent 65%),
        radial-gradient(ellipse 300px 300px at 110% 20%, rgba(14, 165, 201, 0.12) 0%, transparent 65%),
        var(--navy);
    min-height: 560px;
}

.etude-b__image {
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.etude-b__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.etude-b__body {
    padding: 64px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.etude-b__title {
    font-family: var(--serif);
    font-size: clamp(36px, 3.5vw, 52px);
    font-weight: 300;
    color: #FFFFFF;
    line-height: 1.1;
}

.etude-b__title em { font-style: italic; color: var(--sky-light); }

.etude-b__text {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.85;
    max-width: 520px;
}

.etude-b__quote {
    border-left: 2px solid var(--gold-light);
    padding-left: 20px;
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.65;
}

.etude-b__sig {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 12px;
    border-top: 1px solid var(--gold-light);
    width: fit-content;
}

.etude-b__sig-name {
    font-family: var(--serif);
    font-size: 19px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
}

.etude-b__sig-role {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.40);
}

/* ─── STATS B — ligne inline ─── */
.stats-b {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 28px 80px;
}

.stats-b__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stats-b__item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stats-b__val {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 300;
    color: var(--text);
    line-height: 1;
}

.stats-b__label {
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--text-muted);
    white-space: nowrap;
}

.stats-b__sep {
    color: var(--text-faint);
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

/* ─── ACTU B — liste ─── */
.actu-b {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.actu-b__head {
    padding: 48px 80px 24px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.actu-b__title {
    font-family: var(--serif);
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 300;
    color: var(--text);
}

.actu-b__title em { font-style: italic; color: var(--gold); }

.actu-b__all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s var(--ease-out);
}

.actu-b__all:hover { color: var(--gold); }

.actu-b__list { padding: 0 80px; }

.actu-b__item {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background-color var(--dur-base) var(--ease-out);
}

.actu-b__item:last-child { border-bottom: none; }

.actu-b__item:hover { opacity: .75; }

.actu-b__date {
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--text-muted);
    white-space: nowrap;
}

.actu-b__name {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    overflow-wrap: anywhere;
    min-width: 0;
}

.actu-b__cat {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 3px 9px;
    white-space: nowrap;
}

.actu-b__empty {
    padding: 48px 80px;
    font-size: 14px;
    color: var(--text-faint);
    font-style: italic;
    font-family: var(--serif);
}

/* ─── RESPONSIVE STYLE B ─── */
@media (max-width: 1024px) {
    :root { --sidenav-w: 0px; }

    /* Retour nav top */
    .site-header {
        width: 100%;
        height: var(--nav-h);
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        background: rgba(14, 42, 71, 0.94);
    }

    .header__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
        height: 100%;
    }

    .nav__list { flex-direction: row; gap: 28px; }

    .nav__list a { padding-left: 0 !important; }
    .nav__list a::before { display: none; }

    .header__nav { flex: unset; }

    #main-content, .site-footer { margin-left: 0; }

    /* Hero B tablet */
    .hero-b {
        padding: calc(var(--nav-h) + 40px) 40px 48px;
        min-height: 75vh;
    }

    .hero-b::before { font-size: 280px; }

    .hero-b__index { display: none; }

    .hero-b__banner { margin: 0 -40px 40px; }
    .hero-b__banner img { height: clamp(280px, 40vh, 420px); }

    .hero-b__lower { grid-template-columns: 1fr; gap: 32px; }

    /* Services B tablet */
    .services-b__head { padding: 40px 40px 28px; }
    .services-b__item { padding: 28px 40px; gap: 24px; }

    /* Étude B tablet */
    .etude-b { grid-template-columns: 1fr; min-height: auto; }
    .etude-b__image { min-height: 300px; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .etude-b__body { padding: 48px 40px; }

    /* Stats B tablet */
    .stats-b { padding: 24px 40px; }

    /* Actu B tablet */
    .actu-b__head { padding: 40px 40px 20px; }
    .actu-b__list { padding: 0 40px; }
    .actu-b__item { grid-template-columns: 120px 1fr auto; gap: 20px; }
}

@media (max-width: 768px) {
    .header__inner { padding: 0 24px; }
    .header__nav, .header__cta { display: none; }
    .header__burger { display: flex; }

    /* Hero B mobile */
    .hero-b {
        padding: calc(var(--nav-h) + 24px) 24px 40px;
        min-height: auto;
        grid-template-rows: auto auto auto auto;
        grid-template-columns: 1fr;
    }

    .hero-b::before { display: none; }
    .hero-b__upper { margin-bottom: 24px; }
    .hero-b__banner { margin: 0 -24px 32px; }
    .hero-b__banner img { height: clamp(220px, 50vw, 320px); }
    .hero-b__title { font-size: clamp(40px, 11vw, 64px); }
    .hero-b__index { display: none; }
    .hero-b__lower { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; padding-top: 32px; }
    .hero-b__actions { flex-wrap: wrap; gap: 16px; }

    /* Services B mobile */
    .services-b__head { padding: 32px 24px 20px; }
    .services-b__item { grid-template-columns: 36px 1fr 32px; padding: 24px; gap: 16px; }
    .services-b__link { width: 32px; height: 32px; }
    .services-b__name { font-size: clamp(22px, 6vw, 28px); }

    /* Étude B mobile */
    .etude-b__body { padding: 36px 24px; gap: 20px; }

    /* Stats B mobile */
    .stats-b { padding: 24px; }
    .stats-b__inner { gap: 20px; }
    .stats-b__sep { display: none; }
    .stats-b__item { flex-direction: column; gap: 2px; }

    /* Actu B mobile */
    .actu-b__head { padding: 32px 24px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .actu-b__list { padding: 0 24px; }
    .actu-b__item { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
    .actu-b__cat { display: none; }
}
