/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --noir: #0A0A0A;
  --noir-profond: #050505;
  --charcoal: #1A1A1A;
  --gris-chaud: #2A2A2A;
  --gris-moyen: #6B6B6B;
  --gris-clair: #CDCDC9;
  --crème: #F5F0EB;
  --blanc: #FAFAF8;
  --or: #C4A265;
  --or-clair: #D4B87A;
  --or-foncé: #A8874E;
  --bleu-nuit: #1B2A4A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  color: var(--blanc);
  background: var(--noir);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ========== UTILITIES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--blanc);
}

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

.gold-line {
  width: 60px;
  height: 1px;
  background: var(--or);
  margin: 30px 0;
}

/* ========== FADE-IN ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1.1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.2s; }
.fade-in-delay-2 { transition-delay: 0.4s; }
.fade-in-delay-3 { transition-delay: 0.6s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fade-in-delay-1, .fade-in-delay-2, .fade-in-delay-3 { transition-delay: 0s; }
}

/* ========== HEADER / NAV ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 60px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(196, 162, 101, 0.1);
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--blanc);
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-icon { width: 38px; height: 38px; }
.logo-icon svg { width: 100%; height: 100%; }
.logo span { color: var(--or); font-weight: 300; }

.logo-img {
  height: 55px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
footer .logo-img {
  height: 45px;
  opacity: 0.8;
}

nav { display: flex; align-items: center; gap: 28px; }
nav a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris-clair);
  transition: color 0.3s ease;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--or);
  transition: width 0.3s ease;
}
nav a:hover { color: var(--blanc); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--or); }
nav a.active::after { width: 100%; }

/* Dropdown Solutions */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-dropdown > a svg {
  width: 10px; height: 10px;
  transition: transform 0.3s ease;
}
.nav-dropdown:hover > a svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 280px;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(196, 162, 101, 0.15);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  margin-top: 15px;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 25px;
  font-size: 0.82rem !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  color: var(--gris-clair) !important;
  transition: all 0.3s ease;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a:hover {
  color: var(--or) !important;
  background: rgba(196, 162, 101, 0.05);
  padding-left: 30px;
}

.nav-cta {
  padding: 12px 28px !important;
  border: 1px solid var(--or);
  color: var(--or) !important;
  font-size: 0.73rem !important;
  letter-spacing: 0.15em !important;
  transition: all 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--or) !important;
  color: var(--noir) !important;
}

/* ========== PAGE HERO (sous-pages) ========== */
.page-hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(27,42,74,0.6) 100%),
    url('https://images.unsplash.com/photo-1760389005023-a1ba1684bba8?w=1920&q=80') center/cover no-repeat;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, var(--noir) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Visuels par rubrique */
.page-hero-cabinet::before {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(26,26,26,0.7) 100%),
    url('img/hero-cabinet.png') center/cover no-repeat;
}
.page-hero-cabinet {
  padding-bottom: 80px;
}
.page-hero-cabinet::after {
  height: 140px;
}
.page-hero-objectifs::before {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.86) 0%, rgba(20,30,50,0.6) 100%),
    url('img/hero-objectifs.png') center/cover no-repeat;
}
.page-hero-expertises::before {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(26,26,26,0.65) 100%),
    url('img/hero-expertises.png') center/cover no-repeat;
}
.page-hero-dirigeants::before {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.86) 0%, rgba(20,30,50,0.6) 100%),
    url('img/hero-dirigeants.png') center/cover no-repeat;
}
.page-hero-analyses::before {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(26,26,26,0.7) 100%),
    url('img/hero-analyses.png') center/cover no-repeat;
}
.page-hero-contact::before {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(26,26,26,0.65) 100%),
    url('img/hero-contact.png') center/cover no-repeat;
}
.page-hero-mentions::before,
.page-hero-confidentialite::before {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(26,26,26,0.7) 100%),
    url('img/hero-mentions-legales.png') center/cover no-repeat;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 20px;
}
.page-hero h1 em { color: var(--or); font-style: italic; }

