@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #F2F2F2;
  --dark: #1A1A1A;
  --bg: #0A0A0A;
  --primary: #22D3EE;
  --primary-dark: #0E90A6;
  --accent: #FF2D95;
  --muted: #9C9C9C;
  --line: #262626;
  --white: #FFFFFF;
  --title-font: 'Bebas Neue', sans-serif;
  --body-font: 'Inter', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; background: var(--bg); color: var(--ink); font-family: var(--body-font); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
h1,h2,h3 { font-family: var(--title-font); line-height: 1.05; }
em { font-style: normal; color: var(--primary); }
img { display: block; max-width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 84px; padding: 0 6vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,10,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--white); font-family: var(--title-font); font-weight: 700; font-size: 14px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--title-font); font-size: 18px; }
.logo-text small { margin-top: 5px; color: var(--muted); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.main-nav a:hover { color: var(--primary); }
.nav-button { padding: 12px 20px; background: var(--primary); color: var(--bg); font-size: 13px; font-weight: 700; }
.nav-button:hover { background: var(--white); }
.menu-toggle { display: none; border: none; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 6px 0; background: var(--ink); }

/* ===== Hero éditorial : image pleine hauteur à gauche, texte sombre à droite ===== */
.hero-split {
  display: grid; grid-template-columns: 1.15fr 1fr; min-height: calc(100vh - 84px);
}
.hero-split-media { position: relative; overflow: hidden; }
.hero-split-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-split-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg) 100%);
}
.hero-split-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6vw 5vw; gap: 22px;
}
.hero-split-text .eyebrow { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 3px; }
.hero-split-text h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 600; }
.hero-split-text h1 span { display: block; }
.hero-split-text p { max-width: 420px; color: var(--muted); font-size: 15px; }
.hero-split-cta { display: flex; align-items: center; gap: 26px; margin-top: 8px; flex-wrap: wrap; }
.hero-split-cta .primary-button {
  padding: 15px 22px; display: inline-flex; align-items: center; gap: 16px;
  background: var(--primary); color: var(--bg); font-size: 13px; font-weight: 700;
}
.hero-split-cta .primary-button:hover { background: var(--white); }
.hero-split-cta .secondary-link { font-size: 13px; font-weight: 700; }
.hero-split-cta .secondary-link span { color: var(--primary); margin-left: 6px; }
.hero-split-stats { display: flex; gap: 34px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-split-stats div strong { display: block; font-family: var(--title-font); font-size: 26px; color: var(--primary); }
.hero-split-stats div span { font-size: 13px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }

/* ===== Galerie en tête, masonry asymétrique ===== */
.gallery-lead { padding: 8vw 6vw 4vw; }
.gallery-lead-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.gallery-lead-head p.section-label { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.gallery-lead-head h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 500; margin-top: 10px; }
.gallery-lead-head .secondary-link { font-size: 13px; font-weight: 700; color: var(--ink); }
.gallery-lead-head .secondary-link span { color: var(--primary); margin-left: 6px; }

.masonry { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 14vw; gap: 16px; }
.masonry figure { position: relative; overflow: hidden; margin: 0; background: var(--dark); }
.masonry figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figure figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--white);
  text-transform: uppercase;
}
.masonry figure::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%);
}
.m-a { grid-column: span 4; grid-row: span 2; }
.m-b { grid-column: span 2; grid-row: span 1; }
.m-c { grid-column: span 2; grid-row: span 1; }
.m-d { grid-column: span 2; grid-row: span 2; }

/* ===== Bandeau process horizontal ===== */
.process-strip { padding: 6vw 6vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-track { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-step { padding: 0 24px; border-left: 1px solid var(--line); }
.process-step:first-child { border-left: none; padding-left: 0; }
.process-step strong.num { display: block; font-family: var(--title-font); font-size: 34px; color: var(--primary); margin-bottom: 10px; }
.process-step h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--muted); }

