/* ==========================================================================
   WeVii — Feuille de styles partagée
   ESN éco-responsable · Bordeaux · Lille · Paris
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Couleurs charte */
  --wv-navy: #1E2D5A;
  --wv-navy-dark: #15214A;
  --wv-navy-light: #2A3D7A;
  --wv-coral: #E8704A;
  --wv-coral-dark: #D45A35;
  --wv-coral-light: #F08C6C;
  --wv-cream: #FAF7F2;
  --wv-cream-deep: #F2EDE4;
  --wv-ink: #1A1F35;
  --wv-muted: #5A6378;
  --wv-line: #E5DFD3;
  --wv-white: #FFFFFF;

  /* Typographie */
  --font-display: "Cormorant Garamond", "Garamond", "Georgia", serif;
  --font-body: "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Échelle typographique */
  --fs-hero: clamp(2.6rem, 5.4vw, 4.8rem);
  --fs-h1: clamp(2.2rem, 4vw, 3.4rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.6rem);
  --fs-h3: 1.5rem;
  --fs-lead: 1.18rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Rythme */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  /* Rayons & ombres */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 6px rgba(30, 45, 90, 0.06);
  --shadow-md: 0 12px 32px rgba(30, 45, 90, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 45, 90, 0.14);

  /* Layout */
  --container: 1180px;
  --header-h: 84px;
  --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--wv-ink);
  background: var(--wv-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--wv-navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--wv-coral); }
button { font: inherit; cursor: pointer; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--wv-navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 var(--space-3); }
.lead { font-size: var(--fs-lead); color: var(--wv-muted); line-height: 1.65; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wv-coral);
  margin: 0 0 var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--wv-coral);
  display: inline-block;
}

.italic-accent { font-style: italic; color: var(--wv-coral); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--space-3);
  margin: 0 auto;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--wv-coral);
  color: var(--wv-white);
}
.btn--primary:hover {
  background: var(--wv-coral-dark);
  color: var(--wv-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--wv-navy);
  border-color: var(--wv-navy);
}
.btn--ghost:hover {
  background: var(--wv-navy);
  color: var(--wv-white);
}
.btn--light {
  background: var(--wv-white);
  color: var(--wv-navy);
  border-color: var(--wv-white);
}
.btn--light:hover {
  background: var(--wv-cream);
  color: var(--wv-navy);
}
.btn--ghost-light {
  background: transparent;
  color: var(--wv-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--wv-white);
  color: var(--wv-white);
}
.btn .arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Chevrons décoratifs ---------- */
.chevrons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--wv-coral);
  margin: var(--space-4) auto;
}
.chevrons svg {
  width: 14px;
  height: 14px;
  opacity: 0.35;
}
.chevrons svg:nth-child(2) { opacity: 0.65; }
.chevrons svg:nth-child(3) { opacity: 1; }
.chevrons--left { justify-content: flex-start; margin: 0 0 var(--space-3); }

/* ---------- Badge éco-conception ---------- */
.eco-badge {
  position: relative;
  width: 130px;
  height: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.eco-badge svg.eco-badge__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: rotate 26s linear infinite;
}
.eco-badge__core {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--wv-coral);
  color: var(--wv-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 0.72rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(232, 112, 74, 0.35);
}
.eco-badge__core span:first-child { font-size: 1.3rem; line-height: 1; }
@keyframes rotate { to { transform: rotate(360deg); } }

/* ---------- Logo WeVii ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo:hover { opacity: 0.85; }
.logo__img {
  height: 60px;
  width: auto;
  display: block;
}
.site-footer .logo .logo__img {
  filter: brightness(0) invert(1);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--wv-line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--wv-navy);
  position: relative;
  padding: 0.3rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--wv-coral);
  transition: width var(--transition);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--wv-coral); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--wv-navy);
  padding: 0.4rem;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Sections ---------- */
section { padding: var(--space-7) 0; }
section.section--tight { padding: var(--space-5) 0; }
section.section--navy {
  background: var(--wv-navy);
  color: var(--wv-cream);
}
section.section--navy h1,
section.section--navy h2,
section.section--navy h3 { color: var(--wv-cream); }
section.section--navy .lead,
section.section--navy .hero__lead { color: rgba(250, 247, 242, 0.78); }
section.section--navy .eyebrow { color: var(--wv-coral-light); }
section.section--cream-deep { background: var(--wv-cream-deep); }