.page-hero p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--blanc);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== HERO ACCUEIL ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, var(--noir) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.25) 100%),
    url('img/hero-accueil.png') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding-left: 60px;
}

.hero-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 35px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--or); }

.hero-text {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--blanc);
  max-width: 520px;
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 45px;
  background: var(--or);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}
.hero-cta:hover {
  background: var(--or-clair);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(196, 162, 101, 0.2);
}
.hero-cta svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.hero-cta:hover svg { transform: translateX(4px); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gris-moyen);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--or), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ========== PILLARS MARQUEE ========== */
.pillars {
  padding: 30px 0;
  border-top: 1px solid rgba(196, 162, 101, 0.15);
  border-bottom: 1px solid rgba(196, 162, 101, 0.15);
  overflow: hidden;
  background: var(--noir-profond);
}
.pillars-track {
  display: flex;
  gap: 70px;
  animation: scroll-marquee 30s linear infinite;
  white-space: nowrap;
  align-items: center;
  width: max-content;
}
.pillars-track span {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.pillars-track span img {
  width: 90px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.4s ease;
}
.pillars-track span img:hover {
  opacity: 0.7;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== EXPERTISE ========== */
.expertise {
  padding: 140px 0;
  background: var(--noir);
}

.expertise-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 90px;
}
.expertise-header .gold-line { margin: 25px auto; }

.expertise-subtitle {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--blanc);
}

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

.expertise-card {
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.5), rgba(26, 26, 26, 0.8));
  border: 1px solid rgba(196, 162, 101, 0.1);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.expertise-card:hover {
  border-color: rgba(196, 162, 101, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.expertise-card:hover::before { opacity: 1; }

.expertise-card-icon {
  width: 48px; height: 48px;
  margin-bottom: 30px;
  color: var(--or);
}
.expertise-card-icon svg { width: 100%; height: 100%; }

.expertise-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--blanc);
}

.expertise-card p {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
}

.expertise-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 25px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  transition: gap 0.3s ease;
}
.expertise-card-link:hover { gap: 14px; }
.expertise-card-link svg { width: 14px; height: 14px; }

/* ========== ABOUT / CABINET ========== */
.about {
  padding: 140px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-visual { position: relative; }
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.05), rgba(10,10,10,0.3)),
    url('about-cabinet.jpg') center/cover;
  filter: grayscale(10%);
}
.about-img-accent {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 200px; height: 200px;
  border: 1px solid var(--or);
  opacity: 0.3;
  z-index: -1;
}
.about-stats {
  position: absolute;
  bottom: 40px; left: -40px;
  background: var(--or);
  color: var(--noir);
  padding: 35px 40px;
  text-align: center;
}
.about-stats-number {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
}
.about-stats-text {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 8px;
}

.about-content h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 30px;
}
.about-content h2 em { color: var(--or); font-style: italic; }

.about-text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  margin-bottom: 20px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 15px 25px;
  border: 1px solid rgba(196, 162, 101, 0.25);
  background: rgba(196, 162, 101, 0.05);
}
.about-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--or);
}

/* ========== ADVANTAGES ========== */
.advantages {
  padding: 140px 0;
  background: var(--noir);
}

.advantages-header {
  max-width: 550px;
  margin-bottom: 45px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.advantage-item {
  padding: 50px 35px;
  border-right: 1px solid rgba(196, 162, 101, 0.1);
  position: relative;
  transition: background 0.4s ease;
}
.advantage-item:last-child { border-right: none; }
.advantage-item:hover { background: rgba(196, 162, 101, 0.03); }

.advantage-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(196, 162, 101, 0.15);
  line-height: 1;
  margin-bottom: 25px;
}

.advantage-item h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 15px;
  color: var(--blanc);
}

