/* ==========================================================================
   Marvell Avocats - example2
   Feuille de style principale
   ========================================================================== */

/* Montserrat, local variable font (weights 300 to 700), served from the site: no request to Google */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/Montserrat-Variable-LatinExt.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/Montserrat-Variable-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Noto Sans ExtraCondensed Regular local font */
@font-face {
    font-family: 'Noto Sans ExtraCondensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/NotoSansExtraCondensed-Regular-LatinExt.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Noto Sans ExtraCondensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/NotoSansExtraCondensed-Regular-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Couleur principale : modifier uniquement --navy, le reste en découle */
    --navy: #1d3557;
    --navy-soft: color-mix(in srgb, var(--navy), white 9%);
    --navy-light: color-mix(in srgb, var(--navy), white 18%);
    --gold: #e19d57;
    /* Dégradé de la charte (bleu vers or) : modifier ici */
    --brand-gradient: linear-gradient(135deg, var(--navy) 0%, var(--navy) 38%, var(--gold) 100%);
    /* Dégradé de l'en-tête et du pied de page : charte avec un or plus foncé pour la lisibilité */
    --bar-gradient: linear-gradient(135deg, var(--navy) 0%, var(--navy) 38%, var(--gold-ink) 100%);
    --gold-deep: #c57a32;
    --gold-ink: #8f5320;
    --ivory: #f4efe7;
    --paper: #fbf9f5;
    --white: #ffffff;
    --ink: #1c2431;
    --muted: #606978;
    --muted-light: #aab2c0;
    --line: color-mix(in srgb, var(--navy) 14%, transparent);
    --line-strong: color-mix(in srgb, var(--navy) 28%, transparent);
    --line-light: rgba(255, 255, 255, 0.15);
    --serif: 'Noto Sans ExtraCondensed', sans-serif;
    --sans: "Montserrat", Arial, Helvetica, sans-serif;
    --wrap: 1280px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow: 0 24px 60px -30px color-mix(in srgb, var(--navy) 40%, transparent);
}

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

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.08;
    color: var(--navy);
}

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

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

::selection {
    background: var(--gold);
    color: var(--navy);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 999;
    transform: translateY(-200%);
    background: var(--gold);
    color: var(--navy);
    padding: 0.8rem 1.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.wrap {
    width: min(calc(100% - clamp(2rem, 7vw, 5.5rem)), var(--wrap));
    margin-inline: auto;
}

[id] {
    scroll-margin-top: 110px;
}

/* --------------------------------------------------------------------------
   Boutons, liens, labels
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 3.2rem;
    padding: 0.95rem 1.65rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn svg {
    width: 1rem;
    height: 1rem;
    flex: none;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.btn-sm {
    min-height: 2.6rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.66rem;
}

.btn-block {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--gold-ink);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: gap 0.3s var(--ease), color 0.3s ease;
}

.link-arrow svg {
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
    gap: 1rem;
    color: var(--navy);
}

.link-arrow:hover svg {
    transform: translateX(3px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    color: var(--gold-ink);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 2.2rem;
    height: 1px;
    flex: none;
    background: currentColor;
}

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

.display {
    font-size: clamp(2.4rem, 4.6vw, 4.4rem);
    letter-spacing: -0.02em;
}

.lead {
    max-width: 58ch;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.8;
}

.gold {
    color: var(--gold-ink);
}

.gradient-text {
    background: linear-gradient(115deg, var(--navy) 5%, var(--navy-soft) 42%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    position: relative;
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
}

.page-crumbs + .section,
.profile-detail-section {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.section--tight {
    padding: clamp(3.2rem, 6vw, 5.5rem) 0;
}

.section--ivory {
    background: var(--ivory);
}

.section--dark {
    background: var(--navy);
    color: var(--white);
}

.section--dark .display,
.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

.section--dark .lead {
    color: var(--muted-light);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head > div:first-child {
    max-width: 680px;
}

.section-head .display {
    margin-top: 0.35rem;
}

.section-head-aside {
    max-width: 370px;
    padding-bottom: 0.35rem;
}

.section-head-aside p + .link-arrow {
    margin-top: 1.2rem;
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    color: var(--white);
    background: var(--navy);
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.site-header .wrap {
    width: min(calc(100% - clamp(2rem, 5vw, 4.5rem)), 1400px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 5.6rem;
    transition: min-height 0.4s var(--ease);
}

.site-header.is-scrolled {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 24%, transparent), 0 18px 40px -34px rgba(0, 0, 0, 0.6);
}

.site-header.is-scrolled .header-inner {
    min-height: 4.6rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex: none;
}

.brand img {
    width: auto;
    height: 2.6rem;
    filter: brightness(0) invert(1);
    transition: filter 0.4s ease, height 0.4s var(--ease);
}

.site-header.is-scrolled .brand img {
    filter: brightness(0) invert(1);
}

.brand-tag {
    padding-left: 0.85rem;
    border-left: 1px solid currentColor;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    line-height: 1.4;
    text-transform: uppercase;
    opacity: 0.8;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.5vw, 2.4rem);
    margin-left: auto;
}

.main-nav a {
    position: relative;
    padding: 0.4rem 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.9;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transition: right 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--gold);
    opacity: 1;
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a.is-active {
    color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    right: 0;
}

/* En-tête en dégradé de la charte sur toutes les pages sauf l'accueil.
   Le dégradé finit en or : le survol et le lien actif passent en blanc. */
body:not([data-page="home"]) .site-header,
body:not([data-page="home"]) .site-header.is-scrolled {
    background: var(--bar-gradient);
}

body:not([data-page="home"]) .site-header .main-nav a:hover,
body:not([data-page="home"]) .site-header .main-nav a.is-active,
body:not([data-page="home"]) .site-header.is-scrolled .main-nav a:hover,
body:not([data-page="home"]) .site-header.is-scrolled .main-nav a.is-active {
    color: var(--white);
}

body:not([data-page="home"]) .site-header .main-nav a::after {
    background: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: none;
}

.nav-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    align-items: center;
    justify-content: center;
}

