/* Page de vente Ouraya Cloud.
   N'utilise que les jetons de la charte (ouraya.css) : le mode sombre suit
   donc tout seul, sans une couleur écrite en dur. */

/* Le logotype de la barre passe en Ouraya Cloud ; le pied garde celui du
   collectif, puisqu'il parle d'Ouraya et non de cet outil. */
.barre .marque .vertical { background-image: url(/logo-cloud-vertical.png); }
.barre .marque .horizontal { background-image: url(/logo-cloud-horizontal.png); }
:root[data-theme="sombre"] .barre .marque .vertical { background-image: url(/logo-cloud-vertical-sombre.png); }
:root[data-theme="sombre"] .barre .marque .horizontal { background-image: url(/logo-cloud-horizontal-sombre.png); }

section { padding: 84px 0; }
section > .w > h2 { margin: 0 0 12px; }
.milieu { text-align: center; }
.milieu .formulaire { text-align: left; }

/* ------------------------------------------------------------------ hero */

.vente-hero { padding-bottom: 74px; }
.vente-hero h1 { margin-bottom: 18px; letter-spacing: -.03em; }

.sur-titre {
  margin: 0 0 16px;
  font: 600 13px/1 var(--titre);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ambre-sombre, var(--ambre));
}

.vente-hero .actions { margin-top: 30px; }

.hero-preuves {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  font-size: 15px;
  color: var(--encre-douce);
}

.hero-preuves li { position: relative; padding-left: 20px; }
.hero-preuves li strong { color: var(--encre); font-weight: 600; }

.hero-preuves li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ambre);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------- preuves */

.preuves {
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--filet);
}

.preuves li {
  padding: 22px 0 22px 46px;
  border-bottom: 1px solid var(--filet);
  position: relative;
  counter-increment: preuve;
}

.preuves li::before {
  content: counter(preuve);
  position: absolute;
  left: 0;
  top: 24px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ambre);
  color: var(--sur-ambre);
  font: 700 13px/1 var(--titre);
}

.preuves { counter-reset: preuve; }

.preuves h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
  max-width: 62ch;
}

.preuves .mention { margin: 0; max-width: 72ch; }

/* ---------------------------------------------------------------- étapes */

.etapes { margin-top: 38px; }
.etapes .carte { padding-top: 26px; }

.etapes .num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--papier-creuse);
  border: 1px solid var(--filet);
  color: var(--encre);
  font: 700 17px/1 var(--titre);
  margin-bottom: 14px;
}

/* ---------------------------------------------------------------- tarifs */

.tarifs-tete {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.tarifs-tete .chapo { margin: 0; max-width: 48ch; }

.bascule-prix {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border: 1px solid var(--filet);
  border-radius: 999px;
  background: var(--surface);
}

.bascule-prix button {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 9px 17px;
  border-radius: 999px;
  font: 600 14.5px/1 var(--titre);
  color: var(--gris);
  white-space: nowrap;
}

.bascule-prix button span { font-weight: 400; font-size: 12.5px; opacity: .8; }
.bascule-prix button:hover { color: var(--encre); }

.bascule-prix button.actif {
  background: var(--encre);
  color: var(--papier);
}

.offres { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }

.offre {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-top: 28px;
}

.offre h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris);
}

.offre .volume {
  margin: 2px 0 14px;
  font: 650 30px/1.1 var(--titre);
  letter-spacing: -.03em;
  color: var(--encre);
}

.offre .prix { margin: 0; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.offre .prix b { font: 650 34px/1 var(--titre); letter-spacing: -.035em; color: var(--encre); }
.offre .prix .par { font-size: 14.5px; color: var(--gris); }
.offre .prix-autre { margin: 5px 0 0; font-size: 13.5px; color: var(--gris); }

.offre ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--filet);
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--encre-douce);
  flex: 1 1 auto;
}

.offre ul li { position: relative; padding-left: 18px; }

.offre ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--ambre);
  transform: rotate(45deg);
}

.offre-btn { margin-top: 22px; width: 100%; justify-content: center; text-align: center; }