.advantage-item p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
}

/* ========== SOLUTIONS GRID ========== */
.solutions {
  padding: 140px 0;
  background: var(--charcoal);
}

.solutions-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 45px;
}
.solutions-header .gold-line { margin: 25px auto; }

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

.solution-card {
  padding: 45px 35px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--or);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.solution-card:hover {
  border-color: rgba(196, 162, 101, 0.2);
  background: rgba(196, 162, 101, 0.04);
}
.solution-card:hover::after { transform: scaleX(1); }

.solution-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 10px;
}
.solution-card p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
}

/* Carte double action (simulation + expertise) */
.solution-card-dual {
  cursor: default;
}
.solution-card-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
}
.solution-card-actions a {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--or);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.solution-card-actions a:hover { opacity: 0.75; }
.solution-card-sim {
  font-weight: 300 !important;
  opacity: 0.7;
  font-size: 0.72rem !important;
}
.solution-card-sim:hover { opacity: 1 !important; }

/* ========== HUB GRID (4 cols for hub pages) ========== */
.solutions-grid.hub-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ========== IDENTITY SECTION ========== */
.maido-identity {
  padding: 80px 0 140px;
  background: var(--noir);
  position: relative;
  overflow: hidden;
}
.maido-identity::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(14,12,10,0.68) 50%, rgba(18,14,10,0.48) 100%),
    url('https://images.unsplash.com/photo-1556943899-f54e9f365d64?w=1400&q=80') center/cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}
.maido-identity::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--noir) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.identity-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.identity-content .section-title {
  margin-bottom: 15px;
}
.identity-content .gold-line {
  margin-bottom: 40px;
}
.identity-text {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  margin-bottom: 22px;
}
.identity-text:last-of-type {
  margin-bottom: 0;
}
.identity-text em {
  font-style: italic;
  color: var(--or-clair);
}
.identity-signature {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(196,162,101,0.15);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--or);
}

/* ========== TEAM SECTION ========== */
.team-section {
  padding: 140px 0 120px;
  background: var(--charcoal);
}
.team-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 70px;
}
.team-header .gold-line { margin: 25px auto; }

/* Grille triangle resserrée */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 42px 50px;
  max-width: 830px;
  margin: 0 auto;
}
.team-grid .team-member:first-child {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Carte conseiller */
.team-member {
  position: relative;
  text-align: center;
  width: 360px;
  outline: none;
}

.team-card {
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Portrait rectangulaire vertical — ratio 4:5 */
.team-photo {
  width: 360px;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  border: 1px solid rgba(196, 162, 101, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: filter 0.45s ease-out, transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Gradient overlay sur la photo */
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.94) 0%,
    rgba(8, 8, 8, 0.74) 28%,
    rgba(8, 8, 8, 0.22) 58%,
    rgba(8, 8, 8, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.45s ease-out;
  z-index: 1;
  pointer-events: none;
}

/* Contenu overlay — dans le tiers inférieur */
.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 30px 30px;
  z-index: 2;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out 0.05s, transform 0.4s ease-out 0.05s;
  pointer-events: none;
}
.team-overlay-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 4px;
}
.team-overlay-role {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
}
.team-overlay-sep {
  width: 26px;
  height: 1px;
  background: rgba(196, 162, 101, 0.4);
  margin: 14px 0;
}
.team-overlay-bio {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.68;
  color: rgba(245, 245, 240, 0.9);
  margin: 0;
}

/* Identité sous la photo */
.team-info {
  padding: 20px 8px 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.team-member:hover .team-info,
.team-member.active .team-info,
.team-member:focus-visible .team-info {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}
.team-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 5px;
}
.team-role {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
}

/* ---- Hover / Focus / Active ---- */
.team-member:hover .team-card,
.team-member.active .team-card,
.team-member:focus-visible .team-card {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}
.team-member:hover .team-photo,
.team-member.active .team-photo,
.team-member:focus-visible .team-photo {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.team-member:hover .team-photo img,
.team-member.active .team-photo img,
.team-member:focus-visible .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.035);
}
.team-member:hover .team-photo::after,
.team-member.active .team-photo::after,
.team-member:focus-visible .team-photo::after {
  opacity: 1;
}
.team-member:hover .team-overlay,
.team-member.active .team-overlay,
.team-member:focus-visible .team-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-photo img,
  .team-photo::after,
  .team-overlay {
    transition-duration: 0.01ms !important;
  }
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 120px 0;
  background:
    linear-gradient(135deg, rgba(27, 42, 74, 0.95), rgba(10, 10, 10, 0.95)),
    url('https://images.unsplash.com/photo-1572626313714-3b1f33a4bdc8?w=1920&q=80') center/cover;
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--or));
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 20px;
}
.cta-content h2 em { color: var(--or); font-style: italic; }

