/* =============================================
   MAO. Agency — style.css
   Agence de communication digitale — Nice
   Design : clair, épuré, minimaliste
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,700&display=swap');

/* ── Variables ── */
:root {
  --white: #ffffff;
  --bg: #f4f4f4;
  --bg2: #ebebeb;
  --navy: #000000;
  --navy2: #111111;
  --navy-light: #222222;
  --dark: #1a1a1a;
  --text: #2a2a2a;
  --text-mid: #555;
  --text-light: #888;
  --border: #e0e0e0;
  --blue-hero: #000000;
  --navy-rgb: 0,0,0;
  --font: 'Jost', sans-serif;
  --font-display: 'Jost', sans-serif;
  --transition: 0.25s ease;
  --radius: 0px;
  --shadow: none;
  --shadow-md: none;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── HEADER ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.35s ease;
}
#header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
#header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}
#header.scrolled .logo-img { filter: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a.active {
  color: #fff;
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  padding-bottom: 2px;
}
#header.scrolled .nav-links a { color: var(--text-mid); }
#header.scrolled .nav-links a:hover { color: var(--navy); }
#header.scrolled .nav-links a.active { color: var(--navy); border-bottom-color: var(--navy); }
.nav-cta {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  padding: 10px 24px;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background var(--transition), border-color var(--transition) !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.28) !important;
}
#header.scrolled .nav-cta {
  background: var(--navy) !important;
  border-color: transparent !important;
}
#header.scrolled .nav-cta:hover {
  background: var(--navy-light) !important;
}

/* Header sur pages à fond blanc */
body.page-white #header:not(.scrolled) {
  border-bottom-color: rgba(0,0,0,0.07);
}
body.page-white #header:not(.scrolled) .logo-img {
  filter: none;
}
body.page-white #header:not(.scrolled) .nav-links a {
  color: var(--text);
}
body.page-white #header:not(.scrolled) .nav-links a:hover {
  color: var(--navy);
}
body.page-white #header:not(.scrolled) .nav-links a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
body.page-white #header:not(.scrolled) .nav-cta {
  background: var(--navy) !important;
  border-color: transparent !important;
  color: #fff !important;
}
body.page-white #header:not(.scrolled) .nav-cta:hover {
  background: var(--navy-light) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-mid);
  transition: color var(--transition);
}
#mobile-menu a:hover { color: var(--navy); }
#mobile-menu .mob-cta {
  font-size: 0.85rem !important;
  font-weight: 600;
  background: var(--navy);
  color: var(--white) !important;
  padding: 14px 40px;
  border-radius: 8px;
  margin-top: 12px;
}

/* ── HERO SLIDER — peek latéral ── */
.hero-slider {
  background: var(--white);
  overflow: hidden;
  position: relative;
  line-height: 0;
}
.hero-slider-track {
  display: flex;
  gap: 0;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.hero-slide {
  flex-shrink: 0;
  width: 78%;           /* slide centrale = 78%, 11% de peek de chaque côté */
  aspect-ratio: 16/9;
  overflow: hidden;
  opacity: 0.2;
  transform: scale(0.96);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Flèches sur le fond blanc des zones peek */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 8px;
  opacity: 0.55;
  transition: opacity var(--transition);
  z-index: 10;
  line-height: 0;
}
.hero-slider-arrow:hover { opacity: 1; }
.hero-slider-arrow svg { width: 44px; height: 14px; display: block; }
.hero-slider-prev { left: 3%; }
.hero-slider-next { right: 3%; }

/* Tagline sous l'image */
.hero-tagline {
  background: var(--white);
  padding: 48px max(60px, calc((100% - 1600px) / 2 + 60px)) 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.hero-tagline-text {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 0;
}
.tl-dim   { color: rgba(0,0,0,0.18); }
.tl-strong { color: var(--navy); }
.hero-tagline-side {
  flex-shrink: 0;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.hero-tagline-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  text-align: right;
  font-weight: 300;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 28px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition);
}
.hero-btn:hover { background: var(--navy-light); }
/* MAO. — nom dominant au-dessus du hero */
.hero-mao {
  background: var(--white);
  text-align: center;
  padding: 88px max(60px, calc((100% - 1600px) / 2 + 60px)) 0;
  line-height: 0;
}
.hero-mao-logo {
  height: clamp(80px, 18vw, 200px);
  width: auto;
  display: block;
  margin: 0 auto;
}

/* ── CLIENTS / LOGOS ── */
#clients {
  background: var(--white);
  padding: 60px max(60px, calc((100% - 1600px) / 2 + 60px));
}
.clients-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 36px;
}
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.client-logo {
  background: var(--bg);
  width: 180px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
}
.client-logo:hover {
  border-color: var(--navy);
  background: var(--white);
}
.client-logo img {
  height: 60px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.6);
  opacity: 0.9;
  transition: opacity var(--transition);
}
.client-logo:hover img { filter: grayscale(1) opacity(0.9); }
.client-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #777;
  text-align: center;
  text-transform: uppercase;
}