.section-head { max-width: 720px; margin-bottom: var(--space-5); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-6);
  overflow: hidden;
  background:
          radial-gradient(900px 500px at 110% -10%, rgba(232, 112, 74, 0.12), transparent 60%),
          radial-gradient(700px 400px at -10% 110%, rgba(30, 45, 90, 0.06), transparent 60%),
          var(--wv-cream);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-6);
}
.hero__title {
  font-size: var(--fs-hero);
  margin-bottom: var(--space-3);
}
.hero__title em {
  font-style: italic;
  color: var(--wv-coral);
  font-weight: 500;
}
.hero__lead {
  font-size: 1.22rem;
  color: var(--wv-muted);
  max-width: 540px;
  margin-bottom: var(--space-4);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero__feather {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 18px 30px rgba(232, 112, 74, 0.22));
}
.hero__badge {
  position: absolute;
  right: -10px;
  bottom: 20px;
}
.hero__metrics {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--wv-line);
}
.metric__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--wv-navy);
  line-height: 1;
}
.metric__num em { font-style: italic; color: var(--wv-coral); }
.metric__label {
  font-size: 0.82rem;
  color: var(--wv-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}

/* ---------- Cartes ---------- */
.card {
  background: var(--wv-white);
  border: 1px solid var(--wv-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(232, 112, 74, 0.12);
  color: var(--wv-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--wv-muted); margin-bottom: var(--space-3); flex-grow: 1; }
.card__link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--wv-coral);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card__link:hover { color: var(--wv-coral-dark); }

/* Grilles de cartes */
.grid {
  display: grid;
  gap: var(--space-3);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Agences ---------- */
.agency-card {
  background: var(--wv-white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--wv-line);
  transition: transform var(--transition), box-shadow var(--transition);
}
.agency-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.agency-card__city {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--wv-navy);
  margin-bottom: 0.3rem;
}
.agency-card__role {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wv-coral);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.agency-card__address {
  color: var(--wv-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: var(--space-3);
}
.agency-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--wv-cream);
  border: 1px solid var(--wv-line);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--wv-navy);
  font-weight: 500;
}
.agency-card__bg {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 112, 74, 0.10), transparent 70%);
  pointer-events: none;
}

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.quote {
  background: var(--wv-white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border-top: 3px solid var(--wv-coral);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.quote__text {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--wv-navy);
  line-height: 1.5;
  margin: 0;
}
.quote__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}
.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wv-coral);
  color: var(--wv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
}
.quote__name { font-weight: 600; color: var(--wv-navy); font-size: 0.95rem; }
.quote__role { font-size: 0.82rem; color: var(--wv-muted); }

/* ---------- RSE / Engagement ---------- */
.commitments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.commitment {
  padding: var(--space-3);
  border-left: 2px solid var(--wv-coral);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.commitment__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--wv-coral);
  display: block;
  margin-bottom: 0.4rem;
}
.commitment__title {
  font-weight: 600;
  color: var(--wv-cream);
  margin-bottom: 0.4rem;
}
.commitment__desc {
  font-size: 0.92rem;
  color: rgba(250, 247, 242, 0.72);
  line-height: 1.55;
}

