/* ==========================================================================
   Page d'accueil (index.php) : hero, équipe, aperçu des newsletters, modales
   de connexion / inscription. Variables et socle : css/base.css
   ========================================================================== */

:root {
  --linkedin: #0a66c2
}

/* Remise à zéro des marges : la page gère tous ses espacements */
*,
*::before,
*::after {
  margin: 0;
  padding: 0
}

html {
  height: 100%
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 900px 600px at 15% 20%, rgba(59, 108, 245, .07), transparent 60%), radial-gradient(ellipse 700px 500px at 85% 75%, rgba(52, 211, 153, .06), transparent 60%), radial-gradient(ellipse 500px 400px at 50% 10%, rgba(245, 166, 35, .04), transparent 50%);
  z-index: 0;
  pointer-events: none
}

.site-main {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center
}

/* HERO */
.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-sm);
  position: relative;
  z-index: 1
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg) var(--space-md);
  gap: var(--space-lg);
  position: relative;
  overflow: hidden
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm)
}

.logo-brand img {
  height: 36px;
  width: auto;
  flex-shrink: 0
}

.logo-brand span {
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: var(--ls-tight)
}

.headline {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -.03em;
  color: var(--text)
}

.headline em {
  font-style: italic;
  font-weight: var(--fw-medium);
  color: var(--accent)
}

.subtitle {
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--muted);
  max-width: 46ch
}

.perks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none
}

.perk {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px var(--space-sm);
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: .8125rem;
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  color: var(--text)
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm)
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 100%;
  padding: 15px 20px;
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: .9375rem;
  font-weight: var(--fw-bold);
  text-align: center;
  cursor: pointer;
  transition: background var(--duration);
  box-shadow: var(--shadow-accent)
}

.btn-primary::after {
  content: '→'
}

.btn-primary:hover {
  background: var(--accent-hover)
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px var(--space-lg);
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s
}

.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-hover)
}

.right {
  position: relative;
  background: linear-gradient(145deg, #eef2ff 0%, #f0fdf4 50%, #fef9ee 100%);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.right::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 108, 245, .08), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.visual-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  z-index: 1
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) 20px;
  width: 300px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-soft), var(--mint-soft));
  box-shadow: inset 0 0 0 1px var(--border-strong);
  color: var(--accent-hover);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.step-info h3 {
  font-size: .9375rem;
  font-weight: var(--fw-bold);
  letter-spacing: -.01em;
  margin-bottom: 2px
}

.step-info p {
  font-size: .8125rem;
  color: var(--muted);
  line-height: var(--lh-snug)
}

.floating-badge {
  position: absolute;
  padding: var(--space-xs) 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .8125rem;
  font-weight: var(--fw-semibold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
  z-index: 2
}

.floating-badge.bottom-left {
  bottom: 28px;
  left: 28px
}

/* ════════════════════════════════════════
   SHOWCASE — TEAM + NEWSLETTER SIDE-BY-SIDE
   ════════════════════════════════════════ */
.showcase {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2 * var(--space-sm)));
  margin: var(--space-xl) auto var(--space-xl);
  padding: var(--space-xs) 0;
}

.showcase__toggle {
  display: flex;
  width: min(420px, 100%);
  margin: 0 auto var(--space-xl);
  padding: var(--space-2xs);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.showcase__toggle button {
  flex: 1;
  padding: 11px 14px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--muted);
  cursor: pointer;
  transition: color var(--duration);
  position: relative;
  z-index: 2;
}

.showcase__toggle button:hover {
  color: var(--text);
}

.showcase__toggle button.is-active {
  color: #fff;
}

.showcase__toggle::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--accent);
  border-radius: var(--radius-sm);
  transition: transform .35s var(--ease-out);
  box-shadow: 0 4px 12px var(--accent-glow);
  z-index: 1;
}

.showcase__toggle.is-newsletter::before {
  transform: translateX(100%);
}

.showcase__grid {
  position: relative;
  min-height: 480px;
}

.showcase__col {
  display: none;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.showcase__col.is-active {
  display: flex;
  animation: paneIn .2s ease both;
}

@keyframes paneIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.showcase__heading {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.showcase__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .02em;
  margin-bottom: var(--space-sm);
}

.showcase__kicker--team {
  background: linear-gradient(135deg, #fef9ee, #fff7ed);
  border: 1px solid #fde68a;
  color: #92400e;
}

.showcase__kicker--news {
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent-hover);
}

.showcase__heading h2 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
}