.offre.vedette { border-color: var(--ambre); box-shadow: 0 18px 48px -20px var(--ombre-portee); }

.offre .fanion {
  position: absolute;
  top: -11px;
  left: 22px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ambre);
  color: var(--sur-ambre);
  font: 600 12px/1.5 var(--titre);
  letter-spacing: .04em;
}

.offre.supplement { background: var(--papier-creuse); }

/* ------------------------------------------------------- palier gratuit

   Il se lit avant la grille, et ne lui ressemble pas : une formule sans prix
   n'a rien à faire dans une colonne de prix. */

.gratuit {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 26px 28px;
  border-color: var(--ambre);
  background: linear-gradient(100deg, var(--papier-creuse), var(--surface));
}

.gratuit-texte { flex: 1 1 340px; }

.gratuit .fanion {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ambre);
  color: var(--sur-ambre);
  font: 600 12px/1.5 var(--titre);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gratuit h3 {
  margin: 0 0 7px;
  font: 600 20px/1.3 var(--titre);
  letter-spacing: -.02em;
  color: var(--encre);
  text-transform: none;
}

.gratuit h3 b { font-weight: 650; font-size: 26px; letter-spacing: -.03em; }

.gratuit p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--encre-douce);
  max-width: 62ch;
}

.gratuit-btn { flex: 0 0 auto; }

@media (max-width: 660px) {
  .gratuit-btn { width: 100%; justify-content: center; text-align: center; }
}

/* --------------------------------------------------------- contrepartie */

.contrepartie { padding: 76px 0; }
.contrepartie h2 { color: var(--panneau-texte); margin-bottom: 16px; }

.contrepartie p {
  color: var(--panneau-doux);
  max-width: 68ch;
  margin: 0 0 15px;
  font-size: 16.5px;
  line-height: 1.66;
}

.contrepartie p strong { color: var(--panneau-texte); font-weight: 600; }

.contrepartie .aveu {
  margin-top: 26px;
  padding: 20px 24px;
  border-left: 3px solid var(--ambre);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .05);
  font-size: 15.5px;
}

/* -------------------------------------------------------------- questions */

#questions details {
  border-bottom: 1px solid var(--filet);
  padding: 4px 0;
}

#questions details:first-of-type { border-top: 1px solid var(--filet); }

#questions summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  font: 600 17px/1.45 var(--titre);
  color: var(--encre);
  position: relative;
}

#questions summary::-webkit-details-marker { display: none; }

#questions summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 27px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gris);
  border-bottom: 2px solid var(--gris);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

#questions details[open] summary::after { transform: rotate(-135deg); top: 31px; }

#questions details p {
  margin: 0 0 20px;
  max-width: 76ch;
  color: var(--encre-douce);
  line-height: 1.68;
}

/* ------------------------------------------------------------- ouverture */

.interet { margin: 30px auto 0; max-width: 460px; display: grid; gap: 15px; }
.interet .btn { width: 100%; justify-content: center; text-align: center; }
.interet .mention { margin: 0; text-align: center; }

.champ select {
  font: 400 16px/1.55 var(--titre);
  color: var(--encre);
  background: var(--surface);
  border: 1px solid var(--filet);
  border-radius: 12px;
  padding: 13px 15px;
  width: 100%;
}

.champ input[type=email] { width: 100%; }
.champ select:focus { border-color: var(--ambre); outline: none; box-shadow: 0 0 0 3px rgba(232, 163, 61, .22); }

/* Le pot de miel : invisible pour l'humain, rempli par les robots. */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.depot-message {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(200, 60, 40, .09);
  color: var(--encre);
  border: 1px solid rgba(200, 60, 40, .28);
}

.depot-message[data-ton="ok"] {
  background: var(--vivant-fond);
  border-color: var(--vivant);
  color: var(--encre);
}

@media (max-width: 760px) {
  section { padding: 60px 0; }
  .vente-hero h1 br { display: none; }
  .tarifs-tete { align-items: flex-start; }
  .bascule-prix { width: 100%; }
  .bascule-prix button { flex: 1 1 0; }
}
