/* ============================================
   BLOOM ÉLITE — Shared styles
   ============================================ */

:root {
  --cream: #FAF2EA;
  --cream-soft: #F2E8DC;
  --cream-deep: #E8DAC8;
  --white: #FFFFFF;
  --off-white: #FAF2EA;
  --footer-bg: #DFD0C6;
  --ink: #1A1A1A;
  --ink-soft: #2B2B2B;
  --muted: #6F6B66;
  --muted-2: #9A958E;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 18px rgba(0,0,0,0.06);

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1380px;
  --container-narrow: 1180px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   NAVBAR
   ============================================ */
.nav {
  background: var(--off-white);
  border-bottom: 1px solid var(--line-2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-block;
  width: 56px;
  height: 56px;
  background-image: url('assets/logo-v2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.logo span { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
.nav-links a:hover { border-bottom-color: var(--ink); }
.nav-links a.active { border-bottom-color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 22px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .15s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: #000; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0,0,0,0.18);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-cta {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  padding: 14px 24px;
}

/* ============================================
   HERO / SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}
.section-sm { padding: 56px 0; }
.section-lg { padding: 110px 0; }
.section-cta { padding: 8px 0; }
.pre-cta { padding-bottom: 16px !important; }
.section-cta + footer,
.section-cta ~ footer,
.home-cta-section + footer,
.home-cta-section ~ footer { padding-top: 8px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.h-display {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 18px 0 22px;
}

.h-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 14px 0 16px;
}

.h-section {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}

.lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   PLACEHOLDER IMAGES (warm gradient + label)
   ============================================ */
/* Le décor d'attente (hachures 45° + reflet) est empilé DANS background-image,
   et non en pseudo-éléments par-dessus. Ainsi, dès qu'une vraie photo est
   posée (en ligne ou par le JS des talents), elle remplace toute la pile et
   les hachures disparaissent d'elles-mêmes au lieu de rester sur l'image. */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.04) 0,
      rgba(255,255,255,0.04) 2px,
      transparent 2px,
      transparent 10px),
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, #d9c9b1 0%, #c5a982 35%, #8a6a45 70%, #5b4a36 100%);
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius);
}
.ph .ph-label {
  position: relative;
  z-index: 2;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 16px;
  background: rgba(0,0,0,0.35);
  border-radius: 4px;
  margin: 16px;
  backdrop-filter: blur(2px);
}

