/* ============================================
   HARTIS CONSEIL - Design System (CORRIGÉ v2)
   ============================================ */

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

:root {
  --cream: #F7F4EF;
  --cream-dark: #EDE9E1;
  --marine: #C7D7D7;
  --marine-light: #B0C8C8;
  --gold: #E4E4E4;
  --gold-light: #EFEFEF;
  --text-muted: #8A8A7A;
  --text-light: #6A6A5A;
  --ink: #2C2C2C;
  --ink-light: #4A4A4A;
  --accent: #9ABAAB;
  --accent-dark: #7AA090;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-serif { font-family: 'Cormorant Garamond', serif; }
.font-sans { font-family: 'Montserrat', sans-serif; }

.text-eyebrow {
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
}

.text-label {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
}

.text-small {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 64px;
  transition: all 0.5s ease;
}

nav.scrolled {
  background: rgba(247,244,239,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 64px;
  border-bottom: 1px solid rgba(184,160,106,0.15);
}

.nav-logo { height: 20px; opacity: 0.85; }
.nav-logo svg { height: 20px; width: auto; fill: var(--marine); }

.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
}

.nav-links a {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  opacity: 0.6;
  transition: opacity 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-dark);
  transition: width 0.3s ease;
}

.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { opacity: 1; }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--accent-dark);
  padding-bottom: 2px;
  transition: all 0.3s;
}

.nav-cta:hover {
  color: var(--ink);
  border-color: var(--ink);
}


/* ============================================
   MENU TOGGLE (HAMBURGER)
   ============================================ */
.menu-toggle {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 0;
  margin: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
  transform-origin: center;
  position: absolute;
  left: 50%;
  margin-left: -11px;
}

.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 29px; }
.menu-toggle span:nth-child(3) { top: 39px; }

.menu-toggle.active span:nth-child(1) {
  top: 29px;
  transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  top: 29px;
  transform: rotate(-45deg);
}

/* ============================================
   MOBILE MENU
   ============================================ */


.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
  transform-origin: center;
  position: absolute;
  left: 50%;
  margin-left: -11px;
}

.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 29px; }
.menu-toggle span:nth-child(3) { top: 39px; }

.menu-toggle.active span:nth-child(1) {
  top: 29px;
  transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  top: 29px;
  transform: rotate(-45deg);
}


.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
  transform-origin: center;
  position: absolute;
  left: 50%;
  margin-left: -11px;
}

.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 29px; }
.menu-toggle span:nth-child(3) { top: 39px; }

.menu-toggle.active span:nth-child(1) {
  top: 29px;
  transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  top: 29px;
  transform: rotate(-45deg);
}


.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(247,244,239,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 105;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding-top: 80px;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a.active { opacity: 1; }

.mobile-menu .mobile-cta {
  margin-top: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1px solid var(--ink);
}

/* ============================================
   SIDE LINES
   ============================================ */
.side-line {
  position: fixed;
  top: 0;
  width: 1px;
  height: 100vh;
  z-index: 10;
  background: linear-gradient(to bottom, transparent 10%, var(--marine) 40%, var(--marine) 60%, transparent 90%);
  opacity: 0.06;
  pointer-events: none;
}

.side-line-left { left: 32px; }
.side-line-right { right: 32px; }

/* ============================================
   MAIN
   ============================================ */
main {
  position: relative;
  z-index: 1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 64px 48px;
}

.hero-spacer { height: 120px; }

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  padding: 40px 0;
}

.hero .eyebrow {
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 36px;
}

.divider-top {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin-bottom: 44px;
}

.cabinet-logo {
  width: min(580px, 80vw);
  margin-bottom: 52px;
}

.cabinet-logo svg { width: 100%; height: auto; fill: var(--ink); }

