/* =========================================================
   LA PIEUVRE - PAGE COLLABORER
   Cotes relevees dans l'export de la maquette (frame 1440 x 5781).
   Complete page-web.css : carrousel, tuiles, bandeau contact, FAQ.
   ========================================================= */

/* ---------- Bandeau haut : bande bleue 1440x617 ---------- */
/* Bande de 617 de haut, identique au bandeau de la page A propos. */
.lp-co-hero {
  position: relative;
  background: var(--bleu-clair);
  padding: 234px 0 60px;
  min-height: 617px;
  overflow-x: clip;
}
.lp-co-hero__vague {                  /* forme 999x671 a x621 y103, ancree a droite */
  position: absolute;
  right: -10.8%;
  top: 103px;
  width: 60%;
  max-width: none;
  height: auto;
  /* Le ruban reste en arriere-plan : la photo est au premier plan. */
  z-index: 1;
  pointer-events: none;
}
/* Meme cadrage que le bandeau de la page A propos. */
.lp-co-hero__media {
  position: absolute;
  right: 0;
  top: 45px;
  width: 50%;
  z-index: 2;
  pointer-events: none;
}
.lp-co-hero__media img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.lp-co-hero__inner {
  position: relative;
  z-index: 4;
  padding: 0 80px;
  max-width: 780px;
}
.lp-co-hero__inner h1 {               /* y234, 56px, interligne 58 */
  font-size: 56px;
  line-height: 58px;
  max-width: 700px;
}
.lp-co-hero__inner p {                /* y368, 566 de large */
  margin-top: 34px;
  max-width: 566px;
  font-size: 18px;
  line-height: 25px;
}
.lp-co-hero__cta { margin-top: 39px; }

/* Bouton jaune a texte marine, propre a cette page. */
.lp-btn--jaune {
  display: inline-block;
  min-width: 227px;
  padding: 14px 17px;
  background: var(--jaune);
  color: var(--marine);
  border-radius: 10px;
  font-family: var(--font-texte);
  font-size: 18px;
  font-weight: 500;
  line-height: 23px;
  text-align: center;
  transition: transform .2s ease;
}
.lp-btn--jaune:hover { transform: scale(1.05); }

/* ---------- Missions : carrousel de tuiles blanches ---------- */
/* Passe au-dessus du debord du ruban du bandeau. */
.lp-co .lp-wc {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 110px 0 0;
  background: none;
}
.lp-co .lp-wc__head h2 { max-width: 748px; }
.lp-co .lp-carousel { margin-top: 60px; }
/* Plus de hauteur imposee : toutes les tuiles prennent celle de la plus haute. */
.lp-co .lp-carousel__track { align-items: stretch; }
.lp-co .lp-tuile { min-height: 0; padding-bottom: 34px; }

/* ---------- Comment se passe la sous-traitance ---------- */
.lp-co-st { padding: 139px 0 0; }     /* tuiles fin 1284, bloc y1423 */
.lp-co-st__bloc {
  position: relative;
  width: calc(100% - 338px);           /* 1102 de large, x169 */
  margin: 0 auto;
  /* La hauteur du bloc est dictee par le texte seul : le visuel est hors flux
     et deborde librement en haut comme en bas. */
  padding: 64px min(6.4%, 70px) 64px min(43.5%, 479px);
  background: var(--bleu-clair);
  border-radius: 20px;
}
.lp-co-st__media {                     /* 679 de large a x58, centre verticalement */
  position: absolute;
  /* Decalage fixe : le visuel reste pres du centre quelle que soit la largeur. */
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  /* Taille de maquette (679), ajustable depuis l'editeur. */
  width: calc(61.6% * var(--lp-st-echelle, 1));
  max-width: calc(679px * var(--lp-st-echelle, 1));
}
.lp-co-st__media img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.lp-co-st__texte { max-width: 553px; }
.lp-co-st__texte h2 {
  font-size: 45px;
  line-height: 52px;
  margin-bottom: 20px;
}
.lp-co-st__texte p { font-size: 18px; line-height: 25px; }
.lp-co-st__texte p + p { margin-top: 18px; }