.cta-content p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gris-clair);
  margin-bottom: 45px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 55px;
  background: var(--or);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s ease;
}
.cta-btn:hover {
  background: var(--or-clair);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(196, 162, 101, 0.25);
}

/* ========== FAQ ========== */
.faq {
  padding: 140px 0;
  background: var(--noir);
}

.faq-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 70px;
}
.faq-header .gold-line { margin: 25px auto; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(196, 162, 101, 0.1);
}

.faq-question {
  width: 100%;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--blanc);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  text-align: left;
  transition: color 0.3s ease;
}
.faq-question:hover { color: var(--or); }
.faq-question svg {
  width: 20px; height: 20px;
  color: var(--or);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item.active .faq-question svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 28px;
}

.faq-answer p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  padding-right: 60px;
}

/* ========== PROCESSUS (page Cabinet) ========== */
.process {
  padding: 140px 0;
  background: var(--noir);
}

.process-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 45px;
}
.process-header .gold-line { margin: 25px auto; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.process-step {
  padding: 50px 45px;
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.4), rgba(26, 26, 26, 0.6));
  border: 1px solid rgba(196, 162, 101, 0.08);
  position: relative;
  transition: all 0.4s ease;
}
.process-step:hover {
  border-color: rgba(196, 162, 101, 0.25);
  transform: translateY(-3px);
}

.process-step-number {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(196, 162, 101, 0.12);
  line-height: 1;
  margin-bottom: 20px;
}

.process-step h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 15px;
}

.process-step p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
}

/* ========== VISION / MISSION (page Cabinet) ========== */
.vision-mission {
  padding: 120px 0;
  background: var(--charcoal);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vm-card {
  padding: 55px 50px;
  border: 1px solid rgba(196, 162, 101, 0.15);
  background: rgba(196, 162, 101, 0.03);
}

.vm-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--or);
  margin-bottom: 20px;
}

.vm-card p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
}

/* ========== CONTACT PAGE ========== */
.contact-section {
  padding: 140px 0;
  background: var(--noir);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 25px;
}
.contact-info h2 em { color: var(--or); font-style: italic; }

.contact-info p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.contact-detail-icon {
  width: 45px; height: 45px;
  border: 1px solid rgba(196, 162, 101, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--or); }

.contact-detail-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 4px;
}
.contact-detail-text p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  margin: 0;
}

.contact-form {
  padding: 50px;
  background: linear-gradient(145deg, rgba(42, 42, 42, 0.4), rgba(26, 26, 26, 0.6));
  border: 1px solid rgba(196, 162, 101, 0.1);
}

.contact-form h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 30px;
  color: var(--blanc);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(196, 162, 101, 0.15);
  color: var(--blanc);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--or);
}

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

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--or);
  color: var(--noir);
  border: none;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
}
.form-submit:hover {
  background: var(--or-clair);
}

