/* ============================================
   ARK AVOCATS — Feuille de style principale
   Palette : Bordeaux #5C1A3A | Or #C8A951 | Crème #FBF8F4
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ---- Transitions de page ---- */
body {
  animation: pageFadeIn 0.4s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.page-leaving {
  animation: pageFadeOut 0.3s ease forwards;
}
@keyframes pageFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2C2C2C;
  background: #FBF8F4;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Variables ---- */
:root {
  --navy:   #5C1A3A;
  --navy-dark: #3E0E28;
  --gold:   #C8A951;
  --gold-light: #e2c97e;
  --white:  #FFFFFF;
  --off-white: #FBF8F4;
  --light-grey: #EDE8E0;
  --text:   #2C2C2C;
  --text-light: #666;
  --max-width: 1100px;
}

/* ---- Typographie ---- */
h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin-bottom: 1rem; color: #444; }
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

section { padding: 80px 0; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(92,26,58,0.18);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__logo img {
  height: 56px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__menu a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav__menu a:hover,
.nav__menu a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  padding-top: 12px;
  background: transparent;
  min-width: 260px;
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: 12px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-top: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(92,26,58,0.12);
  z-index: -1;
}
.nav__item:hover .nav__dropdown,
.nav__item.open .nav__dropdown { display: block; }
.nav__dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--light-grey);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--navy);
}
.nav__dropdown a:last-child { border-bottom: none; }
.nav__dropdown a:hover { background: var(--off-white); color: var(--gold); border-bottom-color: var(--light-grey); }

.nav__cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-bottom: none !important;
  letter-spacing: 0.04em;
  transition: background 0.2s !important;
}
.nav__cta:hover { background: var(--navy) !important; color: var(--white) !important; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  transition: 0.3s;
}

/* Sous-barre décorative */
.nav__subbar {
  position: fixed;
  top: 80px;
  left: 0; right: 0;
  z-index: 999;
  background: #D4B472;
  height: 6px;
}
.nav__subbar * { display: none; }

/* Page offset for fixed nav + subbar */
.page-body { padding-top: 86px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3E0E28 0%, #5C1A3A 60%, #7A2A52 100%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none"/><path d="M0 60L60 0" stroke="rgba(200,169,81,0.06)" stroke-width="1"/></svg>') repeat;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 0;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero__title {
  color: var(--white);
  max-width: 640px;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
}
.hero__subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================
   BOUTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* ============================================
   EXPERTISES — Cartes accueil
   ============================================ */
.expertise-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.expertise-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  padding: 40px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.expertise-card:hover::before { transform: scaleX(1); }
.expertise-card:hover {
  box-shadow: 0 12px 40px rgba(92,26,58,0.1);
  transform: translateY(-4px);
}
.expertise-card__icon {
  width: 52px;
  height: 52px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.expertise-card h3 { margin-bottom: 0.75rem; }
.expertise-card p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.expertise-card__link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.expertise-card__link::after { content: '→'; }
.expertise-card__link:hover { color: var(--navy); }

/* ============================================
   PRÉSENTATION — Section alternée
   ============================================ */
.about-section { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-grid__text h2 { margin-bottom: 1.5rem; }
.about-grid__text p { margin-bottom: 1rem; }
.about-grid__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.values-list { margin-top: 1.5rem; }
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #444;
}
.values-list li::before {
  content: '—';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   ÉQUIPE — Accueil preview
   ============================================ */
.team-section { background: var(--white); }
.team-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
}
.team-card__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--light-grey);
  transition: border-color 0.2s;
}
.team-card:hover .team-card__photo { border-color: var(--gold); }
.team-card h3 { margin-bottom: 0.25rem; }
.team-card__role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.team-card p { font-size: 0.9rem; }

/* ============================================
   CTA BANDE
   ============================================ */
.cta-band {
  background: var(--navy);
  padding: 64px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.7); margin: 0; }

