/* ============================================================
   SITES WEB LOWCOST (sites-web/index.html)
   Figma noquadri-offre, frame responsive 276:467
   Canvas 1512 × 7201. Les tailles suivent la largeur du cadre (cqi).

   Page actuellement désactivée (redirection dans .htaccess).

   1. Variables & utilitaires
   2. Hero (logo, nav, vidéo) + bouton retour en haut
   3. Cartes d'offres
   4. Blocs « détail de l'offre »
   5. Contact & formulaire
   6. Responsive
   ============================================================ */


/* ============================================================
   1. VARIABLES & UTILITAIRES
   ============================================================ */

.lowcost-page {
  --green: #15ff00;
  --green-30: rgba(21, 255, 0, 0.3);
  --green-50: rgba(21, 255, 0, 0.5);
  --green-10: rgba(21, 255, 0, 0.1);
  --buy-starter: #b9ffb2;
  --buy-growth: #8aff80;
  --pad: clamp(16px, 5.82cqi, 88px);
  --ink: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

.lowcost-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lowcost-main {
  width: min(1512px, 100%);
  margin-inline: auto;
  container-type: inline-size;
}

.checkout-banner {
  margin: 12px var(--pad) 0;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.4;
}

.checkout-banner[hidden] { display: none; }


/* ============================================================
   2. HERO (logo, nav, vidéo) + bouton retour en haut
   ============================================================ */

.lowcost-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(8px, 1.2cqi, 20px);
  padding: clamp(12px, 1.39cqi, 21px) clamp(12px, 1.65cqi, 25px) 0 clamp(12px, 1.46cqi, 22px);
}

.lowcost-brand {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1240px;
  margin: 0;
}

.lowcost-brand__home {
  display: block;
  color: inherit;
}

.lowcost-brand__home:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.lowcost-brand__logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1240 / 311;
}

.lowcost-hero__nav {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: clamp(92px, 12.3cqi, 186px);
  margin-top: clamp(0px, 0.2cqi, 0px);
  font-size: clamp(18px, 2.65cqi, 40px);
  font-weight: 400;
  line-height: 1.275;
  text-transform: uppercase;
}

.lowcost-hero__nav a:hover {
  color: var(--green);
}

.lowcost-media {
  position: relative;
  margin: clamp(36px, 9.59cqi, 145px) clamp(12px, 1.65cqi, 25px) 0 clamp(12px, 1.46cqi, 22px);
  aspect-ratio: 1331 / 749;
  background: var(--green-10);
}

.lowcost-media__video,
.lowcost-media__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lowcost-media__video[hidden],
.lowcost-media__image[hidden] {
  display: none;
}

.lowcost-scroll-top {
  position: fixed;
  z-index: 20;
  bottom: 22px;
  right: max(16px, calc((100vw - 1512px) / 2 + 22px));
  width: 56px;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lowcost-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lowcost-scroll-top img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

/* ============================================================
   3. CARTES D'OFFRES (générées par js/sites-web/app.js)
   ============================================================ */

.lowcost-plans {
  margin-top: clamp(48px, 17.86cqi, 270px);
  padding-inline: var(--pad);
}

.lowcost-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.65cqi, 25px);
  align-items: stretch;
}

.lowcost-card {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lowcost-card__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(128px, 42cqi, 180px);
  padding: 18px 8px 8px;
}

.lowcost-card__head--starter { background: var(--green-30); }
.lowcost-card__head--growth { background: var(--green-50); }
.lowcost-card__head--business { background: var(--green); }

.lowcost-card__period {
  position: absolute;
  top: clamp(2px, 1cqi, 6px);
  right: clamp(4px, 2cqi, 10px);
  margin: 0;
  font-size: clamp(12px, 4.66cqi, 20px);
  font-weight: 400;
  line-height: 1;
}

.lowcost-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  font-weight: 500;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
}

.lowcost-card__price-currency {
  font-size: clamp(16px, 7cqi, 30px);
}

.lowcost-card__price-amount {
  font-size: clamp(64px, 35cqi, 150px);
  letter-spacing: -0.02em;
}

.lowcost-card__price-amount--long {
  font-size: clamp(52px, 34cqi, 146px);
  letter-spacing: -0.08em;
}

.lowcost-card__price-suffix {
  font-size: clamp(18px, 8.16cqi, 35px);
}

.lowcost-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  background: var(--green-10);
}

.lowcost-card__name {
  margin: 0;
  padding: 0.02em 0.04em 0.06em;
  border-top: clamp(6px, 2.56cqi, 11px) solid #000;
  border-bottom: clamp(3px, 0.93cqi, 4px) solid #000;
  font-size: clamp(40px, 23.78cqi, 102px);
  font-weight: 500;
  line-height: 1.02;
  text-align: center;
  text-transform: capitalize;
}

