/* ==========================================================================
   Léo Marchand — Landing page
   Palette : bleu profond #1E3E4B → dégradé #0F2530/#091A22, noir #0A0A0A,
             texte #EBEBEF, accent #8BBBC9
   Polices : Space Grotesk (titres) + DM Sans (texte courant)
   ========================================================================== */

:root {
  --bg-light: #A7C1D2;
  --bg-mid: #3D6E89;
  --bg-deep-1: #101F2E;
  --bg-deep-2: #0A0A12;
  --black: #0A0A0A;
  --text: #EBEBEF;
  --text-dim: rgba(235, 235, 239, 0.68);
  --text-faint: rgba(235, 235, 239, 0.42);
  --accent: #9EC6D8;

  --line: rgba(235, 235, 239, 0.14);
  --line-soft: rgba(235, 235, 239, 0.08);

  --font-display: "Benzin", "Clash Display", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius-pill: 999px;
  --radius-card: 18px;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60% 55% at 10% 8%, rgba(167, 193, 210, 0.65) 0%, rgba(167, 193, 210, 0) 60%),
    linear-gradient(120deg, var(--bg-light) 0%, var(--bg-mid) 32%, var(--bg-deep-1) 62%, var(--bg-deep-2) 100%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Grain overlay: subtle noise across the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200.35%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%2523n%29%22/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-dim); max-width: 62ch; }

section { position: relative; padding: clamp(72px, 11vw, 140px) var(--gutter); }