/* ============================================
   PAGE HERO (sous-pages)
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: 64px 0;
}
.page-hero__inner {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.page-hero h1 { color: var(--white); }
.page-hero__divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: 1rem;
}

/* ============================================
   CONTENU PAGE
   ============================================ */
.page-content { padding: 80px 0; }
.page-content__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.prose h2 { margin: 2rem 0 1rem; }
.prose h3 { margin: 1.5rem 0 0.75rem; color: var(--navy); }
.prose p { margin-bottom: 1.2rem; }
.prose ul {
  margin: 1rem 0 1.5rem 1.2rem;
  list-style: disc;
}
.prose ul li { margin-bottom: 0.4rem; color: #444; }

/* Sidebar */
.sidebar {
  position: sticky;
  top: 96px;
}
.sidebar__card {
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar__card h4 {
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}
.sidebar__nav a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--light-grey);
  transition: color 0.2s, padding-left 0.2s;
}
.sidebar__nav a:last-child { border-bottom: none; }
.sidebar__nav a:hover,
.sidebar__nav a.active { color: var(--gold); padding-left: 8px; }
.sidebar__contact p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.sidebar__contact strong { color: var(--navy); }

/* ============================================
   EXPERTISES PAGE
   ============================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}
.expertise-full-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--light-grey);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.expertise-full-card:hover { box-shadow: 0 8px 32px rgba(92,26,58,0.1); }
.expertise-full-card__header {
  background: var(--navy);
  padding: 28px 28px 32px;
  position: relative;
  display: flex;
  align-items: center;
  height: 120px;
}
.expertise-full-card__header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px;
  height: 3px;
  background: var(--gold);
}
.expertise-full-card__header h3 { color: var(--white); }
.expertise-full-card__body { padding: 28px; }
.expertise-full-card__body p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.expertise-full-card__tags { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.5rem; }
.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--off-white);
  color: var(--navy);
  font-weight: 600;
  border: 1px solid var(--light-grey);
}

/* ============================================
   ÉQUIPE PAGE
   ============================================ */
.lawyer-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding: 64px 0;
  border-bottom: 1px solid var(--light-grey);
  align-items: start;
}
.lawyer-profile:last-child { border-bottom: none; }
.lawyer-profile__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.lawyer-profile__name { margin-bottom: 0.25rem; }
.lawyer-profile__role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-grey);
}
.lawyer-profile__bio { margin-bottom: 2rem; }
.lawyer-profile__section h4 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}
.lawyer-profile__list { margin-bottom: 1.5rem; }
.lawyer-profile__list li {
  font-size: 0.9rem;
  color: #444;
  padding: 6px 0;
  border-bottom: 1px solid var(--light-grey);
  padding-left: 12px;
  position: relative;
}
.lawyer-profile__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}
.lawyer-profile__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.lawyer-profile__contact a:hover { color: var(--gold); }

/* ============================================
   VALEURS & HONORAIRES
   ============================================ */
.values-blocks {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--light-grey);
  border-top: 3px solid var(--gold);
  margin: 2rem 0;
}
.value-block {
  display: none;
  padding: 52px 64px;
  background: var(--white);
  cursor: default;
}
.value-block.active {
  display: block;
  animation: vb-enter 0.48s cubic-bezier(0.4, 0, 0.2, 1) both;
  background: var(--white);
  box-shadow: none;
}
.value-block.leaving {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  animation: vb-exit 0.48s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
  z-index: 1;
}
@keyframes vb-enter {
  from { transform: translateX(105%); }
  to   { transform: translateX(0); }
}
@keyframes vb-exit {
  from { transform: translateX(0); }
  to   { transform: translateX(-105%); }
}
.value-block__number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.value-block h3 { margin-bottom: 0.75rem; }

/* Points de navigation (carrousel — desktop + mobile) */
.values-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px 0 6px;
}
.values-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-grey);
  border: 1px solid #b8a880;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.values-dot:hover   { transform: scale(1.2); }