/* ---------- CTA Bandeau ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--wv-coral), var(--wv-coral-dark));
  color: var(--wv-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta-band h2 { color: var(--wv-white); margin: 0; max-width: 600px; }
.cta-band p { color: rgba(255, 255, 255, 0.86); margin: 0.5rem 0 0; }
.cta-band__content { position: relative; }
.cta-band__actions { position: relative; display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ---------- Actualités preview ---------- */
.news-card {
  background: var(--wv-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--wv-line);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-card__media {
  height: 180px;
  background: linear-gradient(135deg, var(--wv-navy), var(--wv-navy-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card__media svg { width: 56px; height: 56px; color: var(--wv-coral); opacity: 0.85; }
.news-card__body { padding: var(--space-3); }
.news-card__meta {
  font-size: 0.78rem;
  color: var(--wv-coral);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--wv-navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.news-card__body p { color: var(--wv-muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wv-navy-dark);
  color: rgba(250, 247, 242, 0.78);
  padding: var(--space-6) 0 var(--space-3);
}
.site-footer a { color: rgba(250, 247, 242, 0.78); }
.site-footer a:hover { color: var(--wv-coral); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.footer__title {
  color: var(--wv-cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 0.55rem; font-size: 0.94rem; }
.site-footer .logo { color: var(--wv-cream); }
.site-footer .logo:hover { color: var(--wv-cream); }
.footer__tagline {
  font-size: 0.94rem;
  margin: var(--space-2) 0 var(--space-3);
  max-width: 320px;
  line-height: 1.6;
}
.footer__bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.12);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.84rem;
}

/* ---------- Utilitaires ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   PAGES INTÉRIEURES — Composants factorisés
   (utilisés par qui-sommes-nous, services, nous-rejoindre, contact, actus,
   mentions-légales — remplace les <style> inline dupliqués par page)
   ========================================================================== */

/* ---------- Hero de page (toutes pages secondaires) ---------- */
.page-hero {
  padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-6);
  background:
    radial-gradient(900px 400px at 110% 0%, rgba(232, 112, 74, 0.10), transparent 60%),
    var(--wv-cream);
}
.page-hero__inner { max-width: 720px; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  color: var(--wv-navy);
  margin-bottom: var(--space-3);
  line-height: 1.15;
}
.page-hero__title em { font-style: italic; color: var(--wv-coral); font-weight: 500; }

/* ---------- Story grid (qui-sommes-nous) ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
  align-items: center;
}

/* ---------- Timeline ---------- */
.timeline { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.timeline__item { display: flex; gap: var(--space-3); align-items: flex-start; }
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--wv-coral);
  min-width: 52px;
  line-height: 1.2;
}
.timeline__item p { color: var(--wv-muted); font-size: 0.94rem; margin: 0.2rem 0 0; }

/* ---------- Stats grid ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}
.stat-block {
  background: var(--wv-white);
  border: 1px solid var(--wv-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
}
.stat-block__num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--wv-navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-block__num em { font-style: italic; color: var(--wv-coral); }
.stat-block__label {
  font-size: 0.84rem;
  color: var(--wv-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Team cards ---------- */
.team-card {
  background: var(--wv-white);
  border: 1px solid var(--wv-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
}
.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wv-navy), var(--wv-navy-light));
  color: var(--wv-white);
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
}
.team-card__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--wv-navy); margin-bottom: 0.25rem; }
.team-card__role { font-size: 0.82rem; color: var(--wv-coral); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-2); }
.team-card__bio { color: var(--wv-muted); font-size: 0.94rem; line-height: 1.6; margin: 0; }

/* ---------- Carte France (qui-sommes-nous) ---------- */
.france-map { width: 100%; max-width: 380px; margin: auto; display: block; }
.france-map__outline { fill: var(--wv-cream-deep); stroke: var(--wv-line); stroke-width: 1.5; }
.france-map__point { fill: var(--wv-coral); }
.france-map__pulse {
  fill: none;
  stroke: var(--wv-coral);
  stroke-width: 1.5;
  opacity: 0.5;
  transform-origin: center;
  animation: map-pulse 2.4s ease-out infinite;
}
.france-map__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  fill: var(--wv-navy);
}
.france-map__caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  fill: var(--wv-navy);
  opacity: 0.4;
}
@keyframes map-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- Service block (services.html) ---------- */
.service-block { max-width: 1100px; }
.service-block__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.service-block__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(232, 112, 74, 0.12);
  color: var(--wv-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.service-block__icon svg { width: 36px; height: 36px; }
.service-block__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--wv-coral);
  display: block;
  margin-bottom: 0.2rem;
}
.service-block__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
.service-block__text p { color: var(--wv-muted); }
.service-block__cards { margin-top: 0; }

/* ---------- Expertise list ---------- */
.expertise-list h3.expertise-list__title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--wv-muted);
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
}
.expertise-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.expertise-list ul li { font-size: 0.95rem; color: var(--wv-navy); padding-left: 1.2rem; position: relative; }
.expertise-list ul li::before { content: "→"; position: absolute; left: 0; color: var(--wv-coral); font-size: 0.8rem; top: 0.1em; }

/* ---------- Mode cards (services.html — régie/forfait) ---------- */
.mode-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(250, 247, 242, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.mode-card__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--wv-coral);
  display: block;
  margin-bottom: 0.4rem;
}
.mode-card h3 { color: var(--wv-cream); }
.mode-card p { color: rgba(250, 247, 242, 0.75); margin-bottom: var(--space-3); }
.mode-card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.mode-card__list li { font-size: 0.92rem; color: rgba(250, 247, 242, 0.75); padding-left: 1.2rem; position: relative; }
.mode-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--wv-coral); }