.nav-toggle svg {
    width: 1.1rem;
    height: 1.1rem;
}

.nav-toggle-close {
    display: none;
}

.menu-open .nav-toggle-open {
    display: none;
}

.menu-open .nav-toggle-close {
    display: inline-flex;
}

.scroll-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: transparent;
}

.scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold);
    transition: width 0.1s linear;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
    overflow-y: auto;
    background:
        radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 38%),
        var(--navy);
    color: var(--white);
    opacity: 0;
    transform: translateY(-2rem);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.menu-open .mobile-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.menu-open .site-header {
    background: transparent;
    color: var(--white);
    box-shadow: none;
    backdrop-filter: none;
}

.menu-open .site-header .brand img {
    filter: brightness(0) invert(1);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
    min-height: 100%;
    width: min(calc(100% - 3rem), 700px);
    margin-inline: auto;
    padding: 8rem 0 3rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line-light);
    font-family: var(--serif);
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    line-height: 1.2;
}

.mobile-nav a svg {
    width: 1.4rem;
    height: 1.4rem;
    color: var(--gold);
    transition: transform 0.3s var(--ease);
}

.mobile-nav a:hover {
    color: var(--gold);
}

.mobile-nav a:hover svg {
    transform: translate(3px, -3px);
}

.mobile-nav a.is-active {
    color: var(--gold);
}

.mobile-menu-meta {
    display: grid;
    gap: 0.7rem;
    color: var(--muted-light);
    font-size: 0.9rem;
}

.mobile-menu-meta > a {
    color: var(--white);
    font-size: 1.05rem;
}

.mobile-menu-label {
    margin-bottom: 0.3rem;
    color: var(--gold);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.mobile-menu-meta .socials {
    margin-top: 0.8rem;
}

.socials {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.socials svg {
    width: 1rem;
    height: 1rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--navy);
}

.hero-visual {
    position: absolute;
    inset: 0;
    background: url('../img/home-banner-photo.webp') center / cover no-repeat;
}

/* Photo de nuit : voile bleu en bas pour la lisibilité des liens, logo en filigrane.
   Position, taille et opacité du filigrane : modifier les variables ci-dessous. */
.hero[data-photo] .hero-visual {
    --watermark-opacity: 0.2;
    --watermark-top: 6rem;
    --watermark-bottom: 22%;
    --watermark-left: clamp(1.2rem, 5vw, 5rem);
    --watermark-width: min(68vw, 68rem);
}

.hero[data-photo] .hero-visual::before,
.hero[data-photo] .hero-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero[data-photo] .hero-visual::before {
    inset: 45% 0 0;
    background: linear-gradient(to top, color-mix(in srgb, var(--navy) 88%, transparent), transparent);
}

.hero[data-photo] .hero-visual::after {
    top: var(--watermark-top);
    bottom: var(--watermark-bottom);
    left: var(--watermark-left);
    width: var(--watermark-width);
    background: url('../img/logo.svg') left center / contain no-repeat;
    filter: brightness(0) invert(1);
    opacity: var(--watermark-opacity);
}

@media (max-width: 720px) {
    .hero[data-photo] .hero-visual {
        --watermark-bottom: 50%;
        --watermark-width: calc(100% - 2.4rem);
    }
}

.hero-links {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-width: 560px;
    margin-left: clamp(1.2rem, 4vw, 3.5rem);
    margin-right: auto;
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-links a {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--white) 30%, transparent);
    color: var(--white);
    transition: color 0.3s ease, padding 0.4s var(--ease), border-color 0.3s ease;
}

.hero-link-mark {
    flex: none;
    width: 2.4rem;
    height: 0.95rem;
    border: 1.5px solid var(--gold);
    border-radius: 999px;
    transition: width 0.4s var(--ease), background-color 0.3s ease;
}

.hero-links span {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.01em;
    line-height: 1.0;
    transition: transform 0.4s var(--ease);
}

.hero-links a:hover span,
.hero-links a:focus-visible span {
    transform: translateX(0.6rem);
}

.hero-links a:hover,
.hero-links a:focus-visible {
    padding-left: 1rem;
    border-color: var(--gold);
    color: var(--gold);
}

.hero-links a:hover .hero-link-mark,
.hero-links a:focus-visible .hero-link-mark {
    width: 3.4rem;
    background: var(--gold);
}

/* --------------------------------------------------------------------------
   Bandeau défilant
   -------------------------------------------------------------------------- */

.manifesto {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
}

.manifesto-track {
    display: flex;
    width: max-content;
    padding: 1.4rem 0;
    animation: marquee 34s linear infinite;
}

