/* ==========================================================================
   Alfred — votre majordome numérique
   Landing page (design de référence : Landing Alfred v2, logo 9A)
   ========================================================================== */

:root {
  --accent: #c9a15e;        /* or/laiton */
  --accent-dark: #8a6526;   /* or foncé, contraste AA sur fond clair */
  --ink: #1d1d1f;
  --gray-mid: #6e6e73;
  --gray-soft: #86868b;
  --gray-on-dark: #a1a1a6;
  --paper: #f5f5f7;
  --card-dark: #1c1b21;
  --border-light: #d2d2d7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { margin: 0; padding: 0; background: #ffffff; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner { animation: none; }
}

section { scroll-margin-top: 60px; }

.container { max-width: 1024px; margin: 0 auto; }
.center { text-align: center; }
.center-text { text-align: center; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-links { display: flex; align-items: center; gap: 28px; min-width: 0; }

.nav-anchors { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  font-size: 12.5px;
  color: rgba(29, 29, 31, 0.8);
  text-decoration: none;
}

.nav-links a:hover { color: #000000; }

.nav-links a.nav-cta {
  font-size: 12px;
  font-weight: 500;
  color: #000000;
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a.nav-cta:hover { color: #000000; filter: brightness(1.1); }

/* Mobile : les ancres restent accessibles dans une rangée défilante,
   le CTA « Devenir pilote » reste toujours visible. */
@media (max-width: 720px) {
  .nav-inner { gap: 12px; }
  .nav-links { gap: 14px; }
  .nav-anchors {
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav-anchors::-webkit-scrollbar { display: none; }
  .nav-anchors a { white-space: nowrap; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 96px 24px 110px;
  text-align: center;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, #f6f1e7, #ffffff 72%);
}

.hero-inner {
  animation: fadeUp 0.8s ease both;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin: 0 0 22px;
  /* « Le majordome numérique. » (≈12em) doit tenir sur une seule ligne :
     la taille suit la largeur disponible, plafonnée à 76px (spec). */
  font-size: clamp(40px, calc((100vw - 64px) / 12.2), 76px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 24ch;
  text-wrap: balance;
}

.hero-sub {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gray-mid);
  max-width: 42ch;
  text-wrap: balance;
}

.hero-price { margin: 0 0 36px; font-size: 16px; color: var(--accent-dark); }

.cta-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-size: 17px;
  font-weight: 500;
  color: #000000;
  background: var(--accent);
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
}

.btn-primary:hover { filter: brightness(1.1); }

.btn-text {
  font-size: 17px;
  font-weight: 500;
  color: var(--accent-dark);
  text-decoration: none;
}

.btn-text:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .hero { padding: 64px 20px 80px; }
}

/* ==========================================================================
   Logo 9A — le concierge à la cloche (100 % CSS)
   Base 220×220, affiché à scale(1.6) → 352×352
   ========================================================================== */

.logo-box { width: 352px; height: 352px; margin: 0 auto 48px; }

.logo-scale {
  width: 220px;
  height: 220px;
  transform: scale(1.6);
  transform-origin: top left;
}

@media (max-width: 480px) {
  .logo-box { width: 264px; height: 264px; margin-bottom: 36px; }
  .logo-scale { transform: scale(1.2); }
}

.logo-frame {
  width: 220px;
  height: 220px;
  border-radius: 26%;
  background: linear-gradient(160deg, #d9b476, #a97f3f 55%, #c9a15e);
  padding: 4px;
  box-shadow: 0 24px 80px rgba(201, 161, 94, 0.30);
}

.logo-inner {
  width: 100%;
  height: 100%;
  border-radius: 24%;
  background: radial-gradient(circle at 50% 30%, #332e3e, #1c1b21 75%);
  position: relative;
  overflow: hidden;
}

.logo-rays {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from -8deg at 50% 46%, rgba(217, 180, 118, 0.13) 0deg 8deg, rgba(217, 180, 118, 0.015) 8deg 16deg);
}

/* — personnage — */

.butler {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.butler-head {
  width: 58px;
  height: 62px;
  background: linear-gradient(175deg, #f0d9b8, #dfc29a);
  border-radius: 28px 28px 20px 20px;
  position: relative;
}

.ear { position: absolute; top: 8px; width: 9px; height: 22px; background: #b9b2a4; }
.ear-l { left: -3px; border-radius: 6px 2px 2px 8px; }
.ear-r { right: -3px; border-radius: 2px 6px 8px 2px; }

.brow { position: absolute; top: 20px; width: 12px; height: 3.5px; background: #857e6e; border-radius: 2px; }
.brow-l { left: 12px; transform: rotate(-6deg); }
.brow-r { right: 12px; transform: rotate(6deg); }

.eye { position: absolute; top: 27px; width: 5px; height: 5px; border-radius: 50%; background: #33302a; }
.eye-l { left: 15px; }
.eye-r { right: 15px; }

.nose {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 9px;
  background: #dfbf95;
  border-radius: 0 0 4px 4px;
}

.stache {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1px;
}

.stache-l, .stache-r { width: 14px; height: 5.5px; background: #857e6e; }
.stache-l { border-radius: 8px 2px 2px 10px; transform: rotate(-8deg); }
.stache-r { border-radius: 2px 8px 10px 2px; transform: rotate(8deg); }

.monocle {
  position: absolute;
  top: 25px;
  right: 9px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #c9a15e;
  z-index: 2;
}

.monocle-chain {
  position: absolute;
  top: 39px;
  right: 7px;
  width: 1.5px;
  height: 12px;
  background: #c9a15e;
  transform: rotate(14deg);
}

.bowtie { display: flex; align-items: center; margin-top: 2px; }
.bow-l { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-right: 11px solid #8e3b3b; }
.bow-knot { width: 5px; height: 5px; background: #a84f4f; border-radius: 1px; }
.bow-r { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid #8e3b3b; }

.torso {
  width: 118px;
  height: 34px;
  background: linear-gradient(180deg, #2d2a35, #26232b);
  border-radius: 30px 30px 0 0;
  margin-top: -2px;
  position: relative;
  display: flex;
  justify-content: center;
}

.shirt {
  width: 24px;
  height: 20px;
  background: #f4f0e6;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.vest {
  width: 36px;
  height: 32px;
  background: linear-gradient(180deg, #d9b476, #b08644);
  clip-path: polygon(50% 16%, 100% 0, 82% 100%, 18% 100%, 0 0);
  margin-top: 3px;
}

/* — étincelles « ding » — */

.spark {
  position: absolute;
  background: #ecd3a4;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.spark-1 { top: 96px; left: 34px; width: 14px; height: 14px; }
.spark-2 { top: 84px; right: 30px; width: 10px; height: 10px; opacity: 0.75; }

/* — cloche de service — */

.bell {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bell-btn {
  width: 15px;
  height: 11px;
  background: linear-gradient(180deg, #f5e3c0, #c9a15e);
  border-radius: 8px 8px 3px 3px;
}

.bell-dome {
  width: 96px;
  height: 50px;
  background: linear-gradient(160deg, #f0d9ae, #d9b476 40%, #a97f3f 92%);
  border-radius: 96px 96px 0 0;
  margin-top: -2px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.bell-shine {
  position: absolute;
  top: 8px;
  left: 14px;
  width: 26px;
  height: 11px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.bell-base {
  width: 110px;
  height: 9px;
  background: linear-gradient(180deg, #b08644, #8a6526);
  border-radius: 4px;
}

.glove {
  position: absolute;
  bottom: 4px;
  width: 20px;
  height: 15px;
  background: #f4f0e6;
  border-radius: 60% 60% 45% 45%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.glove-l { left: -26px; }
.glove-r { right: -26px; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 130px 24px; }
.section-dark { background: #000000; color: var(--paper); }
.section-light { background: #ffffff; color: var(--ink); }

h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 6.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

h3 { margin: 0; }

.lead {
  font-size: 21px;
  line-height: 1.5;
  color: var(--gray-soft);
  text-wrap: pretty;
}

.lead-diff    { margin: 0 auto 80px; max-width: 54ch; }
.lead-film    { margin: 0 auto 56px; max-width: 46ch; }
.lead-journee { margin: 0 auto 72px; max-width: 50ch; }
.lead-conf    { margin: 0 auto 80px; max-width: 52ch; }
.lead-tarifs  { margin: 0 auto 72px; max-width: 50ch; }

@media (max-width: 760px) {
  .section { padding: 90px 20px; }
  .lead-diff, .lead-conf { margin-bottom: 56px; }
  .lead-journee, .lead-tarifs { margin-bottom: 48px; }
}

/* ==========================================================================
   Différence — grille 3 cartes sombres
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.card-dark {
  background: var(--card-dark);
  border-radius: 24px;
  padding: 36px 32px;
}

.card-dark h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-dark p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-on-dark);
  text-wrap: pretty;
}

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Film journée
   ========================================================================== */

.section-film {
  background: #ffffff;
  color: var(--ink);
  padding: 120px 24px 130px;
}

.film-container { max-width: 900px; margin: 0 auto; }

.film-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0d18;
  box-shadow: 0 30px 80px rgba(201, 161, 94, 0.12);
  border: 1px solid rgba(201, 161, 94, 0.25);
}

.film-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.film-idle-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.film-idle-label { font-size: 13px; color: #6f6a5d; }

.film-scenes { position: absolute; inset: 0; }

.film-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}

#film-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(29, 29, 31, 0.35);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: inherit;
}

.film-track { flex: 1; min-width: 160px; padding: 8px 0; cursor: pointer; }

.film-track:focus-visible,
#film-toggle:focus-visible,
.film-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.film-rail {
  height: 4px;
  border-radius: 99px;
  background: rgba(29, 29, 31, 0.15);
  overflow: hidden;
}

.film-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
  width: 0%;
}

.film-chapters { display: flex; gap: 8px; flex-wrap: wrap; }

.film-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid rgba(29, 29, 31, 0.3);
  background: transparent;
  color: rgba(29, 29, 31, 0.75);
}

.film-chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #000000;
}

@media (max-width: 760px) {
  .section-film { padding: 90px 20px; }
}

/* ==========================================================================
   Journée type — bento 2 colonnes
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card-bento {
  background: var(--card-dark);
  border-radius: 28px;
  padding: 44px 40px;
}

.bento-heure {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 14px;
}

.bento-titre { font-size: 22px; font-weight: 700; margin-bottom: 8px; }

.card-bento p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-on-dark);
  text-wrap: pretty;
}

@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .card-bento { padding: 36px 30px; }
}

/* ==========================================================================
   Confidentialité — grille 4 cartes claires
   ========================================================================== */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

.card-light {
  background: var(--paper);
  border-radius: 24px;
  padding: 32px 28px;
}

.card-num {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.card-titre {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card-light p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-mid);
  text-wrap: pretty;
}

@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Tarifs
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: var(--card-dark);
  color: var(--paper);
  border-radius: 28px;
  padding: 44px 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  flex-wrap: wrap;
  row-gap: 4px;
  column-gap: 16px;
}

.plan-head h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.plan-price { font-size: 34px; font-weight: 700; color: var(--accent); }
.plan-price span { font-size: 15px; font-weight: 500; color: var(--gray-soft); }

.plan-note { margin: 0 0 24px; font-size: 15px; color: var(--gray-on-dark); }

.plan-li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15.5px;
  line-height: 1.5;
}

.plan-li .check { color: var(--accent); }

.modules { display: flex; flex-direction: column; gap: 12px; }

.module {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  background: var(--card-dark);
  border-radius: 18px;
  padding: 20px 24px;
}

.module-name { font-size: 16px; font-weight: 700; }

.module-desc {
  font-size: 13.5px;
  color: var(--gray-soft);
  line-height: 1.5;
  text-wrap: pretty;
}

.module-price { font-size: 20px; font-weight: 700; white-space: nowrap; }

.modules-note {
  margin: 8px 6px 0;
  font-size: 13px;
  color: var(--gray-soft);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .plan-card { padding: 36px 28px; }
  .plan-head h3 { white-space: normal; }
}

/* ==========================================================================
   CTA pilote
   ========================================================================== */

.pilot {
  background: #ffffff;
  color: var(--ink);
  padding: 140px 24px;
}

.pilot-inner { max-width: 720px; margin: 0 auto; text-align: center; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.pilot h2 { margin: 0 0 20px; }

.pilot-lead {
  margin: 0 0 40px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--gray-mid);
  text-wrap: pretty;
}

.pilot .cta-row { gap: 16px; }

.btn-dark {
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
  background: var(--ink);
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
}

.btn-dark:hover { background: #3a3a3c; }

.btn-outline {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 13.5px 32px;
  border-radius: 999px;
  text-decoration: none;
}

.btn-outline:hover { background: #e8e8ed; }

.founder-note {
  margin: 36px 0 0;
  font-size: 13.5px;
  color: var(--gray-soft);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .pilot { padding: 100px 20px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--paper);
  border-top: 1px solid var(--border-light);
  padding: 28px 24px;
}

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.footer-legal { font-size: 12px; color: var(--gray-soft); }