.divider-line {
  width: 44px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 52px;
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-style: italic;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 64px;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-location {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ============================================
   CTA BUTTON
   ============================================ */
.cta {
  display: inline-block;
  padding: 17px 52px;
  border: 1px solid var(--ink);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.cta:hover { color: var(--cream); }
.cta:hover::before { transform: translateY(0); }

.cta-light {
  border-color: var(--cream);
  color: var(--cream);
}

.cta-light::before { background: var(--cream); }
.cta-light:hover { color: var(--ink); }

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 120px 64px;
}

.section-label {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 32px;
}

.section-title em { font-style: italic; color: var(--accent-dark); }

.section-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-style: italic;
  line-height: 1.8;
  color: var(--ink-light);
  max-width: 600px;
  margin-bottom: 80px;
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-section {
  text-align: center;
  padding: 100px 64px;
}

.cta-section-light {
  text-align: center;
  padding: 100px 64px;
  background: var(--cream);
}

.cta-section .eyebrow,
.cta-section-light .eyebrow {
  margin-bottom: 32px;
}

.cta-section .section-title,
.cta-section-light .section-title {
  margin-bottom: 40px;
}

/* ============================================
   DARK SECTIONS
   ============================================ */
.dark-section {
  background: var(--ink);
  color: var(--cream);
}

.dark-section .section-label { color: var(--accent); }
.dark-section .section-title { color: var(--cream); }
.dark-section .section-intro { color: rgba(247,244,239,0.6); }

/* ============================================
   ABOUT / STATS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 0.85rem;
  line-height: 2;
  color: rgba(247,244,239,0.75);
  margin-bottom: 24px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid rgba(154,186,171,0.25);
}

.stat-box {
  padding: 48px 36px;
  border: 1px solid rgba(154,186,171,0.12);
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.4);
}

.orias-badge {
  margin-top: 48px;
  padding: 20px 28px;
  border: 1px solid rgba(184,160,106,0.25);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.orias-badge-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.orias-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(247,244,239,0.6);
  letter-spacing: 0.05em;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(199,215,215,0.3);
}

.service-card {
  background: var(--cream);
  padding: 52px 40px;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: #F0EDE6; }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: var(--accent-dark);
  margin-bottom: 28px;
  opacity: 0.7;
}

.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--ink);
}

.service-desc {
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--ink-light);
}

/* ============================================
   CLIENTELE
   ============================================ */
#clientele { background: var(--cream-dark); }

.clientele-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.client-type {
  padding: 40px 28px;
  border-top: 1px solid rgba(122,160,144,0.35);
}

.client-type-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.client-type-desc {
  font-size: 0.72rem;
  line-height: 1.8;
  color: var(--ink-light);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info { padding-top: 16px; }

.contact-intro {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(247,244,239,0.6);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.contact-detail-label {
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-detail-value {
  font-size: 0.8rem;
  color: rgba(247,244,239,0.75);
  line-height: 1.6;
}

.contact-detail-value a {
  color: rgba(247,244,239,0.75);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-detail-value a:hover { color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.form-input, .form-select, .form-textarea {
  background: rgba(247,244,239,0.04);
  border: 1px solid rgba(154,186,171,0.25);
  color: var(--cream);
  padding: 14px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(247,244,239,0.25); }

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(154,186,171,0.6);
}

.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--ink); color: var(--cream); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-submit {
  margin-top: 8px;
  padding: 17px 0;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.4s;
  z-index: -1;
}

.form-submit:hover { color: var(--ink); }
.form-submit:hover::before { transform: translateY(0); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 32px;
  border: 1px solid rgba(154,186,171,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
  line-height: 1.8;
}

/* ============================================
   ARTICLES / BLOG
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

.article-card {
  background: var(--cream);
  border: 1px solid rgba(199,215,215,0.3);
  transition: all 0.4s ease;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border-color: rgba(154,186,171,0.5);
}

.article-card-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--cream-dark), var(--marine));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.article-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(44,44,44,0.3));
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card-image svg {
  width: 48px;
  height: 48px;
  fill: rgba(247,244,239,0.6);
  z-index: 1;
}

.article-card-content { padding: 32px 28px; }

.article-card-date {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.article-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--ink);
}

.article-card-excerpt {
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.article-card-read {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.article-card:hover .article-card-read { gap: 16px; }

/* Article page */
.article-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 64px 80px;
  background: var(--ink);
  color: var(--cream);
  position: relative;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,44,44,0.95), rgba(44,44,44,0.7));
  z-index: 1;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.article-hero .eyebrow {
  color: var(--accent);
  margin-bottom: 24px;
}

.article-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
}

.article-hero-meta {
  display: flex;
  gap: 32px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.5);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 64px 120px;
}

.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 48px 0 20px;
  color: var(--ink);
}

.article-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin: 36px 0 16px;
  color: var(--ink);
}

.article-body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 28px 0 12px;
  color: var(--ink);
}

.article-body p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.article-body ul {
  margin: 20px 0;
  padding-left: 24px;
}

.article-body li {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--ink-light);
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin: 36px 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-light);
  line-height: 1.7;
}

.article-body strong { color: var(--ink); font-weight: 500; }

