/* ═══════════════════════════════════════════════
   PRIONSENLIGNE — landing.css
   Page d'accueil (index.html)
   Palette : Navy #1a2744 · Or #c9a84c · Crème #f5f0e8
═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1a2744;
  --navy-mid:  #243459;
  --navy-soft: #2e4070;
  --gold:      #c9a84c;
  --gold-pale: #e8d89a;
  --cream:     #f5f0e8;
  --cream-mid: #ede5d4;
  --text:      #1e1c18;
  --text-mid:  #4a4640;
  --text-soft: #7a756e;

  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--cream);
}

body { min-height: 100vh; background: var(--cream); }

h1, h2, h3, .lp-logo-name { font-family: 'Cormorant Garamond', serif; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.lp-hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px 60px;
}

/* Grande croix décorative en arrière-plan */
.lp-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 5px; height: 55vh;
  background: rgba(201,168,76,.06);
  border-radius: 3px;
}
.lp-hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -40%);
  width: 28vw; height: 5px;
  max-width: 320px;
  background: rgba(201,168,76,.06);
  border-radius: 3px;
}

/* Cercles lumineux décoratifs */
.lp-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.lp-glow-1 {
  width: 500px; height: 500px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(201,168,76,.07) 0%, transparent 70%);
}
.lp-glow-2 {
  width: 360px; height: 360px;
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(46,64,112,.6) 0%, transparent 70%);
}

/* Logo en haut à gauche */
.lp-nav {
  position: absolute;
  top: 28px; left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.lp-logo-cross {
  width: 18px; height: 18px;
  position: relative;
  flex-shrink: 0;
}
.lp-logo-cross::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 2.5px; height: 18px;
  background: var(--gold);
  border-radius: 2px;
}
.lp-logo-cross::after {
  content: '';
  position: absolute;
  top: 5px; left: 0;
  width: 18px; height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
}
.lp-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  flex-shrink: 0;
  display: block;
}
.lp-logo-name {
  font-size: 16px;
  font-weight: 400;
  color: rgba(245,240,232,.7);
  letter-spacing: .02em;
}

/* Nom affiché dans la nav landing */
.lp-nav-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(245,240,232,.85);
  letter-spacing: .03em;
  transition: color .2s;
}
.lp-nav:hover .lp-nav-name { color: rgba(245,240,232,1); }
/* Sur mobile : on garde uniquement l'icône ronde, pas de texte (gain de place) */
@media (max-width: 640px) {
  .lp-nav-name { display: none; }
}

/* Contenu centré hero */
.lp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  text-align: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 22px;
  background: rgba(201,168,76,.1);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,.2);
}
.lp-eyebrow i { font-size: 9px; }

.lp-h1 {
  font-size: clamp(42px, 7vw, 74px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
.lp-h1 em {
  font-style: italic;
  color: var(--gold);
}

.lp-subtitle {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(245,240,232,.58);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 36px;
}

/* Bouton CTA */
.lp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 28px rgba(201,168,76,.3);
  letter-spacing: .02em;
}
.lp-cta:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201,168,76,.4);
}

/* Lien discret "déjà un compte" */
.lp-signin-link {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: rgba(245,240,232,.35);
  text-decoration: none;
  transition: color .15s;
}
.lp-signin-link:hover { color: rgba(245,240,232,.7); }

/* Indicateur de scroll */
.lp-scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,240,232,.25);
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.lp-scroll-hint i { font-size: 14px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════ */
.lp-features {
  background: white;
  padding: 80px 24px;
}

.lp-features-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.lp-section-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 12px;
}
.lp-section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}
.lp-section-sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 52px;
  line-height: 1.6;
}

.lp-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.lp-feat-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(30,28,24,.07);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.lp-feat-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-3px);
}