.manifesto-track span {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.manifesto-track i {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--gold-deep);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Le cabinet (accueil)
   -------------------------------------------------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.about-main .display {
    max-width: 14em;
    margin-top: 0.35rem;
}

.about-years {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin: clamp(2rem, 4vw, 3rem) 0;
    padding: 1.4rem 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}

.about-years strong {
    color: var(--gold-deep);
    font-family: var(--serif);
    font-size: clamp(4rem, 8vw, 6.5rem);
    font-weight: 500;
    line-height: 0.9;
}

.about-years span {
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.7;
    text-transform: uppercase;
}

/* Colonne de texte à moitié de largeur : une seule colonne de lecture. */
.about-text {
    columns: 1;
}

.about-text .lead {
    max-width: none;
    break-inside: avoid;
}

.about-text .lead + .lead {
    margin-top: 1rem;
}

.about-link {
    margin-top: 1.6rem;
    break-inside: avoid;
}

/* Haut de la photo aligné sur le haut du bloc titre. */
.about-photo {
    position: relative;
    margin: 0;
}

.about-photo img {
    position: relative;
    width: 100%;
    aspect-ratio: 450 / 360;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    filter: saturate(0.85);
}

.rank-section {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.rank-section .rank-grid {
    margin-top: 0;
}

.signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.signature img {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
}

.signature span {
    display: block;
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-style: italic;
}

.signature small {
    display: block;
    margin-top: 0.1rem;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rank-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.3rem;
    border-right: 1px solid var(--line);
    text-align: center;
}

.rank:last-child { border-right: 0; }

.rank-laurel {
    width: 3.6rem;
    height: 3.6rem;
    margin-bottom: 1rem;
    color: var(--gold-deep);
}

.rank-source {
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rank-tier {
    margin-top: 0.5rem;
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    line-height: 1.15;
}

.rank-field {
    margin-top: 0.4rem;
    color: var(--gold-ink);
    font-size: 0.72rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rank:nth-child(2) { border-right: 0; }
    .rank:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 480px) {
    .rank-grid { grid-template-columns: 1fr; }
    .rank { border-right: 0; border-bottom: 1px solid var(--line); }
    .rank:last-child { border-bottom: 0; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    padding: 1.7rem 1.3rem;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat-number {
    display: block;
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 500;
    line-height: 1;
}

.stat-number em {
    color: var(--gold-ink);
    font-style: normal;
}

.stat-label {
    display: block;
    margin-top: 0.55rem;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Expertises - lignes
   -------------------------------------------------------------------------- */

.expertise-list {
    border-top: 1px solid var(--line);
}

.expertise-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.5rem;
    align-items: center;
    gap: 1.5rem;
    padding: 1.65rem 1.2rem;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease), padding 0.4s var(--ease);
}

.expertise-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--navy);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s var(--ease);
    z-index: 0;
}

.expertise-row > * {
    position: relative;
    z-index: 1;
}

.expertise-row:hover {
    color: var(--white);
    padding-left: 1.7rem;
    padding-right: 1.7rem;
}

.expertise-row:hover::before {
    transform: scaleY(1);
}

.expertise-copy {
    display: flex;
    align-items: baseline;
    gap: 1.8rem;
    min-width: 0;
}

.expertise-title {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.expertise-desc {
    max-width: 480px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.expertise-row:hover .expertise-desc {
    color: rgba(255, 255, 255, 0.65);
}

.expertise-icon {
    display: flex;
    justify-content: flex-end;
    color: var(--gold-ink);
    transition: color 0.3s ease;
}

.expertise-icon svg {
    width: 2.1rem;
    height: 2.1rem;
}

.expertise-row:hover .expertise-icon {
    color: var(--gold);
}

.expertise-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--navy);
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.4s var(--ease);
}

.expertise-arrow svg {
    width: 0.95rem;
    height: 0.95rem;
}

.expertise-row:hover .expertise-arrow {
    border-color: var(--gold);
    color: var(--gold);
    transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Équipe - carrousel
   -------------------------------------------------------------------------- */

.team-section {
    overflow: hidden;
}

.team-head-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: transparent;
    color: var(--navy);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.carousel-btn:disabled {
    opacity: 0.28;
    cursor: default;
}

.carousel-btn svg {
    width: 1.1rem;
    height: 1.1rem;
}

.team-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    overflow: visible;
}

.team-track > .person-card {
    flex: 0 1 280px;
}

.person-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    scroll-snap-align: start;
    transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.person-card:hover {
    box-shadow: var(--shadow);
}

.person-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--ivory);
}

/* Toutes les photos dans le même cadre 2/3. */
.person-media img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s var(--ease);
}

.person-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 2 / 3;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--gold);
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: 0.08em;
}

.person-card:hover .person-media img {
    transform: scale(1.035);
}

.person-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, color-mix(in srgb, var(--navy) 50%, transparent), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.person-card:hover .person-media::after {
    opacity: 1;
}

.person-media-arrow {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.person-card:hover .person-media-arrow {
    opacity: 1;
    transform: none;
}

.person-media-arrow svg {
    width: 1rem;
    height: 1rem;
}

.person-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.4rem 1.4rem 1.2rem;
}