.lowcost-card__features {
  flex: 1 1 auto;
  margin: 0;
  padding: clamp(6px, 1.6cqi, 10px) clamp(6px, 1.2cqi, 8px) clamp(8px, 2cqi, 14px);
  border-bottom: clamp(3px, 0.93cqi, 4px) solid #000;
  font-size: clamp(15px, 5.83cqi, 25px);
  font-weight: 400;
  line-height: 2.28;
}

.lowcost-card__features li.is-sub {
  margin-top: -0.85em;
  line-height: 1.2;
}

.lowcost-card__commitment {
  margin: 0;
  padding: clamp(8px, 2.4cqi, 12px) clamp(8px, 2cqi, 12px) clamp(4px, 1.2cqi, 8px);
  font-size: clamp(12px, 3.5cqi, 15px);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.lowcost-card__commitment span {
  display: block;
}

.lowcost-card__footer {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 6cqi, 26px);
  padding: clamp(20px, 11.9cqi, 51px) clamp(10px, 3.5cqi, 15px) clamp(16px, 7.7cqi, 33px);
}

.lowcost-card__footer--starter { background: var(--green-30); }
.lowcost-card__footer--growth { background: var(--green-50); }
.lowcost-card__footer--business { background: var(--green); }

.lowcost-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(52px, 22.6cqi, 97px);
  padding: 0.2em 0.4em;
  border-radius: 999px;
  font-size: clamp(16px, 9.3cqi, 40px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.lowcost-btn--detail {
  background: #000;
  color: #fff;
}

.lowcost-btn--buy-starter,
.lowcost-btn--buy-growth,
.lowcost-btn--buy-business {
  border: clamp(3px, 1.4cqi, 6px) solid #000;
  color: #000;
}

.lowcost-btn--buy-starter { background: var(--buy-starter); }
.lowcost-btn--buy-growth { background: var(--buy-growth); }
.lowcost-btn--buy-business { background: var(--green); }

.lowcost-btn:hover {
  filter: brightness(0.96);
}

/* ============================================================
   4. BLOCS « DÉTAIL DE L'OFFRE »
   ============================================================ */

#offer-details {
  margin-top: clamp(40px, 12.24cqi, 185px);
}

.lowcost-detail {
  padding: clamp(20px, 2.38cqi, 36px) var(--pad) clamp(36px, 7cqi, 110px);
}

.lowcost-detail--starter { background: var(--green-30); }
.lowcost-detail--growth { background: var(--green-50); }
.lowcost-detail--business { background: var(--green); }

.lowcost-detail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2cqi, 32px);
}

.lowcost-detail__name {
  margin: 0;
  font-size: clamp(52px, 9.92cqi, 150px);
  font-weight: 500;
  line-height: 0.9;
  text-transform: capitalize;
}

.lowcost-detail__price {
  margin: 0;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.lowcost-detail__price-currency { font-size: clamp(14px, 1.98cqi, 30px); }
.lowcost-detail__price-amount { font-size: clamp(32px, 4.96cqi, 75px); }
.lowcost-detail__price-suffix { font-size: clamp(16px, 2.31cqi, 35px); }
.lowcost-detail__price-period { font-size: clamp(13px, 1.65cqi, 25px); }

.lowcost-detail__commitment {
  margin: 0 0 clamp(8px, 0.8cqi, 12px);
  font-size: clamp(14px, 1.25cqi, 18px);
  font-weight: 500;
  line-height: 1.4;
}

.lowcost-folds {
  max-width: 1336px;
  margin-top: clamp(28px, 3cqi, 48px);
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
}

.lowcost-folds__list {
  border-top: 4px solid #000;
}

.lowcost-fold {
  border-bottom: 4px solid #000;
}

.lowcost-fold:last-child {
  border-bottom: 0;
}

.lowcost-folds > summary,
.lowcost-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 1.3cqi, 18px) 0;
  font-size: clamp(16px, 1.45cqi, 22px);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.lowcost-folds > summary::-webkit-details-marker,
.lowcost-fold summary::-webkit-details-marker {
  display: none;
}

.lowcost-folds > summary::after,
.lowcost-fold summary::after {
  flex: 0 0 auto;
  content: "+";
  font-size: 1.35em;
  font-weight: 400;
  line-height: 1;
}

.lowcost-folds[open] > summary::after,
.lowcost-fold[open] summary::after {
  content: "–";
}

.lowcost-folds > summary:focus-visible,
.lowcost-fold summary:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.lowcost-fold p {
  max-width: 52rem;
  margin: 0;
  padding: 0 0 0.7em;
  font-size: clamp(15px, 1.32cqi, 20px);
  font-weight: 400;
  line-height: 1.5;
}

.lowcost-fold p:last-child {
  padding-bottom: clamp(14px, 1.4cqi, 20px);
}

