/* Les styles communs à index.html et partenaire.html ; chaque page garde les siens dans sa balise <style>. */
:root {
  --primary: #005df6;
  --primary-dark: #0047bd;
  --primary-soft: #e6edff;
  --ink: #14151a;
  --ink-soft: #45464f;
  --muted: #6b6d78;
  --line: #e3e3ea;
  --page: #ffffff;
  --tint: #f5f6fb;
  --night: #0d1530;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.6 Montserrat, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
/* Même marque que l’accueil crenoly.com : Montserrat semi-gras, capitales espacées. */
.brand {
  display: flex; flex-shrink: 0; align-items: center; gap: 10px; text-decoration: none;
  font-family: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600; font-size: 22px; letter-spacing: 3px; text-transform: uppercase;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
/* L'espacement suit aussi la dernière lettre : moins de marge à droite pour centrer. */
.brand span {
  margin-left: -2px; padding: 5px 7px 4px 10px; border-radius: 6px;
  background: var(--primary); color: #fff; font-size: 15px; line-height: 1;
}
header .wrap > nav { display: flex; gap: 24px; margin-right: auto; font-size: 15px; color: var(--ink-soft); }
header .wrap > nav a { text-decoration: none; }
header .wrap > nav a:hover { color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 10px; }

/* Menu burger, sous 960 px : trois traits qui deviennent une croix à l'ouverture. */
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span,
.menu summary span::before,
.menu summary span::after {
  display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--ink);
  transition: transform 0.2s, background 0.2s;
}
.menu summary span { position: relative; }
.menu summary span::before,
.menu summary span::after { content: ''; position: absolute; left: 0; }
.menu summary span::before { top: -6px; }
.menu summary span::after { top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column; padding: 8px 20px 16px;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 24px -16px rgba(13, 21, 48, 0.25);
}
.menu-panel a { padding: 14px 0; font-size: 17px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-panel a:last-child { border-bottom: 0; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 12px; border: 0;
  font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border: 1px solid var(--line); background: var(--page); }
.btn-ghost:hover { background: var(--tint); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { opacity: 0.92; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 0;
  background: linear-gradient(180deg, #eef3ff 0%, #ffffff 70%);
  overflow: hidden;
}
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 14px; font-weight: 600; margin-bottom: 20px; white-space: nowrap;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* Capture dans un cadre de navigateur */
.shot {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(13, 21, 48, 0.28), 0 12px 24px -12px rgba(13, 21, 48, 0.12);
}
.shot::before {
  content: ''; display: block; height: 28px;
  background:
    radial-gradient(circle at 16px 14px, #ff5f57 5px, transparent 5.5px),
    radial-gradient(circle at 34px 14px, #febc2e 5px, transparent 5.5px),
    radial-gradient(circle at 52px 14px, #28c840 5px, transparent 5.5px),
    #f1f2f6;
  border-bottom: 1px solid var(--line);
}
.hero .shot {
  margin: 56px auto 0; max-width: 1120px;
  border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0;
}

/* Sections */
section { padding: 96px 0; }
section.tint { background: var(--tint); }
h2 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 16px; }
.center { text-align: center; }
.lead { color: var(--ink-soft); font-size: 18px; margin: 0 0 40px; max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.kicker { color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.checks li strong { color: var(--ink); font-weight: 600; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23005df6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 18px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--primary); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); }

/* Appel final */
.cta { background: var(--night); color: #fff; text-align: center; border-radius: 28px; padding: 72px 24px; }
.cta h2 { color: #fff; }
.cta p { color: #c6cce0; font-size: 18px; margin: 0 auto 32px; max-width: 560px; }

footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
footer .cols { display: flex; flex-wrap: wrap; gap: 48px; }
footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 960px) {
  header .wrap > nav { display: none; }
  header .wrap { justify-content: space-between; }
  .menu { display: block; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  header .wrap { gap: 12px; }
  .brand { gap: 8px; font-size: 18px; letter-spacing: 2px; }
  .brand img { width: 28px; height: 28px; }
  .brand span { font-size: 12px; padding: 4px 5px 3px 7px; }
  .head-actions { gap: 8px; }
  .actions .btn { flex: 1 1 100%; }
  .hero { padding-top: 48px; }
  .hero .shot { margin-top: 40px; }
  .cta { border-radius: 20px; padding: 56px 20px; }
}
/* La marque ne rétrécit pas : les boutons qui ne tiennent plus passent dans le menu. */
@media (max-width: 640px) {
  .head-actions .btn-ghost { display: none; }
}
@media (max-width: 420px) {
  .head-actions .btn-primary { display: none; }
}