.lp-feat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.lp-feat-icon.laudes   { background: rgba(83,74,183,.12);  color: #534AB7; }
.lp-feat-icon.messe    { background: rgba(133,79,11,.1);   color: #854F0B; }
.lp-feat-icon.breviary { background: rgba(201,168,76,.15); color: #8a6800; }
.lp-feat-icon.chapelet { background: rgba(123,79,46,.12);  color: #7B4F2E; }
.lp-feat-icon.vepres   { background: rgba(24,95,165,.1);   color: #185FA5; }
.lp-feat-icon.calendar { background: rgba(26,39,68,.1);    color: var(--navy); }

/* Cartes cliquables (liens vers l'app) */
.lp-feat-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.lp-feat-link:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-3px);
  border-color: rgba(201,168,76,.3);
}
.lp-feat-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.lp-feat-link:hover .lp-feat-see {
  color: var(--gold);
  gap: 8px;
}
.lp-feat-link:hover .lp-feat-see i {
  transform: translateX(2px);
}

.lp-feat-see {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: .02em;
  transition: color .2s, gap .2s;
}
.lp-feat-see i {
  font-size: 10px;
  transition: transform .2s;
}

.lp-feat-card h3 {
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}
.lp-feat-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   SANS / AVEC COMPTE
══════════════════════════════════════════════ */
.lp-account {
  background: var(--cream);
  padding: 80px 24px;
}
.lp-account-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.lp-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
  text-align: left;
}
.lp-account-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 6px 22px rgba(26, 39, 68, .04);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.lp-account-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(26, 39, 68, .08);
}
.lp-account-card-pro {
  background: linear-gradient(160deg, #1a2744, #0d172e);
  color: var(--cream);
  border-color: rgba(201, 168, 76, .35);
  box-shadow: 0 6px 22px rgba(26, 39, 68, .15);
}
.lp-account-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.lp-account-card-pro .lp-account-card-head {
  border-bottom-color: rgba(255, 255, 255, .15);
}
.lp-account-card-head > i {
  font-size: 26px;
  color: var(--gold);
}
.lp-account-card-head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  color: inherit;
}
.lp-account-card-pro .lp-account-card-head h3 { color: var(--gold); }
.lp-account-card-sub {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
}
.lp-account-card-pro .lp-account-card-sub { color: rgba(245, 240, 232, .6); }

.lp-account-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.lp-account-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mid);
}
.lp-account-card-pro .lp-account-list li { color: rgba(245, 240, 232, .9); }
.lp-account-list li > i {
  color: var(--gold);
  font-size: 13px;
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.lp-account-card-pro .lp-account-list li > i { color: var(--gold-pale); }

.lp-account-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.lp-account-cta:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(201, 168, 76, .35);
}

@media (max-width: 720px) {
  .lp-account { padding: 56px 16px; }
  .lp-account-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .lp-account-card { padding: 24px 22px; }
  .lp-account-card-head h3 { font-size: 22px; }
}


/* Icône Bible (carte features) */
.lp-feat-icon.bible {
  background: linear-gradient(135deg, #b8a05a, #8a7039);
  color: white;
}


/* ══════════════════════════════════════════════
   CITATION
══════════════════════════════════════════════ */
.lp-quote {
  background: var(--navy);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 200px;
  color: rgba(201,168,76,.06);
  line-height: 1;
  pointer-events: none;
}

.lp-quote blockquote { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.lp-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 20px;
}
.lp-quote cite {
  font-size: 13px;
  font-style: normal;
  color: var(--gold);
  letter-spacing: .06em;
}

/* ══════════════════════════════════════════════
   SOURCES APERÇU
══════════════════════════════════════════════ */
.lp-sources {
  background: var(--cream);
  padding: 72px 24px;
}
.lp-sources-inner {
  max-width: 920px;
  margin: 0 auto;
}
.lp-sources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}
.lp-src-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid rgba(30,28,24,.1);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--text-mid);
  transition: border-color .15s, box-shadow .15s;
}
.lp-src-chip i { color: var(--gold); font-size: 11px; }
.lp-src-chip:hover { border-color: var(--gold); box-shadow: 0 2px 10px rgba(201,168,76,.15); }

/* ══════════════════════════════════════════════
   CTA FINALE
══════════════════════════════════════════════ */
.lp-final {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}
.lp-final-inner { max-width: 560px; margin: 0 auto; }
.lp-final h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.2;
}
.lp-final p {
  font-size: 15px;
  color: rgba(245,240,232,.55);
  line-height: 1.7;
  margin-bottom: 36px;
}
.lp-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(245,240,232,.5);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  text-decoration: none;
  margin-top: 18px;
  border-bottom: 1px solid rgba(245,240,232,.15);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.lp-cta-secondary:hover {
  color: rgba(245,240,232,.8);
  border-color: rgba(245,240,232,.4);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.lp-footer {
  background: #111d35;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: rgba(245,240,232,.25);
}
.lp-footer a { color: var(--gold); text-decoration: none; }
.lp-footer a:hover { text-decoration: underline; }


/* ══════════════════════════════════════════════
   BOUTON MUSIQUE GRÉGORIENNE
══════════════════════════════════════════════ */
.lp-music-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 90;

  display: flex;
  align-items: center;
  gap: 7px;

  background: rgba(26,39,68,.82);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 30px;
  padding: 9px 16px 9px 12px;
  color: rgba(245,240,232,.55);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.lp-music-btn:hover {
  background: rgba(26,39,68,.95);
  border-color: rgba(201,168,76,.55);
  color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,.15);
}
.lp-music-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: color .2s;
}