.article-cta {
  background: var(--cream-dark);
  padding: 64px;
  text-align: center;
  margin-top: 80px;
}

.article-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.article-cta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ============================================
   EXPERTISES PAGE
   ============================================ */
.expertise-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.expertise-detail.reverse { direction: rtl; }
.expertise-detail.reverse > * { direction: ltr; }

.expertise-detail-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.expertise-detail-content p {
  font-size: 0.85rem;
  line-height: 2;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.expertise-detail-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.expertise-detail-list li {
  font-size: 0.8rem;
  line-height: 2;
  color: var(--ink-light);
  padding-left: 20px;
  position: relative;
}

.expertise-detail-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-dark);
}

.expertise-detail-visual {
  background: linear-gradient(135deg, var(--cream-dark), var(--marine));
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.expertise-detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(44,44,44,0.05));
}

.expertise-detail-visual svg {
  width: 80px;
  height: 80px;
  fill: rgba(44,44,44,0.15);
}

.expertise-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   MENTIONS LÉGALES
   ============================================ */
#mentions {
  background: var(--cream);
  padding: 80px 64px;
  border-top: 1px solid rgba(44,44,44,0.08);
}

.mentions-title {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.mentions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.mentions-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.mentions-block { margin-bottom: 32px; }

.mentions-block h4 {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.mentions-block p {
  font-size: 0.7rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.mentions-block a { color: var(--accent-dark); text-decoration: none; }

.mentions-block ul { list-style: none; padding: 0; }

.mentions-block ul li {
  font-size: 0.7rem;
  line-height: 1.9;
  color: var(--text-muted);
  padding-left: 12px;
  position: relative;
}

.mentions-block ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  opacity: 0.6;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  padding: 40px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(154,186,171,0.12);
  position: relative;
  z-index: 1;
}

.footer-logo svg { height: 16px; width: auto; fill: rgba(247,244,239,0.25); }

.footer-copy {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.25);
}

.footer-email a {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(154,186,171,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-email a:hover { color: var(--accent); }

/* ============================================
   UTILITIES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

.text-center { text-align: center; }
.max-w-600 { max-width: 600px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media(max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-detail { grid-template-columns: 1fr; gap: 40px; }
  .expertise-detail.reverse { direction: ltr; }
  .methodology-stats { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media(max-width: 900px) {
  /* Navigation mobile */
  nav { 
    padding: 20px 24px; 
    padding-left: 60px;
  }
  nav.scrolled { 
    padding: 14px 24px; 
    padding-left: 60px;
  }
  .menu-toggle {
    display: flex !important;
    top: 0;
    left: 0;
    right: auto;
  }

  nav.scrolled .menu-toggle {
    top: 0;
  }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  
  .mobile-menu { display: flex; }
  .nav-logo svg { height: 18px; }

  /* Sections padding réduit */
  section, #clientele, #mentions { padding: 64px 24px; }
  .hero { 
    padding: 0 24px 32px; 
    min-height: auto;
    padding-top: 80px;
  }
  .hero-spacer { height: 60px; }

  /* Hero mobile */
  .hero-center { padding: 24px 0; }
  .hero .eyebrow { 
    font-size: 0.65rem; 
    margin-bottom: 24px;
    letter-spacing: 0.25em;
  }
  .divider-top { height: 40px; margin-bottom: 28px; }
  .cabinet-logo { 
    width: 90vw; 
    margin-bottom: 32px; 
  }
  .divider-line { margin-bottom: 32px; }
  .tagline { 
    font-size: 1.05rem; 
    margin-bottom: 40px; 
    max-width: 100%;
    padding: 0 8px;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
  }
  .hero-location { font-size: 0.6rem; }
  .hero-scroll { font-size: 0.6rem; }

  /* CTA plus grand pour touch */
  .cta {
    padding: 16px 36px;
    font-size: 0.65rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* CTA sections */
  .cta-section, .cta-section-light {
    padding: 64px 24px;
  }
  .cta-section .eyebrow,
  .cta-section-light .eyebrow {
    margin-bottom: 20px;
  }
  .cta-section .section-title,
  .cta-section-light .section-title {
    margin-bottom: 28px;
  }

  /* Grids en 1 colonne */
  .about-grid, .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  .services-grid { grid-template-columns: 1fr; }
  .clientele-grid { 
    grid-template-columns: 1fr; 
    gap: 24px;
    margin-top: 40px;
  }
  .mentions-grid { grid-template-columns: 1fr; gap: 32px; }
  .mentions-grid-full { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .articles-grid { 
    grid-template-columns: 1fr; 
    gap: 24px;
    margin-top: 40px;
  }

  /* Stats en 2 colonnes sur mobile */
  .about-stats { grid-template-columns: 1fr 1fr; }
  .methodology-stats { grid-template-columns: 1fr; margin-top: 40px; }
  .stat-box { padding: 32px 16px; }
  .stat-number { font-size: 2.2rem; }
  .stat-label { font-size: 0.5rem; }
  .methodology-stats .stat-number { font-size: 2.2rem; }
  .methodology-stats .stat-label { font-size: 0.5rem; }
  .methodology-stats p { font-size: 0.78rem; }

  /* Section titles plus petits */
  .section-title { 
    font-size: clamp(1.6rem, 6vw, 2.2rem); 
    margin-bottom: 20px;
  }
  .section-label { 
    font-size: 0.6rem; 
    margin-bottom: 32px;
    letter-spacing: 0.25em;
  }
  .section-intro { 
    font-size: 1rem; 
    margin-bottom: 40px;
    max-width: 100%;
  }

  /* Service cards */
  .service-card { padding: 36px 24px; }
  .service-name { font-size: 1.15rem; }
  .service-desc { font-size: 0.8rem; }
  .service-num { margin-bottom: 16px; }

  /* Client type */
  .client-type { padding: 28px 20px; }
  .client-type-title { font-size: 1.1rem; }
  .client-type-desc { font-size: 0.78rem; }

  /* Articles */
  .article-card-image { height: 180px; }
  .article-card-content { padding: 24px 20px; }
  .article-card-title { font-size: 1.1rem; }
  .article-card-excerpt { font-size: 0.78rem; }

  /* Article page */
  .article-body { padding: 40px 24px 60px; }
  .article-hero { 
    min-height: auto;
    padding: 100px 24px 48px; 
  }
  .article-hero h1 { 
    font-size: clamp(1.6rem, 6vw, 2.4rem); 
  }
  .article-hero-meta { 
    gap: 16px; 
    font-size: 0.6rem;
  }
  .article-body h2 { 
    font-size: 1.4rem; 
    margin: 32px 0 16px;
  }
  .article-body h3 { 
    font-size: 1.15rem; 
    margin: 24px 0 12px;
  }
  .article-body h4 {
    font-size: 1rem;
    margin: 20px 0 10px;
  }
  .article-body p,
  .article-body li { 
    font-size: 0.88rem; 
    line-height: 1.8;
  }
  .article-body blockquote {
    font-size: 1rem;
    padding-left: 20px;
    margin: 28px 0;
  }
  .article-cta { 
    padding: 40px 24px; 
    margin-top: 40px;
  }
  .article-cta h3 { font-size: 1.3rem; }

  /* Expertise - CORRECTIONS */
  .expertise-detail { 
    grid-template-columns: 1fr; 
    gap: 32px; 
    margin-bottom: 48px; 
  }
  .expertise-detail.reverse { direction: ltr; }
  .expertise-detail-content h3 { font-size: 1.3rem; }
  .expertise-detail-content p { font-size: 0.8rem; }
  .expertise-detail-visual { 
    min-height: 280px; 
    height: auto;
  }
  .expertise-detail-visual img {
    width: 100%;
    height: 280px;
    object-fit: cover;
  }

  /* Contact form */
  .contact-intro { font-size: 1rem; margin-bottom: 28px; }
  .contact-detail { margin-bottom: 18px; }
  .contact-detail-value { font-size: 0.85rem; }
  .form-input, .form-select, .form-textarea {
    padding: 12px 14px;
    font-size: 16px; /* Empêche le zoom iOS */
  }
  .form-submit {
    padding: 16px 0;
    min-height: 48px;
  }

  /* Mentions */
  #mentions { padding: 48px 24px; }
  .mentions-title { 
    font-size: 0.6rem; 
    margin-bottom: 32px;
    letter-spacing: 0.2em;
  }
  .mentions-block h4 { font-size: 0.6rem; }
  .mentions-block p,
  .mentions-block ul li { font-size: 0.78rem; }

  /* Footer */
  footer { 
    flex-direction: column; 
    gap: 16px; 
    text-align: center; 
    padding: 32px 24px;
    position: relative;
    z-index: 1;
  }
  .footer-logo svg { height: 14px; }
  .footer-copy { font-size: 0.55rem; }

  /* Side lines cachées */
  .side-line { display: none; }
}

@media(max-width: 600px) {
  .clientele-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .methodology-stats { grid-template-columns: 1fr; }
}

/* ============================================
   CORRECTIONS MOBILE - Images expertise
   ============================================ */
@media(max-width: 900px) {
  .expertise-detail-visual {
    min-height: auto !important;
    height: auto !important;
    overflow: hidden;
  }

  .expertise-detail-visual img {
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
    max-height: 350px;
    object-fit: cover;
    display: block;
  }
}

/* ============================================
   CORRECTION: Menu mobile - z-index fix
   ============================================ */


nav.scrolled 

/* Ensure mobile menu is above everything */
.mobile-menu {
  z-index: 105 !important;
}

/* Ensure nav logo stays clickable */
.nav-logo {
  z-index: 110;
  position: relative;
}

/* ============================================
   CORRECTION: Grille méthodologie 3 colonnes
   ============================================ */
.methodology-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2px;
  border: 1px solid rgba(154,186,171,0.25);
  margin-top: 64px;
}

.methodology-stats-grid .stat-box {
  padding: 48px 36px;
  border: 1px solid rgba(154,186,171,0.12);
  text-align: center;
}

.methodology-stats-grid .stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.methodology-stats-grid .stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.6);
}

.methodology-stats-grid p {
  font-size: 0.8rem;
  color: rgba(247,244,239,0.5);
  margin-top: 16px;
  line-height: 1.8;
}

@media(max-width: 1024px) {
  .methodology-stats-grid {
    grid-template-columns: 1fr !important;
  }
}

@media(max-width: 900px) {
  .methodology-stats-grid {
    grid-template-columns: 1fr !important;
    margin-top: 40px;
  }
  .methodology-stats-grid .stat-number {
    font-size: 2.2rem;
  }
  .methodology-stats-grid .stat-label {
    font-size: 0.5rem;
  }
  .methodology-stats-grid p {
    font-size: 0.78rem;
  }
}

/* ============================================
   CORRECTION: Menu mobile - alignement parfait
   ============================================ */
@media(max-width: 900px) {
  

  nav.scrolled 

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu { display: flex; }
}

  .nav-logo {
    z-index: 110;
    position: relative;
  }
}