.values-dot.active  { background: var(--gold); border-color: var(--gold); }

.honoraires-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 2rem 0;
}
.honoraire-mode {
  border: 1px solid var(--light-grey);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.honoraire-mode::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
}
.honoraire-mode h3 { margin-bottom: 0.75rem; font-size: 1rem; }
.honoraire-mode p { font-size: 0.9rem; color: var(--text-light); }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-detail__text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-detail__text a { color: var(--navy); font-weight: 500; }
.contact-detail__text a:hover { color: var(--gold); }

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-grey);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-map {
  margin-top: 48px;
  border: 1px solid var(--light-grey);
  overflow: hidden;
}
.contact-map iframe { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 36px 0 20px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer__brand img {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer__brand p { font-size: 0.9rem; max-width: 280px; }
.footer__col h4 {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom a { color: rgba(255,255,255,0.4); }
.footer__bottom a:hover { color: var(--gold); }

/* ============================================
   BANDEAU COOKIES
   ============================================ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
#cookie-banner p {
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
  margin: 0;
  flex: 1;
  min-width: 220px;
}
#cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  transition: all 0.2s;
}
.cookie-btn--accept {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.cookie-btn--accept:hover { background: var(--gold-light); border-color: var(--gold-light); }
.cookie-btn--refuse {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.3);
}
.cookie-btn--refuse:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }

/* Consentement Google Maps */
.map-consent {
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
  text-align: center;
  height: 280px;
}
.map-consent p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.map-consent button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.map-consent button:hover { background: var(--gold); }

/* ============================================
   CARTES EXPERTISES (accueil + page expertises)
   ============================================ */
.home-expertises__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.expertise-card {
  border: 1px solid var(--light-grey);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--navy);
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.expertise-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.expertise-card__title {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.expertise-card__text {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE — TABLETTE (≤ 900px)
   ============================================ */
@media (max-width: 900px) {
  section { padding: 56px 0; }

  .home-expertises__grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-cards { grid-template-columns: 1fr 1fr; }
  .expertise-grid   { grid-template-columns: 1fr 1fr; }
  .honoraires-modes { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid__image img { height: 280px; }

  .team-cards { gap: 32px; }

  .page-content__inner { grid-template-columns: 1fr; }
  .sidebar { position: static; }

  .lawyer-profile { grid-template-columns: 1fr; gap: 32px; }
  .lawyer-profile__photo { max-width: 220px; aspect-ratio: 1; border-radius: 50%; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; text-align: center; }

  /* Tables scrollables tablette */
  .rate-table, .leave-table, .reform-table, .level-table,
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 680px)
   ============================================ */
@media (max-width: 680px) {

  /* --- Navigation --- */
  .nav__inner { height: 68px; }
  .nav__logo img { height: 44px; }

  /* Sous-barre masquée sur mobile */
  .nav__subbar { display: none; }
  .page-body { padding-top: 68px; }

  /* Menu mobile déroulant */
  .nav__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--gold);
    padding: 0 0 12px;
    box-shadow: 0 8px 24px rgba(92,26,58,0.15);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    z-index: 999;
  }
  .nav__menu.open { display: flex; }
  .nav__menu > li { width: 100%; border-bottom: 1px solid var(--light-grey); }
  .nav__menu > li:last-child { border-bottom: none; }
  .nav__menu a {
    display: block;
    padding: 14px 24px;
    width: 100%;
    border-bottom: none;
    font-size: 0.9rem;
    color: var(--navy);
  }
  .nav__menu > li > a { color: var(--navy); }
  .nav__menu a.active { color: var(--gold); }
  .nav__menu a[style*="var(--gold)"] { color: var(--gold) !important; }

  /* Bouton CTA dans menu mobile */
  .nav__menu .nav__cta {
    display: block !important;
    margin: 12px 20px 4px !important;
    width: calc(100% - 40px) !important;
    text-align: center !important;
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 12px 20px !important;
  }

  /* Dropdown dans menu mobile */
  .nav__dropdown {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 4px 0;
    min-width: 0;
    display: none;
    background: var(--off-white);
  }
  .nav__dropdown::before { display: none; }
  .nav__dropdown a {
    padding: 12px 24px 12px 40px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--light-grey);
    color: var(--navy);
  }
  .nav__item.open .nav__dropdown { display: block; }

  /* Hamburger visible + animation → X */
  .nav__toggle {
    display: flex;
    background: none;
    border: none;
    padding: 8px;
  }
  .nav__toggle span { transition: transform 0.3s, opacity 0.2s; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* --- Général --- */
  section { padding: 40px 0; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }

  /* --- Section expertises accueil masquée sur mobile --- */
  .home-expertises { display: none; }

  /* --- Grille expertises (page expertises) : 1 colonne sur mobile --- */
  .home-expertises__grid { grid-template-columns: 1fr; gap: 14px; }
  /* 5e carte seule → centrée */
  .home-expertises__grid .expertise-card:last-child:nth-child(odd) {
    max-width: 100%;
  }

  /* --- Hero accueil --- */
  .hero { min-height: auto; }
  .hero__content { padding: 52px 0 44px; }
  .hero__subtitle { font-size: 0.95rem; }
  .hero-logo { height: 160px !important; }

  /* --- Hero sous-pages --- */
  .page-hero { padding: 36px 0; }

  /* --- Expertises --- */
  .expertise-cards { grid-template-columns: 1fr; }
  .expertise-grid   { grid-template-columns: 1fr; }
  .expertise-card   { padding: 24px 20px; }
  .expertise-full-card__header { height: auto; padding: 20px 24px; }

  /* --- Équipe gallery --- */
  .team-cards {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
  .team-card__photo { width: 140px; height: 140px; }

  /* --- Profil avocat (page équipe) --- */
  .lawyer-profile { padding: 36px 0; gap: 20px; }
  .lawyer-profile__photo { max-width: 140px; }

  /* --- Valeurs : ajustements mobiles du carrousel --- */
  .value-block { padding: 28px 20px; }

  /* --- Contact --- */
  .contact-grid { gap: 36px; }

  /* --- Boutons tactiles --- */
  .btn { padding: 14px 20px; font-size: 0.82rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; text-align: center; }

  /* --- Calculateur --- */
  .calc-grid--4 { grid-template-columns: 1fr 1fr; }
  .calc-grid--2 { grid-template-columns: 1fr; }
  /* 5e carte seule sur sa ligne → centrée */
  .calc-grid--5 .calc-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
    margin: 0 auto;
  }
  .calc-progress { gap: 0; }
  .calc-progress__label { font-size: 0.58rem; }
  .calc-progress__dot { width: 28px; height: 28px; font-size: 0.7rem; }
  .result-lines [style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
  }

  /* --- CTA bande --- */
  .cta-band { padding: 36px 0; }
  .cta-band__inner { gap: 1.25rem; }
  .cta-band .btn { width: 100%; text-align: center; }

  /* --- Footer --- */
  .footer { padding: 32px 0 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* --- Tables scrollables mobile --- */
  .rate-table, .leave-table, .reform-table, .level-table,
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }

  /* --- Illustrations SVG --- */
  .article-illustration svg { max-width: 100% !important; height: auto; }
  figure.article-illustration { margin: 1rem 0; }

  /* --- Articles --- */
  .article-highlight { padding: 16px 18px; }
  .article-highlight p { font-size: 0.95rem; }

  /* --- Articles : 1 colonne + sidebar masquée --- */
  .article-layout { grid-template-columns: 1fr !important; gap: 0 !important; }
  .article-layout .sidebar { display: none !important; }

  /* --- Bandeau cookies --- */
  #cookie-banner { flex-direction: column; gap: 12px; padding: 16px; }
  .cookie-banner__actions { width: 100%; justify-content: stretch; }
  .cookie-btn { flex: 1; padding: 10px; }
}