/* Remonte au-dessus du footer quand celui-ci est visible */
.lp-music-btn.lp-music-raised {
  bottom: 80px;
  transition: bottom .25s ease, background .2s, border-color .2s, color .2s, box-shadow .2s;
}

/* État lecture : gold + légère pulsation */
.lp-music-btn.lp-music-playing {
  border-color: rgba(201,168,76,.6);
  color: var(--gold);
  animation: musicPulse 3s ease-in-out infinite;
}
@keyframes musicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,.0); }
  50%       { box-shadow: 0 0 0 6px rgba(201,168,76,.12); }
}
/* État après reload, autoplay bloqué : visuel actif + flèche play subtile */
.lp-music-btn.lp-music-needs-resume::after {
  content: '▶';
  position: absolute;
  top: -3px; right: -3px;
  background: var(--gold);
  color: var(--navy);
  font-size: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
/* (Ne PAS surcharger position: ici — le bouton doit rester en position: fixed.
   Le ::after est positionné en absolute ; ça fonctionne au-dessus d'un parent fixed.) */

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 640px) {
  .lp-hero { min-height: 92vh; padding: 70px 18px 56px; }
  .lp-nav  { top: 18px; left: 18px; }
  .lp-h1  { letter-spacing: -.02em; }
  .lp-features { padding: 48px 14px; }
  .lp-feat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp-feat-card { padding: 18px 14px; }
  .lp-feat-card h3 { font-size: 15px; }
  .lp-feat-card p  { font-size: 12px; }
  .lp-feat-icon { width: 40px; height: 40px; font-size: 16px; margin-bottom: 12px; }
  .lp-quote, .lp-final, .lp-sources { padding: 48px 14px; }
  .lp-footer { flex-direction: column; align-items: center; text-align: center; }
  /* Bouton musique : remonter au-dessus de la bottom-nav si on arrive sur mobile */
  .lp-music-btn { bottom: 18px; right: 14px; }
}
@media (max-width: 420px) {
  .lp-feat-grid { grid-template-columns: 1fr; }
}
/* Desktop large : grille landing sur 3 colonnes */
@media (min-width: 900px) {
  .lp-feat-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ══════════════════════════════════════════════
   PWA INSTALL PROMPT
══════════════════════════════════════════════ */
.lp-install-wrap {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lp-install-label {
  font-size: 12px;
  color: rgba(245,240,232,.45);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lp-install-label-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(201,168,76,.30);
  border-radius: 22px;
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
}
.lp-install-label-link:hover {
  background: rgba(201,168,76,.10);
  border-color: rgba(201,168,76,.55);
}
.lp-install-label-link > i {
  font-size: 11px;
}
.lp-install-label-sub {
  font-size: 10.5px;
  color: rgba(245,240,232,.55);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.lp-install-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: rgba(245,240,232,.8);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.lp-install-btn:hover {
  background: rgba(201,168,76,.18);
  border-color: rgba(201,168,76,.5);
  color: #c9a84c;
}
.lp-install-btn .fa-brands,
.lp-install-btn .fa-solid { font-size: 15px; }
.lp-install-btn.hidden { display: none; }

/* ════════════════════════════════════════════════════════════
   ═  Modale iOS — Guide visuel d'installation
   ════════════════════════════════════════════════════════════ */
.lp-ios-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 900;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(6px);
  overflow-y: auto;
}
.lp-ios-modal.hidden { display: none; }
.lp-ios-card {
  background: linear-gradient(170deg, #1a2744 0%, #0d172e 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px 22px 0 0;
  padding: 24px 22px max(28px, env(safe-area-inset-bottom));
  width: 100%;
  max-width: 480px;
  position: relative;
  max-height: 92dvh;
  overflow-y: auto;
  animation: lpIosSlide .3s cubic-bezier(.4,0,.2,1);
}
@keyframes lpIosSlide {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.lp-ios-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,.1);
  border: none;
  color: rgba(245,240,232,.7);
  font-size: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background .15s;
}
.lp-ios-close:hover { background: rgba(255,255,255,.2); }

.lp-ios-content { color: rgba(245,240,232,.92); }
.lp-ios-content.hidden { display: none; }

.lp-ios-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--gold, #c9a84c);
  margin: 0 0 10px;
  padding-right: 36px;
}
.lp-ios-intro {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245,240,232,.7);
  margin: 0 0 22px;
}

