/* ==========================================================================
   GenevaUGC_Studio – brand.css
   Chargé APRÈS style.css : il complète le design existant sans le réécrire.
   Palette, police et composants viennent de style.css (variables :root).
   ========================================================================== */

/* ---------- Sélecteur de langue FR / EN / DE ----------
   Correctif : dans style.css le commentaire de cette règle était mal fermé,
   le navigateur ignorait donc le cadre arrondi autour des boutons. */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 1rem;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(15, 15, 15, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---------- Navigation : bouton « Devis gratuit » ---------- */
.nav__link--cta {
  padding: .5rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold-soft);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--gold); color: #0F0F0F; }

/* ---------- Hero : titre plus long, note sous les boutons ---------- */
.hero__title {
  max-width: 19ch;
  font-size: clamp(2.3rem, 5.6vw, 4.7rem);
  text-wrap: balance; /* évite une ligne orpheline ("par" tout seul) */
}
.hero__lead { max-width: 56ch; }
.hero__note {
  margin-top: 1.4rem;
  font-size: .92rem;
  color: rgba(250, 250, 250, .64);
  animation: rise 1s var(--ease) .8s both;
}

/* ---------- Offres : emplacement du prix (à activer plus tard) ---------- */
.offer__price { color: var(--beige); font-size: 1.05rem; }

/* ---------- Comment ça marche ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-block: 1px solid var(--line);
}
.step {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2.25rem) clamp(2rem, 3.5vw, 2.75rem);
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: 0; padding-left: 0; }
.step:last-child { padding-right: 0; }
.step::before {
  content: counter(step);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--gold);
}
.step__title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.step__text { max-width: 34ch; color: var(--muted); }

/* ---------- Formulaires ---------- */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field select option { background: var(--surface); color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; }
.form__status.is-error { color: #e3a595; }

.chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .75rem;
  padding: .7rem .95rem;
  border: 1px solid rgba(200, 169, 106, .45);
  border-radius: var(--radius);
  background: rgba(200, 169, 106, .08);
  font-size: .92rem;
  color: var(--gold-soft);
}
.chip strong { font-weight: 500; color: var(--text); }
.chip .link-button { margin-left: auto; }

/* ---------- Pied de page ---------- */
.footer__hint { margin-top: .5rem; color: var(--muted); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; border-bottom: 0; }
  .step, .step:first-child, .step:last-child {
    padding: 1.75rem 0 2rem;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .lang { margin-left: auto; margin-right: .5rem; }
  .nav__link--cta {
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--gold-soft);
  }
  .nav__link--cta:hover { background: none; color: var(--text); }
}

@media (max-width: 720px) {
  .hero__title { max-width: 14ch; }
}