.section-head {
  max-width: var(--container);
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: left;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-head p { font-size: 1.05rem; max-width: 56ch; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reveal-on-scroll: content stays visible without JS */
.reveal { opacity: 1; }
.reveal > * { opacity: 1; }
.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-light {
  background: #EBEBEF;
  color: var(--black);
}
.btn-light:hover { transform: translateY(-2px); background: #fff; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(235, 235, 239, 0.35);
}
.btn-outline:hover { border-color: var(--text); transform: translateY(-2px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: clamp(12px, 2.4vw, 24px);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: min(100%, 980px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 10px 10px 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(16, 31, 46, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(235, 235, 239, 0.12);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled .nav-pill {
  background: rgba(16, 31, 46, 0.42);
  border-color: rgba(235, 235, 239, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.logo-word { font-size: 0.95rem; }

.nav-links {
  display: flex;
  gap: clamp(14px, 1.6vw, 26px);
  margin: 0 auto;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.lang-btn {
  background: none;
  border: none;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 2px;
}
.lang-btn.is-active { color: var(--text); font-weight: 700; }
.lang-sep { opacity: 0.5; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(235, 235, 239, 0.1);
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.icon-btn:hover { background: rgba(235, 235, 239, 0.18); transform: translateY(-2px); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(235, 235, 239, 0.1);
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 10, 18, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  pointer-events: none;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 1.7rem;
}
.mobile-menu-foot {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 18, 0.15) 0%, rgba(10, 10, 18, 0.55) 62%, rgba(10, 10, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 10, 18, 0.55) 0%, rgba(10, 10, 18, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(64px, 9vw, 110px);
  max-width: 780px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  margin-bottom: 0.4em;
}
.hero-accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(235, 235, 239, 0.85);
  max-width: 46ch;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }

.hero-scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: 40px;
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(235,235,239,0.5), transparent);
  z-index: 2;
}
.hero-scroll-cue::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: cue-move 2.2s ease-in-out infinite;
}
@keyframes cue-move {
  0%, 100% { top: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 52px; opacity: 0; }
}

/* ==========================================================================
   LOGOS MARQUEE
   ========================================================================== */
.logos-band {
  padding: 30px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.logo-chip {
  display: flex;
  align-items: center;
  color: var(--text-faint);
  padding: 0 clamp(28px, 4vw, 56px);
  flex-shrink: 0;
  transition: color 0.25s;
}
.logo-chip svg { width: 34px; height: 34px; }
.logo-chip:hover { color: var(--accent); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  position: relative;
  padding-left: clamp(48px, 7vw, 100px);
  padding-right: clamp(48px, 7vw, 100px);
}

/* Prev/next nav pills on the section edges */
.about-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 3;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.about-nav.prev {
  left: clamp(4px, 1.5vw, 20px);
  background: rgba(235, 235, 239, 0.14);
  color: var(--text);
}
.about-nav.prev:hover { background: rgba(235, 235, 239, 0.24); transform: translateY(-50%) translateX(-2px); }
.about-nav.next {
  right: clamp(4px, 1.5vw, 20px);
  background: #EBEBEF;
  color: var(--black);
}
.about-nav.next:hover { transform: translateY(-50%) translateX(2px); }

.about-top {
  max-width: var(--container);
  margin: 0 auto clamp(36px, 5vw, 64px);
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 48px);
}

.about-star {
  flex-shrink: 0;
  width: clamp(28px, 3vw, 40px);
  height: clamp(28px, 3vw, 40px);
  color: var(--accent);
  margin-top: 0.3em;
}
.about-star svg { width: 100%; height: 100%; }

.about-top-right { flex: 1; }

.about-kicker {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 0.8em;
}

.about-headline {
  font-size: clamp(30px, 5vw, 58px);
  text-transform: uppercase;
  line-height: 1.05;
}

.about-body {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.about-media {
  position: relative;
}

.media-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text);
  background: rgba(10, 10, 18, 0.55);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.video-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--bg-deep-1);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

.about-quote { padding-top: 6px; }

.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.1em;
}

.quote-text {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text);
  text-align: justify;
  max-width: none;
}

.about-attribution {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 1.4em;
  flex-wrap: wrap;
}
.attr-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.attr-role { font-size: 0.88rem; color: var(--text-faint); }

.about-stats {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  margin-top: 2em;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); }
.stat-label { font-size: 0.82rem; color: var(--text-faint); }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.project-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.project-card {
  background: var(--bg-deep-1);
  padding: clamp(26px, 3vw, 38px);
  transition: background 0.3s var(--ease);
}
.project-card:hover { background: rgba(139, 187, 201, 0.07); }

.project-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 1.2em;
  transition: border-color 0.3s var(--ease);
}
.project-card:hover .project-icon { border-color: var(--accent); }

.project-card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.project-card p { font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-track {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.process-line {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.process-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.8s var(--ease);
}

.process-step {
  position: relative;
  padding-top: 36px;
  opacity: 0.25;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.process-step.is-visible { opacity: 1; transform: translateY(0); }

.process-step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-deep-1);
  border: 2px solid var(--accent);
  transition: background 0.4s var(--ease);
}
.process-step.is-visible::before { background: var(--accent); }

.step-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 0.6em;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.process-step p { font-size: 0.86rem; margin: 0; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.marquee-cards .marquee-track {
  animation-duration: 85s;
  align-items: stretch;
}

.testimonial-card {
  flex-shrink: 0;
  width: min(360px, 82vw);
  margin: 0 12px;
  padding: 28px 26px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-deep-1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars { color: var(--accent); letter-spacing: 2px; font-size: 0.95rem; }

.testimonial-card blockquote {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.55;
  flex: 1;
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-card .name { font-family: var(--font-display); font-size: 0.95rem; }
.testimonial-card .role { font-size: 0.8rem; color: var(--text-faint); }

.marquee-cards:hover .marquee-track { animation-play-state: paused; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-intro h2 { font-size: clamp(28px, 3.6vw, 46px); }

.contact-form {
  display: grid;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label { font-size: 0.85rem; color: var(--text-dim); }

.field input,
.field select,
.field textarea {
  background: rgba(235, 235, 239, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%), linear-gradient(135deg, var(--text-faint) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.btn-submit { justify-self: start; border: none; margin-top: 4px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--black);
  padding: clamp(48px, 7vw, 80px) var(--gutter) 30px;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand p { font-size: 0.9rem; max-width: 32ch; margin-top: 14px; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.footer-links a:hover { color: var(--text); }

.footer-social {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: baseline;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-faint); margin: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-faint);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }

/* ==========================================================================
   WHATSAPP FLOTTANT
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-btn::before,
.whatsapp-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  z-index: -1;
  animation: wa-pulse 2.6s var(--ease) infinite;
}
.whatsapp-btn::after {
  animation-delay: 1.3s;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.45; }
  100% { transform: scale(2.1); opacity: 0; }
}
.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.whatsapp-bubble {
  position: relative;
  max-width: 240px;
  padding: 14px 34px 14px 16px;
  background: #EBEBEF;
  color: var(--black);
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.whatsapp-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.whatsapp-bubble p { margin: 0; font-size: 0.88rem; color: var(--black); max-width: none; }

.bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  color: rgba(10, 10, 10, 0.5);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.bubble-close:hover { color: var(--black); }

@media (max-width: 480px) {
  .whatsapp-btn { width: 52px; height: 52px; }
  .whatsapp-bubble { max-width: 200px; }
}

.nav-links a.is-current { color: var(--text); position: relative; }
.nav-links a.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ==========================================================================
   ÉTUDES DE CAS
   ========================================================================== */
.cases-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: clamp(120px, 16vw, 190px);
  padding-bottom: clamp(40px, 6vw, 64px);
}
.cases-hero .about-kicker { margin-bottom: 1em; }
.cases-headline {
  font-size: clamp(34px, 6vw, 64px);
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 16ch;
}
.cases-intro {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 56ch;
  margin-top: 0.6em;
}

.case-list {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vw, 120px);
}

.case-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.case-block.reverse .case-media { order: 2; }
.case-block.reverse .case-content { order: 1; }

.case-media { position: relative; }
.case-media .video-frame {
  aspect-ratio: 4 / 5;
  background: var(--bg-deep-1);
}
.case-media .video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.case-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 0.6em;
}
.case-client {
  font-size: clamp(26px, 3.2vw, 40px);
  text-transform: uppercase;
}
.case-desc { font-size: 1rem; max-width: 46ch; }

.case-specs {
  list-style: none;
  margin: 1.4em 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.case-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.case-specs li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(158, 198, 216, 0.15);
  border: 1px solid var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EC6D8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.case-category {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
}

.cases-cta {
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
}
.cases-cta h2 { font-size: clamp(28px, 3.6vw, 44px); }
.cases-cta p { max-width: 46ch; margin-bottom: 1.6em; }

@media (max-width: 860px) {
  .case-block,
  .case-block.reverse { grid-template-columns: 1fr; }
  .case-block.reverse .case-media { order: 1; }
  .case-block.reverse .case-content { order: 2; }
  .case-media .video-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 980px) {
  .about-body,
  .contact-grid { grid-template-columns: 1fr; }
  .about-top { flex-direction: column; gap: 16px; }
  .about-nav { display: none; }
  .video-frame { max-width: 460px; }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-social { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav-links, .nav-actions .lang-switch, .nav-actions .icon-btn, .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .project-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-social { grid-column: span 1; }
}

@media (max-width: 480px) {
  .process-track { grid-template-columns: 1fr; }
  .hero-content { max-width: 100%; }
}