/* ── SECTIONS GÉNÉRIQUES ── */
section.light { background: var(--white); }
section.gray { background: var(--white); }
section { padding: 90px max(60px, calc((100% - 1600px) / 2 + 60px)); }

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  color: var(--navy-light);
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

/* ── SERVICES ── */
#services {
  background: var(--white);
  padding: 90px max(60px, calc((100% - 1600px) / 2 + 60px));
}
#services .section-label { color: var(--text-light); }
#services .section-title {
    color: var(--navy);
}
#services .section-sub { color: var(--text-mid); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.service-item {
  background: var(--white);
  padding: 40px 36px;
  border-top: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.service-item:hover {
  background: var(--bg);
  border-color: var(--navy);
}

/* ── INDEX PAGES NAV ── */
.index-pages-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  background: var(--white);
}
.index-page-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--navy);
  transition: background 0.3s ease, color 0.3s ease;
}
.index-page-link:nth-child(3n) { border-right: none; }
.index-page-link:hover { background: var(--navy); color: var(--white); }
.index-page-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-light);
  transition: color 0.3s;
  flex-shrink: 0;
}
.index-page-link:hover .index-page-num { color: rgba(255,255,255,0.35); }
.index-page-name {
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  flex: 1;
  line-height: 1.2;
}
.index-page-arrow {
  font-size: 1.1rem;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
}
.index-page-link:hover .index-page-arrow { opacity: 1; transform: translateX(5px); }
@media (max-width: 768px) {
  .index-pages-nav { grid-template-columns: 1fr; }
  .index-page-link { border-right: none; padding: 24px 24px; }
  .index-page-link:nth-child(3n) { border-right: none; }
}
.service-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.service-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid rgba(0,0,0,0.2);
  padding: 3px 10px;
}

/* ── SEO CONTENT ── */
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.seo-main .section-title { margin-bottom: 24px; }
.seo-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}
.seo-blocks { display: flex; flex-direction: column; gap: 48px; }
.seo-block-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.seo-block-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}
.seo-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.seo-list li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 4px;
}

/* ── RÉALISATIONS (LOGOS) ── */
#realisations { background: var(--bg); }
/* Marquee grandes marques */
.marquee-wrap {
  overflow: hidden;
  background: #d4d4d4;
  border-radius: 8px;
  padding: 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-logos {
  display: flex;
  align-items: center;
}
.marquee-logo {
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  flex-shrink: 0;
}
.marquee-logo img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.6) brightness(0.5);
  opacity: 0.85;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.real-logos-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}
.real-logo-card {
  background: #fff;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
  cursor: default;
}
.real-logo-card:hover {
  border-color: var(--navy);
}
.real-logo-img {
  background: #d4d4d4;
  aspect-ratio: 5/3;
  overflow: hidden;
  position: relative;
}
.real-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(1) contrast(1.05);
  transition: filter var(--transition), transform var(--transition);
}
.real-logo-card:hover .real-logo-img img {
  filter: grayscale(0);
  transform: scale(1.06);
}
.real-logo-info { display: none; }
.real-logos-grid.with-info .real-logo-info {
  display: block;
  padding: 12px 14px 14px;
}
.real-logos-grid.with-info .real-logo-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.real-logos-grid.with-info .real-logo-services {
  font-size: 11px;
  color: #666;
  line-height: 1.5;
}
.real-logo-img.brand-logo { background: #efefef; }
.real-logo-img.brand-logo img { object-fit: contain; padding: 20px; }

/* ── CHIFFRES ── */
#chiffres {
  background: var(--navy);
  padding: 60px max(60px, calc((100% - 1600px) / 2 + 60px));
}
.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.chiffres-grid-6 {
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 60px;
  text-align: left;
}
.chiffre-item {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
}
.chiffre-val {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}
.chiffre-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.chiffre-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.chiffre-list {
  list-style: none;
  margin-top: 6px;
}
.chiffre-list li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  padding: 3px 0;
  padding-left: 12px;
  position: relative;
}
.chiffre-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
}