.showcase__heading p {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  max-width: 52ch;
  margin: 0 auto;
}

.showcase__heading p a {
  color: var(--accent-hover);
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.showcase__heading p a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ssn-pdfbook__inner {
  align-items: center;
}

/* Team grid — vertical stack of cards */
.team-stack {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.team-stack .member-card.b2a-full {
  grid-column: 1 / -1;
}

.member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration);
}

.member-card:hover {
  border-color: var(--border-strong)
}

.b2a-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 1px dashed var(--accent) !important;
  background: linear-gradient(135deg, #f8faff, #f0f4ff) !important
}

.b2a-card:hover {
  border-style: solid !important
}

.b2a-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  border: 3px solid var(--bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08)
}

.b2a-link {
  background: var(--accent-soft) !important;
  border-color: var(--border-strong) !important;
  color: var(--accent-hover) !important
}

.member-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  background: linear-gradient(135deg, #eef2ff, #f0fdf4)
}

.member-name {
  font-weight: var(--fw-bold);
  font-size: .9375rem;
  line-height: var(--lh-snug);
  margin: 0
}

.member-role {
  font-size: .8125rem;
  color: var(--muted);
  line-height: var(--lh-snug);
  margin: 0
}

.member-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-2xs);
  padding: 6px var(--space-sm);
  border-radius: var(--radius-pill);
  background: #f0f4ff;
  border: 1px solid #dbe4ff;
  color: var(--linkedin);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: background .15s
}

.member-linkedin:hover {
  background: #dbe4ff
}

.member-linkedin svg {
  width: 13px;
  height: 13px;
  fill: currentColor
}

/* PDF BOOK — compact column variant */
.ssn-pdfbook {
  --ssn-bg: var(--bg);
  --ssn-surface: var(--surface);
  --ssn-border: var(--border);
  --ssn-text: var(--text);
  --ssn-muted: var(--muted);
  --ssn-accent: var(--accent);
  --ssn-accent-soft: rgba(59, 108, 245, .12);
  position: relative;
  width: 100%;
  color: var(--ssn-text);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ssn-pdfbook *,
.ssn-pdfbook *::before,
.ssn-pdfbook *::after {
  box-sizing: border-box
}

.ssn-pdfbook__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
  justify-content: flex-start;
}

.ssn-pdfbook__stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1.414;
  max-height: 540px;
  perspective: 2400px;
  transform-style: preserve-3d;
}

.ssn-pdfbook__shadow {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 30px 80px -20px rgba(26, 31, 54, .25), 0 8px 30px -10px rgba(26, 31, 54, .12);
  pointer-events: none;
}

.ssn-pdfbook__page {
  position: absolute;
  inset: 0;
  background: var(--ssn-surface);
  border-radius: 14px;
  overflow: hidden;
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  box-shadow: inset 18px 0 28px -16px rgba(0, 0, 0, .08);
  transition: transform 0.7s cubic-bezier(.4, 0, .2, 1), box-shadow 0.3s;
}

.ssn-pdfbook__page.is-turning {
  box-shadow: inset 18px 0 28px -16px rgba(0, 0, 0, .08), 0 24px 60px -10px rgba(26, 31, 54, .18);
}

.ssn-pdfbook__page::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #fafbff 0%, #f3f5fb 100%);
  transform: rotateY(180deg);
  backface-visibility: hidden;
  border-radius: 14px;
}

.ssn-pdfbook__scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  backface-visibility: hidden;
  background: #fff;
  border-radius: 14px;
  scrollbar-width: thin;
  scrollbar-color: #d4d8e3 transparent;
}

.ssn-pdfbook__scroll::-webkit-scrollbar {
  width: 6px
}

.ssn-pdfbook__scroll::-webkit-scrollbar-track {
  background: transparent
}

.ssn-pdfbook__scroll::-webkit-scrollbar-thumb {
  background: #d4d8e3;
  border-radius: var(--radius-pill)
}

.ssn-pdfbook__newsletter {
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
  user-select: none
}

.ssn-pdfbook__newsletter img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none
}

.ssn-pdfbook__newsletter img+img {
  border-top: 1px solid #f1f3f9
}

