/* CrewPlan homepage — une promesse, un CTA */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0A0F16;
  --ink-2: #121A24;
  --ink-light: #15202E;
  --muted: #5A6676;
  --muted-on-dark: #9AA6B5;
  --paper: #F6F4EF;
  --paper-2: #FFFFFF;
  --line: #E2DDD4;
  --gold: #D4A017;
  --gold-soft: #F3E2A8;
  --teal: #1F8A70;
  --teal-soft: #D5F0E6;
  --coral: #C45C3E;
  --header-h: 72px;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(21, 32, 46, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: Manrope, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
ul, ol { list-style: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 400;
}
.skip:focus { left: 16px; top: 16px; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 40px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a,
.nav-text-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-text-link:hover,
.nav-text-link:focus-visible { color: var(--ink); }

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn.mobile-cta { display: none; }
.nav-panel { display: none; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible,
.plan-cta:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-fill { background: var(--ink); color: #fff; }
.btn-fill:hover { background: #1a2433; }
.btn-gold { background: var(--gold-soft); color: #1A1400; }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(212, 160, 23, 0.28); }
.btn-ghost {
  background: transparent;
  color: var(--ink-light);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--paper-2); }
.btn-full { width: 100%; }

.text-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.text-link:hover { border-bottom-color: currentColor; }

.cta-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* —— Layout helpers —— */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: 112px 0; }
.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
h1, h2, h3 {
  font-family: Syne, sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--ink);
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
}
.center { text-align: center; margin-bottom: 56px; }
.center h2,
.center .lede {
  margin-left: auto;
  margin-right: auto;
}
.center h2 { max-width: 24ch; }

/* anciens liens /#schema (pages guides) → même section */
.anchor-alias { position: relative; top: 0; display: block; height: 0; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: 72px 0 104px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(212, 160, 23, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 45% at 5% 90%, rgba(31, 138, 112, 0.08), transparent 50%),
    linear-gradient(180deg, #FBF9F5 0%, var(--paper) 100%);
}
.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 24px;
}
.hero h1 span {
  display: block;
  margin-top: 10px;
  font-size: 0.66em;
  letter-spacing: -0.03em;
  color: var(--teal);
}
.hero-lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 46ch;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-bottom: 14px;
}
.hero-actions .btn { order: 1; }
.hero-actions .text-link { order: 2; }
.hero-actions .cta-note { order: 3; flex-basis: 100%; text-align: center; }

.hero-visual {
  position: relative;
  max-width: 860px;
  margin: 72px auto 0;
}
.product-frame {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #1A2432 0%, #141C28 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(10, 15, 22, 0.24);
  overflow: hidden;
  color: #fff;
  animation: rise 0.9s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.pf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #9AA6B5;
}
.pf-dots { display: flex; gap: 6px; }
.pf-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3A4656;
  display: block;
}
.pf-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 320px;
}
.pf-side {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pf-side b {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6E7B8C;
  margin-bottom: 4px;
}
.pf-nav {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.76rem;
  color: #C5CED9;
}
.pf-nav.on {
  background: rgba(212, 160, 23, 0.18);
  color: var(--gold-soft);
  font-weight: 700;
}
.pf-main { padding: 16px 16px 18px; min-width: 0; }
.pf-week {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.pf-week strong {
  font-family: Syne, sans-serif;
  font-size: 1rem;
}
.pf-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1A1400;
  background: var(--gold);
  padding: 4px 9px;
  border-radius: 999px;
}
.grid-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}
.day {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 6px;
  min-height: 110px;
}
.day em {
  display: block;
  font-style: normal;
  font-size: 0.66rem;
  color: #7D8A99;
  margin-bottom: 8px;
  font-weight: 700;
}
.shift {
  display: block;
  font-size: 0.68rem;
  padding: 5px 6px;
  border-radius: 7px;
  margin-bottom: 4px;
  font-weight: 600;
  line-height: 1.25;
}
.shift.s { background: rgba(31, 138, 112, 0.28); color: #B8F0DC; }
.shift.k { background: rgba(212, 160, 23, 0.22); color: #F3E2A8; }
.shift.b { background: rgba(196, 92, 62, 0.22); color: #F6D9CF; }
.pf-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.pf-meta div {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 8px;
}
.pf-meta span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6E7B8C;
  margin-bottom: 3px;
}
.pf-meta strong { font-size: 0.85rem; }

.float-card {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(21, 32, 46, 0.12);
  color: var(--ink);
  animation: floatSoft 5s ease-in-out infinite;
}
.float-card.ok { color: var(--teal); }
.float-card.c1 { top: -18px; left: -36px; }
.float-card.c2 { bottom: 36px; right: -36px; animation-delay: 1.2s; }
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card,
  .product-frame { animation: none !important; }
  .btn, .plan-cta { transition: none; }
}

/* —— Comment ça marche —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.step { text-align: center; }
.step-n {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 30ch;
  margin: 0 auto;
}
.steps-alt {
  text-align: center;
  margin-top: 48px;
}
.steps-alt .text-link {
  color: var(--muted);
  font-weight: 600;
}
.steps-alt .text-link:hover { color: var(--ink); }

/* —— Bénéfices —— */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.benefit-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 20px;
}
.benefit-ico svg { width: 22px; height: 22px; }
.benefit h3 { margin-bottom: 10px; }
.benefit p { color: var(--muted); font-size: 0.95rem; }