.lowcost-detail__rule {
  display: block;
  height: clamp(6px, 0.73cqi, 11px);
  margin: clamp(6px, 0.7cqi, 12px) 0 clamp(10px, 1.2cqi, 18px);
  border: 0;
  background: #fff;
}

.lowcost-detail--starter .lowcost-detail__rule {
  width: min(464px, 46%);
  background: var(--green);
}

.lowcost-detail--growth .lowcost-detail__rule { width: min(489px, 48%); }
.lowcost-detail--business .lowcost-detail__rule { width: min(615px, 52%); }

.lowcost-detail__content {
  max-width: 1336px;
  font-size: clamp(16px, 1.65cqi, 25px);
  font-weight: 400;
  line-height: 1.68;
}

.lowcost-detail__content p + p {
  margin-top: 1.68em;
}

.lowcost-detail__content strong {
  font-size: 1.2em;
  font-weight: 700;
}

.lowcost-detail__content .is-line {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.08em;
  text-decoration-skip-ink: none;
}

.lowcost-detail--starter .is-line { text-decoration-color: var(--green); }
.lowcost-detail--growth .is-line,
.lowcost-detail--business .is-line { text-decoration-color: #fff; }

/* ============================================================
   5. CONTACT & FORMULAIRE
   ============================================================ */

.lowcost-contact {
  margin-top: clamp(36px, 9.92cqi, 150px);
  padding: 0 var(--pad) clamp(32px, 3.7cqi, 56px);
}

.lowcost-contact__intro {
  display: grid;
  grid-template-columns: 403px minmax(0, 1fr);
  column-gap: 50px;
  align-items: start;
}

.lowcost-contact__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 403px;
  height: 51px;
  margin-top: 81px;
  font-size: 25px;
  font-weight: 400;
  line-height: 51px;
  text-transform: uppercase;
}

.lowcost-contact__nav a:hover { color: var(--green); }

.lowcost-contact__logo {
  display: block;
  width: 430px;
  height: 65px;
  margin-bottom: 27px;
}

.lowcost-contact__manifesto {
  margin: 0;
  width: 883px;
  max-width: 100%;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.lowcost-contact__grid {
  display: grid;
  grid-template-columns: minmax(200px, 399px) minmax(0, 1fr);
  column-gap: clamp(16px, 3.57cqi, 54px);
  align-items: start;
  margin-top: clamp(20px, 1.8cqi, 27px);
}

.lowcost-contact__title {
  margin: 0;
  font-size: clamp(36px, 3.97cqi, 60px);
  font-weight: 500;
  line-height: 1.05;
  text-transform: capitalize;
}

.lowcost-contact__rule {
  width: 100%;
  max-width: 399px;
  height: 11px;
  margin-top: clamp(6px, 0.5cqi, 10px);
  background: #000;
}

.lowcost-contact__address {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.98cqi, 30px);
  margin-top: clamp(28px, 4.83cqi, 73px);
  font-size: clamp(16px, 1.65cqi, 25px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.15;
}

.lowcost-contact__address a:hover { color: var(--green); }

.lowcost-contact__form {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.72cqi, 26px);
  margin-top: calc(clamp(36px, 3.97cqi, 60px) + clamp(6px, 0.5cqi, 10px));
}

.lowcost-field--hidden { display: none; }

.lowcost-field input,
.lowcost-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 13px;
  border: 4px solid #000;
  border-radius: 0;
  background: var(--green);
  color: #000;
  font-family: inherit;
  font-size: clamp(16px, 1.65cqi, 25px);
  font-weight: 400;
  line-height: 1.2;
}

.lowcost-field input { height: clamp(48px, 4.23cqi, 64px); }

.lowcost-field textarea {
  height: clamp(140px, 17.26cqi, 261px);
  resize: vertical;
}

.lowcost-field input::placeholder,
.lowcost-field textarea::placeholder {
  color: #000;
  opacity: 1;
}

.lowcost-send {
  align-self: flex-start;
  width: clamp(110px, 8.93cqi, 135px);
  height: clamp(48px, 4.3cqi, 65px);
  border: 0;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: clamp(16px, 1.65cqi, 25px);
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.lowcost-send:hover { background: #222; }

.form-status {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.form-status[hidden] { display: none; }

/* ============================================================
   6. RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
  .lowcost-plans__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .lowcost-detail__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .lowcost-detail__price { text-align: left; }

  .lowcost-contact__intro,
  .lowcost-contact__grid {
    grid-template-columns: 1fr;
  }

  .lowcost-contact__nav {
    order: 2;
    margin-top: 20px;
    max-width: 403px;
  }

  .lowcost-contact__brand { order: 1; }

  .lowcost-contact__logo { width: min(430px, 72%); }

  .lowcost-contact__form { margin-top: 28px; }

  .lowcost-scroll-top {
    right: 12px;
    bottom: 16px;
    width: 44px;
  }
}