/* ========== BLOG PAGE ========== */
.blog-section {
  padding: 140px 0;
  background: var(--noir);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.blog-card {
  border: 1px solid rgba(196, 162, 101, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
}
.blog-card:hover {
  border-color: rgba(196, 162, 101, 0.3);
  transform: translateY(-5px);
}

.blog-card-img {
  height: 240px;
  background:
    linear-gradient(to bottom, transparent, rgba(10,10,10,0.3)),
    url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=800&q=80') center/cover;
}
.blog-card:nth-child(2) .blog-card-img {
  background-image:
    linear-gradient(to bottom, transparent, rgba(10,10,10,0.3)),
    url('https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?w=800&q=80');
  background-size: cover;
  background-position: center;
}

.blog-card-body {
  padding: 35px;
}

.blog-card-date {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  margin-bottom: 20px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  transition: gap 0.3s ease;
}
.blog-card-link:hover { gap: 14px; }
.blog-card-link svg { width: 14px; height: 14px; }

/* ========== CALENDLY EMBED ========== */
.calendly-section {
  padding: 60px 0;
  background: var(--charcoal);
  text-align: center;
}
.calendly-section h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 15px;
}
.calendly-section p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  margin-bottom: 35px;
}
.calendly-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 50px;
  border: 1px solid var(--or);
  color: var(--or);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s ease;
}
.calendly-btn:hover {
  background: var(--or);
  color: var(--noir);
}

/* ========== FOOTER ========== */
footer {
  padding: 80px 0 40px;
  background: var(--noir-profond);
  border-top: 1px solid rgba(196, 162, 101, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 20px; }

.footer-brand p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gris-moyen);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(196, 162, 101, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  border-color: var(--or);
  background: rgba(196, 162, 101, 0.1);
}
.footer-social a svg { width: 16px; height: 16px; color: var(--gris-clair); }
.footer-social a:hover svg { color: var(--or); }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 22px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gris-moyen);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--blanc); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--gris-moyen);
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}
.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--gris-moyen);
  transition: color 0.3s ease;
}
.footer-bottom-links a:hover { color: var(--or); }

/* Footer regulatory */
.footer-regulatory {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-regulatory p {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--gris-moyen);
  letter-spacing: 0.03em;
  line-height: 1.8;
}
.footer-regulatory strong {
  color: var(--gris-clair);
  font-weight: 500;
}
.footer-regulatory a {
  color: var(--or);
  transition: color 0.3s ease;
}
.footer-regulatory a:hover { color: var(--or-clair); }

/* ========== NEWSLETTER MODAL ========== */
.newsletter-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}
.newsletter-modal.active { display: flex; }
.newsletter-modal-content {
  background: var(--charcoal);
  border: 1px solid rgba(196,162,101,0.2);
  max-width: 480px;
  width: 90%;
  padding: 50px 40px;
  position: relative;
}
.newsletter-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--gris-clair);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}
.newsletter-modal-close:hover { color: var(--or); }
.newsletter-modal h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--blanc);
  margin-bottom: 8px;
}
.newsletter-modal h3 em { color: var(--or); font-style: italic; }
.newsletter-modal > .newsletter-modal-content > p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gris-clair);
  line-height: 1.7;
  margin-bottom: 30px;
}
.newsletter-modal .form-group { margin-bottom: 18px; }
.newsletter-modal .form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-clair);
  margin-bottom: 8px;
}
.newsletter-modal .form-group input {
  width: 100%;
  padding: 14px 18px;
  background: var(--noir);
  border: 1px solid rgba(196,162,101,0.15);
  color: var(--blanc);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color 0.3s ease;
}
.newsletter-modal .form-group input:focus {
  outline: none;
  border-color: var(--or);
}
.newsletter-modal .form-group input::placeholder { color: var(--gris-moyen); }
.newsletter-consent {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--gris-moyen);
  line-height: 1.6;
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.newsletter-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--or);
  flex-shrink: 0;
}
.newsletter-modal .form-submit {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--or);
  color: var(--or);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.newsletter-modal .form-submit:hover {
  background: var(--or);
  color: var(--noir);
}