/* ── Étape ── */
.lp-ios-step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.lp-ios-step:first-of-type { border-top: none; padding-top: 4px; }
.lp-ios-step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--gold, #c9a84c);
  color: var(--navy, #1a2744);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.lp-ios-step-content { flex: 1; min-width: 0; }
.lp-ios-step-title {
  font-size: 14px;
  margin: 0 0 4px;
  color: var(--cream, #f5f0e8);
  line-height: 1.4;
}
.lp-ios-step-title strong { color: var(--gold, #c9a84c); font-weight: 600; }
.lp-ios-step-desc {
  font-size: 12px;
  color: rgba(245,240,232,.55);
  line-height: 1.5;
  margin: 0 0 12px;
}

/* ── Mocks visuels ── */
.lp-ios-mock {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px 14px 18px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Mock barre Safari */
.lp-ios-mock-safari { padding: 0 0 30px; position: relative; }
.lp-ios-mock-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(40,50,80,.85);
  border-radius: 12px 12px 0 0;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.lp-ios-mock-icon {
  color: rgba(245,240,232,.55);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
}
.lp-ios-mock-share-btn {
  color: var(--gold, #c9a84c) !important;
  background: rgba(201,168,76,.15);
  border-radius: 8px;
  animation: lpIosPulseShare 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.lp-ios-mock-share-btn svg {
  width: 18px;
  height: 18px;
}
@keyframes lpIosPulseShare {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201,168,76,.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(201,168,76,0);
    transform: scale(1.1);
  }
}
.lp-ios-pointer {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--gold, #c9a84c);
  animation: lpIosPointerBounce 2s ease-in-out infinite;
}
.lp-ios-pointer-arrow {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 2px;
  font-weight: 700;
}
.lp-ios-pointer-label {
  font-size: 10.5px;
  font-style: italic;
  white-space: nowrap;
}
@keyframes lpIosPointerBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(4px); }
}

/* Mock menu partage */
.lp-ios-mock-menu {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  overflow: hidden;
}
.lp-ios-mock-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(245,240,232,.04);
  font-size: 13px;
  color: rgba(245,240,232,.8);
}
.lp-ios-mock-menu-icon {
  font-size: 16px;
  width: 22px;
  text-align: center;
}
.lp-ios-mock-menu-arrow {
  margin-left: auto;
  color: rgba(245,240,232,.4);
  font-size: 16px;
}
.lp-ios-mock-menu-highlight {
  background: rgba(201,168,76,.15);
  position: relative;
  animation: lpIosHighlightPulse 2s ease-in-out infinite;
}
.lp-ios-mock-menu-highlight {
  color: var(--gold, #c9a84c) !important;
  font-weight: 600;
}
@keyframes lpIosHighlightPulse {
  0%, 100% { background-color: rgba(201,168,76,.15); }
  50%       { background-color: rgba(201,168,76,.3); }
}

/* Mock confirmation "Ajouter" */
.lp-ios-mock-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  font-size: 13px;
}
.lp-ios-mock-confirm-cancel { color: rgba(245,240,232,.55); }
.lp-ios-mock-confirm-title  { color: rgba(245,240,232,.85); font-weight: 500; }
.lp-ios-mock-confirm-add {
  background: var(--gold, #c9a84c);
  color: var(--navy, #1a2744);
  padding: 5px 14px;
  border-radius: 6px;
  font-weight: 700;
  animation: lpIosPulseAdd 2s ease-in-out infinite;
}
@keyframes lpIosPulseAdd {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,.5); }
  50%       { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}

.lp-ios-final {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(245,240,232,.85);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.lp-ios-final > i {
  color: var(--gold, #c9a84c);
  font-size: 14px;
  margin-top: 1px;
}

/* Variante non-Safari (Chrome iOS, Firefox iOS, Edge iOS, Opera iOS) */
.lp-ios-redirect-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.lp-ios-redirect-step {
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: rgba(245,240,232,.85);
}
.lp-ios-redirect-step span:first-child {
  color: var(--gold, #c9a84c);
  font-weight: 700;
  margin-right: 8px;
}
.lp-ios-redirect-step code {
  background: rgba(0,0,0,.3);
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--gold, #c9a84c);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12.5px;
}


/* ════════════════════════════════════════════════════════════
   ═  MODAL AUTH (signup / login direct sur la landing)
   ════════════════════════════════════════════════════════════ */

.lp-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 22, 46, .65);
  backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 1;
  transition: opacity .2s ease;
}
.lp-auth-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.lp-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.lp-auth-modal.hidden { display: none; }

.lp-auth-panel {
  background: var(--cream);
  border-radius: 22px;
  width: 100%;
  max-width: 480px;
  padding: 36px 32px 28px;
  position: relative;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
  animation: lpAuthSlide .35s cubic-bezier(.4, 0, .2, 1);
}

@keyframes lpAuthSlide {
  from { transform: translateY(40px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1);     opacity: 1; }
}

.lp-auth-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(0, 0, 0, .05);
  border: none;
  border-radius: 50%;
  color: var(--text-soft, #7a756e);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.lp-auth-close:hover {
  background: rgba(0, 0, 0, .1);
  color: var(--text, #1e1c18);
}

.lp-auth-header {
  text-align: center;
  margin-bottom: 22px;
}
.lp-auth-cross {
  width: 26px;
  height: 26px;
  position: relative;
  margin: 0 auto 12px;
}
.lp-auth-cross span:first-child {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 3px; height: 26px;
  background: var(--gold, #c9a84c);
  border-radius: 2px;
}
.lp-auth-cross span:last-child {
  position: absolute;
  top: 7px; left: 0;
  width: 26px; height: 3px;
  background: var(--gold, #c9a84c);
  border-radius: 2px;
}
.lp-auth-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--navy, #1a2744);
  margin: 0 0 6px;
}
.lp-auth-subtitle {
  font-size: 13px;
  color: var(--text-soft, #7a756e);
  margin: 0;
  line-height: 1.5;
}

/* Tabs */
.lp-auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, .04);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
}
.lp-auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 9px;
  padding: 10px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft, #7a756e);
  cursor: pointer;
  transition: all .15s;
}
.lp-auth-tab:hover { color: var(--navy, #1a2744); }
.lp-auth-tab.active {
  background: white;
  color: var(--navy, #1a2744);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* Form */
.lp-auth-group { margin-bottom: 14px; }
.lp-auth-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  color: var(--text-mid, #4a4640);
  margin-bottom: 6px;
  font-weight: 500;
}
.lp-auth-group label > i {
  color: var(--gold, #c9a84c);
  font-size: 11px;
  width: 14px;
  text-align: center;
}
.lp-auth-group input {
  width: 100%;
  padding: 12px 14px;
  background: white;
  border: 1.5px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--text, #1e1c18);
  transition: border-color .15s, box-shadow .15s;
}
.lp-auth-group input:focus {
  outline: none;
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .15);
}

.lp-auth-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 13px;
  margin-bottom: 14px;
  text-align: center;
}
.lp-auth-error.hidden { display: none; }

.lp-auth-submit {
  width: 100%;
  padding: 13px;
  background: var(--navy, #1a2744);
  color: white;
  border: none;
  border-radius: 11px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .15s, transform .12s;
}
.lp-auth-submit:hover:not(:disabled) {
  background: var(--navy-mid, #243459);
  transform: translateY(-1px);
}
.lp-auth-submit:disabled { opacity: .6; cursor: not-allowed; }

.lp-auth-note {
  margin: 16px 0 0;
  font-size: 11px;
  color: var(--text-soft, #7a756e);
  text-align: center;
  line-height: 1.5;
}
.lp-auth-note > i {
  color: var(--gold, #c9a84c);
  margin-right: 4px;
}

/* Écran de succès */
.lp-auth-success {
  text-align: center;
  padding: 12px 4px 8px;
}
.lp-auth-success.hidden { display: none; }
.lp-auth-success-icon {
  font-size: 56px;
  color: var(--gold, #c9a84c);
  margin-bottom: 14px;
}
.lp-auth-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--navy, #1a2744);
  margin: 0 0 12px;
}
.lp-auth-success p {
  font-size: 14px;
  color: var(--text-mid, #4a4640);
  line-height: 1.6;
  margin: 0 0 8px;
}
.lp-auth-success strong { color: var(--navy, #1a2744); }
.lp-auth-success-hint {
  font-size: 12px !important;
  color: var(--text-soft, #7a756e) !important;
  font-style: italic;
  margin-bottom: 22px !important;
}
.lp-auth-success-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold, #c9a84c);
  color: var(--navy, #1a2744);
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s, transform .12s;
}
.lp-auth-success-cta:hover {
  background: var(--gold-pale, #e8d89a);
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 540px) {
  .lp-auth-modal { padding: 12px; align-items: flex-end; }
  .lp-auth-panel {
    padding: 28px 22px 22px;
    border-radius: 20px 20px 18px 18px;
    max-width: 100%;
  }
  .lp-auth-title { font-size: 24px; }
}