/* ── PAGE AGENCE — MAZARINE STYLE ── */

/* ── SOUS-NAV ── */
.subnav {
  padding: 10px max(60px, calc((100% - 1600px) / 2 + 60px));
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.62rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  margin-top: 72px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
  flex-shrink: 0;
}
.subnav a:hover { color: var(--navy); }
.subnav a.active { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--navy); padding-bottom: 2px; }
@media (max-width: 768px) { .subnav { padding: 10px 20px; gap: 20px; } }

.agence-pg-header {
  padding: 120px max(60px, calc((100% - 1600px) / 2 + 60px)) 80px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  border-bottom: 1px solid var(--border);
}
.agence-pg-title {
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--dark);
  text-transform: uppercase;
}
.agence-lead {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}
.agence-pg-intro p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ── INDEX CONTACT CTA ── */
.index-contact-cta {
  border-top: 1px solid var(--border);
  padding: 80px max(60px, calc((100% - 1600px) / 2 + 60px));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.index-contact-cta-inner {
  display: flex;
  align-items: baseline;
  gap: 48px;
  width: 100%;
  justify-content: space-between;
}
.index-contact-cta p {
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 300;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.index-contact-cta a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.index-contact-cta a:hover { opacity: 0.6; }

/* ── PAGE CONTACT ── */
.contact-pg-hero {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 480px;
  overflow: hidden;
}
.contact-pg-hero-bg {
  width: 100%;
  height: 100%;
}
.contact-pg-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.contact-pg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,20,0.65) 0%, rgba(10,10,20,0.2) 70%);
}
.contact-pg-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}
.contact-pg-geo {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.contact-pg-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.05;
}
.contact-pg-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
/* Infos agence */
.contact-pg-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 48px max(60px, calc((100% - 1600px) / 2 + 60px));
  border-bottom: 1px solid var(--border);
}
.contact-pg-info p { font-size: 0.9rem; line-height: 1.7; color: var(--text); }
.contact-pg-info a { color: var(--navy); }
.contact-pg-info a:hover { text-decoration: underline; }
/* Grille expertises style Mazarine */
.contact-exp-grid { border-top: 1px solid var(--border); }
.contact-exp-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 36px max(60px, calc((100% - 1600px) / 2 + 60px));
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.contact-exp-row:hover { background: var(--bg); }
.contact-exp-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.contact-exp-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.5; }
.contact-exp-right { display: flex; flex-direction: column; justify-content: center; }
.contact-obf { font-size: 0.85rem; color: var(--navy); text-decoration: none; }
.contact-obf:hover { text-decoration: underline; }
.contact-pg-form-wrap {
  border-top: 1px solid var(--border);
  padding: 80px max(60px, calc((100% - 1600px) / 2 + 60px));
  background: var(--bg);
}
.contact-pg-form-header {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 40px;
}
.contact-pg-form {
  max-width: 760px;
}