.ssn-pdfbook__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ssn-muted);
  font-size: var(--fs-sm);
  background: #fff;
  border-radius: 14px
}

.ssn-pdfbook__loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid #d4d8e3;
  border-top-color: var(--ssn-accent);
  border-radius: 50%;
  animation: ssn-spin .7s linear infinite
}

@keyframes ssn-spin {
  to {
    transform: rotate(360deg)
  }
}

.ssn-pdfbook__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  border: 1px solid var(--ssn-border);
  box-shadow: 0 6px 20px rgba(26, 31, 54, .06);
  flex-wrap: wrap;
  justify-content: center;
}

.ssn-pdfbook__nav-label {
  display: none;
  font-size: var(--fs-xs);
  color: var(--ssn-muted);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  margin-right: 2px;
  white-space: nowrap;
}

.ssn-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ssn-border);
  background: var(--ssn-surface);
  color: var(--ssn-text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color var(--duration), color var(--duration), background var(--duration);
  flex-shrink: 0;
}

.ssn-nav-btn:hover {
  border-color: var(--ssn-accent);
  color: var(--ssn-accent)
}

.ssn-nav-btn.is-active {
  background: var(--ssn-accent);
  border-color: var(--ssn-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 108, 245, .3)
}

.ssn-nav-btn.is-active:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff
}

.ssn-nav-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ssn-border);
  background: var(--ssn-surface);
  color: var(--ssn-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color var(--duration), color var(--duration);
  flex-shrink: 0;
}

.ssn-nav-arrow:hover:not(:disabled) {
  border-color: var(--ssn-accent);
  color: var(--ssn-accent)
}

.ssn-nav-arrow:disabled {
  opacity: .35;
  cursor: not-allowed
}

.ssn-nav-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round
}

/* SCROLL HINT */
.scroll-hint {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--accent-hover);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  opacity: 1;
  transition: opacity .4s, box-shadow var(--duration), border-color var(--duration);
  cursor: pointer;
  pointer-events: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  box-shadow: 0 4px 16px rgba(59, 108, 245, .1);
  white-space: nowrap;
}

.scroll-hint:hover {
  border-color: var(--border-strong);
  box-shadow: 0 6px 20px rgba(59, 108, 245, .18);
}

.scroll-hint svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-hint.is-hidden {
  opacity: 0;
}

/* SCROLL TO TOP */
.scroll-top-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(26, 31, 54, .1);
  color: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, background .15s
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto
}

.scroll-top-btn:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow)
}

.scroll-top-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round
}

/* OVERLAY + MODAL */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: var(--space-sm);
  background: rgba(26, 31, 54, .45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  animation: overlayIn .15s ease both
}

.overlay.active {
  display: flex
}

@keyframes overlayIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.modal {
  background: var(--surface);
  border-radius: 20px;
  width: min(420px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .18);
  position: relative
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, color .15s
}

.modal-close:hover {
  background: #fee;
  color: #c00
}

.modal-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  padding-right: var(--space-xl);
  margin-bottom: var(--space-2xs)
}

.modal-sub {
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: var(--muted);
  margin-bottom: 20px
}

#register-view .modal-title {
  margin-bottom: 20px
}

.field {
  margin-bottom: var(--space-sm);
  position: relative
}

.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: .9375rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--duration), box-shadow var(--duration), background var(--duration)
}

.field input[type=password] {
  padding-right: 48px
}

.field input::placeholder {
  color: var(--muted);
  opacity: 1
}

.field input:hover {
  border-color: var(--border-strong)
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: #fff
}

.toggle-pw {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  user-select: none;
  transition: background .15s
}

.toggle-pw:hover {
  background: var(--accent-soft)
}

.toggle-pw svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.modal-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  cursor: pointer;
  margin-top: 6px;
  transition: background var(--duration);
  box-shadow: 0 6px 20px var(--accent-glow)
}

.modal-btn:hover {
  background: var(--accent-hover)
}

.modal-btn:disabled {
  opacity: .55;
  cursor: not-allowed
}

.google-btn {
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: #3c4043;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: 10px;
  transition: border-color .15s
}

.google-btn:hover {
  border-color: var(--border-strong)
}

.google-btn img {
  height: 18px
}

