/* ============================================================
   Compania — Landing Page
   ============================================================ */

:root {
  /* Anima design system colors */
  --bg-dark: #024555;          /* Vert canard */
  --bg-cream: #F6F5EF;         /* Beige */
  --text-dark: #111215;        /* Grey 1000 */
  --text-body: #2F323A;        /* Grey 900 */
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --border: #D4D9E4;
  --green-soft: #CBE3CB;       /* Vert de gris */
  --green-system: #1F9F71;
  --yellow: #FFC945;           /* Jaune imperial */
  --yellow-text: #3D3522;      /* Marron chataigne */
  --red: #B91C1C;
  --pink: #E5A7C2;             /* Rose azalee */
  --orange: #FF5738;           /* Corail */
  --blue: #95B0DD;             /* Bleu charbon */
  --plum: #300B1B;             /* Prune */
  --bleu-prusse: #1F232B;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 32px;
  --radius-pill: 360px;
  --container: 1280px;
  --section-y: clamp(3rem, 6vw, 5rem);

  --font-heading: 'Epilogue', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Tailwind v4 spacing token (iso compania.fr) */
  --spacing: 0.25rem;

  /* Figma scale factor: 1 unité Figma = 1px à 1440px de viewport, proportionnel en-dessous */
  --fig: min(1px, calc(100vw / 1440));
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
section[id],
#signup {
  scroll-margin-top: 92px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text-body);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 0.95;
  margin: 0 0 0.5em;
  font-weight: 500;
  color: inherit;
  letter-spacing: -0.04em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 500; line-height: 1; }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.15; }
h4 { font-size: 0.95rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; position: relative; }

/* ============== BUTTONS ============== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 9px 24px 9px 10px;
  height: 56px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.03em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary { background: var(--green-soft); color: var(--text-dark); }
.btn-primary:hover { background: #b8d6b8; }
.btn-outline { background: var(--white); color: var(--text-dark); border-color: var(--border); }
.btn-outline:hover { background: #f4f4ee; }
.btn-dark { background: var(--bleu-prusse); color: var(--bg-cream); }
.btn-dark:hover { background: #131820; }
.btn-full { width: 100%; }
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  position: relative;
  flex-shrink: 0;
}
.btn-arrow::before {
  content: '';
  width: 10px; height: 10px;
  border-top: 2px solid var(--text-dark);
  border-right: 2px solid var(--text-dark);
  transform: rotate(45deg);
  margin-left: -3px;
}
.btn-dark .btn-arrow { background: var(--white); }
.btn-dark .btn-arrow::before { border-color: var(--text-dark); }

/* ============== PILLS / HIGHLIGHTS ============== */

.pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
.pill-yellow { background: var(--yellow); color: var(--yellow-text); }

/* Hero tag: gros bloc rectangulaire jaune aligné sur le H1 (Figma) */
.pill-hero {
  display: inline-block;
  padding: 0.1em 0.22em;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.75rem, calc(72 * var(--fig)), 72px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  background: var(--yellow);
  color: var(--yellow-text);
  margin-bottom: 24px;
}

.highlight {
  display: inline-flex;
  align-items: center;
  background: var(--yellow);
  color: var(--yellow-text);
  padding: 0 8px;
  border-radius: 12px;
  font-weight: 400;
  line-height: 1;
  vertical-align: baseline;
}
.highlight-blue {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: var(--bleu-prusse);
  padding: 0 8px;
  border-radius: 12px;
  font-weight: 400;
  line-height: 1;
  vertical-align: baseline;
}
.security-highlight {
  display: inline-flex;
  align-items: center;
  background: var(--bg-dark);
  color: var(--bg-cream);
  padding: 0 8px;
  border-radius: 12px;
  font-weight: 400;
  line-height: 1;
  vertical-align: baseline;
}

/* ============== DECORATIVE FLOATING SHAPES (Anima SVGs) ============== */

img.shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  height: auto;
}
img.shape.shape-front { z-index: 1; }

/* Hero pattern — pleine largeur viewport, shapes gauches collées au bord viewport */
.hero-pattern {
  position: absolute;
  top: 0;
  left: 50px;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.hero-copy { position: relative; z-index: 5; }
.signup-card { position: relative; z-index: 5; }

/* ============== NAVBAR ============== */

.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2,69,85,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-img {
  height: calc(var(--spacing) * 8);
  width: auto;
  display: block;
}
.nav-cta .btn {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1;
  gap: 8px;
}
.nav-cta .btn-arrow {
  width: 32px;
  height: 32px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin: 0 auto;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg-cream);
}
.nav-links a { opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; gap: 0.75rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--bg-cream); border-radius: 2px; }