/* ── VIDEO HOME ── */
.home-video {
  width: 100%;
  line-height: 0;
  background: var(--dark);
}
.home-video video {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}
.home-video:empty,
.home-video video:not([src]),
.home-video video[src="videos/showreel.mp4"]:not([poster]) {
  height: 70vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── MID VIDEO ── */
.mid-video {
  width: 100%;
  line-height: 0;
}
.mid-video video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ── EXPERTISES VISUEL ── */
.exp-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 80px;
}
.exp-visual-bg {
  width: 100%;
  height: 85vh;
  min-height: 500px;
}
.exp-visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: opacity 0.5s ease;
}
.exp-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,20,0.75) 0%, rgba(10,10,20,0.3) 60%, rgba(10,10,20,0.05) 100%);
}
.exp-visual-titles {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  gap: 0;
  line-height: 1;
}
.exp-item {
  cursor: pointer;
  user-select: none;
}
.exp-item-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 4.2rem);
  font-weight: 300;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  display: block;
  opacity: 0.4;
  transition: opacity 0.25s ease, padding-left 0.25s ease;
  padding-left: 0;
  position: relative;
}
.exp-item:hover .exp-item-title {
  opacity: 0.75;
}
.exp-item.active .exp-item-title {
  opacity: 1;
  padding-left: 2.4rem;
}
.exp-item.active .exp-item-title::before {
  content: '↓';
  position: absolute;
  left: 0;
  font-size: 0.6em;
  top: 0.2em;
  font-weight: 300;
}
.exp-item-info {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, padding-bottom 0.45s ease;
  padding-left: 2.4rem;
  padding-bottom: 0;
}
.exp-item.active .exp-item-info {
  max-height: 140px;
  opacity: 1;
  padding-bottom: 28px;
}
.exp-item-info p {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 6px 0 10px;
  max-width: 520px;
}
.exp-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.exp-item-tags span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 4px 10px;
  border-radius: 20px;
}

.agence-fullphoto {
  line-height: 0;
}
.agence-fullphoto img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 75vh;
  object-fit: cover;
}

.agence-statement {
  padding: 80px max(60px, calc((100% - 1600px) / 2 + 60px));
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.agence-statement-text {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  max-width: 760px;
}

.agence-approach {
  background: var(--white);
  padding: 60px max(60px, calc((100% - 1600px) / 2 + 60px)) 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
  border-bottom: 1px solid var(--border);
}
.agence-approach-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  padding-top: 6px;
}
.agence-approach-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}
.agence-approach-body p:last-child { margin-bottom: 0; }

