/* Page d'accueil de Retooch (fidèle à la maquette « Retooch – page d'accueil »). */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; }
a { color: var(--violet-texte); }
a:hover { color: var(--violet-fonce); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--degrade-debut);
  outline-offset: 3px;
}

.lp { font-family: var(--police-texte); color: var(--encre); background: #FFFFFF; min-width: 0; }
.lp-conteneur { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* --- Boutons -------------------------------------------------------------- */
.lp-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--encre);
  color: #FFFFFF;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.lp-bouton:hover { color: #FFFFFF; background: #232A3B; }
.lp-bouton-grand { min-height: 54px; padding: 0 28px; font-size: 16px; }

/* --- En-tête --------------------------------------------------------------- */
.lp-entete-ligne {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lp-entete-actions { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.lp-lien-discret {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--encre-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.lp-lien-discret:hover { color: var(--encre); }

/* --- Héros ----------------------------------------------------------------- */
.lp-hero {
  padding-top: 40px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.lp-hero-texte {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  max-width: 760px;
}
.lp-hero h1 {
  margin: 0;
  font-family: var(--police-titres);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--encre);
}
.lp-hero-texte p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--encre-2); }

/* --- Démonstration --------------------------------------------------------- */
.lp-demo {
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 32px;
  border-radius: 28px;
  background-color: var(--encre);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Téléphone */
.lp-tel {
  flex: 0 1 300px;
  min-width: 260px;
  height: 540px;
  border-radius: 40px;
  border: 9px solid #1E2433;
  background: #F2EFEA;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(150, 92, 255, 0.25);
}
.lp-tel-entete {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 14px 12px;
  background: #FFFFFF;
  border-bottom: 1px solid #E8E5E0;
}
.lp-tel-avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--encre);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-tel-avatar-icone { width: 22px; height: 21px; }
.lp-tel-nom { display: flex; flex-direction: column; gap: 1px; }
.lp-tel-nom span:first-child { font-weight: 600; font-size: 15px; color: var(--encre); }
.lp-tel-nom span:last-child { font-size: 12px; color: var(--encre-3); }
.lp-tel-fil {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.lp-bulle {
  flex: none;
  padding: 9px 12px 7px;
  font-size: 14px;
  line-height: 1.4;
}
.lp-bulle-moi {
  align-self: flex-end;
  max-width: 82%;
  border-radius: 14px 14px 4px 14px;
  background: var(--encre);
  color: #FFFFFF;
}
.lp-bulle-eux {
  align-self: flex-start;
  max-width: 85%;
  border-radius: 14px 14px 14px 4px;
  background: #FFFFFF;
  color: var(--encre);
}
.lp-bulle-heure { display: block; text-align: right; font-size: 11px; margin-top: 2px; }
.lp-bulle-moi .lp-bulle-heure { color: #AEB5C4; }
.lp-bulle-eux .lp-bulle-heure { color: var(--encre-3); }
.lp-bulle-attente {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #FFFFFF;
}
.lp-point { width: 7px; height: 7px; border-radius: 50%; background: var(--encre-3); }
.lp-tel-saisie {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 18px;
  background: #F2EFEA;
}
.lp-tel-champ {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 14px;
  line-height: 1.3;
}
.lp-tel-tape { color: var(--encre); }
.lp-tel-placeholder { color: #6B7180; }
.lp-curseur {
  display: inline-block;
  width: 2px;
  height: 16px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--encre);
}
.lp-tel-envoyer {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--degrade);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigateur */
.lp-navigateur {
  flex: 1 1 480px;
  min-width: 0;
  max-width: 620px;
  height: 540px;
  border-radius: 18px;
  background: #FFFFFF;
  overflow: hidden;
}
.lp-nav-barre {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #F3F3F6;
  border-bottom: 1px solid #E6E6EE;
}
.lp-nav-rond { width: 10px; height: 10px; border-radius: 50%; background: #D3D3DB; }
.lp-nav-adresse {
  flex: 1;
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 13px;
  color: var(--encre-3);
}
.lp-bandeau {
  padding: 12px 32px;
  background: #FFF1CC;
  color: #5C3D00;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.lp-boulangerie { padding: 26px 32px 28px; display: flex; flex-direction: column; }
.lp-boul-nom {
  margin: 0;
  font-family: var(--police-titres);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--encre);
}
.lp-boul-sous-titre { margin: 2px 0 18px; font-size: 14px; color: var(--encre-3); }
.lp-boul-rubrique {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-3);
}
.lp-ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid #F0F0F4;
  font-size: 17px;
}
.lp-ligne-nouvelle {
  background: #F7F4FF;
  margin: 0 -12px;
  padding: 0 12px;
  border-radius: 10px;
}
.lp-ligne-nouvelle > span:first-child { font-weight: 600; color: #3B1FB0; }
.lp-prix { padding: 4px 10px; }
.lp-surligne {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--violet-pale);
  box-shadow: 0 0 0 2px var(--violet-bord);
  color: #3B1FB0;
  font-weight: 700;
}
#demo-heure.lp-surligne { padding: 2px 10px; }
.lp-horaires { margin: 18px 0 0; font-size: 15px; color: var(--encre-3); }

.lp-legende {
  flex: 1 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #B6BDCC;
  text-align: center;
}
.lp-direct {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--degrade-fin);
}

/* Animations de la démonstration */
@keyframes lpEntree { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lpPop {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(124, 92, 255, .55); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); box-shadow: 0 0 0 14px rgba(124, 92, 255, 0); }
}
@keyframes lpPoint { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes lpClignote { 50% { opacity: 0; } }
@keyframes lpDirect { 0% { box-shadow: 0 0 0 0 rgba(255, 79, 176, .6); } 100% { box-shadow: 0 0 0 8px rgba(255, 79, 176, 0); } }
.lp-entree { animation: lpEntree .35s ease-out both; }
.lp-pop { animation: lpPop .8s ease-out both; }
.lp-point { animation: lpPoint 1s infinite; }
.lp-point2 { animation-delay: .15s; }
.lp-point3 { animation-delay: .3s; }
.lp-curseur { animation: lpClignote 1s steps(1) infinite; }
.lp-direct { animation: lpDirect 1.4s infinite; }
.lp-surligne.lp-pop { box-shadow: 0 0 0 2px var(--violet-bord); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-entree, .lp-pop, .lp-point, .lp-curseur, .lp-direct { animation: none; }
}

/* --- Trois étapes ------------------------------------------------------------ */
.lp-etapes { background: var(--fond-doux); padding: 80px 0; }
.lp-etapes-contenu { display: flex; flex-direction: column; gap: 36px; }
.lp-etapes h2, .lp-essai h2 {
  margin: 0;
  text-align: center;
  font-family: var(--police-titres);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.lp-cartes { display: flex; flex-wrap: wrap; gap: 20px; }
.lp-carte {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 20px;
  background: #FFFFFF;
}
.lp-numero {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--encre);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--police-titres);
  font-weight: 700;
  font-size: 18px;
}
.lp-carte h3 {
  margin: 0;
  font-family: var(--police-titres);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.lp-carte p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--encre-2); }