/* ---------- Pourquoi une freelance en renfort : vague a droite ---------- */
.lp-co-pq {
  position: relative;
  padding: 149px 0 0;                  /* bloc fin 1781, texte y1930 */
  overflow-x: clip;
}
.lp-co-pq__vague {                     /* 658x443 a x925 y1801 */
  position: absolute;
  left: 64.2%;
  top: 20px;
  width: 45.7%;
  max-width: none;
  height: auto;
  z-index: 0;
  pointer-events: none;
}
.lp-co-pq__inner {
  position: relative;
  z-index: 2;
  max-width: 649px;
  margin-left: 161px;
  padding-right: 24px;
}
.lp-co-pq__inner h2 {
  font-size: 45px;
  line-height: 52px;
  margin-bottom: 22px;
}
.lp-co-pq__inner p { font-size: 18px; line-height: 25px; }
.lp-co-pq__inner p + p { margin-top: 18px; }

/* ---------- Exemples de missions : bande bleue 1440x704 ---------- */
.lp-co-ex {
  margin-top: 190px;
  padding: 62px 0 273px;
  background: var(--bleu-clair);
}
.lp-co-ex .lp-section-head h2 { max-width: 953px; margin-left: auto; margin-right: auto; }
.lp-co-ex__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  width: calc(100% - 390px);           /* visuels de x195 a x1266 */
  margin: 62px auto 0;
}
.lp-co-ex__item { margin: 0; }
.lp-co-ex__item img {                  /* 320x205, ombre portee, arrondi 20 */
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 4px 4px 27px rgba(0, 0, 0, .25);
}

/* Le bandeau contact chevauche la bande bleue sur la moitie de sa hauteur. */
.lp-co .lp-cta { position: relative; z-index: 2; margin-top: -130px; }

/* ---------- FAQ : variante a cartouches marine ---------- */
.lp-co .lp-wf { margin-top: 0; }
.lp-wf--marine .lp-faq summary {
  background: var(--marine);
  color: var(--blanc);
}
/* Meme chevron que les autres FAQ, en blanc. */
.lp-wf--marine .lp-faq summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.lp-wf--marine .lp-faq summary:hover { filter: brightness(1.15); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .lp-co-hero { padding: 150px 0 60px; }
  .lp-co-hero__inner { padding: 0 40px; max-width: none; }
  .lp-co-hero__inner h1 { font-size: 42px; line-height: 46px; }
  .lp-co-hero__vague { right: -22%; width: 80%; }
  .lp-co-hero__media { position: static; width: 88%; margin: 40px 0 0 auto; }
  .lp-co .lp-wc { padding-top: 70px; }
  .lp-co-st { padding-top: 80px; }
  .lp-co-st__bloc {
    width: calc(100% - 80px);
    padding: 40px;
  }
  .lp-co-st__media {
    position: static;
    transform: none;
    width: 100%;
    margin-bottom: 32px;
  }
  .lp-co-st__texte { max-width: none; }
  .lp-co-pq { padding-top: 80px; }
  .lp-co-pq__inner { margin-left: 40px; padding-right: 40px; }
  .lp-co-pq__vague { left: auto; right: -18%; width: 55%; top: 0; }
  .lp-co-ex { margin-top: 90px; }
  .lp-co-ex__grid { width: calc(100% - 80px); gap: 30px; margin-top: 40px; }
  .lp-co-ex { padding-bottom: 180px; }
  .lp-co .lp-cta { margin-top: -110px; }

}

@media (max-width: 940px) {
  .lp-co-hero { padding: 120px 0 40px; }
  .lp-co-hero__inner { padding: 0 16px; }
  .lp-co-hero__inner h1 { font-size: 32px; line-height: 38px; }
  .lp-co-hero__vague { display: none; }
  .lp-co-hero__media { width: 94%; }
  .lp-co-st__bloc { width: calc(100% - 32px); padding: 24px 20px; }
  .lp-co-st__texte h2,
  .lp-co-pq__inner h2 { font-size: 32px; line-height: 38px; }
  .lp-co-pq__vague { display: none; }
  .lp-co-pq__inner { margin-left: 16px; padding-right: 16px; }
  .lp-co-ex__grid { grid-template-columns: 1fr; width: calc(100% - 32px); }
  .lp-co-ex__item img { height: auto; }
}