/* Stats Mazarine */
.agence-stats-maz {
  background: var(--white);
  padding: 0 max(60px, calc((100% - 1600px) / 2 + 60px)) 80px;
}
.agence-stats-header {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 48px 0 0;
  margin-bottom: 8px;
}
.stat-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 200;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -2px;
}
.stat-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Pages dédiées — cards */
.agence-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  background: var(--white);
}
.agence-page-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  transition: background 0.35s ease, color 0.35s ease;
}
.agence-page-card:last-child { border-right: none; }
.agence-page-card:hover,
.agence-page-card.active { background: var(--navy); color: var(--white); }
.agence-page-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
  transition: color 0.35s;
}
.agence-page-card:hover .agence-page-label,
.agence-page-card.active .agence-page-label { color: rgba(255,255,255,0.4); }
.agence-page-title {
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.agence-page-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-mid);
  flex: 1;
  transition: color 0.35s;
}
.agence-page-card:hover .agence-page-desc,
.agence-page-card.active .agence-page-desc { color: rgba(255,255,255,0.65); }
.agence-page-arrow {
  font-size: 1rem;
  margin-top: 24px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.agence-page-card:hover .agence-page-arrow,
.agence-page-card.active .agence-page-arrow { transform: translateX(8px); }

/* ── À lire aussi ── */
.article-related {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px max(60px, calc((100% - 1600px) / 2 + 60px));
}
.article-related-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 32px;
}
.article-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* CTA final */
.agence-cta {
  background: var(--white);
  padding: 80px max(60px, calc((100% - 1600px) / 2 + 60px));
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.agence-cta p {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.agence-cta a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.agence-cta a:hover { opacity: 0.45; }

/* ── anciens styles agence (conservés pour compatibilité) ── */
.agence-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.agence-split-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
}
.agence-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agence-media-placeholder {
  width: 100%;
  height: 100%;
  background: #e8e4df;
  min-height: 320px;
  border-radius: var(--radius);
}
.agence-philosophy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.agence-philosophy p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.agence-exp-list {
  border-top: 1px solid var(--border);
  padding: 0 max(60px, calc((100% - 1600px) / 2 + 60px));
  background: var(--white);
}
.agence-exp-header {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 32px 0 20px;
}
.agence-exp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.agence-exp-row span {
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
  margin-left: 24px;
}
.agence-exp-row:hover {
  padding-left: 8px;
  color: var(--navy);
}
.agence-exp-row:hover span {
  opacity: 1;
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .agence-exp-list { padding: 0 24px; }
}
/* ── PAGE EXPERTISES ── */
.expertises-intro {
  max-width: 680px;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  margin-top: 24px;
}
.expertises-philosophy {
  background: var(--navy);
  padding: 60px;
  max-width: 900px;
  margin: 60px auto 0;
  border-radius: 4px;
}
.expertises-philosophy p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}
.expertises-philosophy p:last-child { margin-bottom: 0; }
.expertises-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.expertise-cat {
  background: var(--white);
  padding: 40px 36px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.expertise-cat:hover {
  border-color: var(--navy);
}
.expertise-cat-name {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}
.expertise-cat-list {
  list-style: none;
}
.expertise-cat-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.expertise-cat-list li:last-child { border-bottom: none; }
/* ── PAGE STRATÉGIE ── */
.strategie-hero-text {
  max-width: 640px;
}
.strategie-kicker {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -2px;
}
.strategie-method {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.strategie-method-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  padding-top: 6px;
}
.strategie-method-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 20px;
}
.strategie-method-text p:last-child { margin-bottom: 0; }
/* ── PAGE CRÉATION SITE ── */
.creation-approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.creation-approach-list {
  list-style: none;
  margin-top: 24px;
}
.creation-approach-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.creation-approach-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--navy);
  font-size: 0.8rem;
}
.cms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.cms-card {
  background: var(--white);
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.cms-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.cms-card-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.creation-mockups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.creation-mockup-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
  border-radius: 4px;
}
.creation-mockup-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.creation-5cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.creation-5card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
}
.creation-5card:hover {
  border-color: var(--navy);
}
.creation-5card-img {
  height: 160px;
  overflow: hidden;
  background: var(--bg);
}
.creation-5card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.creation-5card-body {
  padding: 20px;
}
.creation-5card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.creation-5card-body p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.creation-5card-body ul {
  list-style: disc;
  padding-left: 16px;
  margin: 8px 0;
}
.creation-5card-body ul li {
  font-size: 0.8rem;
  color: var(--text-mid);
  padding: 2px 0;
  line-height: 1.5;
}
/* ── PAGE ÉTHIQUE ── */
.ethique-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.ethique-principle {
  background: var(--white);
  padding: 40px 36px;
  border: 1px solid var(--border);
}
.ethique-principle-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}
.ethique-principle-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.ethique-principle-text p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 10px;
}
.ethique-principle-list {
  list-style: none;
  margin-top: 10px;
}
.ethique-principle-list li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 5px 0 5px 14px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.ethique-principle-list li:last-child { border-bottom: none; }
.ethique-principle-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--text-light);
  font-size: 0.7rem;
}
.ethique-engagements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.ethique-engagement-group-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ethique-engagement-list {
  list-style: none;
}
.ethique-engagement-list li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  line-height: 1.5;
}

/* ── BLOG ── */
#blog { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.blog-card:hover {
  border-color: var(--navy);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg);
  border-radius: 6px;
  margin: 12px 12px 0;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-content { padding: 24px; }
