/* ============================================================
   L Fridge — page de présentation (by L Forms)
   Identité : base L Forms (noir/doré) + accents L Fridge (bleu + jaune)
   ============================================================ */

/* Variables locales L Fridge (héritées du design plaquette) */
.lfridge-hero,
.lfridge-benefits,
.lfridge-process-grid,
.lfridge-download,
.lfridge-cta,
.lfridge-contact {
  --lf-blue:        #1f5aff;
  --lf-blue-light:  #4d80ff;
  --lf-yellow:      #ffd435;
  --lf-yellow-deep: #f0c020;
}

/* ----------------- Hero ----------------- */
.lfridge-hero h1 .accent,
.lfridge-hero h1 span {
  font-style: italic;
}
.lfridge-hero .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 16px auto 0;
}

/* ----------------- Mockup mobile (dashboard fidèle maquette) ----------------- */
.lfridge-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}
.lfridge-phone {
  width: 320px;
  height: 680px;
  border-radius: 40px;
  background: #0a0a0a;
  border: 3px solid #1a1a1a;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.lfridge-phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}
.lfridge-phone-screen {
  position: relative;
  height: 100%;
  background: #f4f5f7;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  color: #1a1a1a;
  overflow: hidden;
}
/* Si l'admin a uploadé un screenshot, on le met dans le téléphone à la place du mockup HTML */
.lfridge-phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px;
  display: block;
}

