.expertise-grid article { min-height: 215px; }
.expertise-grid article p { color: #b9c3cc; margin: 15px 0 0; font-size: 13px; line-height: 1.55; }
.credentials { display: grid; gap: 14px; margin: 28px 0; }
.credentials p { border-top: 1px solid var(--line); margin: 0; padding-top: 14px; }
.team-grid article > p { line-height: 1.55; }
.team-cta { background: var(--gold); color: #fff; padding: 75px 7vw; text-align: center; }
.team-cta h2 { color: #fff; font: 400 clamp(36px, 5vw, 62px)/1.08 Georgia, "Times New Roman", serif; margin: 0 auto; max-width: 900px; }
.team-cta > p:not(.eyebrow) { margin: 24px auto 30px; max-width: 660px; }
.team-cta .eyebrow::before { display: none; }
.bank { background: var(--ivory); padding: 18px; overflow-wrap: anywhere; }
.form-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; background: var(--cream); }
.form-heading h2 { color: var(--navy); font-size: clamp(40px, 5vw, 68px); line-height: 1.08; }
.form-heading > p:last-child { color: #59616a; }
.contact-form { background: #fff; padding: 48px; box-shadow: 0 20px 70px #071a2d14; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: grid; gap: 8px; color: var(--navy); font-size: 13px; font-weight: 700; }
.contact-form label > span, .contact-form label > span > a { color: var(--gold); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 14px; color: var(--ink); font: 15px Arial, sans-serif; }
.contact-form textarea { margin-bottom: 22px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.contact-form .consent { grid-template-columns: 20px 1fr; align-items: start; margin: 0 0 24px; font-weight: 400; line-height: 1.55; }
.contact-form .consent input { width: 18px; height: 18px; padding: 0; }
.contact-form .consent span { color: #59616a; }
.contact-form .consent a { font-weight: 700; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { color: #6c6c6c; font-size: 12px; line-height: 1.5; }
.form-status { display: none; margin-bottom: 24px; padding: 15px; font-weight: 700; }
.form-status.success { display: block; color: #14532d; background: #dcfce7; }
.form-status.error { display: block; color: #7f1d1d; background: #fee2e2; }
.footer-links { display: flex; gap: 20px; align-items: center; }
.legal-page { max-width: 900px; margin: 0 auto; padding: 80px 24px 120px; }
.legal-page h1 { color: var(--navy); font-size: clamp(42px, 6vw, 72px); line-height: 1.05; }
.legal-page h2 { color: var(--navy); font-size: 30px; margin-top: 45px; }
.legal-page p, .legal-page li { line-height: 1.75; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-back { display: inline-block; margin-bottom: 45px; color: var(--gold); font-weight: 800; text-decoration: none; }
.sectors { background: #fff; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector-grid article { min-height: 235px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sector-grid article > span { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.sector-grid h3 { color: var(--navy); font-size: 25px; margin-top: 28px; }
.sector-grid p { color: #59616a; font-size: 14px; line-height: 1.6; }
.situations { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; margin-top: 70px; padding: 55px; background: var(--ivory); }
.situations h3 { color: var(--navy); font-size: 34px; line-height: 1.15; }
.situations ul { columns: 2; column-gap: 50px; }
.situations li { break-inside: avoid; border-top: 1px solid var(--line); padding: 14px 0; line-height: 1.5; }
@media (max-width: 700px) {
  .expertise-grid article { min-height: auto; }
  .team-cta { padding: 60px 24px; text-align: left; }
  .team-cta .eyebrow::before { display: inline-block; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-grid article { min-height: auto; }
  .situations { grid-template-columns: 1fr; padding: 30px 24px; }
  .situations ul { columns: 1; }
  .form-section { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; }
}

/* Navigation active et menu mobile */
.menu-toggle { display: none; }
.nav nav a { border: 1px solid transparent; border-radius: 999px; padding: 9px 13px; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.nav nav a.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.nav nav a:hover:not(.is-active) { background: #bd8b3514; border-color: #bd8b3540; color: var(--gold); }

/* Le formulaire tient sur une colonne avant que l'écran ne devienne étroit. */
@media screen and (max-width: 780px) {
  .nav .btn { display: none; }
  .brand small { display: none; }
  .form-section { display: block !important; padding: 64px 18px !important; }
  .form-heading { margin-bottom: 32px; }
  .form-heading h2 { font-size: clamp(40px, 13vw, 56px); }
  .contact-form { box-shadow: none; padding: 28px 18px !important; width: 100%; }
  .form-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
  .contact-form label { min-width: 0; }
  .contact-form input, .contact-form select, .contact-form textarea { max-width: 100%; min-width: 0; }
  .contact-form textarea { min-height: 180px; }
  .contact-form .consent { grid-template-columns: 20px minmax(0, 1fr); }
  .contact-form .btn { max-width: 100%; }

  .menu-toggle { background: transparent; border: 0; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 12px 0 12px 12px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
  .menu-toggle-icon, .menu-toggle-icon::before, .menu-toggle-icon::after { background: var(--navy); content: ""; display: block; height: 2px; position: relative; width: 23px; }
  .menu-toggle-icon::before { position: absolute; top: -7px; }
  .menu-toggle-icon::after { position: absolute; top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 0; transform: rotate(-45deg); }
  .nav #main-navigation { background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px #071a2d1c; display: none; left: 0; padding: 12px 20px 20px; position: absolute; right: 0; top: 72px; }
  .nav #main-navigation.is-open { display: grid; }
  .nav #main-navigation a { border: 1px solid transparent; border-bottom-color: var(--line); border-radius: 0; font-size: 15px; padding: 15px 0; }
  .nav #main-navigation a.is-active { background: #bd8b3517; border-left: 4px solid var(--gold); color: var(--navy); padding-left: 12px; }
}

/* Menu mobile natif : son ouverture ne dépend pas de JavaScript. */
.mobile-menu { display: none; }
@media screen and (max-width: 1000px) {
  .nav #desktop-navigation, .nav .btn { display: none; }
  .brand small { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { align-items: center; color: var(--navy); cursor: pointer; display: flex; font-size: 11px; font-weight: 800; gap: 9px; letter-spacing: 1px; list-style: none; padding: 14px 0 14px 14px; text-transform: uppercase; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu .menu-toggle-icon, .mobile-menu .menu-toggle-icon::before, .mobile-menu .menu-toggle-icon::after { background: var(--navy); content: ""; display: block; height: 2px; position: relative; width: 23px; }
  .mobile-menu .menu-toggle-icon::before { position: absolute; top: -7px; }
  .mobile-menu .menu-toggle-icon::after { position: absolute; top: 7px; }
  .mobile-menu[open] .menu-toggle-icon { background: transparent; }
  .mobile-menu[open] .menu-toggle-icon::before { top: 0; transform: rotate(45deg); }
  .mobile-menu[open] .menu-toggle-icon::after { top: 0; transform: rotate(-45deg); }
  .nav #main-navigation { background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px #071a2d1c; display: none; left: 0; padding: 10px 20px 20px; position: absolute; right: 0; top: 100%; }
  .mobile-menu[open] #main-navigation { display: grid !important; }
  .nav #main-navigation a { border: 1px solid transparent; border-bottom-color: var(--line); border-radius: 0; font-size: 15px; padding: 15px 0; }
  .nav #main-navigation a.is-active { background: #bd8b3517; border-left: 4px solid var(--gold); color: var(--navy); padding-left: 12px; }
}

/* Chaque collaborateur devient une fiche autonome et lisible. */
.team { background: #fbf7ed; }
.team-grid { gap: 34px 24px; }
.team-grid article { background: #fff; border: 1px solid #e8dec9; box-shadow: 0 14px 30px #071a2d0d; display: flex; flex-direction: column; min-width: 0; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.team-grid article:hover { box-shadow: 0 20px 38px #071a2d1c; transform: translateY(-4px); }
.team-grid .portrait { border-bottom: 3px solid var(--gold); }
.collective { background: #fff; border: 3px solid var(--gold); box-shadow: 0 14px 30px #071a2d0d; padding: 7px; }
.collective figcaption { margin: 14px 8px 7px; }
.team-grid h3 { color: var(--navy); font-size: 24px; line-height: 1.15; margin: 22px 22px 10px; min-height: 2.3em; }
.team-grid article > p { border-top: 1px solid #eee5d6; color: #5d6670; font-size: 13px; line-height: 1.6; margin: auto 22px 0; min-height: 82px; padding: 15px 0 22px; }

@media screen and (max-width: 700px) {
  .team-grid { gap: 18px; }
  .team-grid article:hover { transform: none; }
  .team-grid h3 { font-size: 20px; margin: 16px 16px 8px; }
  .team-grid article > p { font-size: 12px; margin: auto 16px 0; min-height: 96px; padding: 12px 0 16px; }
}

@media screen and (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-grid article { display: block; padding: 0; }
  .team-grid .portrait { aspect-ratio: 4 / 5; background: #f8f5ee; border-bottom: 3px solid var(--gold); border-right: 0; min-height: 0; }
  .team-grid .portrait img { height: 100%; object-fit: cover; object-position: center top; width: 100%; }
  .team-grid h3 { font-size: 23px; margin: 18px 18px 8px; min-height: 0; }
  .team-grid article > p { border-top: 1px solid #eee5d6; font-size: 13px; margin: 0 18px; min-height: 0; padding: 14px 0 20px; }
}

/* Aperçu concis des expertises sur l'accueil et page détaillée. */
.overview-grid { border-top: 1px solid #ffffff30; display: grid; grid-template-columns: repeat(3, 1fr); }
.overview-grid article { border-bottom: 1px solid #ffffff30; border-right: 1px solid #ffffff30; min-height: 255px; padding: 32px; }
.overview-grid span, .expertise-detail-number { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.overview-grid h3 { font-size: 28px; line-height: 1.12; margin: 30px 0 14px; }
.overview-grid p { color: #c6d0d8; font-size: 15px; line-height: 1.65; }
.overview-button { margin-top: 38px; }
.expertises-hero { background: var(--navy); color: #fff; padding: 110px 7vw 95px; }
.expertises-hero .eyebrow { color: var(--gold); }
.expertises-hero h1 { font-size: clamp(54px, 7vw, 94px); line-height: .98; max-width: 930px; }
.expertises-hero .lead { max-width: 730px; }
.expertise-detail { background: #fff; }
.expertise-detail .section-heading > p:last-child { color: #59616a; }
.expertise-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.expertise-detail-card { background: var(--cream); border: 1px solid #e8dec9; box-shadow: 0 10px 26px #071a2d0a; min-height: 265px; padding: 32px; }
.expertise-detail-card h2 { color: var(--navy); font-size: 32px; line-height: 1.12; margin: 25px 0 14px; }
.expertise-detail-card p { color: #59616a; font-size: 15px; line-height: 1.7; }
.expertise-detail-card:last-child { grid-column: span 2; }
.expertises-closing { background: var(--ivory); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 60px 7vw; }
.expertises-closing h2 { color: var(--navy); font-size: clamp(34px, 4vw, 54px); line-height: 1.08; }
.expertises-closing p { max-width: 700px; }
.experts-page .nav nav a.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }

@media screen and (max-width: 700px) {
  .overview-grid, .expertise-detail-grid, .expertises-closing { grid-template-columns: 1fr; }
  .overview-grid article { border-right: 0; min-height: auto; padding: 28px 24px; }
  .overview-grid h3 { font-size: 26px; }
  .expertises-hero { padding: 78px 24px 70px; }
  .expertises-hero h1 { font-size: clamp(48px, 14vw, 64px); }
  .expertise-detail-card { min-height: auto; padding: 27px 24px; }
  .expertise-detail-card h2 { font-size: 28px; }
  .expertise-detail-card:last-child { grid-column: auto; }
  .expertises-closing { padding: 50px 24px; }
}

/* Présentation synthétique de l'équipe sur l'accueil et page dédiée. */
.team-overview-layout { align-items: center; display: grid; gap: 7vw; grid-template-columns: 1.2fr .8fr; }
.team-overview-layout .collective { margin: 0; }
.team-overview-copy h3 { color: var(--navy); font: 400 clamp(32px, 4vw, 50px)/1.08 Georgia, "Times New Roman", serif; margin: 0 0 22px; }
.team-overview-copy > p:not(.eyebrow) { color: #59616a; font-size: 17px; }
.team-overview-copy ul { margin: 28px 0 32px; }
.team-overview-copy li { border-top: 1px solid var(--line); color: var(--navy); padding: 13px 0; line-height: 1.5; }
.team-page .nav nav a.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.team-page-hero { background: var(--navy); color: #fff; padding: 100px 7vw; }
.team-page-hero-grid { align-items: center; display: grid; gap: 7vw; grid-template-columns: .8fr 1.2fr; }
.team-page-hero .eyebrow { color: var(--gold); }
.team-page-hero h1 { font-size: clamp(52px, 7vw, 92px); line-height: .98; }
.team-page-hero .lead { max-width: 630px; }
.team-page-hero figure { border: 3px solid var(--gold); margin: 0; padding: 6px; }
.team-page-hero figure img { display: block; width: 100%; }
.team-page-hero figcaption { color: #c6d0d8; font-size: 11px; letter-spacing: 1.3px; margin: 11px 5px 3px; text-align: center; text-transform: uppercase; }
.team-directory { background: #fff; }
.team-directory .section-heading > p:last-child { color: #59616a; }
.team-directory-grid { display: grid; gap: 30px 24px; grid-template-columns: repeat(3, 1fr); }
.team-directory-card { background: var(--cream); border: 1px solid #e8dec9; box-shadow: 0 12px 28px #071a2d0a; display: flex; flex-direction: column; overflow: hidden; }
.team-directory-card .portrait { aspect-ratio: 4 / 5; background: #f8f5ee; border-bottom: 3px solid var(--gold); }
.team-directory-card .portrait img { height: 100%; object-fit: cover; object-position: center top; width: 100%; }
.team-directory-card h2 { color: var(--navy); font-size: 29px; line-height: 1.12; margin: 22px 22px 9px; }
.team-directory-card .role { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .5px; margin: 0 22px 15px; text-transform: uppercase; }
.team-directory-card .description { border-top: 1px solid #e8dec9; color: #59616a; font-size: 14px; line-height: 1.65; margin: auto 22px 0; padding: 16px 0 23px; }
.team-directory-closing { background: var(--ivory); padding: 65px 7vw; text-align: center; }
.team-directory-closing h2 { color: var(--navy); font-size: clamp(35px, 4vw, 56px); line-height: 1.08; }
.team-directory-closing p { margin: 22px auto 30px; max-width: 670px; }

@media screen and (max-width: 900px) {
  .team-directory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 700px) {
  .team-overview-layout, .team-page-hero-grid { grid-template-columns: 1fr; }
  .team-overview-layout { gap: 38px; }
  .team-page-hero { padding: 72px 24px; }
  .team-page-hero h1 { font-size: clamp(48px, 14vw, 64px); }
  .team-directory-grid { grid-template-columns: 1fr; gap: 22px; }
  .team-directory-card h2 { font-size: 28px; }
  .team-directory-closing { padding: 54px 24px; text-align: left; }
  .team-directory-closing p { margin-left: 0; }
}

/* Page dédiée à l’avocate dirigeante : portrait, parcours et formation. */
.profil-hero .leader-copy h1 { color: var(--navy); font: 400 clamp(40px, 5vw, 66px)/1.05 Georgia, "Times New Roman", serif; margin: 0 0 14px; }
.profil-parcours { background: #fff; }
.profil-timeline .expertise-detail-card:last-child { grid-column: auto; }
.profil-timeline .expertise-detail-card h2 { font-size: 26px; }
.profil-engagement .copy p:first-child { font-size: 18px; }
@media screen and (max-width: 700px) {
  .profil-hero .leader-copy h1 { font-size: clamp(34px, 10vw, 46px); }
}

/* Le hero de l'équipe reste parfaitement cadré sur les écrans étroits. */
@media screen and (max-width: 420px) {
  .team-page-hero { overflow: hidden; padding: 58px 18px 54px; }
  .team-page-hero-grid { gap: 30px; }
  .team-page-hero h1 { font-size: clamp(29px, 10vw, 42px); letter-spacing: -1px; }
  .team-page-hero h1 span { font-size: .85em; }
  .team-page-hero .lead { font-size: 14px; line-height: 1.65; }
  .team-page-hero figure { min-width: 0; }
  .team-page-hero figcaption { font-size: 9px; letter-spacing: .8px; line-height: 1.45; overflow-wrap: anywhere; }
}

/* Mention de démonstration, discrète, en pied de chaque page. */
.demo-note { background: var(--cream, #fffaf1); border-top: 1px solid #e8dec9; color: #7c848d; font-size: 11px; letter-spacing: .3px; margin: 0; padding: 14px 5vw 20px; text-align: center; }
.demo-note a { color: #7c848d; text-decoration: underline; }
.demo-note a:hover { color: var(--gold, #bd8b35); }
@media screen and (max-width: 700px) { .demo-note { padding: 14px 20px 22px; text-align: left; } }