.divider {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
  color: var(--muted);
  font-size: .8125rem
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border)
}

.switch-link {
  text-align: center;
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--muted)
}

.switch-link a {
  color: var(--accent-hover);
  font-weight: var(--fw-bold);
  cursor: pointer;
  text-decoration: none
}

.switch-link a:hover {
  text-decoration: underline;
  text-underline-offset: 2px
}

.extra-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xs);
  margin-top: 6px;
  font-size: .8125rem
}

.extra-links a {
  color: var(--accent-hover);
  text-decoration: none
}

.extra-links a:hover {
  text-decoration: underline;
  text-underline-offset: 2px
}

.extra-links label {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer
}

.extra-links input[type=checkbox] {
  accent-color: var(--accent)
}

.terms-label {
  font-size: .8125rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin: var(--space-xs) 0 var(--space-2xs);
  line-height: var(--lh-snug)
}

.terms-label a {
  color: var(--accent-hover);
  font-weight: var(--fw-semibold);
  text-decoration: none
}

.terms-label a:hover {
  text-decoration: underline;
  text-underline-offset: 2px
}

.terms-label input {
  margin-top: 3px;
  accent-color: var(--accent)
}

#message-box {
  display: none;
  margin-top: var(--space-sm);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  text-align: center
}

#loader {
  display: none;
  margin: var(--space-sm) auto 0;
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.help-line {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 14px
}

.choice-modal {
  width: min(560px, 100%)
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: var(--space-xs)
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px var(--space-md);
  cursor: pointer;
  transition: border-color .15s, background .15s
}

.choice-card:hover {
  border-color: var(--accent);
  background: var(--surface)
}

.choice-card__title {
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  color: var(--text)
}

.choice-card__desc {
  font-size: .8125rem;
  color: var(--muted);
  line-height: var(--lh-snug)
}

.page-footer {
  position: relative;
  text-align: center;
  padding-top: var(--space-xs);
  font-size: var(--fs-xs);
  color: var(--muted)
}

.page-footer a,
.site-footer a {
  color: var(--accent-hover);
  text-decoration: none
}

.page-footer a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 2px
}

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: var(--space-xl) var(--space-lg) var(--space-2xl);
  border-top: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--muted)
}

/* ════════════════════════════════════════
   PETITS ÉCRANS (≥ 421px)
   ════════════════════════════════════════ */
@media (min-width: 421px) {
  .cta-row {
    flex-direction: row;
    flex-wrap: wrap
  }

  .btn-primary,
  .btn-ghost {
    width: auto
  }

  .btn-primary {
    padding: 15px 28px;
    font-size: var(--fs-md)
  }

  .perk {
    white-space: nowrap;
    padding: var(--space-xs) 14px;
    font-size: var(--fs-sm)
  }

  .team-stack {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 521px) {
  .choice-grid {
    grid-template-columns: 1fr 1fr
  }

  .modal {
    padding: 36px var(--space-xl) 28px
  }
}

/* ════════════════════════════════════════
   DESKTOP (≥ 801px) : hero en 2 colonnes
   ════════════════════════════════════════ */
@media (min-width: 801px) {
  .hero-wrapper {
    min-height: 100vh;
    padding: var(--space-lg) 0
  }

  .page {
    grid-template-columns: 1.1fr 1fr;
    width: min(1100px, 94vw);
    min-height: min(680px, calc(100vh - 140px));
    border-radius: var(--radius-xl)
  }

  .left {
    padding: var(--space-2xl) 44px;
    gap: 28px
  }

  .subtitle {
    font-size: var(--fs-lg)
  }

  .right {
    display: flex
  }

  .page-footer {
    position: absolute;
    bottom: var(--space-sm);
    left: 44px;
    padding: 0;
    text-align: left
  }

  .showcase {
    width: min(1180px, 94vw);
    margin: var(--space-3xl) auto var(--space-2xl);
  }

  .team-stack {
    gap: var(--space-md);
  }

  .member-card {
    padding: 20px var(--space-md);
  }

  .member-photo,
  .b2a-logo {
    width: 64px;
    height: 64px;
  }

  .ssn-pdfbook__stage {
    max-width: 460px;
    max-height: 640px;
  }

  .ssn-pdfbook__nav-label {
    display: inline;
  }

  .scroll-top-btn {
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px
  }
}