.person-role {
    color: var(--gold-ink);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.person-name {
    margin-top: 0.5rem;
    font-size: clamp(1.3rem, 1.8vw, 1.55rem);
    line-height: 1.2;
}

.person-name a:hover {
    color: var(--gold-ink);
}

.person-specialty {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.76rem;
}

.person-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1.2rem;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.icon-link:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.icon-link svg {
    width: 0.9rem;
    height: 0.9rem;
}

.person-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    color: var(--gold-ink);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.person-link svg {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.3s var(--ease);
}

.person-link:hover svg {
    transform: translateX(3px);
}

.person-card--compact .person-body {
    padding: 1.2rem 1.2rem 1rem;
}

.person-card--compact .person-name {
    font-size: 1.3rem;
}

.flying-mark {
    position: absolute;
    top: 20%;
    right: -5%;
    z-index: 0;
    width: clamp(260px, 34vw, 520px);
    opacity: 0.05;
    pointer-events: none;
    will-change: transform, opacity;
}

.flying-mark img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.team-section .wrap {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Citation
   -------------------------------------------------------------------------- */

.quote-band {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.quote-band-bg {
    position: absolute;
    inset: 0;
    background: url("../img/home-bg.webp") center / cover;
    opacity: 0.08;
    mix-blend-mode: luminosity;
}

.quote-band::before,
.quote-band::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.quote-band::before {
    top: -30%;
    right: -8%;
    width: 34rem;
    height: 34rem;
    background: radial-gradient(circle, color-mix(in srgb, var(--gold) 16%, transparent), transparent 68%);
}

.quote-band::after {
    bottom: -40%;
    left: -10%;
    width: 28rem;
    height: 28rem;
    border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
}

.quote-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-inline: auto;
}

.quote-mark {
    width: 3.4rem;
    height: auto;
    margin: 0 auto 2rem;
    color: var(--gold);
    opacity: 0.9;
}

.quote-inner blockquote {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3.4vw, 3.1rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.32;
    text-wrap: balance;
}

.quote-inner blockquote em {
    color: var(--gold);
    font-style: italic;
}

.quote-inner cite {
    display: block;
    margin-top: 2rem;
    color: var(--muted-light);
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.site-footer {
    padding-top: clamp(3.5rem, 7vw, 6rem);
    background: var(--bar-gradient);
    color: var(--white);
    border-top: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.brand--light img {
    filter: brightness(0) invert(1);
    height: 2.6rem;
}

.footer-baseline {
    max-width: 30ch;
    margin: 1.3rem 0 1.7rem;
    color: var(--muted-light);
    font-size: 0.82rem;
    line-height: 1.8;
}

.footer-column h2 {
    margin-bottom: 1.3rem;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-column ul {
    display: grid;
    gap: 0.65rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    transition: color 0.25s ease;
}

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

.footer-column address {
    display: grid;
    gap: 0.9rem;
}

.footer-column address p {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.7;
}

.footer-icon {
    display: inline-flex;
    flex: none;
    margin-top: 0.15rem;
    color: var(--gold);
}

/* Le dégradé du pied de page finit en or : textes et icônes passent en blanc pour rester lisibles. */
.site-footer .footer-column h2,
.site-footer .footer-icon {
    color: var(--white);
}

.site-footer .footer-column a,
.site-footer .footer-column address p,
.site-footer .footer-baseline {
    color: var(--white);
}

.site-footer .footer-column a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.footer-hours {
    display: grid;
    gap: 0.8rem !important;
    margin-top: 1.2rem;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--line-light);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
}

.footer-cta {
    margin-top: 1.6rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0 1.8rem;
    border-top: 1px solid var(--line-light);
    color: var(--white);
    font-size: 0.7rem;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom a {
    color: var(--white);
    font-weight: 700;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

.to-top {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--navy);
    box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--navy) 35%, transparent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: var(--navy);
    color: var(--white);
}

.to-top svg {
    width: 1.1rem;
    height: 1.1rem;
}

/* --------------------------------------------------------------------------
   En-têtes de pages intérieures
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(8.5rem, 13vw, 11rem) 0 clamp(4rem, 7vw, 6rem);
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--gold) 15%, transparent), transparent 34%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 60%, var(--navy-soft) 100%);
    color: var(--white);
}

.page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 7%;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--gold) 35%, transparent), transparent);
}

.page-hero .wrap {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
}

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

.breadcrumb .sep {
    color: var(--gold);
}

.page-crumbs {
    padding: calc(5.6rem + 1.75rem) 0 1.25rem;
    background: var(--white);
    color: var(--navy);
}

.page-crumbs .breadcrumb {
    margin-bottom: 0;
    color: rgba(0, 0, 0, 0.5);
}

.page-crumbs .breadcrumb a {
    color: var(--navy);
}

.page-crumbs .breadcrumb a:hover {
    color: var(--gold);
}

.page-crumbs--name {
    padding-bottom: 2rem;
}

.page-crumbs--name .breadcrumb {
    margin-bottom: 1.5rem;
}

.page-crumbs--name .eyebrow,
.page-crumbs--name .page-intro {
    display: none;
}

.page-crumbs--name .page-hero-grid {
    display: block;
}

.page-crumbs--name .page-title {
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.page-hero-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.page-hero-copy {
    max-width: 850px;
}

.page-title {
    color: var(--white);
    font-size: clamp(2.9rem, 6.4vw, 5.7rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.98;
}

.page-intro {
    max-width: 61ch;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(0.96rem, 1.2vw, 1.08rem);
    line-height: 1.8;
}

.page-number {
    flex: none;
    color: transparent;
    font-family: var(--serif);
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 0.8;
    -webkit-text-stroke: 1px color-mix(in srgb, var(--gold) 38%, transparent);
}

/* --------------------------------------------------------------------------
   Le Cabinet
   -------------------------------------------------------------------------- */

.about-quote {
    margin: clamp(2rem, 4vw, 3rem) 0;
    padding: 1.6rem 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.3;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.value-card {
    padding: clamp(1.8rem, 3vw, 2.8rem);
    border-right: 1px solid var(--line);
}

.value-card:last-child {
    border-right: 0;
}

.value-card:nth-child(3n) {
    border-right: 0;
}

.value-card:nth-child(n + 4) {
    border-top: 1px solid var(--line);
}

.value-card .value-index {
    display: block;
    margin-bottom: 2rem;
    color: var(--gold-ink);
    font-family: var(--serif);
    font-size: 0.95rem;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold-ink);
}

.value-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.value-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.45rem;
}

.value-card p {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.75;
}

.timeline {
    position: relative;
    display: grid;
    gap: 0;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
}

.timeline-item {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 2rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--line);
}

.timeline-year {
    color: var(--gold-ink);
    font-family: var(--serif);
    font-size: 1.7rem;
    line-height: 1.2;
}

.timeline-item h3 {
    margin-bottom: 0.4rem;
    font-size: 1.25rem;
}

.timeline-item p {
    color: var(--muted);
    font-size: 0.85rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.approach-step {
    padding-top: 1.4rem;
    border-top: 1px solid var(--line-light);
}

.section--dark .approach-step {
    border-top-color: var(--line-light);
}

.approach-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1.1rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 0.9rem;
}

.approach-step h3 {
    margin-bottom: 0.6rem;
    font-size: 1.35rem;
}

.approach-step p {
    color: var(--muted-light);
    font-size: 0.84rem;
    line-height: 1.75;
}

.image-band {
    position: relative;
    min-height: clamp(18rem, 38vw, 30rem);
    overflow: hidden;
}

.image-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.72);
}

.image-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, color-mix(in srgb, var(--navy) 60%, transparent), transparent 55%);
}

