/* =====================================================================
   Style « Apple » : valeurs relevées sur apple.com (nov. 2026)
   - police système SF Pro (sur appareils Apple), texte #1d1d1f, fonds #f5f5f7 / noir en alternance
   - titres 56 px, graisse 600, interlignage 1,07 ; sous-titres 28 px, graisse 400
   - boutons en pastille (rayon 980 px), barre de navigation 44-48 px translucide floutée
   Couche chargée APRÈS styles.css : supprimer la ligne <link> pour revenir au style précédent.
   ===================================================================== */

:root {
  --display: "Plus Jakarta Sans", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Plus Jakarta Sans", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --cream: #f5f5f7;
  --paper: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --night: #000000;
  --night-2: #161617;
  --night-3: #1d1d1f;
  --muted-on-dark: #a1a1a6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --radius: 28px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

body { font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
:focus-visible { outline-color: #0071e3; }

/* graisse 600 partout où le titre utilisait 800 */
.hero h1, .section h2, .cta h2, .stat b, .step h3, .pack h3, .pack .price, .faq summary, .auth-card h1, .auth-photo h2,
.topline h1, .kpi-card b, .credit-pill b, .pay-info b, .pay-head h3, .pay-total b, .pay-step-head h4, .pay-amount b,
.kpi b, .empty b, .demo-avatar, .avatar, .logo, .row-phone, .fb-num, .pay-step-num, .stat b { font-weight: 700; }
.logo { letter-spacing: -0.03em; }

/* ---------- boutons : pastilles, sans soulèvement ---------- */
.btn { border-radius: 980px; font-weight: 600; font-size: 17px; letter-spacing: -0.022em; padding: 11px 21px; transition: background-color 0.3s, color 0.3s, border-color 0.3s, filter 0.3s; }
.btn:hover { transform: none; filter: brightness(0.94); }
.btn:active { filter: brightness(0.86); }
.btn-sm { font-size: 14px; padding: 7px 15px; }
.btn-amber { box-shadow: none; }
.btn-amber:hover { box-shadow: none; }
.btn-ghost { background: transparent; backdrop-filter: none; color: var(--amber); border: 1px solid var(--amber); }
.btn-line { background: transparent; border-color: #0071e3; color: #0071e3; }
.btn-dark { background: #1d1d1f; }
.btn .arrow { display: none; }

/* ---------- barre de navigation de l'accueil ---------- */
.nav { padding: 0; height: 48px; background: rgba(0, 0, 0, 0.8); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 0; }
.nav.scrolled { padding: 0; background: rgba(0, 0, 0, 0.8); border-color: transparent; }
.nav .wrap { height: 48px; gap: 0; }
.nav .logo { font-size: 19px; }
.nav .logo-mark { width: 24px; height: 24px; border-radius: 7px; }
.nav-links { margin: 0 auto; gap: 40px; }
.nav-links a { font-size: 12px; letter-spacing: -0.01em; color: rgba(245, 245, 247, 0.8); }
.nav-links a:hover { color: #fff; }
.nav-cta .btn { font-size: 12px; padding: 5px 13px; }

/* ---------- accueil : blocs pleine largeur, titres centrés ---------- */
body.bg-landing::before { display: none; }
.landing { background: #000; color: #f5f5f7; }
.landing .eyebrow { border: 0; background: none; backdrop-filter: none; padding: 0; font-size: 21px; font-weight: 600; letter-spacing: 0.011em; color: var(--amber); }
.landing .pulse { display: none; }

.hero { min-height: 100svh; align-items: start; background: #000; }
.hero-bg img { animation: none; object-position: 72% 28%; opacity: 0.92; }
.hero::after { background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 34%, rgba(0, 0, 0, 0.2) 66%, rgba(0, 0, 0, 0.92) 100%); }
.hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 26px; padding: 124px 0 90px; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.06; letter-spacing: -0.015em; max-width: 17ch; margin: 14px auto 14px; }
.hero h1 em { color: #f5f5f7; }
.hero p.sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.17; letter-spacing: 0.009em; color: #f5f5f7; max-width: 38ch; margin: 0 auto 22px; }
.hero-actions { justify-content: center; }
.hero-note { color: #a1a1a6; font-size: 14px; }
.demo { justify-self: center; align-self: auto; margin-top: 18px; width: min(560px, 100%); animation: none; border-radius: 28px; text-align: left; background: rgba(29, 29, 31, 0.72); }

.marquee { display: none; }

.section { padding: clamp(84px, 11vw, 150px) 0; background: #000; text-align: center; }
.section h2 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.0714; letter-spacing: -0.005em; max-width: 20ch; margin: 12px auto 16px; }
.section .intro { margin-inline: auto; font-size: clamp(19px, 2.3vw, 24px); line-height: 1.16667; letter-spacing: 0.009em; color: #a1a1a6; max-width: 34ch; }
.kicker { text-transform: none; letter-spacing: -0.01em; font-size: 19px; font-weight: 600; color: var(--amber); }
.landing .section:not(.section-light):not(.section-white) .kicker { color: var(--amber); }

.section-white { background: #fff; color: #1d1d1f; }
.section-white .intro, .section-light .intro { color: #6e6e73; }
.section-light { background: #f5f5f7; color: #1d1d1f; }
.landing .section-light { background: #f5f5f7; }
.section-white .kicker, .section-light .kicker { color: #b25f00; }

.stats { gap: 12px; }
.stat { background: #f5f5f7; border: 0; border-radius: 28px; padding: 40px 28px; text-align: center; }
.stat b { font-size: clamp(56px, 7vw, 88px); color: #1d1d1f; letter-spacing: -0.03em; }
.stat span { color: #6e6e73; font-size: 19px; }

.steps { gap: 12px; }
.step { background: #fff; border: 0; border-radius: 28px; padding: 40px 32px; text-align: left; }
.step:hover { transform: none; box-shadow: none; }
.step::before { color: #b25f00; }
.step h3 { font-size: 28px; letter-spacing: -0.005em; }
.step p { font-size: 17px; }

.split { text-align: left; }
.split .intro, .split h2 { margin-inline: 0; }
.photo { border-radius: 28px; box-shadow: none; }
.photo-badge { border-radius: 18px; }
.checks li { color: #f5f5f7; }

.packs { gap: 12px; }
.pack { background: #fff; border: 0; border-radius: 28px; padding: 36px 30px; text-align: left; }
.pack:hover { transform: none; box-shadow: none; }
.pack.popular { background: #1d1d1f; color: #f5f5f7; }
.pack-flag { border-radius: 980px; }
.pack .price { font-size: 48px; }

.faq { margin-inline: auto; text-align: left; }
.faq details { background: #1d1d1f; border: 0; border-radius: 18px; }
.faq summary { font-size: 21px; letter-spacing: 0.011em; }

.cta { background: #1d1d1f; border: 0; border-radius: 28px; }
.cta::before { display: none; }
.cta p { font-size: 21px; }

.footer { background: #f5f5f7; color: #6e6e73; }
.footer .logo { color: #1d1d1f !important; }

/* ---------- connexion ---------- */
body.bg-auth .auth-card { border-radius: 28px; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.8) blur(24px); box-shadow: none; border: 0; }
.auth-card h1 { font-size: 40px; letter-spacing: -0.005em; }
.switch { background: rgba(0, 0, 0, 0.06); }
.switch::before { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.input, .field input, .field select, .field textarea { border-radius: 12px; border-color: #d2d2d7; font-size: 17px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2); }
.auth-photo h2 { letter-spacing: -0.015em; }

/* ---------- espace client et tableau de bord ---------- */
.side { background: #000; }
.side-link { border-radius: 12px; font-weight: 500; font-size: 15px; letter-spacing: -0.016em; }
.side-link.on { background: var(--amber); }
.side-foot { background: #1d1d1f; border: 0; border-radius: 14px; }
.topline h1 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.005em; }
.credit-pill { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.8) blur(20px); border: 0; }
.panel, .row, .empty, .card, .kpi-card, .pack { border-color: rgba(0, 0, 0, 0.06); }
.panel { border-radius: 22px; background: rgba(255, 255, 255, 0.92); }
.row { border-radius: 18px; }
.chip { border-radius: 980px; font-weight: 400; }
.chip:hover { transform: none; }
.app-packs .pack { border: 0; }
.app-packs .pack:nth-child(1) { background: linear-gradient(160deg, #e6f4ec 0%, #ffffff 70%); }
.app-packs .pack:nth-child(3) { background: linear-gradient(160deg, #fff0d6 0%, #ffffff 70%); }
.app-packs .pack.popular { background: #1d1d1f; }
.tag, .badge { font-weight: 500; }
.dlg { border-radius: 22px; }
.toast { background: #1d1d1f; font-weight: 400; }

/* ---------- mouvement : discret, comme sur apple.com ---------- */
.reveal { transform: translateY(22px); transition-duration: 0.8s; transition-timing-function: var(--ease); }

@media (max-width: 980px) {
  .hero-inner { padding-top: 104px; }
  .nav .wrap { gap: 12px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 40px; }
  .nav-cta .btn-ghost { display: none; }
}

/* pied de page : gris clair comme sur apple.com (plus fort que la règle .landing .footer de styles.css) */
.landing .footer { background: #f5f5f7; color: #6e6e73; }

/* =====================================================================
   EN-TÊTE DE L'ACCUEIL : police Plus Jakarta Sans + animation d'entrée
   ===================================================================== */
/* (police de l'en-tête = police du site, définie plus haut) */
.hero h1 { font-weight: 800; letter-spacing: -0.026em; line-height: 1.06; }
.hero .eyebrow { font-weight: 700; display: inline-block; }
.hero p.sub { font-weight: 500; letter-spacing: -0.005em; }
.hero-actions .btn { font-weight: 700; }


/* 1. le titre : chaque mot monte depuis un masque, net et lumineux */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.05em 0.16em; margin: -0.08em -0.05em -0.16em; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(110%) rotate(4deg); filter: blur(10px); animation: riseIn 1s var(--ease) forwards; }
@keyframes riseIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* 2. les mots clés : un dégradé ambré qui balaie le texte en boucle */
.hero h1 em { font-style: normal; }
.hero h1 em .word {
  background: linear-gradient(100deg, #f2a33a 0%, #ffe0a8 35%, #f2a33a 55%, #ff8a1f 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: riseIn 1s var(--ease) forwards, shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* 3. le reste arrive en cascade */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes eyebrowIn { from { opacity: 0; transform: translateY(10px); letter-spacing: 0.28em; } to { opacity: 1; transform: none; letter-spacing: 0.01em; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.85) translateY(10px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { animation: eyebrowIn 1s var(--ease) 0.05s both; }
.hero p.sub { animation: fadeUp 0.9s var(--ease) 1.15s both; }
.hero-actions .btn { animation: popIn 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.hero-actions .btn:nth-child(1) { animation-delay: 1.4s; }
.hero-actions .btn:nth-child(2) { animation-delay: 1.55s; }
.hero-note { animation: fadeUp 0.9s var(--ease) 1.75s both; }
.hero .demo { animation: fadeUp 1s var(--ease) 1.9s both; }

/* 4. reflet qui traverse le bouton principal */
.hero-actions .btn-amber { position: relative; overflow: hidden; }
.hero-actions .btn-amber::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out 2.8s infinite; pointer-events: none; }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* 5. lueur ambrée qui respire derrière le titre */
.hero-inner { position: relative; z-index: 1; }
.hero-inner::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 4%; width: min(92vw, 760px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 40%, rgba(242, 163, 58, 0.4), transparent 55%), radial-gradient(circle at 66% 62%, rgba(255, 120, 40, 0.26), transparent 55%);
  filter: blur(34px); animation: aurora 10s ease-in-out infinite alternate; }
@keyframes aurora { from { transform: translate(-6%, 0) scale(0.92) rotate(0deg); } to { transform: translate(6%, 8%) scale(1.08) rotate(25deg); } }

/* 6. l'image de fond respire lentement */
.hero-bg img { animation: kenburns 24s ease-in-out infinite alternate; }

/* 7. pastilles de numéros qui flottent sur les côtés (ordinateur et tablette) */
.hero-chips { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.chip-float { position: absolute; padding: 8px 14px; border-radius: 980px; font: 500 13px/1 var(--body); letter-spacing: -0.01em; white-space: nowrap; color: #f5f5f7; font-variant-numeric: tabular-nums;
  background: rgba(29, 29, 31, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0; animation: chipFloat 10s ease-in-out infinite; }
.chip-float::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--amber); }
@keyframes chipFloat { 0% { opacity: 0; transform: translateY(46px) scale(0.92); } 14% { opacity: 0.95; } 70% { opacity: 0.95; } 100% { opacity: 0; transform: translateY(-130px) scale(1); } }
@media (max-width: 1100px) { .hero-chips { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .word, .hero .eyebrow, .hero p.sub, .hero-actions .btn, .hero-note, .hero .demo { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Barre du bas sur téléphone : les onglets se partagent la place, et défilent s'ils sont trop nombreux (tableau de bord : 6 onglets) */
@media (max-width: 980px) {
  .side { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
  .side::-webkit-scrollbar { display: none; }
  .side-link { flex: 1 0 auto; width: auto; min-width: 74px; padding: 8px 10px; white-space: nowrap; font-size: 11px; letter-spacing: -0.02em; }
}