/* ----- Mockup dashboard L Fridge (HTML/CSS pur) ----- */
.lfridge-phone-screen--dash { padding: 0; font-family: 'Inter', system-ui, sans-serif; }
.lfp-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px 4px;
  font-size: 12px; font-weight: 700; color: #1a1a1a;
  background: #fff;
}
.lfp-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 16px;
  background: var(--lf-blue);
  color: #fff;
  position: relative;
}
.lfp-logo {
  width: 38px; height: 38px;
  background: var(--lf-yellow);
  color: var(--lf-blue);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.lfp-titles { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
.lfp-titles strong { font-size: 16px; font-weight: 700; color: #fff; }
.lfp-titles small  { font-size: 11px; color: rgba(255,255,255,.8); }
.lfp-headbadge {
  width: 18px; height: 18px;
  background: var(--lf-yellow);
  color: #1a1a1a;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  position: absolute; top: 14px; right: 16px;
}
.lfp-greet {
  padding: 14px 16px 8px;
  background: #f4f5f7;
}
.lfp-greet strong { display: block; font-size: 14px; color: #1a1a1a; line-height: 1.2; margin-bottom: 2px; }
.lfp-greet small  { font-size: 10px; color: #888; }
.lfp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
}
.lfp-stat {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.lfp-stat-label { font-size: 8px; color: #888; letter-spacing: .08em; font-weight: 600; margin-bottom: 4px; }
.lfp-stat-value { font-size: 18px; font-weight: 800; line-height: 1.1; margin-bottom: 2px; }
.lfp-stat-sub   { font-size: 8px; color: #888; line-height: 1.2; }
.lfp-c-red    { color: #e02d2d; }
.lfp-c-orange { color: #e88c00; }
.lfp-c-blue   { color: var(--lf-blue); }
.lfp-c-green  { color: #19a05d; }
.lfp-section {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 6px;
}
.lfp-section strong { font-size: 13px; color: #1a1a1a; font-weight: 700; }
.lfp-link { font-size: 10px; color: var(--lf-blue); font-weight: 600; }
.lfp-fcard {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  margin: 0 12px 6px;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.lfp-fdot {
  width: 8px; height: 8px;
  background: #21c45d;
  border-radius: 50%;
  flex-shrink: 0;
}
.lfp-fdot--red { background: #e02d2d; }
.lfp-fcardinfo { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.lfp-fcardinfo strong { font-size: 11px; font-weight: 700; color: #1a1a1a; line-height: 1.2; }
.lfp-fcardinfo small  { font-size: 9px; color: #888; }
.lfp-ftemp { font-size: 13px; font-weight: 700; color: #1a1a1a; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.lfp-alertchip {
  background: #fde2e2; color: #e02d2d;
  font-size: 7px; font-weight: 700;
  padding: 2px 5px; border-radius: 999px;
  letter-spacing: .04em;
}
.lfp-fab {
  position: absolute;
  bottom: 56px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lf-yellow);
  color: #1a1a1a;
  font-size: 26px; font-weight: 300; line-height: 1;
  border: none; cursor: default;
  box-shadow: 0 6px 18px rgba(255,212,53,.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.lfp-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 8px 0 12px;
  background: #fff;
  font-size: 9px; color: #888;
  border-top: 1px solid #e8e8e8;
}
.lfp-tabs span { padding: 4px 0; }
.lfp-tabs .active { color: var(--lf-blue); font-weight: 700; }
.lfridge-phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #888;
  padding: 0 8px 4px;
}
.lfridge-phone-appheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px 12px;
  margin-bottom: 6px;
}
.lfridge-phone-titlewrap { display: flex; flex-direction: column; gap: 2px; }
.lfridge-phone-titlewrap strong {
  color: var(--lf-blue);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
}
.lfridge-phone-titlewrap small {
  color: #888;
  font-size: 11px;
}
.lfridge-phone-badge {
  width: 22px; height: 22px;
  background: var(--lf-yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
}
.lfridge-phone-card {
  background: #f4f7ff;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 8px;
}
.lfridge-phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #21c45d; /* vert OK */
  flex-shrink: 0;
}
.lfridge-phone-cardinfo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.lfridge-phone-cardinfo strong {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 12px;
}
.lfridge-phone-cardinfo small {
  color: #888;
  font-size: 10px;
}
.lfridge-temp {
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.lfridge-temp.ok   { color: #1a1a1a; }
.lfridge-temp.cold { color: #1a1a1a; }
.lfridge-phone-fab {
  position: absolute;
  bottom: 56px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lf-yellow);
  color: #1a1a1a;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  border: none;
  cursor: default;
  box-shadow: 0 6px 18px rgba(255,212,53,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.lfridge-phone-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 0 6px;
  border-top: 1px solid #eee;
  font-size: 10px;
  color: #888;
}
.lfridge-phone-tabs .active {
  color: var(--lf-blue);
  font-weight: 700;
}

/* ----------------- Bénéfices (4 cartes) ----------------- */
.lfridge-benefits {
  background: linear-gradient(180deg, transparent 0%, rgba(31, 90, 255, .04) 50%, transparent 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lfridge-benef-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.lfridge-benef-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.lfridge-benef-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(212, 175, 55, .14);
}
.lfridge-benef-icon {
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1;
}
.lfridge-benef-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.lfridge-benef-card p {
  color: var(--text-muted);
  font-size: .92rem;
  margin: 0;
}
@media (max-width: 1024px) { .lfridge-benef-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .lfridge-benef-grid { grid-template-columns: 1fr; } }

/* ----------------- Process (3 étapes) ----------------- */
.lfridge-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
@media (min-width: 1025px) {
  .lfridge-process-grid::before {
    content: '';
    position: absolute;
    top: 56px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
    opacity: .35;
  }
}
.lfridge-process-step {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  text-align: center;
  transition: all .3s ease;
}
.lfridge-process-step:hover {
  border-color: var(--gold-deep);
  transform: translateY(-4px);
}
.lfridge-process-num {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: .24em;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  margin-bottom: 18px;
  background: var(--bg);
}
.lfridge-process-step h3 { color: #fff; font-size: 1.15rem; margin: 0 0 10px; }
.lfridge-process-step p  { color: var(--text-muted); font-size: .95rem; margin: 0; }
@media (max-width: 1024px) { .lfridge-process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .lfridge-process-grid { grid-template-columns: 1fr; } }

/* ----------------- Téléchargement (QR codes iOS + Android) ----------------- */
.lfridge-download {
  background: rgba(0, 0, 0, .18);
  border-top: 1px solid var(--line);
}
.lfridge-stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.lfridge-store-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s ease;
}
.lfridge-store-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.lfridge-store-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 20px;
}
.lfridge-qr {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.lfridge-qr img {
  display: block;
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}
.lfridge-qr-placeholder {
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,.04);
  border: 2px dashed var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-dim);
}
.lfridge-qr-placeholder span  { font-weight: 600; font-size: .95rem; color: var(--text-muted); }
.lfridge-qr-placeholder small { font-size: .75rem; text-align: center; line-height: 1.4; }
.lfridge-store-pending {
  display: inline-block;
  margin-top: 8px;
  font-size: .85rem;
  font-style: italic;
}
@media (max-width: 640px) { .lfridge-stores { grid-template-columns: 1fr; } }

/* ----------------- CTA 14 jours ----------------- */
.lfridge-cta {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(255, 212, 53, .14), transparent 60%),
    var(--bg);
}
.lfridge-cta h2 {
  color: var(--gold);
  font-size: 2rem;
  margin: 0 0 12px;
}
.lfridge-cta p {
  max-width: 640px;
  margin: 0 auto 28px;
}

/* ----------------- FAQ accordéon (GEO IA) ----------------- */
.lfridge-faq {
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, .03) 50%, transparent 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lfridge-faq-list {
  max-width: 820px;
  margin: 48px auto 0;
}
.lfridge-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.lfridge-faq-item:hover {
  border-color: var(--gold-deep);
}
.lfridge-faq-item[open] {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(212, 175, 55, .1);
}
.lfridge-faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 56px;
  user-select: none;
}
.lfridge-faq-item summary::-webkit-details-marker { display: none; }
.lfridge-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  transition: transform .2s ease;
}
.lfridge-faq-item[open] summary::after {
  content: '−';
}
.lfridge-faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}
.lfridge-faq-answer p { margin: 0; }
@media (max-width: 640px) {
  .lfridge-faq-item summary { font-size: 1rem; padding: 18px 48px 18px 18px; }
  .lfridge-faq-item summary::after { right: 18px; }
  .lfridge-faq-answer { padding: 0 18px 18px; }
}

/* ----------------- Contact (3 cartes) ----------------- */
.lfridge-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.lfridge-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  transition: all .25s ease;
}
.lfridge-contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  color: var(--gold);
}
.lfridge-contact-icon { font-size: 28px; margin-bottom: 6px; }
.lfridge-contact-card strong {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}
.lfridge-contact-card span { font-size: .95rem; color: var(--text-muted); }
@media (max-width: 700px) { .lfridge-contact-grid { grid-template-columns: 1fr; } }