/* ============== HERO ============== */

.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--bg-cream);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 var(--section-y);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: start;
}
.hero-copy { padding-top: 1rem; }
.hero-copy h1 {
  color: var(--bg-cream);
  font-size: clamp(2.75rem, calc(72 * var(--fig)), 72px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin-bottom: 24px;
}
.hero-copy > p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.03em;
  opacity: 0.8;
  margin-bottom: 24px;
  max-width: 501px;
}
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 501px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--bg-cream);
  opacity: 0.8;
}
.bullet-icon {
  width: 46px;
  height: 45px;
  flex-shrink: 0;
  display: block;
}

/* Signup card */
.signup-card {
  background: var(--bg-cream);
  border-radius: 12px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.signup-card h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-align: center;
  margin: 0;
  color: var(--text-dark);
}
.signup-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.signup-card label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin: 0;
}
.required { color: var(--red); }
.signup-card input {
  width: 100%;
  padding: 16px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
  transition: border-color 0.2s;
}
.signup-card input::placeholder { color: #8390AA; }
.signup-card input:focus { outline: none; border-color: var(--bg-dark); }
.signup-card .btn { margin: 0; }
.form-or {
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: #A0ACC3;
  margin: 0;
}
.form-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  margin: 0;
}
.form-foot a { color: var(--bleu-prusse); font-weight: 600; }
.form-tos {
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
}