/* Lifestyle / book scenes use a cooler creamier palette */
.ph-lifestyle {
  background:
    linear-gradient(135deg, #efe6d7 0%, #e3d3ba 40%, #c9b393 75%, #a08a6a 100%);
  color: rgba(40,30,20,0.85);
}
.ph-lifestyle .ph-label {
  background: rgba(255,255,255,0.7);
  color: rgba(40,30,20,0.85);
}

.ph-portrait {
  background:
    linear-gradient(160deg, #d4cbbc 0%, #a8957f 50%, #5e4f3f 100%);
}

.ph-flat {
  background: var(--cream-soft);
  color: var(--muted);
  border: 1px dashed rgba(0,0,0,0.12);
}
.ph-flat .ph-label {
  background: transparent;
  color: var(--muted);
}

/* ============================================
   CARD / HERO BLOCKS
   ============================================ */
.hero-band {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 56px 56px;
  margin: 24px 0 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ============================================
   STATS
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-divided > * + * {
  border-left: 1px solid rgba(0,0,0,0.12);
}
.stat-num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}

/* ============================================
   CTA BAND (bottom of pages)
   ============================================ */
.cta-band {
  background: var(--cream);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  margin: 0 0 64px;
}
.cta-band-inner { padding: 40px 44px; }
.cta-band h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.cta-band p {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.7;
}
.cta-band-img {
  height: 220px;
  border-radius: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--off-white);
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 58px 0 28px;
  color: var(--ink);
}
.footer-dark {
  background: #DFD0C6;
  color: var(--ink);
  border-top: 0;
}
.footer-dark a { color: var(--ink); }

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-emblem {
  display: inline-block;
  width: 104px;
  height: 104px;
  background-image: url('assets/logo-v2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.footer-emblem span { display: none; }
.footer-logo {
  display: inline-block;
  text-decoration: none;
  line-height: 1.08;
}
.footer-logo span {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-dark .footer-logo span { color: var(--ink); }

.footer-dark .footer-emblem { filter: none; }
.footer-tag {
  font-style: italic;
  color: var(--ink);
  font-size: 14px;
  margin-top: 16px;
}
.footer-dark .footer-tag { color: var(--muted); }

.footer-col h4 {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--ink);
}
.footer-dark .footer-col h4 { color: var(--ink); }

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink);
}
.footer-dark .footer-col a { color: var(--muted); }

.socials {
  display: flex;
  gap: 14px;
}
.socials a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.footer-dark .socials a { color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer-col a:hover { color: #000; }
.footer-dark .footer-col a:hover { color: #000; }

.footer-arpp {
  margin-top: 24px;
  max-width: 170px;
}
.footer-arpp img {
  width: 150px;
  height: auto;
  display: block;
}
.footer-dark .footer-arpp img { background: none; padding: 0; border-radius: 0; }

.footer-bottom {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 22px 32px 0;
  border-top: 1px solid rgba(0,0,0,0.10);
  text-align: center;
  font-size: 12px;
  color: var(--ink);
}
.footer-dark .footer-bottom {
  border-top-color: rgba(0,0,0,0.10);
  color: var(--muted);
}

/* ============================================
   ICONS (line icons, neutral)
   ============================================ */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.icon-circle svg { width: 22px; height: 22px; stroke: var(--ink-soft); }

.value-card .icon-circle {
  width: 74px;
  height: 74px;
}
.value-card .icon-circle svg {
  width: 32px;
  height: 32px;
}

/* ============================================
   FORMS
   ============================================ */
.label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.input,
.textarea,
.select {
  width: 100%;
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus,
.textarea:focus,
.select:focus { border-color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }

.field { margin-bottom: 18px; }

/* ============================================
   UTILITIES
   ============================================ */
.center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.muted { color: var(--muted); }

/* Verified check icon */
.verified {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  vertical-align: middle;
}
.verified svg { width: 12px; height: 12px; }

/* ============================================
   PAGE HERO — banner shared across inner pages
   (matches the homepage hero: image right, text left, soft fade)
   ============================================ */
.page-hero {
  position: relative;
  background: var(--off-white);
  isolation: isolate;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  width: 58%;
  z-index: 0;
  pointer-events: none;
}
.page-hero-bg-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--off-white) 0%,
    rgba(250,248,244,0.96) 18%,
    rgba(250,248,244,0.78) 32%,
    rgba(250,248,244,0.45) 50%,
    rgba(250,248,244,0.15) 70%,
    transparent 90%
  );
  z-index: 2;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 32px 40px;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.page-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}
.page-hero-left .eyebrow {
  color: var(--muted);
  font-weight: 700;
}
.page-hero-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 22px 0 24px;
  text-transform: uppercase;
}
.page-hero-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 460px;
}

.talents-hero .page-hero-inner {
  padding: 90px 32px 80px;
  min-height: 580px;
}
.talents-hero .page-hero-lead {
  font-size: 15px;
  max-width: 460px;
}
.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}
.page-hero-rule {
  width: 60px;
  height: 2px;
  background: #c47a4f;
  margin: 22px 0;
}
@media (max-width: 900px) {
  .page-hero-bg { position: relative; width: 100%; height: 240px; }
  .page-hero-bg::before { background: linear-gradient(180deg, transparent 40%, var(--off-white) 100%); }
  .page-hero-inner { padding: 32px 28px 56px; min-height: auto; }
  .talents-hero .page-hero-inner { padding: 28px 28px 44px; min-height: auto; }
  .page-hero-title { font-size: 34px; }
}

/* ============================================
   FLOATING BUBBLES (IG + WhatsApp) — every page
   ============================================ */