.image-band-caption {
    position: absolute;
    right: 0;
    bottom: 2rem;
    left: 0;
    z-index: 1;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Notre équipe
   -------------------------------------------------------------------------- */

.team-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.filter-btn {
    padding: 0.85rem 1.6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-btn:hover {
    color: var(--navy);
    border-color: var(--line);
}

.filter-btn.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.team-grid {
    --team-card: 14rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: clamp(1.2rem, 2.4vw, 2rem);
}

.team-grid > .person-card {
    flex: 0 0 var(--team-card);
    max-width: 100%;
}

.team-grid .person-body {
    padding: 1.1rem 1.1rem 1rem;
}

.team-grid .person-name {
    font-size: 1.15rem;
}

/* Cartes plus étroites qu'à l'accueil : "Voir le profil" plus petit pour tenir sur une ligne
   à côté des icônes LinkedIn et e-mail. */
.team-grid .person-link {
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Empty filter on Notre Équipe: icon + message, across the whole grid */
.team-empty {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    background: var(--paper);
    text-align: center;
}

.team-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold-ink);
}

.team-empty-icon svg {
    width: 2.4rem;
    height: 2.4rem;
}

.team-empty-text {
    max-width: 30rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Nos expertises
   -------------------------------------------------------------------------- */

.expertises-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.expertise-toc {
    position: sticky;
    top: 8rem;
    padding-top: 0.5rem;
}

.expertise-toc h2 {
    margin-bottom: 1rem;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.expertise-toc a {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
    transition: color 0.25s ease, padding-left 0.25s var(--ease);
}

.expertise-toc a span {
    color: var(--gold-ink);
    font-family: var(--serif);
    font-size: 0.72rem;
}

.expertise-toc a:hover {
    padding-left: 0.35rem;
    color: var(--navy);
}

.expertises-list {
    border-top: 1px solid var(--line);
}

.expertise-block {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    padding: clamp(2rem, 4vw, 3.2rem) 0;
    border-bottom: 1px solid var(--line);
}

.expertise-block-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.expertise-block-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold-ink);
}

.expertise-block-icon svg {
    width: 1.7rem;
    height: 1.7rem;
}

.expertise-block-body h2 {
    margin-bottom: 0.9rem;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.expertise-block-body h2 a:hover {
    color: var(--gold);
}

/* Survol d'une expertise : fond bleu, textes en clair, icône en or.
   Le fond apparaît en fondu (et non en balayage depuis le bas) pour que le passage
   d'une expertise à la suivante reste fluide. */
.expertise-block {
    position: relative;
    padding-left: clamp(1rem, 2vw, 1.5rem);
    padding-right: clamp(1rem, 2vw, 1.5rem);
}

.expertise-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--navy);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.expertise-block > * {
    position: relative;
    z-index: 1;
}

.expertise-block:hover::before {
    opacity: 1;
}

/* Fond léger : teinte bleue claire en fondu, les textes gardent leurs couleurs */

.expertise-block-body h2,
.expertise-block-text,
.expertise-block-icon,
.tag-list li,
.expertise-block-foot,
.lawyer-inline small,
.lawyer-inline strong {
    transition: color 0.25s ease, border-color 0.25s ease;
}

.expertise-block:hover .expertise-block-body h2,
.expertise-block:hover .lawyer-inline strong {
    color: var(--white);
}

.expertise-block:hover .expertise-block-text,
.expertise-block:hover .lawyer-inline small {
    color: rgba(255, 255, 255, 0.65);
}

.expertise-block:hover .expertise-block-icon {
    border-color: var(--line-light);
    color: var(--gold);
}

.expertise-block:hover .tag-list li {
    border-color: var(--line-light);
    color: rgba(255, 255, 255, 0.75);
}

.expertise-block:hover .expertise-block-foot {
    border-top-color: var(--line-light);
}

.expertise-block-text {
    max-width: 65ch;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.3rem;
}

.tag-list li {
    padding: 0.42rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.66rem;
    line-height: 1.4;
}

.expertise-block-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.6rem 2.2rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.lawyer-inline {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.lawyer-inline img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.lawyer-inline span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.lawyer-inline small {
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lawyer-inline strong {
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
}

.lawyer-inline:hover strong,
.expertise-block:hover .lawyer-inline:hover strong {
    color: var(--gold);
}

/* --------------------------------------------------------------------------
   Détail expertise
   -------------------------------------------------------------------------- */

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.detail-main {
    min-width: 0;
}

.detail-heading {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.detail-heading .eyebrow {
    margin: 0;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold-ink);
}

.detail-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.detail-lead {
    max-width: 65ch;
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.5;
}

.detail-subtitle {
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 2rem;
    padding-top: 0.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.84rem;
}

.service-list svg {
    width: 1rem;
    height: 1rem;
    flex: none;
    color: var(--gold-ink);
}

.detail-quote {
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    padding: 1.8rem 2rem;
    border-left: 2px solid var(--gold);
    background: var(--ivory);
}

.detail-quote p {
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-style: italic;
    line-height: 1.5;
}

.detail-quote span {
    display: block;
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.detail-aside {
    position: sticky;
    top: 7.5rem;
    display: grid;
    gap: 1.4rem;
}

.aside-lawyer {
    padding: 1.4rem;
    border: 1px solid var(--line);
    background: var(--paper);
}

.aside-label {
    margin-bottom: 0.8rem;
    color: var(--gold-ink);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.aside-lawyer-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.aside-lawyer-link img {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    object-fit: cover;
}

.aside-lawyer-link span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.aside-lawyer-link strong {
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 500;
}

.aside-lawyer-link small {
    color: var(--muted);
    font-size: 0.66rem;
}

.aside-arrow {
    display: flex;
    margin-left: auto;
    color: var(--gold-ink);
}

.aside-arrow svg {
    width: 1rem;
    height: 1rem;
}

.aside-lawyer-link:hover strong {
    color: var(--gold-ink);
}

.aside-card {
    padding: clamp(1.6rem, 3vw, 2.2rem);
    background: var(--navy);
    color: var(--white);
}

.aside-card h2 {
    margin-bottom: 0.7rem;
    color: var(--white);
    font-size: 1.8rem;
}

.aside-card > p {
    color: var(--muted-light);
    font-size: 0.8rem;
    line-height: 1.7;
}

.aside-card .aside-label {
    color: var(--gold);
}

.aside-card .btn {
    margin-top: 1.4rem;
}

.aside-phone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
}

.aside-phone:hover {
    color: var(--gold);
}

.aside-phone svg {
    width: 1rem;
    height: 1rem;
    color: var(--gold);
}

.aside-email {
    display: inline-block;
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.aside-email:hover {
    color: var(--gold);
}

.related-section {
    margin-top: clamp(4rem, 8vw, 7rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
}

.related-head {
    margin-bottom: 2rem;
}

.related-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--line);
    background: var(--paper);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.related-icon {
    display: flex;
    flex: none;
    color: var(--gold-ink);
}

.related-icon svg {
    width: 1.7rem;
    height: 1.7rem;
}

.related-card > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.related-card strong {
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
}

.related-card small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.66rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-card > svg {
    width: 1rem;
    height: 1rem;
    flex: none;
    margin-left: auto;
    color: var(--gold-ink);
    transition: transform 0.3s var(--ease);
}

.related-card:hover {
    background: var(--navy);
    border-color: var(--navy);
}

.related-card:hover strong {
    color: var(--white);
}

.related-card:hover small {
    color: var(--muted-light);
}

.related-card:hover .related-icon,
.related-card:hover > svg {
    color: var(--gold);
}

.related-card:hover > svg {
    transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   Fiche profil
   -------------------------------------------------------------------------- */

.profile-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.profile-aside {
    position: sticky;
    top: 7rem;
}

.profile-portrait {
    overflow: hidden;
    background: var(--ivory);
}

.profile-portrait img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.profile-contact {
    padding: 1.7rem;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    background: var(--paper);
}

.profile-social {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.profile-social .icon-link {
    width: 2.2rem;
    height: 2.2rem;
}

.profile-social .icon-link svg {
    width: 0.95rem;
    height: 0.95rem;
}

.profile-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.7rem;
}

.profile-back:hover {
    color: var(--navy);
}

.profile-back svg {
    width: 0.9rem;
    height: 0.9rem;
}

.profile-main {
    min-width: 0;
    padding-top: 0.4rem;
}

.profile-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.profile-title-row .eyebrow {
    margin: 0;
}

.profile-specialty {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gold-ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-specialty svg {
    width: 0.85rem;
    height: 0.85rem;
}

.profile-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2.4rem;
}

.profile-fact {
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-left: 2px solid var(--gold);
    background: var(--paper);
}

.profile-fact dt {
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-fact dd {
    margin: 0.4rem 0 0;
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1.02rem;
    line-height: 1.5;
}

.profile-main > h2 {
    margin: 2rem 0 0.8rem;
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
}

.profile-main > p {
    max-width: 68ch;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

.profile-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: 2.8rem;
    padding-top: 0.4rem;
    border-top: 1px solid var(--line);
}

.profile-columns h2 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.profile-list {
    display: grid;
    gap: 0.75rem;
}

.profile-list li {
    display: flex;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.65;
}

.profile-list li::before {
    content: "•";
    flex: none;
    color: var(--gold-ink);
    font-family: var(--serif);
    font-size: 0.72rem;
    line-height: 1.8;
}

.profile-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    background: var(--navy);
}

.profile-cta h2 {
    max-width: 22ch;
    color: var(--white);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.profile-cta .eyebrow {
    margin-bottom: 0.7rem;
    color: var(--gold);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 5.5rem);
}

.contact-form-panel {
    padding-top: 0.4rem;
}

.contact-first {
    padding-top: calc(5.6rem + clamp(2.5rem, 6vw, 5rem));
}

@media (min-width: 901px) {
    .contact-layout {
        grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    }

    .contact-layout .contact-info-panel {
        order: -1;
    }
}

.contact-context {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 2rem;
    padding: 1rem 1.2rem;
    border-left: 2px solid var(--gold);
    background: var(--ivory);
    color: var(--muted);
    font-size: 0.8rem;
}

.contact-context svg {
    width: 1rem;
    height: 1rem;
    flex: none;
    margin-top: 0.15rem;
    color: var(--gold-ink);
}

.contact-context strong {
    color: var(--navy);
    font-weight: 600;
}

.contact-form {
    display: grid;
    gap: 1.35rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field label {
    color: var(--navy);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.field .optional {
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.85rem 0;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--navy);
    font-size: 0.9rem;
    transition: border-color 0.25s ease;
}

.field textarea {
    min-height: 8rem;
    resize: vertical;
    line-height: 1.7;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606978' stroke-width='1.6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 1rem;
    padding-right: 1.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--gold-deep);
}

.field ::placeholder {
    color: #9aa1ad;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-bottom-color: #b84848;
}

.field-error {
    min-height: 1rem;
    color: #a53737;
    font-size: 0.7rem;
    line-height: 1.4;
}

.field--check {
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr);
    align-items: start;
    column-gap: 0.8rem;
}

.field--check input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.3rem;
    accent-color: var(--gold-deep);
}

.field--check label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.6;
    text-transform: none;
}

.field--check label a {
    color: var(--gold-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.field--check .field-error {
    grid-column: 2;
}

.form-note {
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.6;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin-top: 0.3rem;
}

#submitBtn {
    border-color: transparent;
    background: linear-gradient(135deg, color-mix(in srgb, var(--gold), white 28%) 0%, var(--gold) 48%, var(--gold-deep) 100%);
    color: var(--navy);
}

#submitBtn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    background: var(--paper);
}

.form-success h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.form-success p {
    max-width: 52ch;
    color: var(--muted);
    font-size: 0.88rem;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-ink);
}

.success-icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.contact-info-panel {
    position: sticky;
    top: 7rem;
    padding: clamp(1.8rem, 3.5vw, 2.6rem);
    background: var(--navy);
    color: var(--white);
}

.contact-info-panel h2 {
    margin-bottom: 1.8rem;
    color: var(--white);
    font-size: 1.75rem;
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line-light);
}

.contact-info-block > svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: none;
    margin-top: 0.2rem;
    color: var(--gold);
}