/* ============== SECTION TITLES ============== */

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2rem, calc(48 * var(--fig)), 48px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: var(--text-dark);
}
.section-title.light { color: var(--bg-cream); }
.section-title-left {
  font-family: var(--font-heading);
  font-size: clamp(2rem, calc(48 * var(--fig)), 48px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

/* ============== WHY CHOOSE ============== */

.why {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--bg-dark);
  overflow: hidden;
}
/* Why shapes — Figma node 77:524 (shape bleue+jaune) en haut-gauche
   + 21:45571 (shape vert-texturée) en bas-droite de la section Why */
.why-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(237 * var(--fig));
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transform: translate(-34px, -20%);
}
.why-shape-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(90 * var(--fig));
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transform: translate(34px, 40%);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}
.why-card {
  background: var(--bg-cream);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  aspect-ratio: 293 / 272;
}
.why-icon {
  width: 38px;
  height: 38px;
  display: block;
  flex-shrink: 0;
}
.why-card h3 {
  color: var(--text-dark);
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.04em;
}
.why-card p {
  color: #2C2C2C;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin: 0;
}
.t-orange { background: var(--orange); color: #fff; }
.t-green { background: var(--green-soft); }

/* ============== CREAM BLOCK (steps + talents wrapper) ============== */

.cream-block,
.green-block {
  border-radius: 16px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.cream-block { background: var(--bg-cream); }
.green-block { background: var(--green-soft); }
.green-block .step-pill { background: var(--bg-cream); }

/* ============== STEPS ============== */

.steps-block {
  padding: var(--section-y) 0;
  background: var(--bg-dark);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}
.step-card {
  position: relative;
  height: 358px;
  border-radius: 12px;
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  overflow: hidden;
  width: 100%;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,18,21,0) 57%, rgba(17,18,21,1) 88%);
  pointer-events: none;
}
.step-tag {
  position: relative;
  z-index: 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin-bottom: -12px;
}
.step-tag-blue { background: #95B0DD; color: #1F232B; }
.step-tag-yellow { background: #FFC945; color: #3D3522; }
.step-tag-pink { background: #E5A7C2; color: #300B1B; }
.step-tag-green { background: #CBE3CB; color: #024555; }
.step-content {
  position: relative;
  z-index: 1;
  background: #F6F5EF;
  border-radius: 8px;
  padding: 24px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-content h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #111215;
  letter-spacing: -0.03em;
  line-height: 1.24;
}
.step-content p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #2F323A;
  letter-spacing: -0.03em;
  line-height: 1.24;
}

/* ============== TALENTS ============== */

.talents-block {
  padding: var(--section-y) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.talents-grid-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.talents-photos {
  position: relative;
  width: 100%;
}
.talents-photos img {
  width: 100%;
  height: auto;
  display: block;
}
.talents-content { display: flex; flex-direction: column; gap: 24px; }
.talents-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.talents-tags li {
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.tag-green { background: var(--green-soft); color: var(--bg-dark); }
.tag-blue { background: var(--blue); color: var(--bleu-prusse); }
.tag-pink { background: var(--pink); color: var(--plum); }
.tag-orange { background: var(--orange); color: var(--plum); }
.talents-content .btn { align-self: flex-start; }

/* ============== ABOUT (Pourquoi avons-nous cree) ============== */

.about-block {
  padding: var(--section-y) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 694fr 512fr;
  gap: 14px;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 694 / 555;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo {
  border-radius: 12px;
}
.about-card {
  background: #F6F5F0;
  border-radius: 12px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-card h2 {
  color: var(--text-dark);
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, calc(40 * var(--fig)), 40px);
  line-height: 1.21;
  letter-spacing: -0.04em;
  font-weight: 400;
}
.about-card p {
  color: #2F323A;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin: 0;
}
.about-content { display: flex; flex-direction: column; gap: 8px; }
.about-card .btn { margin: 0; align-self: flex-start; }

/* ============== SECURITY ============== */

.security-block {
  padding: var(--section-y) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.security-grid {
  display: grid;
  grid-template-columns: 568fr 700fr;
  gap: 16px;
  align-items: stretch;
}
.security-card {
  background: var(--blue);
  border-radius: 12px;
  padding: clamp(2rem, calc(64 * var(--fig)), 64px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
}
.security-card .security-h2 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: clamp(2rem, calc(48 * var(--fig)), 48px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 0;
}
.security-card p {
  font-family: var(--font-body);
  color: #2F323A;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 36ch;
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: #2F323A;
  min-width: 0;
}
.trust-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}
.security-card .btn-dark {
  align-self: flex-start;
}

.security-photo {
  position: relative;
  aspect-ratio: 700 / 607;
  display: flex;
  align-items: center;
  justify-content: center;
}
.security-photo > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ============== FAQ ============== */

.faq-block {
  padding: var(--section-y) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.faq-grid {
  display: grid;
  grid-template-columns: 434px 1fr;
  gap: 16px;
  align-items: start;
}
.faq-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 434px;
  height: 308px;
  flex-shrink: 0;
  align-self: start;
}
.faq-photo > img {
  width: 434px;
  height: 308px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: none;
}
.faq-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.faq-shape-pink {
  top: 0;
  left: 0;
  width: 40%;
  transform: translate(-15%, -20%);
}
.faq-shape-yellow {
  bottom: 0;
  right: 0;
  width: 31%;
  transform: translate(10%, 10%);
}
.faq-list {
  background: var(--bg-cream);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
}
.faq-list details {
  border: 1px solid #D4D9E4;
  border-radius: 8px;
  padding: 8px;
  background: transparent;
}
.faq-list summary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s;
}
.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  background: var(--text-dark);
  border-radius: 2px;
}
.faq-plus::before { width: 14px; height: 2px; }
.faq-plus::after { width: 2px; height: 14px; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list details p {
  margin: 12px 0 0 64px;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.faq-list details .faq-answer {
  margin: 12px 0 0 64px;
  padding: 0;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.faq-list details .faq-answer p {
  margin: 0 0 10px 0;
  padding: 0;
}
.faq-list details .faq-answer p:last-child { margin-bottom: 0; }
.faq-list details .faq-answer ul {
  list-style: disc;
  list-style-position: outside;
  padding-left: 22px;
  margin: 0 0 10px 0;
}
.faq-list details .faq-answer ul li {
  margin: 0 0 4px 0;
  padding: 0;
  display: list-item;
}
.faq-list details .faq-answer ul li:last-child { margin-bottom: 0; }

/* ============== FOOTER ============== */

.footer {
  background: var(--bg-dark);
  color: var(--bg-cream);
  padding: 0;
  font-family: var(--font-body);
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo img {
  display: block;
  height: 32px;
  width: auto;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bg-cream);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  transition: opacity 0.2s;
}
.footer-socials a:hover { opacity: 0.7; }
.footer-socials img {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.footer-col h4 {
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a {
  color: var(--bg-cream);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 0.7; }
.footer-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-pay img {
  width: 35px;
  height: 24px;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: var(--bg-cream);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  flex-wrap: wrap;
}

/* ============================================================
   STICKY CTA + HAMBURGER PANEL (hidden desktop, activated via MQ)
   ============================================================ */

.mobile-sticky-cta { display: none; }
.nav-link-cta { display: none; }
body.nav-open { overflow: hidden; }

/* ============================================================
   TABLETTE — max-width: 1279px
   ============================================================ */

@media (max-width: 1279px) {
  .container { padding: 0 clamp(20px, 3vw, 32px); }

  /* Nav */
  .nav { height: 64px; gap: 0.75rem; }
  .nav-toggle {
    display: flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: transparent; border: 0;
    cursor: pointer;
    position: relative;
    z-index: 300;
  }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  html { scroll-padding-top: 64px; }
  section[id], #signup { scroll-margin-top: 64px; }

  /* Hero → 1 col */
  .hero { padding: 2.5rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
  .hero-copy { padding-top: 0; max-width: 640px; margin: 0 auto; width: 100%; }
  .signup-card { max-width: 560px; margin: 0 auto; padding: 40px; width: 100%; }

  /* Grids 4 cards → 2×2 */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-card { aspect-ratio: auto; min-height: 220px; }
  .step-card { height: 320px; }

  /* Talents */
  .talents-grid-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .talents-photos { max-width: 520px; margin: 0 auto; width: 100%; aspect-ratio: 580/584; min-height: 0; }
  .talents-content { align-items: stretch; }
  .section-title-left { text-align: center; }
  .talents-content .btn { align-self: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 640px; margin: 0 auto; width: 100%; }
  .about-card { max-width: 640px; margin: 0 auto; width: 100%; padding: 40px; }

  /* Security — card au-dessus, photo en-dessous */
  .security-grid { grid-template-columns: 1fr; gap: 2rem; }
  .security-card { order: 1; padding: 48px; max-width: 720px; margin: 0 auto; width: 100%; gap: 32px; }
  .security-photo { order: 2; max-width: 560px; margin: 0 auto; width: 100%; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq-photo { max-width: 440px; margin: 0 auto; width: 100%; aspect-ratio: 434/308; }
  .faq-list { max-width: 720px; margin: 0 auto; width: 100%; }

  /* Footer */
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }

  /* Hamburger panel FULL-SCREEN OVERLAY
     Remet nav-wrap en static + retire backdrop-filter pour éviter que
     ça crée un containing block qui piégerait le panel fixed. */
  .nav-wrap {
    position: sticky;
    background: var(--bg-dark);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    margin: 0;
    padding: 88px clamp(24px, 6vw, 64px) calc(32px + env(safe-area-inset-bottom));
    border: 0;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 300ms ease, transform 300ms ease, visibility 0s linear 300ms;
    overflow-y: auto;
  }
  .nav-links.open { pointer-events: auto; }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 300ms ease, transform 300ms ease, visibility 0s;
  }
  .nav-links li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 400ms ease, transform 400ms ease;
    transition-delay: 0ms;
    padding: 0;
    border: 0;
    width: 100%;
    max-width: 420px;
  }
  .nav-links.open li { opacity: 1; transform: translateY(0); }
  .nav-links.open li:nth-child(1) { transition-delay: 80ms; }
  .nav-links.open li:nth-child(2) { transition-delay: 130ms; }
  .nav-links.open li:nth-child(3) { transition-delay: 180ms; }
  .nav-links.open li:nth-child(4) { transition-delay: 230ms; }
  .nav-links.open li:nth-child(5) { transition-delay: 320ms; }
  .nav-links a {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--bg-cream);
    opacity: 0.95;
    transition: opacity 200ms;
  }
  .nav-links a:hover { opacity: 1; }
  .nav-link-cta {
    display: block;
    margin-top: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(246,245,239,0.15);
  }
  .nav-link-cta .btn,
  .nav-link-cta .btn-primary {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    background: var(--bg-cream);
    color: var(--bleu-prusse);
  }
  .nav-link-cta .btn-primary:hover {
    background: #ede9df;
  }
  .nav-link-cta .btn-arrow {
    background: var(--bg-dark);
  }
  .nav-link-cta .btn-arrow::before {
    border-color: var(--bg-cream);
  }

  /* Hamburger icon animation open state */
  .nav-toggle span {
    width: 22px; height: 2px;
    background: var(--bg-cream);
    border-radius: 2px;
    transition: transform 300ms ease, opacity 200ms ease;
    transform-origin: center;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   MOBILE — max-width: 767px
   ============================================================ */

@media (max-width: 767px) {
  :root { --section-y: clamp(2.5rem, 8vw, 4rem); }
  .container { padding: 0 20px; }

  /* Typography mobile */
  h1 { font-size: clamp(2.25rem, 10vw, 3rem); line-height: 1.05; }
  .section-title, .section-title-left { font-size: clamp(1.85rem, 7vw, 2.25rem); margin-bottom: 2rem; }

  /* Hero mobile */
  .hero { padding: 2rem 0 2.5rem; }
  .hero-grid { gap: 2rem; }
  .hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }
  .pill-hero {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }
  .hero-copy > p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .hero-bullets { gap: 14px; }
  .hero-bullets li { font-size: 16px; gap: 12px; }
  .bullet-icon { width: 36px; height: 36px; }

  /* Shapes décoratives cachées en mobile */
  .hero-pattern { display: none; }
  .why-shape { display: none; }
  .why-shape-2 { display: none; }
  .hero-copy, .signup-card { position: relative; z-index: 2; }

  /* Signup card mobile */
  .signup-card { padding: 28px 24px; gap: 20px; border-radius: 16px; max-width: none; }
  .signup-card h2 { font-size: 20px; }
  .signup-card input { padding: 14px 14px; }
  .signup-card .btn { height: 52px; padding: 8px 18px 8px 10px; }
  .btn-arrow { width: 34px; height: 34px; }

  /* Why — carousel horizontal scroll-snap */
  .why { padding: var(--section-y) 0; }
  .why .container { padding-right: 0; }
  .why-grid {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    padding: 4px 20px 4px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .why-grid::-webkit-scrollbar { display: none; }
  .why-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: start;
    aspect-ratio: auto;
    min-height: 240px;
    padding: 20px;
  }
  .why-card:last-child { margin-right: 20px; }

  /* Steps — carousel horizontal scroll-snap */
  .steps-block .container { padding: 0 16px; }
  .green-block { padding: 2.5rem 16px; border-radius: 16px; }
  .green-block > .section-title { padding: 0 8px; }
  .steps-grid {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    padding: 4px 0;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .steps-grid::-webkit-scrollbar { display: none; }
  .step-card {
    flex: 0 0 82%;
    max-width: 300px;
    scroll-snap-align: center;
    height: 300px;
  }

  /* Talents */
  .talents-tags { gap: 8px; justify-content: center; }
  .talents-tags li { font-size: 17px; height: 30px; padding: 0 8px; }
  .cream-block { padding: 2rem 1.25rem; border-radius: 16px; }

  /* About */
  .about-card { padding: 28px 24px; gap: 20px; }
  .about-card h2 { font-size: clamp(1.6rem, 7vw, 1.85rem); }
  .about-card p { font-size: 16px; }
  .about-card .btn { align-self: stretch; width: 100%; }

  /* Security */
  .security-card { padding: 32px 24px; gap: 24px; border-radius: 16px; }
  .security-card .security-h2 { font-size: clamp(1.85rem, 7vw, 2.25rem); }
  .security-card p { font-size: 15px; }
  .trust-list { grid-template-columns: 1fr; gap: 14px; }
  .trust-list li { font-size: 15px; }
  .security-card .btn-dark { align-self: stretch; width: 100%; }

  /* FAQ */
  .faq-block { padding: var(--section-y) 0; }
  .faq-list { padding: 20px 14px; gap: 10px; }
  .faq-list details { padding: 8px; }
  .faq-list summary { font-size: 14px; gap: 14px; line-height: 1.35; }
  .faq-plus { width: 36px; height: 36px; border-radius: 10px; }
  .faq-plus::before { width: 12px; }
  .faq-plus::after { height: 12px; }
  .faq-list details p { margin-left: 50px; font-size: 14px; }

  /* Footer */
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-socials { gap: 16px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-pay { gap: 6px; }

  /* Section CTA buttons full-ish */
  .section-cta .btn { width: 100%; max-width: 360px; }

  /* Sticky CTA mobile */
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 49;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(246, 245, 239, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid rgba(2, 69, 85, 0.08);
    box-shadow: 0 -8px 24px rgba(2, 69, 85, 0.08);
    transform: translateY(120%);
    transition: transform 320ms cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
  }
  .mobile-sticky-cta.is-visible {
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-sticky-cta .btn {
    width: 100%;
    height: 54px;
    border-radius: 14px;
  }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 0; }
}

/* ============================================================
   TABLETTE LARGE — min-width: 1024px (iPad Pro landscape)
   Remet 4 colonnes pour why/steps (vraie place), reste tablette
   ============================================================ */

@media (min-width: 1024px) and (max-width: 1279px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .why-card { min-height: auto; aspect-ratio: 293/272; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}