/* ============================================
   CORRECTIONS GLOBALES
   ============================================ */

/* --- Menu mobile : alignement parfait --- */
@media(max-width: 900px) {
  

  nav.scrolled 

  .nav-logo {
    z-index: 110;
    position: relative;
  }
}

/* --- Images expertise mobile : pas de bandes --- */
@media(max-width: 900px) {
  .expertise-detail-visual {
    min-height: auto !important;
    height: auto !important;
  }

  .expertise-detail-visual img {
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
    max-height: 350px;
    object-fit: cover;
    display: block;
  }
}

/* --- Grille méthodologie 3 colonnes --- */
.methodology-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2px;
  border: 1px solid rgba(154,186,171,0.25);
  margin-top: 64px;
}

.methodology-stats-grid .stat-box {
  padding: 48px 36px;
  border: 1px solid rgba(154,186,171,0.12);
  text-align: center;
}

.methodology-stats-grid .stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.methodology-stats-grid .stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.6);
}

.methodology-stats-grid p {
  font-size: 0.8rem;
  color: rgba(247,244,239,0.5);
  margin-top: 16px;
  line-height: 1.8;
}

@media(max-width: 1024px) {
  .methodology-stats-grid {
    grid-template-columns: 1fr !important;
  }
}

@media(max-width: 900px) {
  .methodology-stats-grid {
    grid-template-columns: 1fr !important;
    margin-top: 40px;
  }
  .methodology-stats-grid .stat-number {
    font-size: 2.2rem;
  }
  .methodology-stats-grid .stat-label {
    font-size: 0.5rem;
  }
  .methodology-stats-grid p {
    font-size: 0.78rem;
  }
}

/* ============================================
   CORRECTION: Menu mobile aligné
   ============================================ */


@media(max-width: 900px) {
  

  nav.scrolled 
}


/* ============================================
   CORRECTION: Scroll mobile - pas d'espace vide
   ============================================ */
@media(max-width: 900px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  main {
    flex: 1;
    position: relative;
    z-index: 1;
  }

  footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
  }

  /* Prevent any pseudo-elements from creating extra space */
  body::after {
    display: none !important;
  }
}