/* ========== PARTNERS BAND ========== */
.partners {
  padding: 50px 0;
  border-top: 1px solid rgba(196, 162, 101, 0.15);
  border-bottom: 1px solid rgba(196, 162, 101, 0.15);
  background: var(--noir-profond);
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px 45px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.partner-logo {
  height: 22px;
  width: auto;
  filter: grayscale(100%) brightness(1.8);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.partner-item:hover .partner-logo {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}
.partner-item span {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris-moyen);
  transition: color 0.3s ease;
}
.partner-item:hover span {
  color: var(--gris-clair);
}

/* ========== EXPERTISE EDITORIAL LAYOUT ========== */
.expertise-editorial {
  background: var(--noir);
  padding: 100px 0 40px;
}
.expertise-editorial .container {
  max-width: 860px;
}
.expertise-editorial .editorial-block {
  padding-bottom: 80px;
}
.expertise-editorial .editorial-block + .editorial-block {
  padding-top: 80px;
  border-top: 1px solid rgba(196, 162, 101, 0.08);
}
.expertise-editorial .editorial-lead {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  margin-bottom: 18px;
}
.expertise-editorial .about-text {
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.expertise-editorial .section-title {
  margin-bottom: 18px;
}
.expertise-editorial .gold-line {
  margin-bottom: 36px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  header { padding: 0 30px; }
  .hero-content { padding-left: 30px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-item { border-bottom: 1px solid rgba(196, 162, 101, 0.1); }
  .advantage-item:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .solutions-grid.hub-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { gap: 36px 40px; }
  .team-member { width: 300px; }
  .team-photo { width: 300px; height: 375px; border-radius: 14px; }
  .team-overlay { padding: 0 24px 24px; }
  .team-overlay-bio { font-size: 0.76rem; }
}

@media (max-width: 768px) {
  header { padding: 0 20px; height: 70px; }
  nav { display: none; }
  .hero-content { padding-left: 20px; }
  .container, .container-wide { padding: 0 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantage-item { border-right: none; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solutions-grid.hub-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .page-hero { padding: 140px 0 80px; }
  .team-grid { gap: 32px; flex-direction: column; align-items: center; }
  .team-grid .team-member:first-child { flex-basis: auto; }
  .team-member { width: min(360px, 90vw); }
  .team-photo { width: 100%; height: auto; aspect-ratio: 4/5; border-radius: 14px; }
  .team-overlay { padding: 0 26px 26px; }
  .team-section { padding: 80px 0 100px; }
  .maido-identity { padding: 60px 0 100px; }
  .maido-identity::before { opacity: 0.25; }
  .maido-identity::after { height: 80px; }
  .newsletter-modal-content { padding: 40px 25px; }
}


/* ========== DETAIL TEXT SECTIONS ========== */
.detail-text .about-text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  margin-bottom: 20px;
}

/* ========== CALENDLY MODAL ========== */
.calendly-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.calendly-modal.active { display: flex; }
.calendly-modal-content {
  position: relative;
  width: 100%;
  max-width: 700px;
  background: var(--charcoal);
  border: 1px solid rgba(196,162,101,0.15);
  border-radius: 8px;
  overflow: hidden;
}
.calendly-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.calendly-modal-header h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blanc);
}
.calendly-modal-header h3 em { font-style: italic; color: var(--or); }
.calendly-modal-close {
  background: none;
  border: none;
  color: var(--gris-moyen);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}
.calendly-modal-close:hover { color: var(--blanc); }
.calendly-modal-body {
  height: 680px;
  background: #fff;
}
.calendly-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width: 768px) {
  .calendly-modal { padding: 15px; }
  .calendly-modal-content { max-width: 100%; }
  .calendly-modal-body { height: 550px; }
  .calendly-modal-header { padding: 18px 20px; }
}

/* ========== CALENDLY INLINE EMBED ========== */
.calendly-inline-section {
  padding: 80px 0 100px;
  background: var(--noir);
}
.calendly-inline-section h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--blanc);
  margin-bottom: 12px;
}
.calendly-inline-section h3 em { font-style: italic; color: var(--or); }
.calendly-inline-section > .container > p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--blanc);
  line-height: 1.85;
  margin-bottom: 35px;
}
.calendly-embed-wrapper {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(196,162,101,0.15);
}
.calendly-embed-wrapper iframe {
  width: 100%;
  height: 700px;
  border: none;
}
@media (max-width: 768px) {
  .calendly-embed-wrapper iframe { height: 550px; }
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  max-width: 800px;
  margin: 0 auto;
}