/* ---------- Job cards (nous-rejoindre.html) ---------- */
.job-list { display: flex; flex-direction: column; gap: var(--space-3); }
.job-card {
  background: var(--wv-white);
  border: 1px solid var(--wv-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.job-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); flex-wrap: wrap; }
.job-card__title { font-family: var(--font-display); font-size: 1.35rem; color: var(--wv-navy); margin-bottom: 0.5rem; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.job-card__desc { color: var(--wv-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Process steps (nous-rejoindre.html) ---------- */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-5);
  flex-wrap: wrap;
  justify-content: center;
}
.process-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(250, 247, 242, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  flex: 1;
  min-width: 180px;
  max-width: 240px;
}
.process-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wv-coral);
  color: var(--wv-white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.process-step h3 { color: var(--wv-cream); font-size: 1.1rem; margin-bottom: 0.4rem; }
.process-step p { color: rgba(250, 247, 242, 0.72); font-size: 0.9rem; margin: 0; }
.process-step__arrow { color: var(--wv-coral); font-size: 1.5rem; padding-top: 2.8rem; opacity: 0.6; }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--space-6); align-items: flex-start; }

.contact-form-wrap h2 { margin-bottom: 0.4rem; }
.contact-form-wrap__intro { color: var(--wv-muted); margin-bottom: var(--space-4); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-3); }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-label { font-size: 0.88rem; font-weight: 600; color: var(--wv-navy); }
.required { color: var(--wv-coral); }
.form-input {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--wv-line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--wv-ink);
  background: var(--wv-white);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-input:focus { border-color: var(--wv-coral); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { cursor: pointer; }
.form-submit { width: 100%; justify-content: center; padding: 1rem 2rem; }

.radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--wv-line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--wv-navy);
  transition: all var(--transition);
}
.radio-option:has(input:checked) { background: var(--wv-coral); color: var(--wv-white); border-color: var(--wv-coral); }
.radio-option input { display: none; }

.checkbox-option { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.88rem; color: var(--wv-muted); cursor: pointer; }
.checkbox-option input { margin-top: 2px; accent-color: var(--wv-coral); flex-shrink: 0; }

