/* =========================================================
   LA PIEUVRE - PAGE CONCEPTION DE SITES WORDPRESS
   Cotes relevees dans le PDF de la maquette (frame 1440 x 6197).
   Les valeurs en commentaire sont les coordonnees Figma.
   ========================================================= */

.lp-web { padding-top: 0; }

/* ---------- Bandeau haut (bande y0-704) ---------- */
.lp-wh {
  position: relative;
  background: var(--bleu-clair);
  padding: 161px 0 77px;
}
.lp-wh__vague {           /* y492 x492 456x307 */
  position: absolute;
  left: 34.17%;
  top: 492px;
  width: 456px;
  max-width: none;
  height: auto;
  z-index: 2;
  pointer-events: none;
}
.lp-wh__inner {
  position: relative;
  display: grid;
  grid-template-columns: 636px 1fr;
  gap: 62px;
  align-items: start;
  padding: 0 90px 0 45px;
}
.lp-wh__media { position: relative; z-index: 1; }
.lp-wh__media > img:first-child {   /* y161 x44.6 635.8x424 */
  width: 100%;
  height: 424px;
  object-fit: cover;
  border-radius: 20px;
}
/* Pastille de certification : a droite, centree sur la ligne de la cartouche. */
.lp-wh__ligne {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 26.2px;
}
.lp-wh__badge {
  flex: 0 0 100px;
  width: 100px;
  height: 102px;
  margin: -38px 0;
  object-fit: contain;
}
.lp-wh__texte { position: relative; z-index: 3; margin-top: 11px; min-width: 0; }
.lp-wh__texte:only-child { grid-column: 1 / -1; }
.lp-wh__texte h1 {        /* y221, 56px, interligne 58 */
  font-size: 56px;
  line-height: 58px;
  margin: 36px 0 0;
}
.lp-wh__texte p {         /* y368, 18px, interligne 25 */
  font-size: 18px;
  line-height: 25px;
  margin-top: 17px;
  max-width: 608px;
}
.lp-wh__cta { margin-top: 106px; text-align: right; }
.lp-wh__cta .lp-btn { padding: 16px 17px; min-width: 227px; }

/* ---------- Site vitrine ---------- */
.lp-wv { padding: 163px 0 98px; }
.lp-wv__inner {
  display: grid;
  grid-template-columns: 590px 1fr;
  gap: 42px;
  align-items: center;
  padding: 0 141px 0 153px;
}
.lp-wv__texte { min-width: 0; }
.lp-wv__texte:only-child { grid-column: 1 / -1; }
.lp-wv__texte h2 {        /* y867, 45px, interligne 56 */
  font-size: 45px;
  line-height: 56px;
  margin-bottom: 21px;
}
.lp-wv__texte p { font-size: 18px; line-height: 25px; }
.lp-wv__texte p + p { margin-top: 25px; }

.lp-wv__media img {       /* y878 x784.9 514x287 */
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* ---------- Ce que comprend (bande creme y1273-2142) ---------- */
.lp-wc {
  background: rgba(255, 241, 189, .22);
  padding: 86px 0 71px;
}
.lp-wc__head { text-align: center; padding: 0 24px; }
.lp-wc__head h2 {         /* y1359, 50px, interligne 56 */
  font-size: 50px;
  line-height: 56px;
  max-width: 800px;
  margin: 0 auto;
}
.lp-wc__soustitre { margin-top: 23px; font-size: 18px; line-height: 25px; }
.lp-wc__cta {             /* bouton y2017, bord droit 1334 */
  margin-top: 90px;
  padding: 0 106px 0 0;
  text-align: right;
}
.lp-wc__cta .lp-btn { padding: 16px 17px; min-width: 227px; }

/* ---------- Carrousel ---------- */
.lp-carousel {
  position: relative;
  margin-top: 69px;
  padding-left: 76px;
}
.lp-carousel__nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 106px 20px 0;
}
.lp-carousel__btn {
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 2px solid var(--marine);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--marine);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.lp-carousel__btn svg { width: 100%; height: 100%; display: block; }
.lp-carousel__btn:hover:not(:disabled) { background: var(--marine); color: var(--blanc); }
.lp-carousel__btn:disabled { opacity: .3; cursor: default; }
.lp-carousel__track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 0 30px;
}
.lp-carousel__track::-webkit-scrollbar { display: none; }