/* —— Tarifs —— */
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}
.plan {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 26px 24px;
  display: flex;
  flex-direction: column;
}
.plan.hi {
  border: 2px solid var(--ink);
  box-shadow: 0 20px 50px rgba(21, 32, 46, 0.1);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.plan .px {
  font-family: Syne, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.plan .px-text { font-size: 2rem; line-height: 1.3; }
.plan-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 8px 0 22px;
}
.plan ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-light);
}
.plan li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
  flex-shrink: 0;
}
.plan-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: background 0.2s, transform 0.2s;
}
.plan-cta:hover { transform: translateY(-1px); background: #fff; }
.plan-cta.hi {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.plan-cta.hi:hover { background: #1a2433; }
.plan .cta-note {
  text-align: center;
  margin-top: 10px;
  font-size: 0.8rem;
}

/* —— FAQ —— */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 500;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 0.97rem;
}
.faq summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 4px;
}

/* —— CTA final —— */
.final-wrap { padding: 112px 40px; }
.final-cta {
  max-width: 1100px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(212, 160, 23, 0.18), transparent 55%),
    linear-gradient(165deg, #0A0F16 0%, #121A24 100%);
  color: #fff;
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
}
.final-cta h2 {
  color: #fff;
  max-width: 20ch;
  margin: 0 auto 14px;
}
.final-cta > p {
  color: var(--muted-on-dark);
  max-width: 42ch;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.final-cta .cta-note { color: #D7DEE8; margin-bottom: 36px; }
.final-cta .final-contact {
  max-width: none;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}
.final-contact a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.final-contact a:hover { border-bottom-color: #fff; }

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: #D7DEE8;
  padding: 64px 40px 36px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.footer-brand { margin-bottom: 36px; }
.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  color: var(--muted-on-dark);
  font-size: 0.9rem;
  max-width: 36ch;
}
.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 1.1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}
.footer-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7D8A99;
  margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  text-decoration: none;
  color: #D7DEE8;
  font-size: 0.9rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.footer-col a:hover { color: #fff; }
.footer-copy {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .nav-links,
  .nav-login { display: none; }
  .nav-toggle { display: inline-flex; }
  .btn.mobile-cta { display: inline-flex; }
  .nav-end { gap: 10px; }

  .site-header.is-open .nav-panel { display: flex; }
  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(21, 32, 46, 0.08);
  }
  .nav-panel > a {
    text-decoration: none;
    padding: 12px 10px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--ink-light);
  }
  .nav-panel > a:hover { background: var(--paper); }
  .nav-panel .panel-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    text-align: center;
  }

  .float-card { display: none; }
  .pf-body { grid-template-columns: 1fr; }
  .pf-side { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; max-width: 420px; }
  .benefits { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .prices { grid-template-columns: 1fr; max-width: 420px; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav, .wrap { padding-left: 16px; padding-right: 16px; }
  .site-footer { padding: 56px 16px 32px; }
  .section { padding: 80px 0; }
  .center { margin-bottom: 40px; }
  .hero { padding: 48px 0 64px; }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .hero-actions .cta-note { order: 2; flex-basis: auto; margin-top: -8px; }
  .hero-actions .text-link { order: 3; }
  .hero-actions .btn { width: 100%; max-width: 360px; }
  .hero-visual { margin-top: 48px; }
  .grid-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-days .day:nth-child(n+4) { display: none; }
  .final-wrap { padding: 80px 16px; }
  .final-cta { padding: 56px 20px; border-radius: 22px; }
}

@media (max-width: 480px) {
  .brand img { height: 30px; }
  .hero h1 { font-size: 1.85rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .pf-top > span:first-of-type { display: none; }
}