.form-success { text-align: center; padding: var(--space-5); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.form-success__icon { width: 48px; height: 48px; color: var(--wv-coral); }
.form-success h3 { color: var(--wv-navy); margin: 0; }
.form-success p { color: var(--wv-muted); margin: 0; }

.contact-info {
  background: var(--wv-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  color: var(--wv-cream);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.contact-info__section { margin-bottom: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid rgba(250, 247, 242, 0.1); }
.contact-info__section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.contact-info__section--first p { color: var(--wv-muted); }
.contact-info h3 { color: var(--wv-cream); margin-bottom: 0.4rem; font-size: 1.2rem; }
.contact-info p { color: rgba(250, 247, 242, 0.72); margin: 0; }
.contact-info__link {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--wv-coral);
  font-style: italic;
  display: inline-block;
  margin-top: 0.2rem;
}
.contact-info__link:hover { color: var(--wv-coral-light); }
.contact-info a { color: rgba(250, 247, 242, 0.8); }
.contact-info a:hover { color: var(--wv-coral); }
.contact-info__eyebrow { margin-bottom: var(--space-3); }

.agency-info__name { display: flex; align-items: center; gap: 0.5rem; color: var(--wv-cream); }
.agency-info__name svg { width: 18px; height: 18px; color: var(--wv-coral); flex-shrink: 0; }
.agency-info__name em { font-size: 0.78rem; color: var(--wv-muted); font-style: normal; }
.agency-info__address { color: var(--wv-muted); font-size: 0.92rem; margin: 0.3rem 0 0 1.6rem; }
.agency-info__socials { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  color: rgba(250, 247, 242, 0.8);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { background: var(--wv-coral); border-color: var(--wv-coral); color: var(--wv-white); }

/* ---------- Mentions légales ---------- */
.legal-main { padding-top: calc(var(--header-h) + var(--space-6)); padding-bottom: var(--space-7); max-width: 780px; }
.legal-section { margin-bottom: var(--space-5); padding-bottom: var(--space-4); border-bottom: 1px solid var(--wv-line); }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }

/* ---------- Responsive : composants de pages intérieures ---------- */
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-grid__visual { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block__header { flex-direction: column; gap: var(--space-3); }
  .service-block__body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block__icon { width: 56px; height: 56px; }
  .process-steps { flex-direction: column; align-items: center; }
  .process-step { max-width: 100%; width: 100%; }
  .process-step__arrow { transform: rotate(90deg); padding-top: 0; }
  .job-card__header { flex-direction: column; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   AMÉLIORATIONS RESPONSIVE — Mobile nav & breakpoints
   ============================================================ */

/* ── Icône close cachée par défaut ── */
.nav-toggle .icon-close { display: none; }
.nav-toggle .icon-menu  { display: block; }

/* ── Overlay derrière le menu mobile ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 31, 53, 0.45);
  backdrop-filter: blur(2px);
  z-index: 99;
  opacity: 0;
  transition: opacity 240ms ease;
}
.nav-overlay.is-visible {
  display: block;
  opacity: 1;
}

/* ── Logo dans le footer (version sombre) ── */
.footer-col--brand .logo__img {
  filter: brightness(0) invert(1);
}

/* ── Footer social link ── */
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(250, 247, 242, 0.65);
  margin-top: var(--space-2);
  transition: color var(--transition);
}
.footer__social:hover { color: var(--wv-coral); }

/* ── Adresses dans footer ── */
.footer__list--agencies li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: var(--space-2);
}
.footer__list--agencies strong { color: var(--wv-cream); font-size: 0.9rem; }
.footer__list--agencies span   { font-size: 0.88rem; line-height: 1.4; }

/* ── Footer legal links ── */
.footer__legal { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(250,247,242,0.6); }
.footer__legal a:hover { color: var(--wv-coral); }
.footer__legal span[aria-hidden] { color: rgba(250,247,242,0.3); }

/* ── Hero compact (actus, mentions légales) ── */
.hero--compact {
  padding: var(--space-6) 0 var(--space-5);
}
.hero--compact h1 { font-size: var(--fs-h1); }

/* ============================================================
   RESPONSIVE 1100px — Nav resserrée (zone intermédiaire tablette/laptop)
   ============================================================ */
@media (min-width: 961px) and (max-width: 1100px) {
  .nav { gap: 1.1rem; }
  .nav__link { font-size: 0.88rem; }
  .nav__cta { padding: 0.7rem 1.3rem; font-size: 0.88rem; }
}

/* ============================================================
   RESPONSIVE 960px
   ============================================================ */
@media (max-width: 960px) {
  .hero__grid          { grid-template-columns: 1fr; }
  .hero__visual        { min-height: 260px; order: -1; }
  .hero__feather       { max-width: 220px; }
  .grid--3, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .commitments         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; }

  :root { --header-h: 68px; }

  /* Nav masquée par défaut, visible en .is-open */
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--wv-cream);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4) var(--space-4) var(--space-6);
    gap: 0;
    overflow-y: auto;
    z-index: 100;
    border-top: 1px solid var(--wv-line);
  }

  .nav.is-open { display: flex; }

  .nav__link {
    width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--wv-line);
    color: var(--wv-navy);
  }

  .nav__link::after { display: none; }

  .nav__link.is-active { color: var(--wv-coral); }

  .nav__cta {
    margin-top: var(--space-4);
    width: 100%;
    justify-content: center;
  }

  .nav-toggle { display: inline-flex; }
}

/* ============================================================
   RESPONSIVE 720px — Mobile
   ============================================================ */
@media (max-width: 720px) {
  section { padding: var(--space-5) 0; }

  .grid--3, .grid--2, .testimonials { grid-template-columns: 1fr; }
  .commitments { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero__metrics   { flex-wrap: wrap; gap: var(--space-3); }
  .hero__badge     { display: none; }

  .cta-band        { padding: var(--space-4); text-align: center; }
  .cta-band__actions { justify-content: center; }

  .footer__bottom  { flex-direction: column; text-align: center; gap: var(--space-2); }
  .footer__legal   { justify-content: center; }
}

/* ============================================================
   RESPONSIVE 480px — Petits mobiles
   ============================================================ */
@media (max-width: 480px) {
  .hero__title  { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero__lead   { font-size: 1rem; }
  .section-head h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .btn          { font-size: 0.9rem; padding: 0.75rem 1.2rem; }
  .footer-grid  { gap: var(--space-3); }
}