/* ==========================================================================
   theme-stacova.css — Thème élégant (refonte 2026)
   Source de vérité du design : test-accueil.php
   --------------------------------------------------------------------------
   ARCHITECTURE : ce fichier NE redéfinit AUCUNE classe de style.css/bootstrap.
   Pendant la transition style.css + bootstrap restent chargés. Tous les noms
   de classes sont neufs. Collisions résolues vs style.css :
     - .section-title  -> .section-title-elegant
     - .lawyer         -> .lawyer-elegant (+ .lawyer-elegant-photo)
     - .btn (bootstrap)-> .btn-elegant
   .lead / .badge (bootstrap) restent scopés sous leur parent (.hero / .values-media).
   ========================================================================== */

:root {
    --navy: #15202f;
    --navy-2: #1d2c41;
    --navy-soft: #27384f;
    --gold: #bd9a64;
    --gold-soft: #d3b988;
    --ivory: #f7f3ec;
    --cream: #fbf9f5;
    --ink: #23282f;
    --muted: #6f7681;
    --line: rgba(189, 154, 100, 0.28);
}

/* ---- Reset léger limité au thème (pas de * global pour ne pas casser bootstrap) ---- */
html { scroll-behavior: smooth; }

.theme-stacova {
    font-family: 'Jost', sans-serif;
    color: var(--ink);
    background: var(--cream);
    font-weight: 300;
    line-height: 1.75;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.theme-stacova h1,
.theme-stacova h2,
.theme-stacova h3,
.serif { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.15; }

.theme-stacova img { max-width: 100%; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---- Eyebrow / labels ---- */
.eyebrow {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--gold); display: inline-block; }

.section-title-elegant { font-size: clamp(2.1rem, 4vw, 3.2rem); color: var(--navy); letter-spacing: 0.5px; }
.section-title-elegant em { font-style: italic; color: var(--gold); }

/* ==========================================================================
   HEADER élégant (.site / .nav / .burger)
   ========================================================================== */
header.site {
    position: sticky; top: 0; z-index: 50;
    background: rgba(21, 32, 47, 0.0);
    transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
    padding: 26px 0;
}
header.site.solid {
    background: rgba(21, 32, 47, 0.96);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    padding: 16px 0;
    backdrop-filter: blur(6px);
}
/* Pages internes : header toujours opaque (pas de hero sombre derrière) */
header.site.site-internal {
    background: rgba(21, 32, 47, 0.96);
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand img { height: 52px; width: auto; transition: height .4s ease; }
header.site.solid .brand img { height: 42px; }
.brand-txt { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; letter-spacing: 2px; color: #fff; }
.brand-txt span { color: var(--gold-soft); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a,
.nav-links > .has-dropdown > a {
    color: rgba(255,255,255,0.82); font-size: 13px; letter-spacing: 0.14em;
    text-transform: uppercase; font-weight: 400; position: relative; padding: 4px 0;
    transition: color .3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.nav-links > a::after,
.nav-links > .has-dropdown > a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
    background: var(--gold); transition: width .35s ease;
}
.nav-links > a:hover,
.nav-links > .has-dropdown > a:hover { color: #fff; }
.nav-links > a:hover::after,
.nav-links > .has-dropdown > a:hover::after { width: 100%; }
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after { width: 100%; }

.nav-cta {
    border: 1px solid var(--gold); color: var(--gold-soft) !important; padding: 11px 24px !important;
    border-radius: 2px; letter-spacing: 0.16em; transition: all .35s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }
.nav-cta::after { display: none !important; }

/* ---- Dropdown « Domaines » (desktop : au survol) ---- */
.has-dropdown { position: relative; }
.has-dropdown > a .fa-chevron-down,
.has-dropdown > a .fas { font-size: 10px; transition: transform .3s ease; }
.has-dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }
.nav-dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px);
    min-width: 320px; background: rgba(21, 32, 47, 0.98); border: 1px solid rgba(189,154,100,0.22);
    border-radius: 3px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); padding: 14px 0;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .3s ease;
    list-style: none; margin: 0;
}
.has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(8px); }
/* Pont invisible : comble le trou entre l'item de nav et le panneau pour garder le survol continu */
.nav-dropdown::before { content: ""; position: absolute; left: -20px; right: -20px; top: -16px; height: 18px; }
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
    display: block; padding: 9px 26px; color: rgba(255,255,255,0.78);
    font-size: 12px; letter-spacing: 0.08em; text-transform: none; font-weight: 300;
    transition: background .25s ease, color .25s ease, padding .25s ease;
}
.nav-dropdown a:hover,
.nav-dropdown a.is-active { background: rgba(189,154,100,0.12); color: var(--gold-soft); padding-left: 32px; }