.floating-bubbles {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.10);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.bubble:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.12);
}
.bubble svg { width: 26px; height: 26px; }
.bubble-ig {
  background:
    radial-gradient(circle at 28% 110%, #fdc468 0%, #fc6076 40%, transparent 70%),
    radial-gradient(circle at 80% -10%, #5851db 0%, #833ab4 40%, transparent 70%),
    linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.bubble-wa { background: #25D366; }

/* ============================================
   PHOTO CTA (image bg, text left, button right)
   ============================================ */
.cta-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  min-height: 220px;
  display: flex;
  align-items: center;
  margin: 0 0 0;
}
.cta-photo-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, #2c1d11 0%, #463018 30%, #7a5232 65%, #b58559 100%);
}
.cta-photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Éclairage et vignetage qui font ressortir le texte par-dessus la photo.
     Les hachures d'attente ont été retirées : elles restaient visibles sur
     les vraies photos de bandeau. */
  background:
    radial-gradient(ellipse at 75% 35%, rgba(255,255,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(0,0,0,0.35) 0%, transparent 60%);
  pointer-events: none;
}
.cta-photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.20) 55%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}
.cta-photo-bg-label {
  position: absolute;
  right: 18px; top: 18px;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.25);
  padding: 5px 8px;
  border-radius: 3px;
}
.cta-photo-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 52px 56px;
  width: 100%;
  color: #fff;
}
.cta-photo-text h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #fff;
  max-width: 620px;
}
.cta-photo-text p {
  color: rgba(255,255,255,0.82);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  max-width: 560px;
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-light:hover { background: #f3efe8; color: var(--ink); }

/* Photo-CTA background variants (warm food gradients) */
.cta-photo-pasta .cta-photo-bg {
  background: linear-gradient(115deg, #2b1c10 0%, #5e3c1f 30%, #a96d3c 65%, #d99a5f 100%);
}
.cta-photo-bowl .cta-photo-bg {
  background: linear-gradient(120deg, #1f1610 0%, #4a3320 25%, #8b6240 60%, #c89867 100%);
}
.cta-photo-cream .cta-photo-bg {
  background: linear-gradient(120deg, #3a2918 0%, #6e4d2e 35%, #b2885a 75%, #e1bf8e 100%);
}

/* ============================================
   FOOTER (4 cols: brand / nav / ressources / contact)
   ============================================ */
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-list li {
  color: var(--ink);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.footer-contact-list li svg { width: 16px; height: 16px; color: var(--ink); }
.footer-dark .footer-contact-list li { color: var(--muted); }
.footer-dark .footer-contact-list li svg { color: var(--ink); }
.footer-socials-row {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}
.footer-socials-row a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.footer-dark .footer-socials-row a { color: var(--ink); }
.footer-socials-row a svg { width: 26px; height: 26px; }
.footer-socials-row a:hover { opacity: 0.6; }

/* ============================================
   BRAND MARKS
   ============================================ */
.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.brand-mark {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.brand-sephora {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.32em;
  font-size: 17px;
}
.brand-ubereats {
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
}
.brand-ubereats b { font-weight: 700; color: #06c167; }
.brand-samsung {
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 17px;
  font-style: italic;
}
.brand-loreal {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 17px;
  line-height: 1;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.brand-loreal small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.4em;
  font-family: var(--sans);
  font-weight: 400;
}
.brand-nespresso {
  letter-spacing: 0.06em;
  font-size: 14px;
  font-family: var(--serif);
  font-weight: 600;
}
.brand-carrefour {
  color: #0050a5;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand-carrefour em {
  color: #e1241b;
  font-style: normal;
  margin-left: 2px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-photo-inner { grid-template-columns: 1fr; padding: 40px 36px; gap: 22px; }
  .cta-photo-text h3 { font-size: 26px; }
  .h-display { font-size: 40px; }
  .h-title { font-size: 30px; }
  .hero-band { padding: 36px 28px; }
  .floating-bubbles { right: 14px; bottom: 14px; }
  .bubble { width: 46px; height: 46px; }
  .bubble svg { width: 22px; height: 22px; }
}

/* ============================================
   BURGER MENU
   ============================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 102;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.2s ease;
  transform-origin: center;
}
.nav.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer — masqué sur desktop */
.nav-mobile { display: none; }

/* Drawer ouvert — slide via max-height */
@media (max-width: 768px) {
  .nav-mobile {
    display: block;
    overflow: hidden;
    max-height: 0;
    background: var(--off-white);
    border-top: 1px solid var(--line-2);
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav.is-open .nav-mobile {
    max-height: 600px;
  }
}

/* Contenu du drawer */
.nav-mobile-inner {
  padding: 28px 24px 40px;
}
.nav-mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-mobile-links li + li {
  border-top: 1px solid var(--line-2);
}
.nav-mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.18s ease;
}
.nav-mobile-links a.active { color: var(--muted-2); }
.nav-mobile-links .nav-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nav-mobile-links .nav-arrow svg {
  width: 14px; height: 14px;
  transition: stroke 0.2s ease;
}
.nav-mobile-links a:hover .nav-arrow {
  background: var(--ink);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.nav-mobile-links a:hover .nav-arrow svg { stroke: #fff; }
.nav-mobile-cta {
  display: flex;
  margin-top: 24px;
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 12px;
  letter-spacing: 0.10em;
}

/* ============================================
   NAVBAR — variante sombre
   ============================================ */
.nav.nav-dark {
  background: #DFD0C6;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
.nav.nav-dark .logo {
  filter: none;
}
.nav.nav-dark .nav-links a {
  color: var(--ink);
}
.nav.nav-dark .nav-links a:hover {
  color: #000;
  border-bottom-color: var(--ink);
}
.nav.nav-dark .nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.nav.nav-dark .btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.nav.nav-dark .btn-dark:hover { background: #000; }
.nav.nav-dark .burger span { background: var(--ink); }

@media (max-width: 768px) {
  .nav.nav-dark .nav-mobile {
    background: var(--cream-soft);
    border-top-color: rgba(0,0,0,0.07);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  }
  .nav.nav-dark .nav-mobile-links a { color: var(--ink); }
  .nav.nav-dark .nav-mobile-links a.active { color: var(--muted-2); }
  .nav.nav-dark .nav-mobile-links li + li { border-top-color: rgba(0,0,0,0.07); }
  .nav.nav-dark .nav-mobile-links .nav-arrow { border-color: rgba(0,0,0,0.14); }
  .nav.nav-dark .nav-mobile-links .nav-arrow svg { stroke: var(--ink); }
  .nav.nav-dark .nav-mobile-links a:hover .nav-arrow {
    background: var(--ink);
    border-color: var(--ink);
    transform: rotate(45deg);
  }
  .nav.nav-dark .nav-mobile-links a:hover .nav-arrow svg { stroke: #fff; }
  .nav.nav-dark .nav-mobile-cta { background: var(--ink); color: #fff; border-radius: var(--radius-sm); }
}

/* ============================================
   MOBILE — 768px
   ============================================ */
@media (max-width: 768px) {
  /* Nav */
  .burger { display: flex; }
  .nav-links { display: none !important; }
  .nav-inner > .btn { display: none !important; }
  .nav-inner { padding: 12px 20px; }

  /* Container */
  .container, .container-narrow { padding: 0 20px; }

  /* Hero pages internes */
  .page-hero-title { font-size: 36px; }
  .page-hero-inner { padding: 40px 20px 36px; min-height: 320px; }
  .page-hero-bg { width: 100%; position: relative; height: 200px; }
  .page-hero-bg::before {
    background: linear-gradient(180deg, transparent 30%, var(--off-white) 100%);
  }

  /* Sections */
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .h-section { font-size: 14px; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .agence-stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 0; }
  .agence-stat + .agence-stat { border-left: 0; }
  .agence-stat:nth-child(2n+1) { border-right: 1px solid rgba(0,0,0,0.12); }
  .agence-stat:nth-child(n+3) { border-top: 1px solid rgba(0,0,0,0.12); }

  /* Mission/Vision */
  .mv-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Valeurs */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .value-card { padding: 24px 14px; }

  /* Équipe */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Talents grid */
  .talent-grid { grid-template-columns: 1fr; }
  .talents-band-right { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* CTA photo */
  .cta-photo-inner { grid-template-columns: 1fr; padding: 36px 24px; gap: 18px; }
  .cta-photo { min-height: auto; }
  .cta-photo.is-visible .cta-photo-inner { animation: none; }

  /* Footer */
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { padding: 0 20px; }
  .footer-bottom { padding: 18px 20px 0; }

  /* Collab brands */
  .collab-brands { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }

  /* Profile talent */
  .profile-grid { grid-template-columns: 1fr; gap: 24px; }
  .profile-photo { height: 320px; }
  .profile-name { font-size: 34px; }
  .profile-stats { gap: 20px; }

  /* Contact */
  .contact-card { padding: 28px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-page-hero .page-hero-inner { padding-bottom: 60px; }

  /* Touch targets ≥ 44px (UX critical) */
  .round-arrow { width: 44px; height: 44px; }
  .talent-socials .ic { width: 44px; height: 44px; }
  .talent-socials .ic svg { width: 18px; height: 18px; }
  .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-socials-row a { width: 44px; height: 44px; }
  .social-plain svg { width: 26px; height: 26px; }

  /* Floating bubbles */
  .floating-bubbles { right: 12px; bottom: 80px; }
  .bubble { width: 52px; height: 52px; }
  .bubble svg { width: 26px; height: 26px; }

  /* Agence hero (admin) */
  .admin-layout { grid-template-columns: 1fr; }
  .field-row, .field-row.triple { grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE — 480px (petits téléphones)
   ============================================ */
@media (max-width: 480px) {
  .page-hero-title { font-size: 28px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .talents-band-right { grid-template-columns: 1fr 1fr; }
  .agence-stats-row { grid-template-columns: repeat(2, 1fr); }
  .profile-stats { flex-direction: column; gap: 16px; }
  .profile-stats > * + * { padding-left: 0; border-left: 0; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 16px; }
  .collab-brands { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* 1. Fade + remontée au scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* 2. Cascade de cartes — les enfants directs entrent l'un après l'autre */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(1)   { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2)   { transition-delay: 85ms; }
[data-stagger].is-visible > *:nth-child(3)   { transition-delay: 170ms; }
[data-stagger].is-visible > *:nth-child(4)   { transition-delay: 255ms; }
[data-stagger].is-visible > *:nth-child(5)   { transition-delay: 340ms; }
[data-stagger].is-visible > *:nth-child(6)   { transition-delay: 425ms; }
[data-stagger].is-visible > *:nth-child(n+7) { transition-delay: 510ms; }

/* 3. Titre hero — mot par mot */
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.word-reveal.is-visible .word {
  opacity: 1;
  transform: none;
}

/* 4. Lignes masquées — eyebrows + titres de section */
.mask-wrap {
  display: block;
  overflow: hidden;
}
.mask-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
.masked-el.is-visible .mask-inner {
  transform: none;
}

/* Eyebrow du hero : sort en premier (0 ms) */
.home-hero .masked-el .mask-inner,
.page-hero .masked-el .mask-inner {
  transition-delay: 0ms;
}

/* ============================================
   CURSOR — tous les éléments interactifs
   ============================================ */
.review-card,
.value-card,
.team-card,
.talent-card,
.home-talent-card,
.what-card,
.round-arrow,
.talent-socials .ic,
.social-plain,
.footer-socials-row a,
.bubble {
  cursor: pointer;
}

/* ============================================
   FOCUS VISIBLE — navigation clavier
   ============================================ */
.round-arrow:focus-visible,
.burger:focus-visible,
.talent-socials .ic:focus-visible,
.social-plain:focus-visible,
.nav-links a:focus-visible,
.nav-mobile-links a:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================
   HOVER EFFECTS — micro-interactions 220ms
   ============================================ */

/* Avis Google */
.review-card {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 52px rgba(0,0,0,0.11), 0 4px 14px rgba(0,0,0,0.05);
}

/* Valeurs — page Agence */
.value-card {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}
.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.04);
}
.value-card .icon-circle {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease;
}
.value-card:hover .icon-circle {
  transform: scale(1.14);
  background: var(--cream-deep);
}

/* Équipe — page Agence */
.team-card {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-card:hover { transform: translateY(-9px); }
.team-card .team-photo { transition: filter 0.25s ease; }
.team-card:hover .team-photo { filter: brightness(1.08) saturate(1.1); }
.team-card .team-name { transition: color 0.18s ease; }
.team-card:hover .team-name { color: var(--muted); }

/* ============================================
   CTA — effet flottant
   ============================================ */
@keyframes cta-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-11px); }
}
.cta-photo.is-visible .cta-photo-inner {
  animation: cta-float 5s ease-in-out infinite;
  animation-delay: 0.75s;
}

/* Respect du mode réduit */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-stagger] > *,
  .word-reveal .word,
  .mask-inner {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .review-card:hover,
  .value-card:hover,
  .team-card:hover { transform: none !important; }
  .cta-photo.is-visible .cta-photo-inner { animation: none !important; }
}