/* ---------- Tuiles (393 x 339, pastille a 27/33) ---------- */
.lp-tuile {
  flex: 0 0 393px;
  width: 393px;
  min-height: 339px;
  padding: 33px 27px 30px;
  border-radius: 20px;
  scroll-snap-align: start;
}
.lp-tuile--blanche {
  background: var(--blanc);
  box-shadow: 3px 4px 22px rgba(0, 0, 0, .12);
}
.lp-tuile--jaune {
  background: var(--jaune);
  box-shadow: 3px 4px 22px rgba(0, 0, 0, .12);
}
.lp-tuile--jaune .lp-pill { background: var(--blanc); }
.lp-tuile h3 {            /* y1669, 22px */
  font-family: var(--font-texte);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  margin: 23px 0 0;
}
.lp-tuile p { font-size: 18px; line-height: 25px; margin-top: 2px; }

/* ---------- Maintenance ---------- */
.lp-wm {
  position: relative;
  padding: 60px 0 0;
  overflow-x: clip;
}
.lp-wm__vague {           /* y2077.9 x-67.7 653.6x367.9 */
  position: absolute;
  left: -70px;
  top: -98px;
  width: 658px;
  max-width: none;
  height: auto;
  z-index: 0;
  pointer-events: none;
}
.lp-wm__inner {
  position: relative;
  z-index: 2;
  padding: 0 119px 0 46.2%;
}
.lp-wm__inner h2 {        /* y2202 x665, 50px, interligne 56 */
  font-size: 50px;
  line-height: 56px;
  margin-bottom: 23px;
}
.lp-wm__inner p { font-size: 18px; line-height: 22px; margin-bottom: 24px; }

/* ---------- Listes a puces ---------- */
.lp-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 25px;
}
.lp-liste li { position: relative; padding-left: 27px; }
.lp-wm__inner .lp-liste li { margin-bottom: 18px; }
.lp-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--marine);
}
.lp-liste--puce-jaune li::before { background: var(--jaune); }

/* ---------- Pack Chill (bloc y2828 x55 1330x602) ---------- */
.lp-wp { padding: 151px 0 0; }
.lp-wp__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: calc(100% - 110px);
  margin: 0 auto;
  padding: 60px 62px 60px;
  background: var(--bleu-clair);
  border-radius: 20px;
}
.lp-wp__texte { min-width: 0; }
.lp-wp__texte:only-child { grid-column: 1 / -1; }
.lp-wp__texte h2 {        /* y2920, 50px, interligne 56 */
  font-size: 50px;
  line-height: 56px;
  margin-bottom: 30px;
}
.lp-wp__texte p { font-size: 18px; line-height: 25px; margin-bottom: 22px; }
/* Le visuel reste dans le bloc bleu et se centre dans sa colonne. */
.lp-wp__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
/* Aucun effet : les ombres et decoupes sont dans le fichier fourni.
   La hauteur est plafonnee pour que le visuel ne domine pas le bloc. */
.lp-wp__media img {
  max-width: 100%;
  max-height: 340px;
  width: auto;
  height: auto;
}
.lp-wp__rond {            /* y2846.9 x1158.2, 134 */
  position: absolute;
  top: -60px;
  right: -101px;
  width: 134px;
  height: 134px;
  border-radius: 50%;
  background: var(--gris-clair);
  opacity: .55;
}

/* ---------- Cas clients : la carte commune, definie dans home.css ---------- */
.lp-cases--page { padding-top: 102px; }
.lp-cases--page .lp-cases__grid { gap: 41px; margin-top: 35px; }

/* ---------- Temoignages (bande y4102-4847) ---------- */
.lp-wt {
  background: var(--bleu-clair);
  margin-top: 142px;
  padding: 64px 0 233px;
}
.lp-wt .lp-testi__plugin { margin-top: 32px; }

/* ---------- FAQ ---------- */
.lp-wf { padding: 100px 0 108px; }
.lp-wf__inner {
  display: grid;
  grid-template-columns: 1fr 692px;
  gap: 60px;
  align-items: start;
  padding: 0 154px 0 155px;
}
/* Cale en dur pour que le titre ne bouge pas quand on ouvre une reponse. */
.lp-wf__titre { font-size: 45px; line-height: 56px; margin-top: 222px; }
.lp-wf__liste { display: flex; flex-direction: column; gap: 22px; }