.burger {
    display: none; color: #fff; font-size: 1.5rem; background: none; border: 0;
    cursor: pointer; line-height: 1; padding: 4px 8px;
}

/* ==========================================================================
   MENU MOBILE (panneau plein écran navy)
   ========================================================================== */
.mobile-nav {
    position: fixed; inset: 0; z-index: 90; background: rgba(13,21,32,0.98);
    backdrop-filter: blur(4px);
    display: flex; flex-direction: column;
    padding: 90px 32px 40px;
    transform: translateX(100%); transition: transform .4s ease;
    overflow-y: auto; visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav-close {
    position: absolute; top: 26px; right: 26px; background: none; border: 0;
    color: #fff; font-size: 1.7rem; cursor: pointer; line-height: 1;
}
.mobile-nav-links { list-style: none; margin: 0; padding: 0; }
.mobile-nav-links > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-links > li > a,
.mobile-nav-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    color: rgba(255,255,255,0.88); font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; padding: 18px 0; letter-spacing: 0.5px;
}
.mobile-nav-links a.is-active,
.mobile-nav-toggle.is-active { color: var(--gold-soft); }
.mobile-nav-toggle .fa-chevron-down { font-size: 0.9rem; transition: transform .3s ease; color: var(--gold); }
.mobile-nav-toggle.open .fa-chevron-down { transform: rotate(180deg); }
.mobile-subnav {
    list-style: none; margin: 0; padding: 0 0 10px;
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
}
.mobile-subnav.open { max-height: 700px; }
.mobile-subnav a {
    display: block; padding: 9px 0 9px 16px; color: rgba(255,255,255,0.66);
    font-family: 'Jost', sans-serif; font-size: 0.95rem; font-weight: 300;
    border-left: 1px solid rgba(189,154,100,0.3);
}
.mobile-subnav a.is-active { color: var(--gold-soft); }
.mobile-nav-cta {
    margin-top: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border: 1px solid var(--gold); color: var(--gold-soft); padding: 14px 26px; border-radius: 2px;
    font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; align-self: flex-start;
}
body.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO (accueil) + boutons élégants
   ========================================================================== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    margin-top: -110px; padding-top: 110px;
    background: #0d1520; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.05); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1.14); } }
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(13,21,32,0.92) 0%, rgba(13,21,32,0.72) 42%, rgba(13,21,32,0.35) 100%);
}
/* padding vertical seulement : le horizontal (28px) vient de .wrap — sinon contenu collé au bord sur mobile */
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { color: #fff; font-size: clamp(2.9rem, 6.5vw, 5.2rem); font-weight: 500; letter-spacing: 0.5px; margin-bottom: 8px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lead { color: rgba(255,255,255,0.8); font-size: 1.2rem; font-weight: 300; max-width: 540px; margin: 26px 0 38px; line-height: 1.7; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.btn-elegant {
    display: inline-flex; align-items: center; gap: 11px; padding: 16px 34px; border-radius: 2px;
    font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
    transition: all .35s ease; cursor: pointer; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(189,154,100,0.3); color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.hero-meta { position: absolute; bottom: 38px; left: 0; right: 0; z-index: 2; }
.hero-meta .wrap { display: flex; gap: 40px; flex-wrap: wrap; color: rgba(255,255,255,0.62); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta i { color: var(--gold); }

/* ==========================================================================
   PAGE-HERO (bannière interne compacte) — remplace .page-head
   ========================================================================== */
.page-hero {
    position: relative; min-height: 44vh; display: flex; align-items: center;
    margin-top: -110px; padding: 150px 0 60px;
    background: var(--navy); overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, rgba(13,21,32,0.92) 0%, rgba(13,21,32,0.7) 55%, rgba(13,21,32,0.45) 100%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: 0.5px; margin: 6px 0 0; }
.page-hero h1 em { font-style: italic; color: var(--gold-soft); }
.page-hero .page-hero-sub { color: rgba(255,255,255,0.78); font-size: 1.1rem; font-weight: 300; margin-top: 18px; max-width: 620px; }

/* ==========================================================================
   SECTIONS génériques
   ========================================================================== */
section.pad,
.pad { padding: clamp(80px, 11vw, 150px) 0; }
.pad-sm { padding: clamp(56px, 7vw, 96px) 0; }

/* ---- Présentation (accueil) ---- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.intro-copy p { color: #444b54; margin-bottom: 20px; }
.intro-copy p:first-of-type { font-size: 1.18rem; color: var(--ink); }
.quote { border-left: 2px solid var(--gold); padding: 6px 0 6px 28px; margin: 8px 0 4px; }
.quote .latin { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.7rem; color: var(--navy); }
.quote .latin-sub { color: var(--muted); font-size: .98rem; margin-top: 6px; }
.intro-media { position: relative; }
.intro-media img { border-radius: 3px; box-shadow: 0 30px 70px rgba(21,32,47,0.22); }
.intro-media .frame { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: 3px; z-index: -1; }

/* ---- Domaines (accueil) ---- */
.domains { background: var(--navy); color: #fff; }
.domains .section-title-elegant { color: #fff; }
.domains .section-title-elegant em { color: var(--gold-soft); }
.domains-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.domains-head p { color: rgba(255,255,255,0.62); margin-top: 18px; font-weight: 300; }
.domain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.domain {
    background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; padding: 42px 34px;
    transition: all .4s ease; position: relative; overflow: hidden;
}
.domain::before {
    content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 2px; background: var(--gold);
    transform: scaleY(0); transform-origin: top; transition: transform .4s ease;
}
.domain:hover { background: rgba(255,255,255,0.06); border-color: var(--line); transform: translateY(-6px); }
.domain:hover::before { transform: scaleY(1); }
.domain .ic { width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.35rem; margin-bottom: 26px; transition: all .4s ease; }
.domain:hover .ic { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.domain h3 { font-size: 1.55rem; color: #fff; margin-bottom: 12px; }
.domain p { color: rgba(255,255,255,0.58); font-size: .96rem; font-weight: 300; margin-bottom: 20px; }
.domain .more { color: var(--gold-soft); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; transition: gap .3s ease; }
.domain:hover .more { gap: 14px; }

/* ---- Valeurs (accueil) ---- */
.values { background: var(--ivory); }
.values-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.values-media { position: relative; }
.values-media img { border-radius: 3px; box-shadow: 0 26px 60px rgba(21,32,47,0.18); }
.values-media .badge {
    position: absolute; bottom: -26px; right: -26px; background: var(--navy); color: #fff;
    padding: 26px 32px; border-radius: 3px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.values-media .badge .n { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; color: var(--gold-soft); line-height: 1; }
.values-media .badge .l { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 6px; }
.values-copy p { color: #444b54; margin-bottom: 22px; }
.vlist { list-style: none; margin-top: 30px; display: grid; gap: 16px; padding-left: 0; }
.vlist li { display: flex; align-items: flex-start; gap: 16px; }
.vlist i { color: var(--gold); margin-top: 4px; }
.vlist b { font-family: 'Jost', sans-serif; font-weight: 500; color: var(--navy); }

/* ---- Équipe (accueil) — .lawyer renommé .lawyer-elegant (collision style.css) ---- */
.team-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.team-head p { color: var(--muted); margin-top: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.lawyer-elegant { text-align: center; }
.lawyer-elegant-photo { position: relative; border-radius: 4px; overflow: hidden; margin-bottom: 26px; }
.lawyer-elegant-photo img { width: 100%; aspect-ratio: 3/3.4; object-fit: cover; transition: transform .6s ease; filter: grayscale(0.15); }
.lawyer-elegant:hover .lawyer-elegant-photo img { transform: scale(1.05); filter: grayscale(0); }
.lawyer-elegant-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,32,47,0.55), transparent 45%); }
.lawyer-elegant-photo .frame { position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,0.35); border-radius: 3px; z-index: 2; pointer-events: none; }
.lawyer-elegant h3 { font-size: 1.6rem; color: var(--navy); }
.lawyer-elegant .role { color: var(--gold); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin: 8px 0 16px; }
.lawyer-elegant .spec { color: var(--muted); font-size: .95rem; font-weight: 300; }
.lawyer-elegant .rdv { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--navy); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid var(--gold); transition: gap .3s ease; }
.lawyer-elegant .rdv:hover { gap: 14px; }

/* ---- CTA contact (accueil) ---- */
.cta {
    background: linear-gradient(rgba(13,21,32,0.9), rgba(13,21,32,0.9)), url('../images/avocat-chambery-1.jpg') center/cover no-repeat;
    color: #fff; text-align: center;
}
.cta .section-title-elegant { color: #fff; }
.cta p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 22px auto 38px; font-weight: 300; }
.cta-info { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-top: 54px; }
.cta-info .item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-info .item i { color: var(--gold); font-size: 1.3rem; }
.cta-info .item .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.cta-info .item .v { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: #fff; }

/* ==========================================================================
   .prose — contenu rédactionnel des pages internes (centralise ul li::before)
   ========================================================================== */
.prose { color: #444b54; }
.prose-narrow { max-width: 820px; margin: 0 auto; }
.prose-article { max-width: 760px; margin: 0 auto; }
.prose .eyebrow { margin-bottom: 18px; }
.prose h2 {
    font-family: 'Cormorant Garamond', serif; color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.2;
    margin: 48px 0 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
    font-family: 'Cormorant Garamond', serif; color: var(--navy);
    font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 600; line-height: 1.25;
    margin: 36px 0 14px;
}
.prose p { margin-bottom: 20px; }
.prose strong, .prose b { color: var(--navy); font-weight: 500; }
.prose a {
    color: var(--gold); text-decoration: underline; text-underline-offset: 3px;
    text-decoration-color: var(--line); transition: color .25s ease, text-decoration-color .25s ease;
}
.prose a:hover { color: var(--navy); text-decoration-color: var(--gold); }
.prose ul { list-style: none; padding-left: 0; margin: 0 0 24px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.prose ul li::before {
    content: ""; position: absolute; left: 4px; top: 0.7em;
    width: 7px; height: 7px; background: var(--gold);
    transform: rotate(45deg);
}
.prose ol { padding-left: 22px; margin: 0 0 24px; }
.prose ol li { margin-bottom: 12px; }
.prose ol li::marker { color: var(--gold); font-weight: 600; }
.prose blockquote,
.prose .quote {
    border-left: 2px solid var(--gold); padding: 6px 0 6px 28px; margin: 28px 0;
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.4rem; color: var(--navy); line-height: 1.4;
}
.prose img { border-radius: 3px; margin: 28px 0; box-shadow: 0 22px 50px rgba(21,32,47,0.16); }

/* ==========================================================================
   .faq — accordéon (texte Q/R préservé, structure animée)
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 24px 4px; font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; color: var(--navy);
    line-height: 1.3; transition: color .25s ease;
}
.faq-q:hover { color: var(--gold); }
.faq-q .faq-chevron {
    flex: 0 0 auto; color: var(--gold); font-size: 0.9rem;
    transition: transform .35s ease;
}
.faq-item.open .faq-q .faq-chevron { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-a { padding-bottom: 24px; }
.faq-a-inner { color: #444b54; padding-right: 30px; }
.faq-a-inner p { margin-bottom: 16px; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ==========================================================================
   .contact-form — restyle du formulaire de contact (scopé)
   ========================================================================== */
.contact-form { }
.contact-form label {
    display: block; font-family: 'Jost', sans-serif; font-weight: 500; font-size: 12px;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%; background: #fff; border: 1px solid #d9d4ca; border-radius: 2px;
    padding: 14px 16px; font-family: 'Jost', sans-serif; font-size: 16px; font-weight: 300;
    color: var(--ink); margin-bottom: 20px; transition: border-color .3s ease, box-shadow .3s ease;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(189,154,100,0.14);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); opacity: 1; }
.contact-form button[type="submit"],
.contact-form #submit,
.contact-form .btn-gold {
    display: inline-flex; align-items: center; gap: 11px; padding: 15px 34px; border-radius: 2px;
    background: var(--gold); color: var(--navy); border: 1px solid var(--gold);
    font-family: 'Jost', sans-serif; font-size: 13px; letter-spacing: 0.16em;
    text-transform: uppercase; font-weight: 500; cursor: pointer; transition: all .35s ease;
}
.contact-form button[type="submit"]:hover,
.contact-form #submit:hover,
.contact-form .btn-gold:hover {
    background: var(--gold-soft); border-color: var(--gold-soft);
    transform: translateY(-2px); box-shadow: 0 14px 30px rgba(189,154,100,0.28);
}
.contact-form .form-output { margin-top: 14px; font-size: 0.95rem; }

/* ==========================================================================
   .blog-grid / .blog-card — grille articles (remplace masonry isotope)
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card {
    background: #fff; border: 1px solid rgba(21,32,47,0.07); border-radius: 4px; overflow: hidden;
    display: flex; flex-direction: column; transition: transform .4s ease, box-shadow .4s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(21,32,47,0.14); }
.blog-card-media { overflow: hidden; aspect-ratio: 16/10; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.06); }
.blog-card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { color: var(--gold); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.blog-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--navy); line-height: 1.25; margin-bottom: 14px; }
.blog-card-title a { color: inherit; transition: color .25s ease; }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { color: var(--muted); font-size: 0.96rem; font-weight: 300; margin-bottom: 22px; flex: 1; }
.blog-card-more { color: var(--navy); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: 9px; transition: gap .3s ease; align-self: flex-start; }
.blog-card-more:hover { gap: 14px; color: var(--gold); }

/* ==========================================================================
   .team-card — carte avocat (qui-sommes-nous)
   ========================================================================== */
.team-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { text-align: center; }
.team-card-photo { position: relative; border-radius: 4px; overflow: hidden; margin-bottom: 24px; }
.team-card-photo img { width: 100%; aspect-ratio: 3/3.4; object-fit: cover; filter: grayscale(0.15); transition: transform .6s ease, filter .6s ease; }
.team-card:hover .team-card-photo img { transform: scale(1.04); filter: grayscale(0); }
.team-card-photo .frame { position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,0.35); border-radius: 3px; z-index: 2; pointer-events: none; }
.team-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; color: var(--navy); margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.team-card .spec { color: var(--muted); font-size: 0.95rem; font-weight: 300; }
.team-card .rdv { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: var(--navy); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid var(--gold); transition: gap .3s ease; }
.team-card .rdv:hover { gap: 14px; }

/* ==========================================================================
   .site-footer — footer sombre élégant 3 colonnes
   ========================================================================== */
.site-footer { background: #0e1722; color: rgba(255,255,255,0.55); }
.site-footer-main { padding: clamp(60px, 8vw, 96px) 0 48px; }
.site-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; }
.site-footer-col h5 {
    font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: #fff;
    font-weight: 600; margin: 0 0 22px; position: relative; padding-bottom: 14px;
}
.site-footer-col h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 1px; background: var(--gold); }
.site-footer-col p { font-size: 0.96rem; font-weight: 300; line-height: 1.7; margin-bottom: 18px; }
.site-footer-logo { margin-top: 8px; }
.site-footer-logo img { width: 88px; height: auto; }
.site-footer-contact { list-style: none; margin: 0; padding: 0; }
.site-footer-contact li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 0.96rem; font-weight: 300; }
.site-footer-contact i { color: var(--gold); margin-top: 5px; flex: 0 0 auto; }
.site-footer-contact a { color: rgba(255,255,255,0.7); transition: color .25s ease; }
.site-footer-contact a:hover { color: var(--gold-soft); }
.site-footer-links { list-style: none; margin: 0; padding: 0; }
.site-footer-links li { margin-bottom: 11px; }
.site-footer-links a {
    color: rgba(255,255,255,0.6); font-size: 0.92rem; font-weight: 300;
    transition: color .25s ease, padding-left .25s ease; display: inline-block;
}
.site-footer-links a:hover { color: var(--gold-soft); padding-left: 6px; }
.site-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    font-size: 0.86rem;
}
.site-footer-legal a { color: rgba(255,255,255,0.6); transition: color .25s ease; }
.site-footer-legal a:hover { color: var(--gold-soft); }
.site-footer-legal .sep { color: rgba(255,255,255,0.25); margin: 0 8px; }
.site-footer-credit { color: rgba(255,255,255,0.45); display: inline-flex; align-items: center; gap: 8px; }
.site-footer-credit img { display: inline-block; vertical-align: middle; }

/* ---- Scroll-up ---- */
.scroll-up-elegant {
    position: fixed; right: 26px; bottom: 26px; z-index: 60;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--gold); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, background .3s ease;
    box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}
.scroll-up-elegant.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-up-elegant:hover { background: var(--gold-soft); color: var(--navy); }

/* ==========================================================================
   Reveal / animations (ne masque que si JS actif)
   ========================================================================== */
.js .reveal { opacity: 0; }
.js .reveal.in { animation: revealUp .9s ease forwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.anim-up { animation: fadeUp 1.1s ease both; }
.anim-up.delay { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .blog-grid,
    .team-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
    .intro-grid, .values-grid { grid-template-columns: 1fr; gap: 44px; }
    .domain-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .intro-media { order: -1; }
    .values-media .badge { right: 16px; }
    .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .site-footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .nav-links { display: none; }
    .burger { display: block; }
    .hero-meta { display: none; }
}
@media (max-width: 640px) {
    .theme-stacova { font-size: 16px; }
    .domain-grid { grid-template-columns: 1fr; }
    .blog-grid,
    .team-card-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .cta-info { gap: 32px; }
    .cta { background-attachment: scroll; }
    .site-footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .site-footer-col:first-child { grid-column: auto; }
    .site-footer-bottom { flex-direction: column; align-items: flex-start; }
}