/* --- Essai / inscription ------------------------------------------------------- */
.lp-essai { padding: 88px 0; }
.lp-essai-contenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.lp-essai h2 { font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.035em; max-width: 720px; }
.lp-essai-contenu > p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--encre-2); }
.lp-formulaire { width: 100%; max-width: 560px; text-align: left; margin-top: 8px; }
.lp-formulaire label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.lp-champ-et-bouton { display: flex; gap: 10px; }
.lp-champ-et-bouton input {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid #CFD2DC;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  color: var(--encre);
  background: #FFFFFF;
}
.lp-champ-et-bouton input::placeholder { color: #6B7180; }
.lp-deja { color: var(--encre-3); font-size: 15px; }

/* --- Pied de page ------------------------------------------------------------- */
.lp-pied { border-top: 1px solid #ECECF2; }
.lp-pied-ligne {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--encre-3);
}
.lp-pied-liens { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.lp-pied-liens a { color: var(--encre-2); text-decoration: none; font-size: 14px; padding: 12px 0; }
.lp-pied-liens a:hover { color: var(--encre); text-decoration: underline; }

/* --- Téléphone ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .lp-conteneur { padding-left: 16px; padding-right: 16px; }
  .lp-hero { padding-top: 24px; padding-bottom: 56px; }
  .lp-demo { padding: 16px; gap: 20px; border-radius: 20px; }
  .lp-tel { flex-basis: 100%; min-width: 0; }
  .lp-navigateur { flex-basis: 100%; }
  .lp-boulangerie { padding: 20px; }
  .lp-champ-et-bouton { flex-direction: column; }
  .lp-entete-actions .lp-lien-discret { display: none; }
}