.blog-category {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 8px;
}
.blog-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 16px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-mid);
  margin-top: auto;
}
.blog-meta span + span::before {
  content: '·';
  margin-right: 6px;
  opacity: 0.5;
}
.blog-read-more {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.blog-card:hover .blog-read-more { gap: 12px; }

/* ── INSTAGRAM ── */
#instagram {
  background: var(--white);
  padding: 80px max(60px, calc((100% - 1600px) / 2 + 60px));
  border-top: 1px solid var(--border);
}
.insta-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.insta-title {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
}
.insta-pill {
  background: var(--dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  border-radius: 20px;
  transition: background 0.2s;
}
.insta-pill:hover { background: var(--navy); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.insta-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
/* Card style Mazarine */
.insta-card-maz {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  text-decoration: none;
  transition: box-shadow 0.25s;
}
.insta-card-maz:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.13);
}
.insta-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.insta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 7px;
}
.insta-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.insta-handle {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.insta-ig-icon {
  width: 22px;
  height: 22px;
  color: var(--dark);
  flex-shrink: 0;
}
.insta-card-img-maz {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.insta-card-img-maz img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.insta-card-maz:hover .insta-card-img-maz img {
  transform: scale(1.03);
}
.insta-card-bottom {
  padding: 12px 14px;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ── CONTACT ── */
#contact {
  background: var(--bg);
  padding: 0;
}
.contact-left {
  padding: 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info {
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.contact-detail h4 {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}
.contact-detail p {
  font-size: 0.9rem;
  color: var(--text);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
  resize: none;
  border-radius: var(--radius);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { height: 110px; }
.btn-submit {
  background: var(--navy);
  color: var(--white);
  margin-top: 24px;
  padding: 14px 36px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  border-radius: 8px;
  transition: background var(--transition);
  width: fit-content;
}
.btn-submit:hover { background: var(--navy-light); }
.form-check { margin: 4px 0 16px; }
.form-check-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .83rem; color: #555; line-height: 1.5; }
.form-check-label input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; margin-top: 2px; accent-color: #111; cursor: pointer; }
.form-check-label span { flex: 1; }
.footer-nl-form { display: flex; gap: 8px; margin: 14px 0 6px; }
.footer-nl-form input[type="email"] { flex: 1; padding: 9px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; font-size: .8rem; outline: none; font-family: inherit; min-width: 0; }
.footer-nl-form input[type="email"]::placeholder { color: rgba(255,255,255,.3); }
.footer-nl-form input[type="email"]:focus { border-color: rgba(255,255,255,.4); }
.footer-nl-form button { padding: 9px 16px; border-radius: 6px; background: #fff; color: #111; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: none; cursor: pointer; white-space: nowrap; transition: opacity .2s; }
.footer-nl-form button:hover { opacity: .85; }
.footer-nl-msg { font-size: .72rem; min-height: 16px; }
.footer-nl-msg.ok  { color: #7ecf7e; }
.footer-nl-msg.err { color: #e07070; }
.form-success {
  display: none;
  background: #eef7ee;
  border: 1px solid #b2d9b2;
  padding: 14px 18px;
  color: #2d6a2d;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
}
.contact-right iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 500px;
  filter: grayscale(0.3);
}

/* ── BOUTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 13px 32px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background var(--transition);
}
.btn-primary:hover { background: var(--navy-light); }
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 12px 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 12px 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background var(--transition), border-color var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ── FOOTER ── */
#footer {
  background: var(--navy);
  padding: 70px max(60px, calc((100% - 1600px) / 2 + 60px)) 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.footer-brand .logo span { color: var(--white); }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--transition);
  border-radius: 8px;
}
.social-link:hover { border-color: var(--white); color: var(--white); }
.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ── COOKIE ── */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 560px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  transform: translateY(120%);
  transition: transform 0.4s ease;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { font-size: 0.8rem; color: rgba(255,255,255,0.7); flex: 1; line-height: 1.5; }
#cookie-banner p a { color: rgba(255,255,255,0.9); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-accept {
  background: var(--white);
  color: var(--navy);
  padding: 9px 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  border-radius: 8px;
}
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.5);
  padding: 9px 14px;
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font);
  border-radius: 8px;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* Motion.js actif — désactive les transitions CSS pour éviter les conflits */
body.motion-ready .fade-up { transition: none !important; }

/* ── PAGE INTÉRIEURE ── */
.page-hero {
  padding: 140px max(60px, calc((100% - 1600px) / 2 + 60px)) 70px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.article-cover {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.article-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 60px 40px;
}
.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 20px 60px 80px;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 22px;
  font-weight: 300;
}
.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 44px 0 16px;
}
.article-body strong { color: var(--text); font-weight: 700; }
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  line-height: 1.85;
  color: var(--text-mid);
  font-size: 1.05rem;
  font-weight: 300;
}
.article-body li { margin-bottom: 8px; }
.article-exergue {
  border-left: 3px solid var(--gold);
  margin: 36px 0;
  padding: 20px 28px;
  background: rgba(0,0,0,0.03);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.7;
  border-radius: 0 6px 6px 0;
}
.blog-listing { padding: 60px max(60px, calc((100% - 1600px) / 2 + 60px)); background: var(--white); }
.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 18px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  background: transparent;
  border-radius: 8px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .real-logos-grid { grid-template-columns: repeat(8, 1fr); }
  .insta-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .chiffres-grid { grid-template-columns: repeat(2, 1fr); }
  .chiffres-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
}
@media (max-width: 768px) {
  section { padding: 60px 16px; }
  #header { padding: 0 16px; height: 60px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero-top { padding: 110px 16px 40px; }
  .hero-mao { padding: 76px 16px 0; }
  .hero-slide { width: 90%; }
  .hero-slider-prev { left: 2%; }
  .hero-slider-next { right: 2%; }
  .hero-slider-arrow svg { width: 28px; height: 10px; }
  .hero-cta-bar { padding: 0 16px 40px; }
  .hero-tagline { flex-direction: column; align-items: flex-start; padding: 32px 16px 40px; gap: 20px; }
  .hero-tagline-side { align-items: flex-start; max-width: 100%; }
  .hero-tagline-sub { text-align: left; }
  .hero-tagline-text {
    font-size: clamp(1.4rem, 5.5vw, 2.2rem);
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
  .services-grid { grid-template-columns: 1fr; }
  .service-item { padding: 28px 20px; }
  .real-logos-grid { grid-template-columns: repeat(4, 1fr); }
  .insta-grid, .insta-grid-4 { grid-template-columns: repeat(2, 1fr); }
  #instagram { padding: 50px 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .chiffres-grid { grid-template-columns: repeat(2, 1fr); }
  .chiffres-grid-6 { grid-template-columns: 1fr; }
  #chiffres { padding: 50px 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #contact { grid-template-columns: 1fr; }
  .contact-left { padding: 60px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .page-hero { padding: 120px 16px 50px; }
  .blog-listing { padding: 50px 16px; }
  .blog-listing-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 40px 16px 24px; }
  .article-body { padding: 16px 16px 60px; }
  .article-cover { height: 240px; }
  .section-header { flex-direction: column; align-items: flex-start; }

  /* ── Pages éditoriales Mazarine ── */
  .agence-pg-header {
    grid-template-columns: 1fr;
    padding: 90px 16px 40px;
    gap: 20px;
  }
  .agence-pg-title {
    font-size: clamp(2rem, 7.5vw, 3rem);
    letter-spacing: -1px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .agence-approach {
    grid-template-columns: 1fr;
    padding: 36px 16px 40px;
    gap: 10px;
  }
  .agence-statement { padding: 40px 16px; }
  .agence-stats-maz { padding: 0 16px 40px; }
  .stat-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 20px 0;
  }
  .agence-pages-grid { grid-template-columns: 1fr; }
  .agence-page-card { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 16px; }
  .agence-page-card:last-child { border-bottom: none; }
  .agence-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 16px;
    gap: 20px;
  }
  .agence-fullphoto img { max-height: 55vw; }

  /* ── CTA contact index ── */
  .index-contact-cta { padding: 50px 16px; }
  .index-contact-cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .index-contact-cta p {
    font-size: clamp(1.3rem, 6.5vw, 1.8rem);
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

  /* ── Réalisations grille (override inline style) ── */
  .real-logos-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* ── À lire aussi ── */
  .article-related { padding: 40px 16px; }
  .article-related-grid { grid-template-columns: 1fr; }

  /* ── Contact page ── */
  .contact-pg-info { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px; }
  .contact-pg-hero-text { padding: 16px; }
  .contact-pg-title { letter-spacing: -0.5px; }
  .contact-exp-row { grid-template-columns: 1fr; padding: 24px 16px; }
  .contact-exp-right { margin-top: 8px; }
  .contact-pg-form-wrap { padding: 40px 16px; }
  .subnav { padding: 10px 16px; }

  /* ── Blog page header ── */
  .blog-pg-header {
    grid-template-columns: 1fr;
    padding: 90px 16px 40px;
    gap: 16px;
  }
}

/* ── LinkedIn Share Button ───────────────────────── */
.article-share {
  margin: 40px 0 8px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.linkedin-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0A66C2;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.linkedin-share-btn:hover {
  background: #004182;
  transform: translateY(-1px);
}

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--white);
  padding: 48px max(40px, calc((100% - 1600px) / 2 + 60px));
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 28px;
}
.stat-item:first-child { padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}
.stat-num sup {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 800;
}
.stat-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(0,0,0,0.45);
}
.stat-sub {
  font-size: 9px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0,0,0,0.28);
  margin-top: -3px;
}
.stat-sep {
  width: 1px;
  height: 48px;
  background: rgba(0,0,0,0.12);
  flex-shrink: 0;
}