/* ===== Bandeau chiffres, fond clair contrasté ===== */
.stats-band { background: var(--primary); color: var(--bg); padding: 4vw 6vw; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stats-band div strong { display: block; font-family: var(--title-font); font-size: clamp(34px, 4vw, 50px); }
.stats-band div span { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }

/* ===== À propos éditorial avec accent photo ===== */
.about-editorial { padding: 9vw 6vw; display: grid; grid-template-columns: 1fr 340px; gap: 6vw; align-items: start; }
.about-editorial-text .section-label { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.about-editorial-text blockquote {
  font-family: var(--title-font); font-weight: 500; font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.2; margin: 22px 0 26px; max-width: 720px;
}
.about-editorial-text p { max-width: 620px; color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.about-editorial-photo { position: relative; }
.about-editorial-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; }
.about-editorial-photo span {
  position: absolute; bottom: -14px; right: -14px; background: var(--accent); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: 1px; padding: 10px 14px;
}

/* ===== Contact : bandeau sombre asymétrique ===== */
.contact-cta { background: var(--dark); padding: 8vw 6vw; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.contact-cta-left h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 500; margin-bottom: 18px; }
.contact-cta-left > p { max-width: 420px; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.contact-details { display: grid; gap: 18px; }
.contact-details div { display: grid; gap: 5px; }
.contact-details span { color: var(--primary); font-size: 13px; letter-spacing: 1px; }
.contact-details strong { font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
input, textarea { padding: 12px 14px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; outline: none; color: var(--ink); }
input:focus, textarea:focus { border-color: var(--primary); }
textarea { resize: vertical; }
.rgpd { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13px; color: var(--muted); }
.rgpd input { width: auto; }
.submit-button { padding: 15px 22px; display: inline-flex; align-items: center; gap: 20px; border: none; background: var(--primary); color: var(--bg); font-size: 13px; font-weight: 700; cursor: pointer; }
.submit-button:hover { background: var(--white); }
.form-message { color: var(--primary); font-size: 13px; font-weight: 600; }

/* ===== Footer ===== */
.site-footer { padding: 50px 6vw 25px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; background: var(--bg); color: rgba(255,255,255,.8); border-top: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand strong { color: var(--white); font-family: var(--title-font); font-size: 18px; }
.footer-brand span { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-links, .footer-legal { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-links a:hover, .footer-legal a:hover { color: var(--accent); }

/* ===== Apparitions douces au défilement ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split-media { height: 52vw; }
  .hero-split-media::after { background: linear-gradient(to top, var(--bg) 5%, transparent 40%); }
  .hero-split-text { padding: 40px 7vw; }
  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .m-a, .m-b, .m-c, .m-d { grid-column: span 2; grid-row: span 1; }
  .process-track { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .process-step:nth-child(3) { border-left: none; }
  .stats-band { grid-template-columns: 1fr; gap: 20px; }
  .about-editorial { grid-template-columns: 1fr; }
  .about-editorial-photo { max-width: 320px; }
  .contact-cta { grid-template-columns: 1fr; padding: 60px 7vw; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 84px; left: 0; right: 0; padding: 20px 6vw; flex-direction: column; align-items: flex-start; background: var(--bg); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .nav-button { display: none; }
  .menu-toggle { display: block; }
}

/* V19 — lisibilite mobile: tailles uniquement, aucun changement de performance */
@media (max-width: 767px) {
  body { font-size: 18px; }
  p, li, dd, dt, label, input, textarea, select { font-size: max(16px, 1em); }
  small, figcaption, .caption, .microcopy, .eyebrow, .tag, .badge, .meta, .kicker { font-size: 14px !important; line-height: 1.45; }
  a, button { font-size: max(16px, 1em); }
}

/* ===== Taille de texte minimum garantie à 17px, partout, en priorité absolue ===== */
body, p, li, a, span, label, small, strong, em, td, th, button, input, textarea, select {
  font-size: max(17px, 1em) !important;
}
h1 { font-size: clamp(34px, 6vw, 64px) !important; }
h2 { font-size: clamp(28px, 5vw, 48px) !important; }
h3 { font-size: clamp(20px, 3.5vw, 28px) !important; }

/* ===== Lisibilité mobile renforcée — priorité maximale ===== */
@media (max-width: 900px) {
  body, p, li, a, span, label, small, strong, em, td, th, button, input, textarea, select {
    font-size: max(18px, 1em) !important;
    line-height: 1.55 !important;
  }
  h1 { font-size: clamp(32px, 9vw, 44px) !important; line-height: 1.15 !important; }
  h2 { font-size: clamp(26px, 7vw, 34px) !important; line-height: 1.2 !important; }
  h3 { font-size: clamp(21px, 5.5vw, 26px) !important; line-height: 1.25 !important; }
}

