/* ════════════════════════════════════════════════════════════════
   Étude de marché — Variation A « La promesse en grand »
   Page autonome, charte vefaonline (vert profond + accent orange).
════════════════════════════════════════════════════════════════ */

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --green:       #145156;
  --green-dark:  #0E3E42;
  --green-deep:  #1A2E28;
  --ink:         #1C3530;
  --text:        #6A5A4A;
  --muted:       #9A8A7A;
  --accent:      #E08030;
  --bg:          #F5EDE4;
  --white:       #FFFFFF;
  --chip-bg:     #F5EDE4;
  --chip-text:   #5A4C3C;
  --tint:        #E8F3EF;
  --divider:     #E4D8C9;
  --field-bg:    #F5F0EA;
}

html, body {
  height: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}

.app {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  overflow-y: auto;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ── Shared bits ──────────────────────────────────────────────── */
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.cta-button {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 15px 26px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.cta-button:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 385px;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-title span { color: var(--green); }
.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-top: 18px;
  max-width: 540px;
}
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.hero-photo {
  position: relative;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 40, 32, .18);
}
.hero-photo-img {
  width: 100%;
  height: 100%;
  background-image: url("/assets/images/ville_francaise_topshot.webp");
  background-size: cover;
  background-position: center;
}
.hero-photo-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(15, 28, 24, .55);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ── Livrable, en 5 volets ────────────────────────────────────── */
.deliver {
  border-top: 1px solid var(--divider);
  padding-top: 26px;
}
.deliver-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.step {
  background: var(--white);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 118px;
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--tint);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ── Garanties + prix ─────────────────────────────────────────── */
.gstrip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 22px;
  flex-wrap: wrap;
}
.gstrip-items {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.gstrip-item { font-size: 13px; color: var(--text); font-weight: 500; }
.gstrip-item b { color: var(--ink); font-weight: 800; }
.gstrip-dot { width: 4px; height: 4px; border-radius: 50%; background: #D8C9B8; }
.gstrip-price { font-size: 13px; color: var(--muted); font-weight: 600; }
.gstrip-price b { color: var(--green); font-size: 16px; font-weight: 800; }

/* ── Conversion : CTA ─────────────────────────────────────────── */
.lead { margin-top: 6px; }

.cta-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-card.hidden { display: none; }
.cta-card-text { flex: 1; min-width: 240px; }
.cta-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.cta-card-sub {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
}

/* ── Formulaire ───────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
}
.form-card.hidden { display: none; }
@keyframes formReveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-card.reveal { animation: formReveal .3s ease; }

.form-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.form-sub {
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 26px;
}

.form-field { margin-bottom: 22px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 9px;
}
.form-label .num {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--tint);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-input {
  width: 100%;
  background: var(--field-bg);
  border: 1.5px solid transparent;
  border-radius: 11px;
  padding: 12px 15px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, background .15s;
}
.form-input::placeholder { color: var(--muted); }
.form-input:focus { border-color: var(--green); background: var(--white); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice-group { display: flex; gap: 12px; flex-wrap: wrap; }
.choice {
  flex: 1;
  min-width: 220px;
  cursor: pointer;
  background: var(--field-bg);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 15px 17px;
  transition: border-color .15s, background .15s;
}
.choice:hover { border-color: rgba(26, 92, 72, .35); }
.choice input { display: none; }
.choice-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.choice-desc { font-size: 11.5px; color: var(--text); line-height: 1.45; }
.choice-radio {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  flex-shrink: 0;
  position: relative;
  transition: border-color .15s;
}
.choice input:checked ~ .choice-name .choice-radio { border-color: var(--green); }
.choice input:checked ~ .choice-name .choice-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
}
.choice:has(input:checked) { border-color: var(--green); background: #F0F7F4; }

.form-submit {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.form-submit:hover { background: var(--green-dark); transform: translateY(-1px); }
.form-submit:disabled,
.form-submit.loading {
  cursor: wait;
  opacity: .7;
  transform: none;
}
.form-submit.loading .form-submit-icon { display: none; }

.form-error {
  margin-top: 14px;
  padding: 11px 15px;
  background: #FCE9E4;
  border-radius: 10px;
  color: #B23A1E;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}
.form-error[hidden] { display: none; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px;
}
.form-success.show { display: flex; }
.success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.success-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.success-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  max-width: 400px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .content { padding: 40px 32px 56px; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { height: 240px; order: -1; }
  .hero-title { font-size: 38px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .content { padding: 32px 20px 48px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gstrip { gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .choice { min-width: 100%; }
  .cta-card, .form-card { padding: 24px 20px; }
}

@media (max-width: 440px) {
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; flex-direction: row; align-items: center; }
}