.lp-faq summary {         /* barre 692x72, texte a 39.7/24 */
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--jaune);
  border-radius: 20px;
  padding: 23px 40px;
  min-height: 72px;
  font-family: var(--font-texte);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: var(--marine);
}
.lp-faq summary::after {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2958' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .22s ease;
}
.lp-faq[open] summary::after { transform: rotate(180deg); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:hover { filter: brightness(.97); }
.lp-faq__reponse {
  padding: 22px 0 39px;
  font-size: 18px;
  line-height: 25px;
}
.lp-faq__reponse p + p { margin-top: 16px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .lp-wh__inner { grid-template-columns: 1fr; gap: 40px; padding: 0 40px; }
  .lp-wh { padding: 130px 0 60px; }
  .lp-wh__media > img:first-child { height: 340px; }
  .lp-wh__cta { margin-top: 48px; }
  .lp-wv__inner { grid-template-columns: 1fr; gap: 40px; padding: 0 40px; }
  .lp-wv { padding: 80px 0 60px; }
  .lp-wm__inner { padding: 0 40px 0 45%; }
  .lp-wp__inner { grid-template-columns: 1fr; width: calc(100% - 80px); padding: 48px 40px; }
  .lp-wp__rond { display: none; }
  .lp-wf__inner { grid-template-columns: 1fr; gap: 32px; padding: 0 40px; }
  /* Le calage en dur du titre ne vaut que pour le bureau. */
  .lp-wf { padding: 60px 0 80px; }
  .lp-wf__titre { margin-top: 0; }

  /* Bandeau contact : le titre suit la reduction generale. */
  .lp-page.lp-web .lp-cta__inner { top: auto; }
  .lp-page.lp-web .lp-cta__inner h2 { font-size: 34px; line-height: 40px; margin-bottom: 24px; }
  .lp-page.lp-web .lp-cta__visuel { display: none; }
  .lp-carousel { padding-left: 40px; }
  .lp-carousel__nav { padding-right: 40px; }
  .lp-wc__cta { padding-right: 40px; }
  .lp-wt { padding: 60px 0 120px; }
}

@media (max-width: 940px) {
  .lp-wh { padding: 110px 0 50px; }
  .lp-wh__inner,
  .lp-wv__inner,
  .lp-wf__inner { padding: 0 16px; }
  .lp-wh__texte h1 { font-size: 34px; line-height: 40px; }
  .lp-wv__texte h2,
  .lp-wc__head h2,
  .lp-wm__inner h2,
  .lp-wp__texte h2,
  .lp-wf__titre { font-size: 32px; line-height: 38px; }
  .lp-wh__badge { flex-basis: 74px; width: 74px; height: 74px; margin: -24px 0; }
  .lp-wm { padding-top: 40px; }
  .lp-wm__inner { padding: 0 16px; }
  .lp-wm__vague { display: none; }
  .lp-wp { padding-top: 60px; }
  .lp-wp__inner { width: calc(100% - 32px); padding: 32px 20px; }
  .lp-carousel { padding-left: 16px; margin-top: 40px; }
  .lp-carousel__nav { padding-right: 16px; }
  .lp-wc { padding: 50px 0; }
  .lp-wc__cta { padding-right: 16px; margin-top: 40px; text-align: center; }

  /* Bandeau contact : meme comportement que sur l'accueil. */
  .lp-page.lp-web .lp-cta__block { width: calc(100% - 32px); height: auto; min-height: 0; }
  .lp-page.lp-web .lp-cta__inner {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    z-index: 4;
    padding: 30px 22px;
  }
  .lp-page.lp-web .lp-cta__inner h2 { font-size: 24px; line-height: 30px; margin-bottom: 20px; }
  .lp-page.lp-web .lp-cta .lp-btn--marine { min-width: 0; padding: 12px 24px; }
  .lp-page.lp-web .lp-cta__visuel { display: none; }
  /* La FAQ remonte : le titre est cale en dur sur le bureau seulement. */
  .lp-wf { padding: 40px 0 60px; }
  .lp-wf__titre { margin-top: 0; }
  .lp-tuile { flex: 0 0 84vw; width: 84vw; min-height: 0; }
  .lp-cases--page { padding-top: 60px; }
  .lp-wt { margin-top: 60px; padding: 50px 0 80px; }
  .lp-wf { padding: 60px 0 40px; }
  .lp-faq summary { padding: 18px 24px; min-height: 0; }
}

/* ---------- Bandeau contact : valeurs relevees sur la maquette Web ---------- */
.lp-web .lp-cta__inner { top: 57px; }
.lp-web .lp-cta__inner h2 { font-size: 50px; line-height: 56px; margin-bottom: 32px; }
.lp-web .lp-cta .lp-btn--marine { min-width: 198px; padding: 13px 31px; color: var(--blanc); }
.lp-web .lp-cta__visuel {
  right: auto;
  left: 782px;
  top: 74px;
  width: 363px;
  min-height: 0;
  max-height: none;
  border-radius: 20px 20px 0 20px;
  transform: rotate(-5deg);
  transform-origin: top left;
}
.lp-web .lp-cta__visuel img { transform: translate(-50%, -50%) rotate(5deg); }

/* ---------- Temoignages : vignettes sans arrondi ---------- */
.lp-wt .lp-testi__item { border-radius: 0; }