/* ========== MOBILE MENU ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--blanc);
  transition: all 0.3s ease;
  border-radius: 1px;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(196, 162, 101, 0.08);
}
.mobile-menu-header .logo-img {
  height: 38px;
}
.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--gris-clair);
  transition: color 0.3s ease;
}
.mobile-menu-close:hover { color: var(--blanc); }
.mobile-menu-close svg { width: 24px; height: 24px; }

.mobile-nav {
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
}
.mobile-nav > a,
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gris-clair);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: color 0.3s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.mobile-nav > a:hover,
.mobile-dropdown-toggle:hover { color: var(--blanc); }

.mobile-dropdown-toggle svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--or);
}
.mobile-dropdown.open .mobile-dropdown-toggle svg {
  transform: rotate(180deg);
}
.mobile-dropdown.open .mobile-dropdown-toggle {
  color: var(--or);
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-dropdown.open .mobile-dropdown-menu {
  max-height: 500px;
}
.mobile-dropdown-menu a {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gris-moyen);
  padding: 12px 0 12px 20px;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.mobile-dropdown-menu a:hover { color: var(--or); }

.mobile-nav-cta {
  margin-top: 28px;
  padding: 16px 0 !important;
  border: 1px solid var(--or) !important;
  border-bottom: 1px solid var(--or) !important;
  color: var(--or) !important;
  text-align: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
}

/* ========== RESPONSIVE — TABLETTE (≤1024px) ========== */
@media (max-width: 1024px) {
  .hero-content { padding-left: 30px; }
  .cta-btn { padding: 18px 40px; }
}