/* ── MANIFESTE ── */
.manifeste {
  background: var(--white);
  padding: clamp(80px, 12vw, 160px) max(40px, calc((100% - 1600px) / 2 + 60px));
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.manifeste-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 5.5rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0;
  max-width: 18ch;
}
.manifeste-sig {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(0,0,0,0.4);
}

/* ── IMAGE ÉDITORIALE ── */
.editorial-visual {
  position: relative;
  width: 100%;
  height: clamp(400px, 65vh, 800px);
  overflow: hidden;
}
.editorial-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.editorial-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,40,0.72) 0%, rgba(10,15,40,0.15) 60%, transparent 100%);
}
.editorial-text {
  position: absolute;
  bottom: clamp(32px, 6vw, 72px);
  left: max(40px, calc((100% - 1600px) / 2 + 60px));
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.editorial-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.editorial-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin: 0;
}

/* ── MARQUEE STRIP ── */
.marquee-strip {
  background: var(--navy);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.marquee-dot {
  color: rgba(255,255,255,0.25) !important;
  letter-spacing: 0 !important;
  font-size: 16px !important;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE nouveaux blocs ── */
@media (max-width: 768px) {
  .stat-strip { flex-wrap: wrap; gap: 32px; padding: 40px 20px; }
  .stat-item  { flex: 1 1 calc(50% - 16px); padding: 0; }
  .stat-sep   { display: none; }
  .manifeste  { padding: clamp(60px, 10vw, 100px) 20px; }
  .editorial-text { left: 20px; }
  .editorial-headline { font-size: clamp(1.8rem, 7vw, 3rem); }
}

/* ═══════════════════════════════════════════════
   MAO. — Animations premium
   ═══════════════════════════════════════════════ */


/* ── 2. Hero logo — entrée de page ── */
.hero-mao-logo {
  animation: heroLogoIn 1.4s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── 3. Manifeste word reveal ── */
.manifeste-quote .mq-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22,1,0.36,1);
  transition-delay: calc(var(--wi, 0) * 55ms);
}
.manifeste-quote.mq-animate .mq-word {
  opacity: 1;
  transform: translateY(0);
}

/* ── 4. Stat strip — pulse au déclenchement ── */
.stat-num {
  will-change: transform;
}
.stat-num.counting {
  animation: statPop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes statPop {
  0%   { transform: scale(0.85); opacity: 0.4; }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1);    opacity: 1; }
}

/* ── 5. Editorial — parallaxe (overflow masqué sur parent) ── */
.editorial-visual { overflow: hidden; }
.editorial-visual img {
  will-change: transform;
}

/* ── 6. Services hover ligne ── */
.service-item {
  position: relative;
  overflow: hidden;
}
.service-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #444444, #000000);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.service-item:hover::before { transform: scaleY(1); }
.service-item:hover .service-name {
  transform: translateX(8px);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.service-name { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }

/* ── 7. Pages nav — flèche magnétique ── */
.index-page-link .index-page-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease;
}
.index-page-link:hover .index-page-arrow {
  transform: translateX(10px);
  opacity: 1;
}
.index-page-link .index-page-num {
  transition: color 0.35s ease;
}
.index-page-link:hover .index-page-num {
  color: #000000;
}

/* ── 8. Page reveal ── */
.page-veil {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 999999;
  pointer-events: none;
  transform-origin: top center;
  animation: veilOut 0.75s cubic-bezier(0.76,0,0.24,1) 0s forwards;
}
@keyframes veilOut {
  0%   { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* ── Footer signature ── */
.footer-signature {
  display: none;
  padding: 24px 0 0;
  user-select: none;
  pointer-events: none;
}
