/* Juriséo — feuille de style principale (reprend la charte du site WordPress) */

/* Police Neue Haas Display (fichiers dans assets/fonts/) */
/* Graisses décalées d'un cran (textes plus fins) : 300 et 400 = Light, 500 = Roman, 700 = Medium */
@font-face { font-family: "Neue Haas"; src: url("../fonts/NeueHaasDisplayLight.ttf") format("truetype"); font-weight: 300 400; font-display: swap; }
@font-face { font-family: "Neue Haas"; src: url("../fonts/NeueHaasDisplayRoman.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Neue Haas"; src: url("../fonts/NeueHaasDisplayMediu.ttf") format("truetype"); font-weight: 600 900; font-display: swap; }

:root {
  --navy-900: #0E1E30;
  --navy-800: #1A2E4B;
  --slate:    #3E4B59;
  --grey-300: #CFD2D6;
  --grey-100: #EBEBEB;
  --grey-txt: #D9D9D9;
  --yellow:   #FFFBAD;
  --ink:      #1A2E4B;
  --white:    #FFFFFF;
  --font: "Neue Haas", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 50px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: 13px 24px; border-radius: var(--radius);
  background: var(--yellow); color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.1; border: 1px solid var(--yellow);
  cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); background: #fffbe0; }
.btn-dark { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btn-dark:hover { background: var(--navy-900); }
.btn-outline { background: transparent; color: var(--yellow); }
.btn-outline:hover { background: var(--yellow); color: var(--ink); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--yellow); margin: 0 0 1rem; }
.eyebrow a { text-decoration: none; }
.chip { display: inline-block; padding: 6px 14px; border: 1px solid currentColor; border-radius: var(--radius); text-decoration: none; font-size: .85rem; margin: 0 6px 6px 0; }
.chip.active, .chip:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.arrow { transition: transform .2s; }
a:hover > .arrow { transform: translateX(4px); }

/* En-tête */
.site-header { background: var(--navy-900); color: var(--white); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.brand { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-text { font-size: 2rem; letter-spacing: -.02em; display: flex; gap: 10px; align-items: center; }
.brand-text small { font-size: .7rem; line-height: 1.1; color: var(--grey-300); }
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav > ul { display: flex; gap: 20px; white-space: nowrap; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a, .sub-toggle { color: var(--white); text-decoration: none; font-size: .95rem; background: none; border: 0; font-family: inherit; cursor: pointer; padding: 8px 0; }
.main-nav a:hover, .sub-toggle:hover { color: var(--yellow); }
.sub-toggle::after { content: "▾"; margin-left: 6px; font-size: .7em; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -16px; min-width: 300px; max-height: 70vh; overflow: auto; list-style: none; margin: 0; padding: 12px 0;
  background: var(--navy-800); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.sub a { display: block; padding: 8px 20px; font-size: .9rem; }
.has-sub:hover > .sub, .has-sub.open > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.lang-switch a { opacity: .8; }
.nav-cta { display: flex; gap: 10px; white-space: nowrap; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--white); margin: 6px 0; transition: .2s; }

@media (max-width: 1400px) {
  .burger { display: block; }
  .main-nav { position: fixed; inset: 88px 0 0 0; background: var(--navy-900); flex-direction: column; align-items: stretch; padding: 24px var(--gutter) 40px;
    overflow-y: auto; transform: translateX(100%); transition: transform .25s; gap: 24px; }
  .nav-open .main-nav { transform: none; }
  .nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav a, .sub-toggle { display: block; width: 100%; text-align: left; padding: 14px 0; font-size: 1.1rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; max-height: none; background: transparent; padding: 0 0 12px 12px; min-width: 0; }
  .has-sub.open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open:hover > .sub { display: block; }
  .nav-cta { flex-direction: column; }
}

/* Accueil */
.hero { background: var(--navy-900); color: var(--grey-100); padding: clamp(40px, 8vw, 100px) 0 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.hero h1 { color: var(--grey-100); }
.hero-sub { font-size: clamp(1.2rem, 2.4vw, 1.8rem); margin: 0 0 32px; color: var(--grey-txt); }
.hero-text { padding-bottom: clamp(40px, 8vw, 100px); }
.hero-img img { max-height: 620px; width: 100%; object-fit: cover; object-position: top; }

.approach { background: var(--navy-800); color: var(--grey-txt); padding: clamp(60px, 9vw, 120px) 0; }
.approach h2 { color: var(--grey-100); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 48px 0; }
.approach-col { border-top: 1px solid rgba(255,251,173,.4); padding-top: 24px; }
.approach-col .num { color: var(--yellow); font-size: .85rem; letter-spacing: .1em; }
.approach-col h3 { color: var(--yellow); font-size: 1.5rem; margin-top: 12px; }
.approach-outro { font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--grey-100); max-width: 780px; margin: 0; }

.areas { background: var(--grey-100); padding: clamp(60px, 9vw, 120px) 0; }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.area-card { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; min-height: 140px; padding: 24px; border-radius: 16px;
  background: var(--white); text-decoration: none; transition: background .2s, color .2s; }
.area-card h3 { margin: 0; font-size: 1.3rem; }
.area-card:hover { background: var(--navy-800); color: var(--yellow); }

.team-home { padding: clamp(60px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.section-head p { margin: 0; font-size: 1.1rem; }
.team-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.team-thumb { scroll-snap-align: start; text-decoration: none; }
.team-thumb img { aspect-ratio: 3/4; object-fit: cover; width: 100%; border-radius: 12px; filter: grayscale(.2); transition: filter .2s; }
.team-thumb:hover img { filter: none; }
.team-thumb span { display: block; margin-top: 10px; font-size: .95rem; }

.tagline-band { background: var(--navy-900); color: var(--grey-100); padding: clamp(50px, 7vw, 90px) 0; }
.tagline-band h2 { margin: 0; max-width: 900px; }

.latest { background: var(--grey-300); padding: clamp(60px, 9vw, 110px) 0; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; margin: 32px 0 40px; }
.post-card-link { text-decoration: none; display: block; }
.post-card-img { aspect-ratio: 16/10; background: var(--navy-800); border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card-link:hover img { transform: scale(1.04); }
.post-card time { font-size: .85rem; color: var(--slate); }
.post-card h3 { margin: 6px 0 0; font-size: 1.15rem; line-height: 1.3; }
.post-card-link:hover h3 { text-decoration: underline; }

.jobs { padding: clamp(60px, 9vw, 110px) 0; }
.jobs-list { list-style: none; padding: 0; margin: 24px 0 32px; border-top: 1px solid var(--grey-300); }
.jobs-list a { display: flex; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--grey-300); text-decoration: none; font-size: 1.3rem; }
.jobs-list a:hover { color: var(--slate); }
.jobs .eyebrow { color: var(--slate); }

/* Bande « Vous avez des questions? » */
.cta-band { background: var(--navy-900); color: var(--grey-txt); padding: clamp(60px, 8vw, 100px) 0; }
.cta-band h2 { color: var(--grey-100); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-inner p { max-width: 560px; margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pied de page */
.site-footer { background: var(--slate); color: var(--grey-100); padding: 70px 0 30px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer h3 { font-size: 1rem; color: var(--yellow); margin-bottom: 16px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 8px; }
.footer-links a, .contact-lines a { text-decoration: none; opacity: .9; }
.footer-links a:hover, .contact-lines a:hover { color: var(--yellow); opacity: 1; }
.footer-links.small { margin-top: 24px; font-size: .9rem; }
.socials { display: flex; gap: 12px; margin-bottom: 20px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }
.socials a:hover { background: var(--yellow); color: var(--ink); }
.follow { margin: 0 0 12px; }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.nl-form input[type=email] { flex: 1 1 180px; padding: 12px 18px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--white); font: inherit; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .85rem; opacity: .85; }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 640px; }

/* Pages internes */
.page-hero { background: var(--navy-900); color: var(--grey-100); padding: clamp(50px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1 { max-width: 960px; }
.page-hero .lead { color: var(--grey-txt); max-width: 720px; font-size: 1.15rem; }
.page-hero time { color: var(--yellow); display: block; margin-bottom: 14px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 20px 0 0; font-size: .95rem; }
.post-meta a { text-decoration: none; }
.post-meta .chip { color: var(--grey-100); margin: 0; }
.page-content, .archive-wrap { padding-top: 60px; padding-bottom: 80px; }

.prose { font-size: 1.07rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose a { color: var(--navy-800); text-decoration-color: rgba(26,46,75,.4); text-underline-offset: 3px; }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose blockquote { border-left: 3px solid var(--yellow); margin: 1.5em 0; padding: .4em 0 .4em 1.2em; font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--grey-300); padding: 10px; text-align: left; }
.prose .blk { margin: 0 0 2em; }
.prose .grid-blk { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 1.5em 0 2em; }
.prose .grid-blk > * { background: var(--grey-100); border-radius: 12px; padding: 20px; }
.prose .grid-blk h3, .prose .grid-blk h4 { margin-top: 0; }
.prose details { border-bottom: 1px solid var(--grey-300); padding: 14px 0; }
.prose summary { cursor: pointer; font-size: 1.1rem; }
.prose .wp-btn { display: inline-block; margin: .4em 0 1em; }
.feature { width: 100%; border-radius: 16px; margin: 40px 0; max-height: 520px; object-fit: cover; }

.service-layout { display: grid; grid-template-columns: 280px 1fr; gap: 60px; padding-top: 60px; padding-bottom: 80px; }
.service-nav ul { list-style: none; margin: 0; padding: 0; position: sticky; top: 110px; border-left: 1px solid var(--grey-300); }
.service-nav a { display: block; padding: 7px 16px; text-decoration: none; font-size: .93rem; color: var(--slate); }
.service-nav a:hover { color: var(--ink); }
.service-nav .active a { color: var(--ink); border-left: 2px solid var(--navy-800); margin-left: -1px; font-weight: 500; }
.service-content > .feature:first-child { margin-top: 0; }

.share { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; border-top: 1px solid var(--grey-300); margin: 50px 0 80px; padding-top: 24px; }
.share span { font-weight: 500; }
.share .to-top { margin-left: auto; }

.filters { margin-bottom: 30px; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--grey-300); border-radius: var(--radius); text-decoration: none; }
.pagination a.current, .pagination a:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; padding: 60px 0 80px; }
.person a { text-decoration: none; }
.person-img { aspect-ratio: 3/4; background: var(--grey-100); border-radius: 12px; overflow: hidden; }
.person-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.person a:hover img { transform: scale(1.03); }
.person h2 { font-size: 1.2rem; margin: 14px 0 4px; }
.role { color: var(--slate); margin: 0 0 6px; }
.person .li { font-size: .85rem; color: var(--slate); }

.lawyer-layout { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 60px; padding-top: 60px; padding-bottom: 80px; align-items: start; }
.lawyer-photo img { border-radius: 16px; width: 100%; aspect-ratio: 3/4; object-fit: cover; position: sticky; top: 110px; }
.lawyer-body .eyebrow { color: var(--slate); }
.lawyer-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 36px; }

.appt-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; padding-top: 60px; padding-bottom: 80px; }
.appt-form { background: var(--grey-100); padding: clamp(20px, 4vw, 40px); border-radius: 16px; display: grid; gap: 16px; align-self: start; }
.appt-form label { display: grid; gap: 6px; font-size: .95rem; }
.appt-form input:not([type=checkbox]), .appt-form select, .appt-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--grey-300); border-radius: 10px; font: inherit; background: var(--white); color: var(--ink); }
.appt-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.appt-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.appt-form .check input { margin-top: 4px; }
.notice { padding: 12px 16px; border-radius: 10px; margin: 0 0 8px; }
.notice-success { background: #e3f4e5; color: #1d5e2b; }
.notice-error { background: #fbe6e6; color: #8a1f1f; }
.site-footer .notice-success { background: var(--yellow); color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .section-head, .appt-layout, .lawyer-layout, .service-layout { grid-template-columns: 1fr; }
  .hero-img { max-width: 420px; margin: 0 auto; }
  .approach-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-nav { order: 2; }
  .service-nav ul { position: static; }
  .lawyer-photo img { position: static; max-width: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .appt-form .row2 { grid-template-columns: 1fr; }
  .cta-actions .btn { flex: 1 1 100%; }
  .share .to-top { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Domaines / secteurs (champs ACF) */
.hero-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-photo img { border-radius: 16px; width: 100%; max-height: 440px; object-fit: cover; }
.service-hero .lead { margin: 0 0 28px; }
.service-main { min-width: 0; }
.svc-block { margin: 0 0 64px; }
.svc-block > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.svc-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.svc-intro .prose h2 { margin-top: 0; }
.svc-img { border-radius: 16px; width: 100%; object-fit: cover; }
.eyebrow.dark { color: var(--slate); }
.accordion details { border-bottom: 1px solid var(--grey-300); padding: 18px 0; }
.accordion details:first-child { border-top: 1px solid var(--grey-300); }
.accordion summary { cursor: pointer; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--slate); }
.accordion details[open] summary::after { content: "–"; }
.accordion .prose { padding-top: 12px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.why-card { background: var(--grey-100); border-radius: 14px; padding: 22px; text-decoration: none; display: block; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { margin: 0; font-size: .95rem; color: var(--slate); }
.link-card:hover { background: var(--navy-800); color: var(--yellow); }
.link-card:hover p { color: var(--grey-txt); }
.chips { margin: 0; }
.team-thumb small { display: block; color: var(--slate); font-size: .85rem; }
.lawyer-contact { list-style: none; padding: 0; margin: 0 0 28px; color: var(--slate); }
.lawyer-contact li { margin-bottom: 4px; }
.small-h { font-size: 1.2rem; margin-top: 32px; }
@media (max-width: 960px) { .hero-split, .svc-intro { grid-template-columns: 1fr; } }

/* =====================================================================
   Alignement sur juriseo.ca (accueil, en-tête, pied de page)
   ===================================================================== */
.btn-lg { font-size: 22px; padding: 12px 24px; border-radius: 66px; }
.btn-sm { font-size: 14px; padding: 5px 12px; border-radius: 25px; }
.btn-white { background: #fff; border-color: #fff; color: var(--navy-900); }
.btn-dark { color: var(--yellow); }

/* En-tête : menu dans une pastille claire */
.site-header { background: var(--navy-900); }
.header-inner { min-height: 110px; }
.brand img { height: 35px; }
@media (min-width: 1401px) {
  .main-nav > ul { background: #E7E8EA; border-radius: 50px; padding: 8px 10px; gap: 0; }
  .main-nav > ul > li > a, .main-nav .sub-toggle { color: var(--navy-800); padding: 7px 15px; font-size: 16px; }
  .main-nav > ul > li > a:hover, .main-nav .sub-toggle:hover { color: var(--navy-900); text-decoration: underline; text-underline-offset: 4px; }
  .lang-switch a { opacity: 1; }
  .nav-cta .btn { max-width: 150px; white-space: normal; line-height: 1.1; padding: 8px 18px; min-height: 50px; }
}

/* Héros */
.hero { padding: 40px 0 70px; }
.hero-inner { grid-template-columns: 1fr 575px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.2vw, 60px); line-height: 1; margin-bottom: 14px; }
.hero-sub { font-size: clamp(1.25rem, 2.1vw, 30px); line-height: 1.1; color: var(--grey-100); margin-bottom: 28px; }
.hero-text { padding: 0; align-self: end; padding-bottom: 40px; }
.hero-slides { position: relative; aspect-ratio: 1; width: 100%; max-width: 575px; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1s ease; }
.hero-slides img.on { opacity: 1; }

/* Notre approche */
.approach { padding: 70px 0 80px; }
.approach h2 { color: var(--yellow); text-align: center; font-size: clamp(2.2rem, 4.2vw, 60px); margin-bottom: 50px; }
.approach-grid { margin: 0; gap: 24px; }
.approach-card { background: var(--navy-900); border-radius: 5px; padding: 28px 26px; min-height: 185px; }
.approach-card h3 { color: var(--yellow); font-size: 16px; margin: 0 0 14px; }
.approach-card p { color: var(--grey-txt); font-size: 16px; line-height: 1.4; margin: 0; }
.approach-outro { background: var(--grey-100); padding: clamp(60px, 9vw, 140px) 0; }
.approach-outro p { max-width: 1100px; margin: 0 auto; text-align: center; color: var(--navy-900); font-size: clamp(1.3rem, 2.1vw, 30px); line-height: 1.27; }

/* Domaines de pratique */
.areas { position: relative; background: var(--navy-900) url("../img/accueil/domaines-fond.jpg") center/cover no-repeat; padding: 70px 0 90px; }
.areas::before { content: ""; position: absolute; inset: 0; background: rgba(26, 46, 75, .82); }
.areas .wrap { position: relative; }
.areas h2 { color: var(--yellow); text-align: center; font-size: clamp(2.2rem, 4.2vw, 60px); margin-bottom: 60px; }
.areas-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; max-width: 1180px; margin: 0 auto; }
.areas-cols ul { list-style: none; margin: 0; padding: 0; }
.areas-cols li { border-top: 2px solid var(--yellow); }
.areas-cols a { display: block; padding: 10px; text-align: center; text-decoration: none; }
.areas-cols h3 { margin: 0; color: #E7E8EA; font-size: clamp(1.2rem, 2.1vw, 30px); line-height: 1; transition: color .2s; }
.areas-cols a:hover h3 { color: var(--yellow); }

/* Équipe : deux rangées défilantes */
.team-home { padding: 75px 0; overflow: hidden; }
.team-home h2 { text-align: center; color: #000; font-size: clamp(2rem, 3.5vw, 50px); margin-bottom: 14px; }
.team-intro { text-align: center; max-width: 900px; margin: 0 auto 40px; color: #000; }
.team-rows { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.team-row { display: flex; gap: 16px; width: max-content; animation: team-scroll 70s linear infinite; }
.team-row.rev { animation-direction: reverse; }
.team-rows:hover .team-row { animation-play-state: paused; }
.team-row .team-thumb { width: 277px; flex: none; }
.team-row .team-thumb img { aspect-ratio: 277/415; border-radius: 10px; filter: none; }
@keyframes team-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .team-row { animation: none; } .team-rows { overflow-x: auto; } }

/* Bande slogan */
.tagline-band { position: relative; overflow: hidden; min-height: 450px; display: grid; place-items: center; text-align: center; }
.tagline-band::before { content: ""; position: absolute; inset: -40%; background: url("../img/accueil/aura.png") center/contain no-repeat; opacity: .8; }
.tagline-band::after, .jobs-home::before { content: ""; position: absolute; inset: 40px 6%; background: url("../img/accueil/crochets.png") center/100% 100% no-repeat; opacity: .1; pointer-events: none; }
.tagline-band .wrap { position: relative; z-index: 1; }
.tagline-band h2 { color: var(--yellow); font-size: clamp(1.6rem, 2.8vw, 40px); line-height: 1.12; max-width: none; }

/* Publications (accueil) */
.home-latest { background: var(--grey-300); padding: 70px 0; }
.home-latest h2 { color: var(--navy-800); font-size: clamp(2rem, 3.5vw, 50px); }
.slider { position: relative; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 0 20px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track .post-card { scroll-snap-align: start; }
.slider-nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 20px; }
.slider-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--navy-800); background: transparent; color: var(--navy-800); font-size: 18px; cursor: pointer; }
.slider-nav button:hover { background: var(--navy-800); color: var(--yellow); }
.home-latest .post-card-img { aspect-ratio: 336/220; border-radius: 10px; }
.home-latest .post-card time { display: block; text-align: right; font-size: 12px; color: var(--navy-800); }
.home-latest .post-card h3 { font-size: 16px; color: var(--navy-800); }
@media (max-width: 1000px) { .slider-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .slider-track { grid-auto-columns: 85%; } }

/* Rejoindre notre équipe */
.jobs-home { position: relative; text-align: center; padding: 90px 0; overflow: hidden; }
.jobs-home::before { filter: invert(1); inset: 50px 4%; opacity: .12; }
.jobs-home .wrap { position: relative; }
.jobs-home h2 { color: var(--navy-800); font-size: clamp(2.2rem, 4.2vw, 60px); margin-bottom: 6px; }
.jobs-home .jobs-sub { color: var(--navy-800); font-size: clamp(1.3rem, 2.1vw, 30px); margin-bottom: 22px; }
.job-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 0 0 28px; }
.job-chips a { background: var(--yellow); color: var(--navy-900); text-decoration: none; padding: 6px 14px; border-radius: 6px; font-size: 20px; }
.job-chips a:hover { background: var(--navy-800); color: var(--yellow); }

/* Formulaire « Vous avez des questions? » */
.cta-band { display: none; }
.contact-band { background: var(--navy-900); color: var(--yellow); padding: 70px 0 80px; }
.contact-band h2 { color: var(--yellow); text-align: center; font-size: 30px; margin-bottom: 10px; }
.contact-intro { text-align: center; font-size: 16px; margin: 0 0 40px; }
.contact-form { display: grid; gap: 18px; max-width: none; margin: 0 auto; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input:not([type=checkbox]), .contact-form textarea { width: 100%; background: transparent; border: 1px solid var(--yellow); border-radius: 4px; color: var(--yellow); padding: 12px 14px; font: inherit; font-size: 15px; }
.contact-form ::placeholder { color: rgba(255, 251, 173, .7); }
.contact-form .form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact-form .check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.contact-form .btn { padding: 10px 28px; }
@media (max-width: 600px) { .contact-form .row2 { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { padding: 60px 0 0; font-size: 12px; overflow: hidden; }
.footer-top { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 12px; margin: 22px 0 10px; font-weight: 500; }
.site-footer h3.mt { margin-top: 26px; }
.follow { color: var(--yellow); font-size: 12px; }
.socials a { background: var(--yellow); color: var(--navy-800); border: 0; width: 32px; height: 32px; }
.footer-links a, .footer-links li { color: #fff; font-size: 12px; }
.footer-links li { margin-bottom: 6px; }
.site-footer .newsletter { margin-top: 30px; }
.nl-form { align-items: center; max-width: 640px; }
.nl-label { color: var(--yellow); margin-right: 8px; }
.nl-form input[type=email] { padding: 8px 14px; font-size: 13px; }
.footer-bottom { border-top: 0; margin-top: 24px; padding-top: 0; font-size: 12px; color: #fff; opacity: 1; }
.footer-logo { padding: 30px var(--gutter) 0; line-height: 0; }
.footer-logo img { width: 100%; height: auto; display: block; transform: translateY(8%); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-slides { max-width: 420px; margin: 0 auto; }
  .areas-cols { grid-template-columns: 1fr; }
  .areas-cols ul + ul li:first-child { border-top: 2px solid var(--yellow); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } .team-row .team-thumb { width: 180px; } }
.hp { width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; left: -9999px; }
html, body { overflow-x: clip; }
.approach-outro { max-width: none; margin: 0; }
.main-nav .nav-cta .btn { background: var(--yellow); color: var(--navy-800); border-radius: 50px; font-size: 15px; text-align: center; }
.main-nav .nav-cta .btn:hover { background: #fffbe0; color: var(--navy-900); }
@media (min-width: 1401px) { .main-nav .nav-cta .btn { padding: 8px 18px; min-height: 50px; display: inline-flex; align-items: center; } }
@media (min-width: 1401px) {
  .header-inner { max-width: var(--wrap); }
  .main-nav .nav-cta .btn { flex: none; max-width: none; white-space: nowrap; min-height: 46px; padding: 10px 20px; border-radius: 50px; }
}

/* Menu déroulant (comme juriseo.ca) */
.sub-toggle::after { content: ""; display: inline-block; margin-left: 10px; border: 5px solid transparent; border-top: 6px solid currentColor; border-bottom: 0; vertical-align: 2px; }
.sub2 { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1401px) {
  .main-nav .has-sub > .sub-toggle { border-radius: 50px; transition: background .15s; }
  .main-nav .has-sub:hover > .sub-toggle, .main-nav .has-sub.open > .sub-toggle, .main-nav .has-sub:focus-within > .sub-toggle { background: var(--yellow); color: var(--navy-800); text-decoration: none; }
  .main-nav .sub { top: calc(100% + 4px); left: 0; min-width: 252px; max-height: none; overflow: visible; padding: 8px 0; background: #fff; border-radius: 0; box-shadow: 0 6px 18px rgba(14, 30, 48, .12); transform: none; transition: opacity .15s, visibility .15s; }
  .main-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  .main-nav .sub li { position: relative; }
  .main-nav .sub a { display: block; padding: 12px 27px; font-size: 15px; color: var(--navy-800); white-space: nowrap; }
  .main-nav .sub a:hover, .main-nav .sub li:hover > a, .main-nav .sub a:focus-visible { color: var(--navy-800); background: var(--yellow); text-decoration: none; }
  .main-nav .has-sub2 > a::after { content: ""; display: inline-block; margin-left: 10px; border: 5px solid transparent; border-left: 6px solid currentColor; border-right: 0; vertical-align: -1px; }
  .main-nav .sub2 { position: absolute; top: -8px; left: 100%; min-width: 230px; padding: 8px 0; background: #fff; box-shadow: 0 6px 18px rgba(14, 30, 48, .12); opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
  .main-nav .has-sub2:hover > .sub2, .main-nav .has-sub2:focus-within > .sub2 { opacity: 1; visibility: visible; }
}
@media (max-width: 1400px) {
  .sub2 { padding-left: 16px; }
  .sub2 a { font-size: 1rem !important; opacity: .85; }
}

/* Survol des boutons jaunes : fond bleu marine, texte jaune (comme juriseo.ca) */
.btn:hover, .btn:focus-visible,
.main-nav .nav-cta .btn:hover, .main-nav .nav-cta .btn:focus-visible { background: var(--navy-800); border-color: var(--navy-800); color: var(--yellow); transform: none; }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--navy-800); }
.btn-white:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); }
@media (min-width: 1401px) {
  .main-nav .nav-cta { gap: 20px; }
  .main-nav .nav-cta .btn { white-space: nowrap; max-width: none; min-height: 50px; padding: 8px 22px; font-size: 16px; line-height: 1; border-radius: 50px; transition: background .2s, color .2s; }
}

/* Cartes « Notre approche » : fond juriseo_back.png, texte centré verticalement */
.approach-card { position: relative; overflow: hidden; background: var(--navy-900); border-radius: 5px; aspect-ratio: auto; min-height: 185px; padding: 30px 35px; display: flex; flex-direction: column; justify-content: center; }
.approach-card::before { content: ""; position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; transform: translate(-50%, -50%); background: url("../img/juriseo_back.png") center/contain no-repeat; opacity: .1; pointer-events: none; }
.approach-card > * { position: relative; }
.approach-card h3 { margin: 0; }
.approach-card p { margin: 0; }
.approach-card h3, .approach-card p { font-size: 17px; line-height: 1.15; }
.approach-card h3, .approach-card p { font-weight: 300; }
.hero-sub { font-weight: 300; }
.approach-outro p { font-weight: 300; }
@media (min-width: 1401px) {
  .main-nav > ul > li > a { border-radius: 50px; transition: background .15s; }
  .main-nav > ul > li > a:hover, .main-nav > ul > li > a:focus-visible { background: var(--yellow); color: var(--navy-800); text-decoration: none; }
}
.areas-cols li:last-child { border-bottom: 2px solid var(--yellow); }
.team-home h2, .team-intro { font-weight: 300; }
@media (min-width: 1100px) { .team-intro { max-width: none; white-space: nowrap; } }

/* Carrousel de l'équipe : défilement lent piloté en JS, glisser-déposer */
.team-row { animation: none !important; will-change: transform; touch-action: pan-y; }
.team-rows { cursor: grab; user-select: none; -webkit-user-select: none; }
.team-rows.dragging { cursor: grabbing; }
.team-row img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }

/* Bande slogan : sans halo, crochets rapprochés du texte */
.tagline-band::before { content: none; }
.tagline-band::after { inset: auto; left: 50%; top: 50%; width: min(820px, 90%); height: 240px; transform: translate(-50%, -50%); }

/* Héros : photos des avocats (base de données), forme « feuille » comme les portraits d'origine */
.hero-people img { object-fit: cover; object-position: center 15%; border-radius: 28% 0 28% 0; background: var(--navy-800); }

/* En-tête centré : logo, menu et boutons regroupés au centre de la page */
@media (min-width: 1401px) {
  .header-inner { max-width: none; padding: 0 40px; display: flex; justify-content: center; align-items: center; gap: 28px; }
  .header-inner .brand { flex: none; }
  .header-inner .brand img { max-width: none; width: auto; height: 35px; }
  .header-inner .main-nav { display: contents; }
  .header-inner .main-nav > ul { margin: 0; flex: none; }
  .header-inner .nav-cta { flex: none; gap: 12px; }
}
@media (min-width: 1401px) and (max-width: 1640px) {
  .main-nav > ul > li > a, .main-nav .sub-toggle { padding-left: 11px; padding-right: 11px; }
  .main-nav .nav-cta .btn { padding-left: 16px; padding-right: 16px; }
}

/* « À lire sur le sujet » : ligne jaune au-dessus de chaque carte, date à droite au-dessus de l'image */
.latest .post-card { border-top: 2px solid var(--yellow); padding-top: 22px; }
.latest .post-card-link { display: flex; flex-direction: column; }
.latest .post-card time { order: -1; display: block; text-align: right; font-size: 12px; color: var(--navy-800); margin-bottom: 8px; }
.latest .post-card-img { aspect-ratio: 336/220; border-radius: 10px; margin-bottom: 0; }
.latest .post-card h3 { margin-top: 22px; font-size: 16px; color: var(--navy-800); }
.latest .posts-grid { gap: 10px; }
.latest .slider-track { gap: 10px; grid-auto-columns: calc((100% - 30px) / 4); }
@media (max-width: 1000px) { .latest .slider-track { grid-auto-columns: calc((100% - 10px) / 2); } }
@media (max-width: 600px) { .latest .slider-track { grid-auto-columns: 85%; } }
.latest .slider-track { cursor: grab; padding-bottom: 10px; scroll-snap-type: x proximity; }
.latest .slider-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.latest .slider-track.dragging a { pointer-events: none; }
.latest .slider-track img { -webkit-user-drag: none; user-select: none; }
.latest .slider + .center { margin-top: 10px; }

/* Rejoindre notre équipe : crochets rapprochés du texte (comme la bande slogan) */
.jobs-home::before { inset: auto; left: 50%; top: 50%; width: min(820px, 90%); height: 320px; transform: translate(-50%, -50%); }

/* Offres d'emploi (gabarit job.php) */
.job .page-hero .job-office { color: var(--yellow); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin: 0 0 12px; }
.job .page-hero .lead { margin-top: 18px; max-width: 760px; }
.job .wrap.narrow { padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(50px, 7vw, 90px); }
.job-intro { margin-bottom: 30px; }
.job-block { border-top: 2px solid var(--yellow); padding: 26px 0 8px; }
.job-block h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--navy-800); margin: 0 0 14px; }
.job-block .prose ul { padding-left: 1.2em; }
.job-block .prose li { margin-bottom: .35em; }
.job-fact { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: 10px 30px; align-items: baseline; }
.job-fact h2 { margin: 0; }
.job-fact p { margin: 0 0 18px; font-size: 1.1rem; }
.job-apply { border-top: 2px solid var(--yellow); padding-top: 30px; margin-top: 10px; }
.job-apply .prose p:not(:first-child) { font-size: .95rem; color: var(--slate); }
.job-apply p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 26px 0 0; }
.job-contact { color: var(--navy-800); }
@media (max-width: 700px) { .job-fact { grid-template-columns: 1fr; } }

/* Page Carrière */
.careers-list { background: #E6E7E9; padding: clamp(50px, 6vw, 80px) 0 clamp(60px, 7vw, 100px); }
.careers-list > .wrap { max-width: calc(1140px + 2 * var(--gutter)); }
.careers-office { background: var(--navy-900); color: var(--white); border-radius: 5px; padding: clamp(40px, 4.5vw, 56px) clamp(20px, 4vw, 60px) clamp(48px, 5.5vw, 70px); text-align: center; margin: 0 0 50px; }
.careers-office h2 { color: var(--white); font-weight: 400; font-size: clamp(2.4rem, 4.2vw, 60px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 clamp(26px, 3vw, 38px); }
.careers-jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.careers-jobs a { display: inline-block; background: var(--yellow); color: var(--navy-900); text-decoration: none; font-size: 17px; letter-spacing: -.02em; padding: 9px 11px; transition: background .15s, color .15s; }
.careers-jobs a:hover { background: var(--white); }
.careers-none { color: var(--white); font-weight: 300; font-size: clamp(1.15rem, 2vw, 28px); letter-spacing: -.02em; margin: 0; }
.careers-spont { background: var(--white); border-radius: 14px; padding: clamp(26px, 4vw, 44px); margin-top: 40px; text-align: center; }
.careers-spont h2 { margin: 0 0 10px; color: var(--navy-800); }
.careers-spont p { margin: 0 0 22px; }

/* ---------- Formulaires HubSpot (mêmes formulaires que l'ancien site) ---------- */
.hs-embed .hs-form fieldset { max-width: none !important; }
.hs-embed .hs-form-field { margin: 0 0 16px; }
.hs-embed .hs-form-field > label:empty, .hs-embed .hs-form-field > label span:empty { display: none; }
.hs-embed .hs-input:not([type=checkbox]):not([type=radio]) { width: 100% !important; box-sizing: border-box; font: inherit; font-size: 15px; border-radius: 4px; padding: 12px 14px; }
.hs-embed textarea.hs-input { min-height: 110px; resize: vertical; }
.hs-embed .inputs-list { list-style: none; margin: 0; padding: 0; }
.hs-embed .hs-form-booleancheckbox-display { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.hs-embed .hs-form-booleancheckbox-display .hs-input { width: auto; margin: 0; transform: scale(1.3); flex: none; }
.hs-embed .hs-error-msgs { list-style: none; margin: -8px 0 12px; padding: 0; }
.hs-embed .hs-error-msg, .hs-embed .hs-main-font-element { color: #ff8a80; font-size: 13px; }
.hs-embed .hs_recaptcha { visibility: hidden; height: 0; overflow: hidden; margin: 0; }
.hs-embed .hs-button { font: inherit; font-size: 16px; cursor: pointer; border: 0; border-radius: 999px; padding: 10px 28px; background: var(--yellow); color: var(--navy-900); transition: background .2s, color .2s; }
.hs-embed .hs-button:hover { background: var(--white); }
.hs-embed .submitted-message { font-size: 1.1rem; text-align: center; padding: 20px 0; }
.hs-embed .hs-richtext { font-size: 12px; line-height: 1.5; margin: 0 0 12px; }

/* Bande « Vous avez des questions? » : prénom / nom côte à côte, contour jaune */
.contact-band .hs-embed .hs_firstname, .contact-band .hs-embed .hs_lastname { display: inline-block; width: calc(50% - 7px); vertical-align: top; }
.contact-band .hs-embed .hs_firstname { margin-right: 14px; }
.contact-band .hs-embed .hs-input:not([type=checkbox]) { background: transparent; border: 1px solid var(--yellow); color: var(--yellow); }
.contact-band .hs-embed ::placeholder { color: rgba(255, 251, 173, .7); }
.contact-band .hs-embed .hs-form-booleancheckbox-display { color: var(--yellow); }
.contact-band .hs-embed .hs_submit { text-align: right; margin-top: -46px; }
.contact-band .submitted-message { color: var(--yellow); }
@media (max-width: 700px) {
  .contact-band .hs-embed .hs_firstname, .contact-band .hs-embed .hs_lastname { display: block; width: 100%; margin-right: 0; }
  .contact-band .hs-embed .hs_submit { text-align: center; margin-top: 10px; }
}

/* Page Rendez-vous */
.appt-hs .hs-input:not([type=checkbox]) { background: var(--white); border: 1px solid var(--grey-300); color: var(--ink); }
.appt-hs .hs-button { background: var(--navy-800); color: var(--yellow); }
.appt-hs .hs-button:hover { background: var(--navy-900); }

/* Fenêtre Infolettre */
.nl-modal { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 40px); border: 0; border-radius: 14px; padding: 44px clamp(22px, 4vw, 40px) 30px; background: var(--slate); color: var(--grey-100); }
.nl-modal::backdrop { background: rgba(14, 30, 48, .75); }
.nl-modal h2 { color: var(--yellow); text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.15; margin: 0 0 24px; }
.nl-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--grey-100); font-size: 28px; line-height: 1; cursor: pointer; }
.nl-modal .hs-input:not([type=checkbox]) { background: var(--slate); border: 1px solid var(--grey-300); color: var(--white); padding: 9px 12px; font-size: 14px; }
.nl-modal .hs-form-booleancheckbox-display { font-size: 13px; }
.nl-modal .hs_submit { text-align: center; margin-top: 10px; }

/* Pied de page : ligne jaune sous l'en-tête de chaque colonne */
.ft-head { display: flex; align-items: center; box-sizing: border-box; height: 52px; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid var(--yellow); }
.ft-head > * { margin: 0 !important; }
.ft-head + h3 { margin-top: 0; }
.site-footer .ft-head h3 { color: #fff; }
.footer-brand .socials { margin-top: 0; }
.footer-bottom p { line-height: 1.3; margin: 0; }
.footer-bottom em { font-style: italic; }
@media (max-width: 600px) { .ft-head:empty { height: 0; padding: 0; } }

/* Pastille « juriseo_tag » : à gauche, à cheval entre la section précédente (ex. Rejoindre notre équipe) et le formulaire */
.footer-tag-wrap { position: relative; height: 0; z-index: 3; }
.footer-tag-wrap .wrap { position: relative; }
.footer-tag { position: absolute; left: var(--gutter, 40px); top: 0; width: 149px; height: auto; transform: translateY(-50%); }
@media (max-width: 700px) { .footer-tag { width: 96px; } }
.footer-tag-wrap + .contact-band { padding-top: 110px; }
@media (max-width: 700px) { .footer-tag-wrap + .contact-band { padding-top: 80px; } }

/* ---------- Domaines de pratique : haut de page plein écran ---------- */
.domain-hero { background: var(--navy-900); color: var(--white); min-height: calc(100vh - var(--header-h, 88px)); min-height: calc(100svh - var(--header-h, 88px)); display: flex; }
.domain-hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: stretch; padding-top: clamp(40px, 12vh, 110px); padding-bottom: clamp(24px, 4vh, 36px); }
.domain-hero-text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(20px, 7vh, 70px) 0 clamp(20px, 7vh, 64px); }
.domain-hero h1 { font-weight: 300; font-size: clamp(2.4rem, 4.3vw, 64px); line-height: 1.1; margin: 0 0 22px; max-width: 13em; color: var(--white); }
.domain-hero .lead { font-weight: 300; font-size: clamp(1.15rem, 2vw, 28px); line-height: 1.3; letter-spacing: -.01em; margin: 0; color: var(--white); max-width: 22em; }
.domain-hero .btn { align-self: flex-start; }
.domain-hero-photo { position: relative; min-height: 320px; }
.domain-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0 clamp(80px, 13vw, 190px) 0 clamp(80px, 13vw, 190px); }
html { scroll-padding-top: var(--header-h, 88px); }
@media (max-width: 900px) {
  .domain-hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .domain-hero-text { padding: 0; gap: 28px; }
  .domain-hero-photo { min-height: 0; height: 42vh; }
  .domain-hero-photo img { border-radius: 0 90px 0 90px; }
}
.domain-hero .domain-hero-grid { max-width: calc(1400px + 2 * var(--gutter)); }

/* Menu : rubrique de la page courante surlignée comme au survol */
@media (min-width: 1401px) {
  .main-nav .has-sub.is-current > .sub-toggle,
  .main-nav > ul > li.is-current > a { background: var(--yellow); color: var(--navy-800); text-decoration: none; }
  .main-nav .sub a.is-current { color: var(--navy-800); background: var(--yellow); }
}
@media (max-width: 1400px) {
  .main-nav .has-sub.is-current > .sub-toggle, .main-nav > ul > li.is-current > a, .main-nav .sub a.is-current { color: var(--yellow); }
}

/* ---------- Domaines : section 2 « Qu'est-ce que… » ---------- */
.domain-what { position: relative; overflow: hidden; background: #EBEBEB; color: var(--navy-900); padding: clamp(50px, 6vw, 85px) 0 clamp(70px, 9vw, 150px); }
.domain-what::before { content: ""; position: absolute; inset: 0; background: url("../img/juriseo_back.png") 100% 0 / cover no-repeat; opacity: .35; pointer-events: none; }
.domain-what .wrap { position: relative; max-width: calc(1400px + 2 * var(--gutter)); }
.domain-what h2 { font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.2; letter-spacing: -.01em; max-width: 11.5em; margin: 0 0 30px; color: var(--navy-900); }
.domain-what-text { max-width: 924px; font-weight: 300; font-size: clamp(1.15rem, 1.9vw, 30px); line-height: 1.27; letter-spacing: -.01em; }
.domain-what-text p { margin: 0 0 .8em; }
.domain-what-text p:last-child { margin-bottom: 0; }

/* ---------- Domaines : section 3 « Expertises juridiques » ---------- */
.domain-services { display: grid; grid-template-columns: 1fr 1fr; min-height: 578px; background: var(--white); }
.domain-services-photo { position: relative; background: var(--grey-300) center right / cover no-repeat; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.domain-services-photo .btn { margin-top: 18%; }
.domain-services-list { padding: clamp(40px, 5vw, 50px) var(--gutter) clamp(40px, 5vw, 60px) clamp(28px, 7.5vw, 115px); max-width: 820px; }
.domain-services-list h2 { font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 40px; color: var(--navy-900); }
.svc-lines { list-style: none; margin: 0; padding: 0; max-width: 700px; border-bottom: 1px solid var(--navy-900); }
.svc-lines li { border-top: 1px solid var(--navy-900); padding: 12px 0; font-size: 15px; line-height: 1.3; color: var(--navy-900); }
.svc-lines details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.svc-lines details summary::-webkit-details-marker { display: none; }
.svc-lines details summary::after { content: "+"; font-size: 18px; line-height: 1; }
.svc-lines details[open] summary::after { content: "–"; }
.svc-lines details .prose { font-size: 15px; padding-top: 10px; }
@media (max-width: 900px) {
  .domain-services { grid-template-columns: 1fr; min-height: 0; }
  .domain-services-photo { min-height: 320px; }
  .domain-services-photo .btn { margin-top: 0; }
  .domain-services-list { padding: 40px var(--gutter); max-width: none; }
}
@media (max-width: 600px) { .domain-services-photo .btn { font-size: 16px; padding: 12px 22px; } }

/* Domaines : sans menu latéral ; photo à la hauteur de la liste, bouton centré */
.domain-rest { max-width: calc(1400px + 2 * var(--gutter)); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.domain-rest .service-main { max-width: none; }
.domain-services { min-height: 0; align-items: stretch; }
.domain-services-photo { align-items: center; justify-content: center; }
.domain-services-photo .btn { margin: 0; }

/* ---------- Domaines : section 4 « Pourquoi faire appel… » ---------- */
.domain-why { background: var(--navy-900); color: var(--white); padding: clamp(60px, 9vw, 150px) 0 clamp(60px, 9vw, 150px); }
.domain-why .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.domain-why h2 { color: var(--yellow); font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.12; letter-spacing: -.01em; max-width: 14em; margin: 0 0 24px; }
.domain-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.domain-why-card { position: relative; overflow: hidden; aspect-ratio: 327 / 323; background: var(--navy-800); border: 1px solid var(--yellow); border-radius: 12px; padding: 20px 26px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; }
.domain-why-card::before { content: ""; position: absolute; left: 50%; top: 39%; width: 45%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--navy-900); -webkit-mask: url("../img/juriseo_back.png") center / contain no-repeat; mask: url("../img/juriseo_back.png") center / contain no-repeat; opacity: .55; pointer-events: none; }
.domain-why-card h3 { position: relative; color: var(--white); font-weight: 400; font-size: clamp(1.05rem, 1.35vw, 20px); line-height: 1.2; letter-spacing: -.01em; margin: 0; flex: 1; display: flex; align-items: center; justify-content: center; padding-bottom: 22%; }
.domain-why-card p { position: relative; color: var(--white); font-size: 15px; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.domain-why-cta { text-align: center; margin: 55px 0 0; }
@media (max-width: 1100px) { .domain-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .domain-why-grid { grid-template-columns: 1fr; } .domain-why-card { aspect-ratio: auto; min-height: 240px; } }

/* ---------- Domaines : section 5 « Secteurs d'intervention » (fond fixe) ---------- */
.domain-sectors { position: relative; color: var(--white); text-align: center; padding: clamp(60px, 7vw, 100px) 0 clamp(70px, 8vw, 100px); background: var(--slate) url("../img/secteursdintervention.jpg") center / cover no-repeat fixed; }
.domain-sectors::before { content: ""; position: absolute; inset: 0; background: var(--slate); opacity: .82; }
.domain-sectors .wrap { position: relative; max-width: calc(1400px + 2 * var(--gutter)); }
.domain-sectors h2 { color: var(--white); font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 18px; }
.domain-sectors-intro { max-width: 690px; margin: 0 auto 34px; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; }
.domain-sectors-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.domain-sectors-list a { display: inline-block; background: var(--navy-900); color: var(--yellow); border: 1px solid var(--grey-100); border-radius: 6px; padding: 20px; font-size: clamp(14px, 1.2vw, 18px); line-height: 1.2; letter-spacing: -.01em; text-transform: uppercase; text-decoration: none; transition: background .15s, color .15s; }
.domain-sectors-list a:hover, .domain-sectors-list a:focus-visible { background: var(--yellow); color: var(--navy-900); border-color: var(--yellow); }
@media (max-width: 1024px), (hover: none) { .domain-sectors { background-attachment: scroll; } }
@media (max-width: 600px) { .domain-sectors-list a { padding: 14px 16px; } }

/* ---------- Domaines : « Contacter un avocat en… » (carrousel) ---------- */
.area-lawyers { background: #E7E8EA; padding: clamp(40px, 5vw, 40px) 0 clamp(40px, 5vw, 50px); overflow: hidden; }
.area-lawyers .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.area-lawyers h2 { color: var(--navy-900); font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 22px; }
.lawyer-track { grid-auto-columns: 342px; gap: 11px; padding: 0; cursor: grab; scroll-snap-type: x proximity; }
.lawyer-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.lawyer-track.dragging a, .lawyer-track.dragging button { pointer-events: none; }
.lawyer-card { position: relative; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: var(--navy-800); scroll-snap-align: start; }
.lawyer-card img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.lc-panel { position: absolute; left: 15px; right: 15px; bottom: 15px; background: rgba(26, 46, 75, .85); border-radius: 8px; padding: 13px 20px 13px; color: var(--white); }
.lc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lc-panel h3 { font-size: 16px; font-weight: 400; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.lc-panel h3 a { color: inherit; text-decoration: none; }
.lc-role, .lc-phone { font-size: 12px; line-height: 1.2; margin: 0; }
.lc-phone a { color: inherit; text-decoration: none; }
.lc-toggle { flex: none; position: relative; width: 29px; height: 29px; border-radius: 50%; border: 0; background: var(--white); cursor: pointer; margin-top: 2px; }
.lc-toggle::before, .lc-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--navy-900); transform: translate(-50%, -50%); }
.lc-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.lawyer-card.open .lc-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.lc-extra { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.lc-extra > div { overflow: hidden; }
.lawyer-card.open .lc-extra { grid-template-rows: 1fr; }
.lc-actions { display: flex; align-items: center; gap: 10px; margin: 20px 0 3px; }
.lc-actions .btn { font-size: 13px; font-weight: 500; padding: 8px 15px; }
.lc-in { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy-900); }
.lc-in:hover { background: var(--white); }
.lawyer-nav { margin: 18px 0 0; gap: 14px; }
.lawyer-nav button { width: auto; height: auto; border: 0; border-radius: 0; padding: 4px; background: none; color: var(--navy-900); }
.lawyer-nav button:hover { background: none; color: var(--slate); }
@media (max-width: 600px) { .lawyer-track { grid-auto-columns: 78%; } }
.area-lawyers { padding-top: 140px; }
@media (max-width: 600px) { .area-lawyers { padding-top: 90px; } }

/* Carrousel des avocats : défilement par transform (fluide) */
.lawyer-viewport { overflow: hidden; cursor: grab; touch-action: pan-y; }
.lawyer-viewport.dragging { cursor: grabbing; }
.lawyer-viewport.dragging a, .lawyer-viewport.dragging button { pointer-events: none; }
.lawyer-rail { display: flex; gap: 11px; will-change: transform; }
.lawyer-rail .lawyer-card { flex: 0 0 342px; }
@media (max-width: 600px) { .lawyer-rail .lawyer-card { flex-basis: 78vw; } }
.lawyer-nav { display: flex; justify-content: flex-end; }

/* ---------- Domaines : « Pour en savoir plus sur nos services » (FAQ) ---------- */
.domain-faq { position: relative; overflow: hidden; background: #D5D8DC; color: var(--navy-900); padding: clamp(70px, 10vw, 170px) 0 clamp(70px, 9vw, 140px); }
.domain-faq::before { content: ""; position: absolute; inset: 0; background: url("../img/juriseo_back.png") 100% 0 / cover no-repeat; opacity: .18; pointer-events: none; }
.domain-faq .wrap { position: relative; max-width: calc(1000px + 2 * var(--gutter)); }
.domain-faq h2 { font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.12; letter-spacing: -.01em; max-width: 9.5em; margin: 0 0 30px; color: var(--navy-900); }
.faq-list details { border-bottom: 1px solid var(--navy-900); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.3; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #E9EAEC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%230E1E30' stroke-width='2.2'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s, background-color .2s; }
.faq-list summary:hover::after { background-color: var(--white); }
.faq-list details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h12' stroke='%230E1E30' stroke-width='2.2'/%3E%3C/svg%3E"); }
.faq-list .prose { font-size: 16px; line-height: 1.5; padding: 4px 64px 22px 0; }
.faq-list .prose ul { padding-left: 1.2em; }
.faq-list .prose li { margin-bottom: .3em; }
@media (max-width: 600px) { .faq-list .prose { padding-right: 0; } .faq-list summary::after { width: 38px; height: 38px; } }
.domain-rest.prose { padding-top: 60px; padding-bottom: 60px; }

/* FAQ : réponse dans un panneau gris clair */
.faq-list .prose { background: #E7E8EA; font-size: 15px; line-height: 1.45; letter-spacing: -.01em; padding: 26px 20px 22px; margin: 0 0 0; }
.faq-list .prose p { margin: 0 0 1.6em; }
.faq-list .prose ul { margin: -.9em 0 1.6em; padding-left: 1.6em; }
.faq-list .prose li { margin: 0; }
.faq-list .prose > :last-child { margin-bottom: 0; }
.faq-list details[open] summary { padding-bottom: 13px; }
@media (max-width: 600px) { .faq-list .prose { padding: 20px 16px; } }

/* ---------- Secteurs d'activités : cartes « Domaines de pratique du droit concernés » ---------- */
.sector-area-card { text-decoration: none; transition: background .2s, transform .2s; }
.sector-area-card h3 { padding-bottom: 12%; }
.sector-area-card p { margin-bottom: 14px; }
.sector-area-more { position: relative; color: var(--yellow); font-size: 14px; letter-spacing: -.01em; }
.sector-area-card:hover, .sector-area-card:focus-visible { background: #22385A; }
.sector-area-card:hover .sector-area-more { text-decoration: underline; text-underline-offset: 3px; }
.sector-areas .domain-why-grid { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(240px, 327px)); }

/* ---------- Secteurs d'activités : haut de page (image encadrée + bandeau défilant) ---------- */
.sector-hero { background: var(--navy-900); padding: clamp(30px, 11vh, 100px) var(--gutter) 0; }
.sector-hero-box { position: relative; overflow: hidden; max-width: 1400px; margin: 0 auto; height: calc(100vh - var(--header-h, 88px) - clamp(30px, 11vh, 100px)); height: calc(100svh - var(--header-h, 88px) - clamp(30px, 11vh, 100px)); min-height: 520px; background: var(--navy-800) center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.sector-hero-box::before { content: ""; position: absolute; inset: 0; background: rgba(14, 30, 48, .6); }
.sector-hero-text { position: relative; text-align: center; color: var(--white); padding: 40px 30px 90px; max-width: 1150px; }
.sector-hero h1 { color: var(--white); font-weight: 300; font-size: clamp(2.2rem, 4.3vw, 64px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 22px; }
.sector-hero .lead { color: var(--white); font-weight: 300; font-size: clamp(1.15rem, 2vw, 30px); line-height: 1.02; letter-spacing: -.02em; max-width: 620px; margin: 0 auto 32px; }
.sector-tags { position: absolute; left: 0; right: 0; bottom: 14px; overflow: hidden; }
.sector-tags-track { display: flex; gap: 10px; padding: 0 10px 0 0; margin: 0; list-style: none; width: max-content; animation: sector-marquee 45s linear infinite; }
.sector-tags-track li { flex: none; min-width: 342px; text-align: center; background: var(--yellow); color: var(--navy-900); border-radius: 5px; padding: 8px 22px; font-size: clamp(14px, 1.2vw, 18px); line-height: 1.2; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
@keyframes sector-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sector-tags-track { animation: none; } }
@media (max-width: 700px) { .sector-hero-box { height: auto; min-height: 560px; } .sector-tags-track li { min-width: 240px; } }
@media (max-width: 700px) { .sector-hero { padding-top: 24px; } .sector-hero .lead { line-height: 1.2; } }
.sector-tags-track li { font-weight: 300; }
.sector-hero-box { border-top-right-radius: clamp(80px, 13vw, 190px); }

/* ---------- Secteurs : section 2 (texte à gauche, motif Juriséo à droite) ---------- */
.sector-intro { background: var(--white); color: var(--navy-900); padding: clamp(40px, 4vw, 50px) 0; }
.sector-intro-grid { max-width: calc(1400px + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.sector-intro-text { max-width: 690px; }
.sector-intro h2 { color: var(--navy-900); font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 26px; }
.sector-intro-text p { font-size: 16px; line-height: 1.4; letter-spacing: -.01em; margin: 0 0 1em; }
.sector-intro-text p:last-child { margin-bottom: 0; }
.sector-intro-mark { justify-self: center; width: clamp(120px, 13vw, 200px); aspect-ratio: 1; background: url("../img/juriseo_back.png") center / contain no-repeat; opacity: .3; }
@media (max-width: 800px) { .sector-intro-grid { grid-template-columns: 1fr; } .sector-intro-mark { display: none; } }

/* ---------- Secteurs : section 3 « Domaines de pratique du droit concernés » (carrousel) ---------- */
.sector-areas { background: var(--navy-900); color: var(--white); padding: clamp(30px, 3vw, 35px) 0 clamp(40px, 4vw, 45px); }
.sector-areas .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.sector-areas h2 { color: var(--yellow); font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 48px; }
.sector-areas-track { grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; padding: 0; cursor: grab; scroll-snap-type: x proximity; }
.sector-areas-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.sector-areas-track.dragging a { pointer-events: none; }
.sector-area { display: flex; flex-direction: column; color: var(--white); text-decoration: none; border-top: 1px solid var(--grey-100); scroll-snap-align: start; }
.sector-area h3 { color: var(--white); font-weight: 400; font-size: 16px; line-height: 1.2; letter-spacing: -.01em; margin: 0; padding: 10px 10px 0; }
.sector-area-text { min-height: 92px; margin: 0; padding: 8px 10px 0; font-size: 14px; font-weight: 300; line-height: 1.3; color: var(--grey-txt, #CFD2D6); opacity: 0; transition: opacity .25s; }
.sector-area:hover .sector-area-text, .sector-area:focus-visible .sector-area-text { opacity: 1; }
.sector-area-img { position: relative; margin: 0 10px; aspect-ratio: 323 / 430; border-radius: 20px; overflow: hidden; background: var(--navy-800); }
.sector-area-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; user-select: none; }
.sector-area:hover .sector-area-img img { transform: scale(1.04); }
.sector-area-btn { position: absolute; left: 50%; bottom: 35px; transform: translateX(-50%); background: var(--white); color: var(--navy-900); border-radius: 999px; padding: 9px 17px; font-size: 13px; font-weight: 300; line-height: 1; white-space: nowrap; transition: background .2s; }
.sector-area:hover .sector-area-btn { background: var(--yellow); }
.sector-areas-nav { margin: 20px 0 0; gap: 14px; }
.sector-areas-nav button { width: auto; height: auto; border: 0; border-radius: 0; padding: 4px; background: none; color: var(--white); }
.sector-areas-nav button:hover { background: none; color: var(--yellow); }
@media (max-width: 1000px) { .sector-areas-track { grid-auto-columns: calc((100% - 10px) / 2); } }
@media (max-width: 600px) { .sector-areas-track { grid-auto-columns: 80%; } .sector-area-text { opacity: 1; min-height: 0; padding-bottom: 12px; } }

/* Secteurs, section 3 : survol = ligne jaune + voile bleu + texte centré sur l'image */
.sector-area { border-top: 0; position: relative; }
.sector-area::before { content: ""; display: block; height: 1px; background: var(--grey-100); transition: height .2s, background .2s; }
.sector-area:hover::before, .sector-area:focus-visible::before { height: 3px; background: var(--yellow); margin-bottom: -2px; }
.sector-area h3 { min-height: 0; padding-bottom: 0; margin-bottom: 92px; }
.sector-area-img .sector-area-text { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 0; margin: 0; padding: 20px 36px; color: var(--white); font-size: 15px; font-weight: 300; line-height: 1.1; letter-spacing: -.01em; background: rgba(14, 30, 48, .55); opacity: 0; transition: opacity .3s; }
.sector-area:hover .sector-area-text, .sector-area:focus-visible .sector-area-text { opacity: 1; }
@media (max-width: 600px), (hover: none) { .sector-area-img .sector-area-text { opacity: 1; background: rgba(14, 30, 48, .45); } }
.sector-area-img .sector-area-text { background: linear-gradient(180deg, rgba(14, 30, 48, .15) 0%, rgba(14, 30, 48, .55) 55%, rgba(14, 30, 48, .8) 100%); font-size: 16px; }
.sector-area::before { background: var(--yellow); }

/* ---------- Page Publications : haut de page plein écran, en-tête transparent par-dessus ---------- */
.has-overlay-header .site-header { background: transparent; transition: background .25s; }
.has-overlay-header.scrolled .site-header { background: var(--navy-900); }
.pub-hero { position: relative; margin-top: calc(-1 * var(--header-h, 110px)); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); background: var(--navy-900) url("../img/juri3.jpg") 50% 0 / cover no-repeat; }
.pub-hero::before { content: ""; position: absolute; inset: 0; background: var(--navy-900); opacity: .8; }
.pub-hero .wrap { position: relative; padding-top: var(--header-h, 110px); }
.pub-hero h1 { color: var(--white); font-weight: 400; font-size: clamp(2.4rem, 4vw, 60px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; }
.pub-hero .lead { color: var(--white); font-weight: 300; font-size: clamp(1.15rem, 2vw, 30px); line-height: 1.25; letter-spacing: -.02em; max-width: 13.5em; margin: 0 auto; }
.pub-hero .wrap { padding-top: 0; }

/* ---------- Page Publications : « Articles à la une » ---------- */
.pub-featured { background: #E7E8EA; padding: clamp(50px, 6vw, 90px) 0 clamp(50px, 6vw, 80px); }
.pub-featured .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.pub-featured h2 { text-align: center; color: var(--navy-900); font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 50px; }
.pub-featured-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 250px 250px; gap: 30px; }
.pub-feature { position: relative; overflow: hidden; border-radius: 12px; background: var(--navy-800); color: var(--white); text-decoration: none; display: block; }
.pub-feature-main { grid-row: span 2; }
.pub-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pub-feature::after { content: ""; position: absolute; inset: 0; background: var(--navy-900); opacity: .6; transition: opacity .3s; }
.pub-feature:hover img { transform: scale(1.04); }
.pub-feature:hover::after { opacity: .45; }
.pub-feature-info { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.pub-feature-title { font-size: 16px; line-height: 1.2; letter-spacing: -.02em; }
.pub-feature time { flex: none; font-size: 12px; letter-spacing: -.02em; }
@media (max-width: 800px) { .pub-featured-grid { grid-template-columns: 1fr; grid-template-rows: 300px 220px 220px; gap: 16px; } .pub-feature-main { grid-row: auto; } }

/* Page Publications : recherche + filtres par domaine (dans la section « Articles à la une ») */
.pub-tools { margin-top: clamp(60px, 10vw, 170px); }
.pub-search { display: flex; gap: 10px; align-items: stretch; max-width: 924px; margin: 0 0 20px; }
.pub-search input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--navy-900); border-radius: 5px; background: transparent; color: var(--navy-900); font: inherit; font-size: 16px; letter-spacing: -.02em; }
.pub-search input::placeholder { color: var(--slate); opacity: 1; }
.pub-search input:focus { outline: 2px solid var(--navy-800); outline-offset: 1px; }
.pub-search .btn { height: 40px; border-radius: 5px; padding: 0 15px; font-size: 16px; font-weight: 300; }
.pub-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pub-chips a { background: var(--navy-800); color: var(--yellow); border-radius: 5px; padding: 0 20px; height: 39px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 300; letter-spacing: -.02em; text-decoration: none; transition: background .15s, color .15s; }
.pub-chips a:hover, .pub-chips a.active { background: var(--yellow); color: var(--navy-900); }
@media (max-width: 600px) { .pub-search .btn { padding: 0 12px; } .pub-chips a { font-size: 14px; padding: 0 14px; height: 34px; } }

/* ---------- Article : image plein écran sous un voile bleu (en-tête transparent par-dessus) ---------- */
.post-hero-bg { position: relative; margin-top: calc(-1 * var(--header-h, 110px)); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background-color: var(--navy-900); background-position: center; background-size: cover; background-repeat: no-repeat; padding: calc(var(--header-h, 110px) + 40px) 0 60px; }
.post-hero-bg::before { content: ""; position: absolute; inset: 0; background: var(--navy-900); opacity: .8; }
.post-hero-bg .wrap { position: relative; width: 100%; text-align: center; }
.post-hero-bg h1 { color: var(--white); font-weight: 400; font-size: clamp(2.1rem, 4vw, 60px); line-height: 1.1; letter-spacing: -.02em; max-width: 18em; margin: 0 auto; }
.post-hero-bg time { display: block; margin-bottom: 18px; }
.post-hero-bg .post-meta { justify-content: center; margin-top: 28px; }
.post-hero-bg .post-meta a { color: var(--white); }
.post-hero-bg + .wrap.narrow { padding-top: clamp(40px, 6vw, 70px); }

/* Article : « Partager cet article » sous le haut de page */
.post-share { text-align: center; padding: clamp(40px, 5vw, 60px) var(--gutter) 10px; color: var(--navy-900); }
.post-share p { font-size: 20px; font-weight: 300; letter-spacing: -.02em; margin: 0 0 14px; }
.post-share-links { display: flex; justify-content: center; gap: 10px; }
.post-share-links a { width: 47px; height: 47px; border-radius: 50%; border: 1.5px solid var(--navy-900); color: var(--navy-900); display: inline-grid; place-items: center; transition: background .15s, color .15s; }
.post-share-links a:hover, .post-share-links a:focus-visible { background: var(--navy-900); color: var(--yellow); }
.post-share + .wrap.narrow { padding-top: clamp(30px, 4vw, 50px); }
/* Méta de l'article dans le haut de page : avocat(s), domaines et secteurs */
.post-hero-bg .post-meta { gap: 10px 14px; font-size: 15px; }
.post-hero-bg .post-meta a:not(.chip) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.post-hero-bg .post-meta a:not(.chip):hover { color: var(--yellow); }
.post-hero-bg .post-meta .chip { border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 4px 12px; background: transparent; color: var(--white); text-decoration: none; }
.post-hero-bg .post-meta .chip:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); }
.post-hero-bg .post-meta-back { flex-basis: 100%; margin-bottom: 4px; }
/* Article : avocat(s) sous le titre, puis pastilles, puis retour à la liste */
.post-hero-bg .post-meta-lawyers { margin-top: 26px; font-size: 18px; }
.post-hero-bg .post-meta-chips { margin-top: 16px; }
.post-hero-bg .post-meta-back-line { margin-top: 30px; }
.post-hero-bg .post-meta-back { flex-basis: auto; margin: 0; }
/* Publications : 2e rangée de pastilles (secteurs d'intervention), séparée des domaines */
.pub-chips-sectors { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(14, 30, 48, .2); }

/* ---------- Page « Notre équipe » : haut de page (dégradé circulaire, carrousel, chiffres) ---------- */
.team-hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--header-h, 110px)); padding: calc(var(--header-h, 110px) + 10px) 0 clamp(40px, 6vh, 60px); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: var(--white);
  background: radial-gradient(ellipse 75% 70% at 50% 55%, #4A5A6E 0%, #3A4A5E 22%, #26374B 48%, #16263A 72%, #0E1E30 100%); }
.team-hero-head { text-align: center; position: relative; }
.team-hero h1 { color: var(--white); font-weight: 400; font-size: clamp(2.4rem, 4vw, 60px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; }
.team-hero .lead { color: var(--white); font-weight: 300; font-size: clamp(1.1rem, 1.9vw, 28px); line-height: 1.2; letter-spacing: -.02em; margin: 0 auto 30px; max-width: 30em; }
.team-hero-carousel { position: relative; }
.team-hero-carousel .lawyer-rail { gap: 15px; }
.team-hero-card { flex: 0 0 clamp(220px, 19vw, 316px); aspect-ratio: 316 / 512; border-radius: 8px; overflow: hidden; display: block; background: var(--navy-800); }
.team-hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; user-select: none; -webkit-user-drag: none; }
.team-hero-card:hover img { transform: scale(1.03); }
.team-stats { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px clamp(40px, 9vw, 130px); margin-top: clamp(30px, 5vh, 50px); text-align: center; }
.team-stat { display: flex; flex-direction: column; align-items: center; color: var(--yellow); }
.team-stat-n { font-weight: 300; font-size: clamp(3rem, 5.2vw, 80px); line-height: 1; letter-spacing: -.03em; }
.team-stat-l { margin-top: 12px; font-size: 16px; text-transform: uppercase; letter-spacing: -.01em; }
@media (max-width: 600px) { .team-stats { gap: 24px 36px; } .team-stat-l { font-size: 13px; } }
.team-hero-card { flex: none; height: clamp(300px, 52vh, 512px); width: auto; }
@media (max-width: 600px) { .team-stats { display: grid; grid-template-columns: 1fr 1fr; } .team-hero-card { height: 46vh; } }
@media (max-height: 760px) and (min-width: 601px) { .team-stat-n { font-size: clamp(2.6rem, 4.2vw, 64px); } }
.team-hero { padding-top: calc(var(--header-h, 110px) + 50px); }
@media (max-width: 600px) { .team-hero { padding-top: calc(var(--header-h, 88px) + 30px); } }

/* ---------- Page « Notre équipe » : texte d'intro + filtre par domaine ---------- */
.team-filter { background: #E7E8EA; color: var(--navy-900); padding: clamp(50px, 7vw, 110px) 0 clamp(40px, 5vw, 60px); }
.team-filter .wrap { max-width: calc(1220px + 2 * var(--gutter)); }
.team-intro-text { font-size: clamp(1.15rem, 1.9vw, 28px); font-weight: 300; line-height: 1.36; letter-spacing: -.02em; margin: 0 0 clamp(50px, 7vw, 100px); }
.team-filter h2 { color: var(--navy-900); font-weight: 300; font-size: clamp(2rem, 3.3vw, 50px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 40px; }
.team-chips a { cursor: pointer; }
.team-list .person[hidden] { display: none; }

/* ---------- Page « Notre équipe » : grille de fiches (même carte que « Contacter un avocat ») ---------- */
.team-list { max-width: calc(1220px + 2 * var(--gutter)); padding-bottom: clamp(60px, 8vw, 110px); }
.team-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.team-cards .lawyer-card { aspect-ratio: 278 / 416; }
.team-cards .lc-panel { left: 15px; right: 15px; bottom: 15px; }
@media (max-width: 1100px) { .team-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .team-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 480px) { .team-cards { grid-template-columns: 1fr; } }
.team-list { background: #E7E8EA; box-shadow: 0 0 0 100vmax #E7E8EA; clip-path: inset(0 -100vmax); }

/* ---------- Page « Notre cabinet » : Trouver un cabinet (onglets + carte) ---------- */
.firm-find { background: var(--navy-800); color: var(--white); padding: clamp(60px, 8vw, 120px) 0 clamp(60px, 8vw, 110px); }
.firm-find .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.firm-title { color: var(--white); font-weight: 300; font-size: clamp(2.4rem, 4.2vw, 64px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 32px; }
.firm-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 36px; border-bottom: 1px solid rgba(255, 251, 173, .35); }
.firm-tabs button { font: inherit; font-size: clamp(1.1rem, 1.8vw, 26px); font-weight: 300; letter-spacing: -.02em; color: var(--white); background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 6px 12px; margin-bottom: -1px; margin-right: 22px; cursor: pointer; transition: color .15s, border-color .15s; }
.firm-tabs button:hover { color: var(--yellow); }
.firm-tabs button[aria-selected="true"] { color: var(--yellow); border-bottom-color: var(--yellow); }
.firm-tabs button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.firm-office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.firm-office[hidden] { display: none; }
.firm-map { position: relative; aspect-ratio: 665 / 700; border-radius: 15px; overflow: hidden; background: #2a3a4e; }
.firm-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1); }
.firm-map-tag { position: absolute; z-index: 1; top: 18px; left: 20px; background: var(--yellow); color: var(--navy-800); font-size: 14px; font-weight: 500; letter-spacing: -.01em; padding: 7px 16px; border-radius: var(--radius); pointer-events: none; }
.firm-info { padding-top: 6px; }
.firm-info h2 { margin: 0 0 clamp(24px, 3vw, 36px); font-weight: 300; }
.firm-eyebrow { display: block; color: var(--yellow); font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.firm-city { display: block; color: var(--white); font-size: clamp(2.6rem, 4.6vw, 70px); line-height: 1; letter-spacing: -.04em; }
.firm-address { font-size: clamp(1.15rem, 1.7vw, 24px); font-weight: 300; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 32px; padding-left: 22px; border-left: 2px solid var(--yellow); }
.firm-contact { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 clamp(36px, 4vw, 48px); }
.btn-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--yellow); border-radius: var(--radius); color: var(--white); text-decoration: none; font-size: 16px; letter-spacing: -.02em; transition: background .15s, color .15s; }
.btn-pill:hover, .btn-pill.is-solid { background: var(--yellow); color: var(--navy-800); }
.btn-pill.is-solid:hover { background: transparent; color: var(--yellow); }
.firm-parking { display: grid; grid-template-columns: 44px 1fr; gap: 20px; background: var(--navy-900); border-radius: 15px; padding: 26px 28px; max-width: 680px; }
.firm-parking-icon { width: 44px; height: 44px; border: 2px solid var(--yellow); border-radius: 10px; color: var(--yellow); display: grid; place-items: center; font-weight: 700; font-size: 22px; line-height: 1; }
.firm-parking h3 { color: var(--yellow); font-size: 17px; font-weight: 400; letter-spacing: -.02em; margin: 0 0 8px; }
.firm-parking p { font-size: 15px; line-height: 1.4; letter-spacing: -.01em; margin: 0; }
.firm-parking a { color: var(--yellow); text-decoration: none; }
.firm-parking a:hover { text-decoration: underline; }
.firm-about { background: #E6E7E9; color: var(--navy-800); padding: clamp(60px, 7vw, 100px) 0; }
.firm-about .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.firm-about-text p { font-size: clamp(1.2rem, 2vw, 29px); font-weight: 300; line-height: 1.32; letter-spacing: -.02em; margin: 0 0 .75em; max-width: 1380px; }
.firm-about-btn { margin-top: 10px; background: var(--navy-900); border-color: var(--navy-900); color: var(--yellow); font-weight: 300; letter-spacing: -.02em; }
.firm-about-btn:hover { background: var(--navy-800); color: var(--yellow); }
@media (max-width: 800px) { .firm-office { grid-template-columns: 1fr; } .firm-map { aspect-ratio: 4 / 3; } .firm-tabs button { margin-right: 8px; } }

/* ---------- Page Carrière : hero plein écran ---------- */
.careers-hero { position: relative; margin-top: calc(-1 * var(--header-h, 110px)); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--navy-900) center / cover no-repeat; padding: calc(var(--header-h, 110px) + 40px) 0 60px; color: var(--white); }
.careers-hero::before { content: ""; position: absolute; inset: 0; background: var(--navy-800); opacity: .82; }
.careers-hero .wrap { position: relative; width: 100%; text-align: center; }
.careers-hero h1 { color: var(--white); font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 64px); line-height: 1.07; letter-spacing: -.03em; max-width: 13em; margin: 0 auto; }

/* ---------- Page Prendre un rendez-vous ---------- */
.appt-band { margin-top: calc(-1 * var(--header-h, 110px)); padding: calc(var(--header-h, 110px) + 40px) 0 clamp(60px, 7vw, 90px); min-height: calc(100vh - 60px); }
.appt-band .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.appt-tag { display: block; width: 149px; height: auto; margin: 0 0 clamp(-10px, -1vw, 0px); }
.appt-band h1 { color: var(--yellow); text-align: center; font-weight: 400; font-size: 30px; letter-spacing: -.02em; margin: 0 0 10px; }
@media (max-width: 700px) { .appt-tag { width: 96px; margin: 0 auto 24px; } }

/* Accueil : 2 boutons dans le haut de page */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { min-width: 210px; font-size: 16px; font-weight: 500; padding: 12px 26px; }
@media (max-width: 520px) { .hero-actions .btn { flex: 1 1 100%; min-width: 0; } }
.team-home-cta { text-align: center; margin: clamp(30px, 4vw, 48px) 0 0; }
/* Accueil : nom du membre de l'équipe au survol des photos */
.team-row .team-thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; }
.team-row .team-thumb img { display: block; }
.team-row .team-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 30, 48, .85) 0%, rgba(14, 30, 48, 0) 45%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.team-row .team-thumb .team-thumb-name { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; margin: 0; color: var(--yellow); font-size: 20px; line-height: 1.15; letter-spacing: -.02em; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.team-row .team-thumb:hover::after, .team-row .team-thumb:focus-visible::after, .team-row .team-thumb:hover .team-thumb-name, .team-row .team-thumb:focus-visible .team-thumb-name { opacity: 1; transform: none; }
@media (hover: none) { .team-row .team-thumb::after, .team-row .team-thumb .team-thumb-name { opacity: 1; transform: none; } .team-row .team-thumb .team-thumb-name { font-size: 15px; left: 12px; bottom: 10px; } }

/* ---------- Article : bandeau « Rédigé par » ---------- */
.post-authors { background: var(--navy-900); color: var(--white); padding: clamp(50px, 6vw, 80px) 0; }
.post-author { max-width: calc(1140px + 2 * var(--gutter)); display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(30px, 5vw, 60px); align-items: center; }
.post-author + .post-author { margin-top: clamp(40px, 5vw, 60px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid rgba(255, 251, 173, .25); }
.post-author-photo img { display: block; width: 100%; aspect-ratio: 277 / 415; object-fit: cover; border-radius: 10px; }
.post-author-eyebrow { color: var(--yellow); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 12px; }
.post-author h2 { color: var(--white); font-weight: 300; font-size: clamp(2.2rem, 3.8vw, 54px); line-height: 1; letter-spacing: -.04em; margin: 0 0 10px; }
.post-author h2 a { color: inherit; text-decoration: none; }
.post-author h2 a:hover { color: var(--yellow); }
.post-author-role { color: var(--yellow); font-size: 17px; letter-spacing: -.02em; margin: 0 0 22px; }
.post-author-bio { font-size: clamp(1rem, 1.3vw, 18px); font-weight: 300; line-height: 1.45; letter-spacing: -.01em; margin: 0 0 22px; max-width: 640px; }
.post-author-contact { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 28px; }
.post-author-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-size: 15px; padding-bottom: 2px; border-bottom: 1px solid rgba(255, 251, 173, .5); }
.post-author-contact a:hover { color: var(--yellow); border-bottom-color: var(--yellow); }
.post-author-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.post-authors.is-multi .post-author { grid-template-columns: 180px minmax(0, 1fr); }
.post-authors.is-multi .post-author h2 { font-size: clamp(1.9rem, 3vw, 42px); }
@media (max-width: 760px) {
  .post-author, .post-authors.is-multi .post-author { grid-template-columns: 1fr; }
  .post-author-photo { max-width: 200px; }
  .post-author-actions .btn { flex: 1 1 100%; }
}

/* ---------- Page 404 ---------- */
.nf-hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--header-h, 110px)); padding: calc(var(--header-h, 110px) + 40px) 0 clamp(70px, 8vw, 110px); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--navy-900); color: var(--white); text-align: center; }
.nf-hero::before { content: ""; position: absolute; inset: 14% 8%; background: url("../img/accueil/crochets.png") center / 100% 100% no-repeat; opacity: .08; pointer-events: none; }
.nf-inner { position: relative; width: 100%; max-width: 860px; }
.nf-code { margin: 0; color: var(--yellow); font-weight: 300; font-size: clamp(7rem, 20vw, 240px); line-height: .85; letter-spacing: -.06em; }
.nf-hero h1 { color: var(--white); font-weight: 400; font-size: clamp(2rem, 3.6vw, 52px); letter-spacing: -.03em; margin: 18px 0 14px; }
.nf-text { font-size: clamp(1.05rem, 1.5vw, 20px); font-weight: 300; line-height: 1.4; margin: 0 auto 32px; max-width: 36em; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: clamp(40px, 5vw, 56px); }
.nf-search { max-width: 560px; margin: 0 auto clamp(36px, 4vw, 48px); }
.nf-search label { display: block; color: var(--yellow); font-size: 16px; margin-bottom: 12px; }
.nf-search-field { display: flex; border: 1px solid var(--yellow); border-radius: var(--radius); overflow: hidden; }
.nf-search-field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; font-size: 16px; padding: 14px 22px; outline: none; }
.nf-search-field input::placeholder { color: rgba(255, 255, 255, .55); }
.nf-search-field button { background: var(--yellow); color: var(--navy-900); border: 0; padding: 0 22px; cursor: pointer; display: grid; place-items: center; }
.nf-search-field:focus-within { box-shadow: 0 0 0 2px rgba(255, 251, 173, .35); }
.nf-links p { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .7); margin: 0 0 14px; }
.nf-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nf-links a { display: inline-block; color: var(--white); text-decoration: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--radius); padding: 8px 18px; font-size: 15px; transition: border-color .15s, color .15s; }
.nf-links a:hover { color: var(--yellow); border-color: var(--yellow); }
@media (max-width: 520px) { .nf-actions .btn { flex: 1 1 100%; } }

/* ---------- Pages de section : tous les domaines / tous les secteurs ---------- */
.hub-hero { background: var(--navy-800); color: var(--white); padding: clamp(60px, 7vw, 100px) 0 clamp(50px, 6vw, 80px); }
.hub-hero .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.hub-hero h1 { color: var(--white); font-weight: 300; font-size: clamp(2.6rem, 5vw, 76px); line-height: 1; letter-spacing: -.04em; margin: 0 0 22px; }
.hub-hero .lead { color: var(--white); font-weight: 300; font-size: clamp(1.1rem, 1.7vw, 24px); line-height: 1.35; letter-spacing: -.02em; margin: 0; max-width: 46em; padding-left: 22px; border-left: 2px solid var(--yellow); }
.hub-list { background: #E6E7E9; padding: clamp(50px, 6vw, 90px) 0; }
.hub-list .wrap { max-width: calc(1400px + 2 * var(--gutter)); }
.hub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(18px, 2vw, 28px); }
.hub-card { background: var(--white); border-radius: 15px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.hub-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14, 30, 48, .12); }
.hub-card-main { display: flex; flex-direction: column; flex: 1; color: var(--navy-800); text-decoration: none; }
.hub-card-img { display: block; aspect-ratio: 16 / 10; background: var(--navy-800); overflow: hidden; }
.hub-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.hub-card:hover .hub-card-img img { transform: scale(1.04); }
.hub-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.hub-card h2 { color: var(--navy-800); font-weight: 400; font-size: clamp(1.35rem, 1.8vw, 26px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 10px; }
.hub-card-text { display: block; font-size: 16px; line-height: 1.4; color: var(--slate); margin-bottom: 18px; }
.hub-card-more { margin-top: auto; align-self: flex-start; font-size: 15px; padding-bottom: 2px; border-bottom: 2px solid var(--yellow); }
.hub-card:hover .hub-card-more { border-bottom-color: var(--navy-800); }
.hub-card-subs { list-style: none; margin: 0; padding: 0 26px 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-card-subs a { display: inline-block; font-size: 14px; color: var(--navy-800); text-decoration: none; background: var(--grey-100); border-radius: var(--radius); padding: 6px 14px; }
.hub-card-subs a:hover { background: var(--yellow); }
.site-footer h3 a { color: inherit; text-decoration: none; }
.site-footer h3 a:hover { color: var(--yellow); }

/* Menu : « Domaines de pratique » / « Secteurs d'intervention » sont des liens vers les pages de section ;
   le sous-menu s'ouvre au survol (ordinateur) ou avec la petite flèche (mobile) */
.sub-caret { display: none; }
@media (min-width: 1401px) {
  .main-nav a.sub-toggle { display: inline-block; }
}
@media (max-width: 1400px) {
  .main-nav .has-sub { position: relative; }
  .main-nav a.sub-parent { padding-right: 56px; }
  .main-nav a.sub-parent::after { display: none; }
  .sub-caret { display: block; position: absolute; top: 4px; right: 0; width: 48px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit; }
  .sub-caret::after { content: ""; display: inline-block; border: 6px solid transparent; border-top: 7px solid currentColor; border-bottom: 0; transition: transform .2s; }
  .has-sub.open > .sub-caret::after { transform: rotate(180deg); }
}

/* ---------- Fil d'Ariane (sous l'en-tête, toutes les pages sauf l'accueil) ---------- */
.breadcrumb { background: var(--navy-900); color: rgba(255, 255, 255, .75); font-size: 14px; letter-spacing: -.01em; position: relative; z-index: 4; }
.breadcrumb ol { list-style: none; margin: 0 auto; padding-top: 10px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; max-width: calc(1400px + 2 * var(--gutter)); }
.breadcrumb li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumb li + li::before { content: "›"; color: var(--yellow); margin: 0 10px; }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--yellow); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
/* Pages avec en-tête transparent sur une image plein écran : le fil se superpose au haut de l'image */
.breadcrumb-overlay { position: absolute; left: 0; right: 0; top: var(--header-h, 110px); background: transparent; }
@media (max-width: 700px) {
  .breadcrumb { font-size: 13px; }
  .breadcrumb [aria-current] { max-width: 28ch; }
}

/* Menu « Secteurs d'intervention » : 3 colonnes */
.sub-mega ul { list-style: none; margin: 0; padding: 0; }
.sub-col-title { margin: 0; padding: 8px 27px 6px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); }
@media (min-width: 1401px) {
  .main-nav .sub.sub-mega { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 820px; left: -160px; padding: 18px 0 14px; }
  .main-nav .sub-mega .sub-col + .sub-col { border-left: 1px solid #E7E8EA; }
  .main-nav .sub-mega a { white-space: normal; padding: 9px 27px; }
}
@media (max-width: 1400px) {
  .sub-col-title { padding: 14px 0 4px; color: var(--yellow); opacity: .85; }
}

/* En-tête : bouton « Infolettre » (contour jaune, ouvre la fenêtre d'inscription) */
.main-nav .nav-cta .btn.btn-nl { background: transparent; color: var(--yellow); border: 1px solid var(--yellow); }
.main-nav .nav-cta .btn.btn-nl:hover, .main-nav .nav-cta .btn.btn-nl:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--navy-800); }
/* En-tête : « Prendre un rendez-vous » sur 2 lignes, texte plus petit (ordinateur) */
@media (min-width: 1401px) {
  .main-nav .nav-cta .btn.btn-nl { white-space: normal; max-width: 132px; font-size: 14px; line-height: 1.05; padding: 6px 14px; }
  .main-nav .nav-cta .btn.btn-rv { white-space: normal; max-width: 128px; font-size: 14px; line-height: 1.05; padding: 6px 16px; }
}
/* Écrans de 1401 à 1640 px : un peu plus serré pour que tout tienne */
@media (min-width: 1401px) and (max-width: 1640px) {
  .header-inner { padding: 0 24px; gap: 16px; }
  .main-nav > ul > li > a, .main-nav .sub-toggle { padding-left: 8px; padding-right: 8px; }
  .header-inner .nav-cta { gap: 10px; }
  .main-nav .nav-cta .btn { padding-left: 15px; padding-right: 15px; }
}

/* Accueil, domaines de pratique : chevron à droite + survol de toute la ligne (blanc transparent) */
.areas-cols a { position: relative; padding: 12px 52px; transition: background .2s; }
.areas-cols a::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-top: 2px solid #E7E8EA; border-right: 2px solid #E7E8EA; transform: translateY(-50%) rotate(45deg); transition: right .2s, border-color .2s; }
.areas-cols a:hover, .areas-cols a:focus-visible { background: rgba(255, 255, 255, .12); }
.areas-cols a:hover::after, .areas-cols a:focus-visible::after { right: 16px; border-color: var(--yellow); }