.contact-info-block h3 {
    margin-bottom: 0.2rem;
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-info-block p,
.contact-info-block a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.7;
}

.contact-info-block a:hover {
    color: var(--gold);
}

.contact-info-panel .socials {
    margin-top: 1.4rem;
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.5rem;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-map-link svg {
    width: 0.95rem;
    height: 0.95rem;
    transition: transform 0.3s var(--ease);
}

.contact-map-link:hover svg {
    transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   Étapes / valeurs génériques et pages légales
   -------------------------------------------------------------------------- */

.prose {
    max-width: 760px;
}

.prose h2 {
    margin: 2.6rem 0 0.8rem;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin: 1.8rem 0 0.5rem;
    font-size: 1.25rem;
}

.prose p,
.prose li {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.85;
}

.prose p + p {
    margin-top: 0.8rem;
}

.prose ul {
    display: grid;
    gap: 0.5rem;
    margin: 0.8rem 0;
    padding-left: 1.2rem;
    list-style: disc;
}

.legal-prose h2 {
    margin: 1.8rem 0 0.5rem;
    font-size: 1.25rem;
}

.legal-prose h2:first-child {
    margin-top: 0;
}

.prose a {
    color: var(--gold-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.legal-nav {
    position: sticky;
    top: 8rem;
    display: grid;
    gap: 0.7rem;
}

.legal-nav a {
    color: var(--muted);
    font-size: 0.76rem;
}

.legal-nav a:hover {
    color: var(--gold-ink);
}

.legal-section {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
    border-bottom: 0;
}

.legal-updated {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Intro - logo qui s'envole
   -------------------------------------------------------------------------- */

.intro {
    /* Durée de l'animation d'intro : modifier uniquement cette valeur */
    --intro-duration: 1.5s;
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
    pointer-events: none;
    animation: introOut 0.7s var(--ease) calc(var(--intro-duration) * 0.95) forwards;
}

.intro-cape {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 46%;
    background: linear-gradient(100deg, transparent 0%, color-mix(in srgb, var(--gold) 10%, transparent) 25%, color-mix(in srgb, var(--gold) 55%, transparent) 50%, color-mix(in srgb, var(--gold) 6%, transparent) 75%, transparent 100%);
    transform: translateY(-50%) rotate(-8deg) scaleX(0.2);
    transform-origin: left center;
    filter: blur(8px);
    animation: capeFly var(--intro-duration) var(--ease) forwards;
}

.intro-logo {
    position: relative;
    z-index: 1;
    width: min(52vw, 380px);
    filter: brightness(0) invert(1);
    animation: logoFly var(--intro-duration) var(--ease) forwards;
}

.intro-caption {
    position: absolute;
    bottom: 12%;
    z-index: 1;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

@keyframes logoFly {
    0% { transform: translate3d(0, 0, 0) rotate(-4deg) scale(1); opacity: 0; }
    14% { opacity: 1; }
    62% { transform: translate3d(0, 0, 0) rotate(-4deg) scale(1); opacity: 1; }
    100% { transform: translate3d(38vw, -42vh, 0) rotate(24deg) scale(0.45); opacity: 0; }
}

@keyframes capeFly {
    0% { transform: translateY(-50%) rotate(-8deg) scaleX(0.2); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(-120%) rotate(-22deg) scaleX(1.6); opacity: 0; }
}

@keyframes introOut {
    from { opacity: 1; visibility: visible; }
    to { opacity: 0; visibility: hidden; }
}

.intro-skip .intro,
.intro-skip .intro * {
    display: none !important;
    animation: none !important;
}

/* --------------------------------------------------------------------------
   Révélations
   -------------------------------------------------------------------------- */

.js .reveal {
    opacity: 0;
    transform: translateY(1.6rem);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.not-found {
    max-width: 760px;
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    background: var(--paper);
}

.not-found h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.not-found > p {
    color: var(--muted);
    font-size: 0.9rem;
}

.not-found-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.6rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .main-nav {
        gap: 1.3rem;
    }

    .main-nav a {
        font-size: 0.64rem;
    }

    .header-cta {
        display: none;
    }

    .detail-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .footer-top {
        grid-template-columns: 1.3fr 0.7fr 1fr;
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-cta {
        display: inline-flex;
    }

    .contact-layout,
    .detail-layout,
    .profile-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-photo {
        margin: 1rem 0 0;
    }

    .detail-aside,
    .profile-aside,
    .contact-info-panel,
    .expertise-toc,
    .legal-nav {
        position: static;
    }

    .detail-aside {
        grid-row: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .profile-aside {
        display: grid;
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
        align-items: start;
        gap: 1.4rem;
    }

    .profile-contact {
        margin-top: 0;
    }

    .team-grid {
        --team-card: calc(50% - 0.8rem);
    }

    .page-number {
        display: none;
    }

    .expertises-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .expertise-toc {
        display: none;
    }

    .section-head-aside {
        max-width: 100%;
    }

    .values-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .value-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .value-card:last-child {
        border-bottom: 0;
    }

    .approach-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .related-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .legal-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        padding-bottom: 1.2rem;
        border-bottom: 1px solid var(--line);
    }

}

@media (max-width: 720px) {
    /* Profil : le lien "Toute l'équipe" est masqué sur mobile */
    .profile-back {
        display: none;
    }

    .about-text {
        columns: 1;
    }

    .header-inner {
        min-height: 4.8rem;
    }

    .brand img {
        height: 2.2rem;
    }

    .brand-tag {
        display: none;
    }

    .header-cta {
        display: none;
    }

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

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .expertise-row {
        grid-template-columns: minmax(0, 1fr) 2.2rem;
        gap: 0.9rem;
        padding: 1.3rem 0.4rem;
    }

    .expertise-row:hover {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .expertise-copy {
        display: block;
    }

    .expertise-desc {
        display: block;
        margin-top: 0.35rem;
        font-size: 0.72rem;
    }

    .expertise-icon {
        display: none;
    }

    .expertise-title {
        font-size: 1.2rem;
    }

    .team-track > .person-card {
        flex-basis: 100%;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-column:last-child {
        grid-column: auto;
        display: block;
    }

    .footer-column:last-child h2 {
        margin-bottom: 1rem;
    }

    .footer-cta {
        margin-top: 1.4rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-aside {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Profil sans contact : le bloc ne contient plus que le lien "Toute l'équipe", masqué sur mobile */
    .profile-contact--back-only {
        display: none;
    }

    /* Profil sur mobile : le portrait prend toute la largeur */
    .profile-portrait {
        max-width: none;
    }

    .detail-aside {
        grid-template-columns: minmax(0, 1fr);
    }

    .expertise-block {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.2rem;
    }

    .expertise-block-head {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .expertise-block-icon {
        width: 2.8rem;
        height: 2.8rem;
    }

    .expertise-block-icon svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .service-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .timeline-item {
        grid-template-columns: 4.5rem minmax(0, 1fr);
        gap: 1.2rem;
    }

    .page-hero {
        padding-top: 8rem;
    }

    .page-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}

@media (max-width: 560px) {
    .team-grid {
        --team-card: 100%;
    }

    .section-head {
        gap: 1.2rem;
    }

    .footer-bottom nav {
        gap: 1rem;
    }

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

    .profile-cta .btn {
        width: 100%;
    }

    .team-toolbar {
        align-items: flex-start;
    }
}

/* --------------------------------------------------------------------------
   Accessibilité - mouvements réduits
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

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

    .manifesto-track {
        animation: none;
    }

    .intro {
        display: none;
    }
}

/* Horizon : ligne d'or, base commune aux variantes */
.page-hero[data-header^="horizon"]::after {
    display: none;
}

.page-hero[data-header^="horizon"] .page-hero-grid {
    align-items: end;
}

.page-hero[data-header^="horizon"] .page-hero-copy {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
    align-items: end;
    column-gap: clamp(2rem, 6vw, 6rem);
    max-width: none;
    padding-bottom: clamp(1.6rem, 3vw, 2.6rem);
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
}

.page-hero[data-header^="horizon"] .page-hero-copy::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: clamp(4rem, 8vw, 7rem);
    height: 5px;
    background: var(--gold);
}

.page-hero[data-header^="horizon"] .eyebrow {
    grid-column: 1 / -1;
}

.page-hero[data-header^="horizon"] .page-title {
    grid-column: 1;
    margin: 0;
}

.page-hero[data-header^="horizon"] .page-intro {
    grid-column: 2;
    margin-top: 0;
    padding-bottom: 0.3rem;
}

/* Horizon + logo (voile) : grand filigrane très discret */
.page-hero[data-header^="horizon-logo-ghost"] {
    background: var(--navy);
}

.page-hero[data-header^="horizon-logo-ghost"]::before {
    content: "";
    position: absolute;
    top: 10%;
    right: 19%;
    width: clamp(43rem, 28vw, 26rem);
    aspect-ratio: 162 / 88;
    background: var(--white);
    -webkit-mask: url("../img/logo.svg") center / contain no-repeat;
    mask: url("../img/logo.svg") center / contain no-repeat;
    opacity: 0.01;
    pointer-events: none;
}

/* Logo voile — intro sous le titre */

@media (max-width: 760px) {
    .page-hero[data-header^="horizon"] .page-hero-copy {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-hero[data-header^="horizon"] .page-intro {
        grid-column: 1;
        margin-top: 1.4rem;
    }

    .page-hero[data-header="horizon-logo-ghost"]::before {
        display: none;
    }

}

/* Barre bas : bande pleine largeur en bas, deux moitiés */
.hero[data-hero="bar"] .hero-links {
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero[data-hero="bar"] .hero-links a {
    flex: 1 1 50%;
    justify-content: center;
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
    border-right: 1px solid color-mix(in srgb, var(--white) 15%, transparent);
    padding: 1.6rem 1rem;
    background: color-mix(in srgb, var(--navy) 55%, transparent);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.hero[data-hero="bar"] .hero-links a:last-child {
    border-right: 0;
}

.hero[data-hero="bar"] .hero-links a:hover,
.hero[data-hero="bar"] .hero-links a:focus-visible {
    padding-left: 1rem;
    background: color-mix(in srgb, var(--gold) 22%, transparent);
}

.hero[data-hero="bar"] .hero-link-mark {
    display: none;
}

.hero[data-hero="bar"] .hero-links span {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
}

/* Cadre : liens dans un cadre doré */

@media (max-width: 760px) {
    .hero[data-hero="bar"] .hero-links {
        flex-direction: column;
    }
    .hero[data-hero="bar"] .hero-links a {
        border-right: 0;
    }
}

/* Vague : liens qui ondulent */

@keyframes waveFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Liens de la bannière d'accueil : même style que le mot "AVOCATS" à côté du logo de l'en-tête
   (.brand-tag : Montserrat, graisse 500, majuscules, lettres très espacées), en plus petit que l'ancien
   style, jamais d'italique, quelle que soit la variante.
   Pour revenir à l'ancien style (Noto, grand) : font-family var(--serif), text-transform none,
   letter-spacing normal, font-size clamp(2.4rem, 5.4vw, 4.4rem). */
.hero .hero-links span,
.hero[data-hero] .hero-links span {
    font-family: var(--sans);
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.26em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Liens de la bannière sur mobile : les deux liens sont centrés de la même façon.
   Avant, un texte plus long qui passait sur deux lignes restait aligné à gauche dans son bloc centré,
   alors que le texte court était centré. Lettres un peu moins espacées pour tenir sur une ligne. */
@media (max-width: 760px) {
    .hero .hero-links a {
        justify-content: center;
        text-align: center;
    }

    .hero .hero-links span,
    .hero[data-hero] .hero-links span {
        letter-spacing: 0.18em;
        text-align: center;
        text-wrap: balance;
    }
}