/* ========== RESPONSIVE — MOBILE (≤768px) ========== */
@media (max-width: 768px) {
  /* Hamburger visible */
  .menu-toggle { display: flex; }

  /* Header mobile */
  header { padding: 0 20px; height: 70px; }
  .logo-img { height: 40px; }

  /* Hero accueil */
  .hero { min-height: 85vh; }
  .hero-content { padding-left: 0; max-width: 100%; }
  .hero-title { margin-bottom: 24px; }
  .hero-text { font-size: 0.95rem; margin-bottom: 36px; }
  .hero-cta { padding: 16px 36px; font-size: 0.72rem; }
  .hero-scroll { display: none; }

  /* Page hero */
  .page-hero h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .page-hero p { font-size: 0.9rem; padding: 0 10px; }
  .page-hero-cabinet { padding-bottom: 60px; }

  /* Sections */
  .expertise { padding: 80px 0; }
  .expertise-header { margin-bottom: 50px; }
  .expertise-card { padding: 36px 28px; }
  .about { padding: 80px 0; }
  .strategy { padding: 80px 0; }
  .process { padding: 80px 0; }
  .cta-section { padding: 80px 0; }
  .cta-section::before { height: 50px; }
  .faq { padding: 80px 0; }
  .solutions { padding: 80px 0 !important; }

  /* CTA boutons pleine largeur */
  .cta-btn {
    padding: 16px 28px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    width: 100%;
    justify-content: center;
    max-width: 360px;
  }
  .cta-content { padding: 0 10px; }
  .cta-content h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  /* Typo sections */
  .section-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .section-label { font-size: 0.65rem; letter-spacing: 0.25em; }

  /* Partenaires marquee */
  .pillars { padding: 22px 0; }
  .pillars-track { gap: 50px; }
  .pillars-track span img { width: 70px; height: 28px; }

  /* Partners grid */
  .partners-section { padding: 80px 0; }

  /* Editorial expertise */
  .expertise-editorial { padding: 60px 0 30px; }
  .expertise-editorial .editorial-block { padding-bottom: 50px; }
  .expertise-editorial .editorial-block + .editorial-block { padding-top: 50px; }
  /* Maïdo identity */
  .identity-content { padding: 0; }

  /* Footer */
  .footer-regulatory { padding: 20px 0 15px; }
  .footer-regulatory p { font-size: 0.72rem; line-height: 1.7; }

  /* Formulaires — inputs 16px min pour éviter zoom iOS */
  .form-group input,
  .form-group textarea,
  .newsletter-modal .form-group input {
    font-size: 16px;
  }
  .form-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 30px;
    font-size: 0.72rem;
  }

  /* Calendly modal */
  .calendly-modal-body { height: 500px; }

  /* Solution cards */
  .solution-card { min-height: 180px; padding: 36px 28px; }
  .solution-card h3 { font-size: 1.25rem; }

  /* Advantage items */
  .advantage-item { padding: 30px 20px; }

  /* Blog / articles */
  .blog-card { padding: 30px 24px; }
}

/* ========== RESPONSIVE — PETIT MOBILE (≤480px) ========== */
@media (max-width: 480px) {
  .container, .container-wide { padding: 0 20px; }

  /* Header */
  header { padding: 0 16px; height: 64px; }
  .logo-img { height: 36px; }

  /* Hero */
  .hero { min-height: 80vh; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-text { font-size: 0.9rem; line-height: 1.7; }
  .hero-cta { padding: 15px 24px; font-size: 0.68rem; max-width: 100%; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }

  /* Typo */
  .section-title { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  /* CTA */
  .cta-btn { max-width: 100%; padding: 15px 20px; font-size: 0.68rem; }
  .cta-content h2 { font-size: clamp(1.4rem, 5.5vw, 1.8rem); }
  .cta-section { padding: 60px 0; }

  /* Formulaires */
  .contact-form { padding: 30px 20px; }
  .form-group label { font-size: 0.68rem; }

  /* Calendly */
  .calendly-modal-body { height: 420px; }
  .calendly-embed-wrapper iframe { height: 420px; }

  /* Newsletter modal */
  .newsletter-modal { padding: 10px; }
  .newsletter-modal-content { padding: 30px 20px; }

  /* Footer */
  .footer-brand p { font-size: 0.82rem; }
  .footer-col h4 { font-size: 0.72rem; }
  .footer-col a { font-size: 0.82rem; }
  .footer-bottom p { font-size: 0.72rem; }
  .footer-bottom-links a { font-size: 0.72rem; }

  /* Partenaires */
  .pillars-track { gap: 40px; }
  .pillars-track span img { width: 60px; height: 24px; }

  /* Team section mobile */
  .team-member { width: min(340px, 88vw); }
  .team-overlay-bio { font-size: 0.76rem; }
  .team-overlay { padding: 0 22px 22px; }
  .team-name { font-size: 1.1rem; }

  /* Expertise cards */
  .expertise-card { padding: 30px 22px; }
  .expertise-card h3 { font-size: 1.3rem; }
  .expertise-card p { font-size: 0.85rem; }

  /* Solutions */
  .solution-card { min-height: 160px; padding: 30px 22px; }

  /* Process */
  .process-step { padding: 40px 22px; }

  /* Identity */
  .maido-identity { padding: 50px 0 80px; }
}
