/* ============================================================
   PARA-CLIP — Formulaires de commande
   DA partagée avec le site vitrine
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #111111;
  --white:      #ffffff;
  --off-white:  #f7f6f4;
  --mid-gray:   #888888;
  --light-gray: #e8e8e6;
  --gold:       #b89050;
  --error:      #cc2222;
  --success:    #2a7a3b;
  --radius:     4px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
}

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 64px;
}
.site-logo { height: 44px; width: auto; object-fit: contain; }

/* ── Page Layout ── */
.form-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Product Summary Card ── */
.product-summary {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  margin-bottom: 36px;
  border: 1px solid var(--light-gray);
}
.product-summary-img {
  width: 130px;
  flex-shrink: 0;
  object-fit: cover;
}
.product-summary-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.product-summary-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
}
.product-summary-badge--gold { color: var(--gold); }
.product-summary-badge--dark { color: var(--black); }

.product-summary-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.product-summary-price {
  font-size: 13px;
  color: var(--mid-gray);
}
.product-summary-note {
  font-size: 12px;
  color: var(--mid-gray);
  font-style: italic;
  margin-top: 4px;
}

/* ── Form ── */
.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-section {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  overflow: hidden;
}

.form-section-header {
  padding: 14px 22px;
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-section-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Field ── */
.field { display: flex; flex-direction: column; gap: 6px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

label .optional {
  font-weight: 400;
  color: var(--mid-gray);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

label .required-star { color: var(--error); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.field-hint {
  font-size: 11px;
  color: var(--mid-gray);
  line-height: 1.5;
}

/* ── Radio / Checkbox custom ── */
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}

.radio-option:hover,
.checkbox-option:hover {
  border-color: var(--black);
  background: var(--off-white);
}

.radio-option input,
.checkbox-option input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--black);
  cursor: pointer;
}

.radio-option-text,
.checkbox-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radio-option-label,
.checkbox-option-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--black);
}

.radio-option-desc,
.checkbox-option-desc {
  font-size: 12px;
  color: var(--mid-gray);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.4;
}

/* ── Upsell section ── */
.upsell-section {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  overflow: hidden;
}
.upsell-header {
  padding: 14px 22px;
  background: #f0ede6;
  border-bottom: 1px solid #e0d9cc;
}
.upsell-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.upsell-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.upsell-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* ── Fun section ── */
.fun-section {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  overflow: hidden;
}
.fun-header {
  padding: 14px 22px;
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
}
.fun-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Submit ── */
.submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-submit {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s ease;
}
.btn-submit:hover { opacity: 0.75; }

.submit-note {
  text-align: center;
  font-size: 12px;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* ── Thank you page ── */
.thankyou-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 64px 24px;
}
.thankyou-icon {
  font-size: 48px;
}
.thankyou-wrap h1 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.thankyou-wrap p {
  font-size: 15px;
  color: #555;
  max-width: 460px;
  line-height: 1.7;
}
.btn-back {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  margin-top: 8px;
  transition: opacity 0.2s ease;
}
.btn-back:hover { opacity: 0.75; }

/* ── Footer ── */
.form-footer {
  margin-top: 48px;
  text-align: center;
  font-size: 12px;
  color: var(--mid-gray);
  line-height: 1.8;
  border-top: 1px solid var(--light-gray);
  padding-top: 24px;
}

/* ── Responsive ── */
@media (max-width: 520px) {
  .form-page { padding: 28px 16px 80px; }
  .field-row { grid-template-columns: 1fr; }
  .product-summary-img { width: 90px; }
}

/* ── Coaching CTA block ── */
.coaching-cta-block {
  margin-top: 16px;
  background: #f0ede6;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.coaching-cta-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.coaching-cta-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}
.coaching-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.coaching-btn-primary {
  display: block;
  text-align: center;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 13px 18px;
  border-radius: var(--radius);
  transition: opacity 0.2s ease;
}
.coaching-btn-primary:hover { opacity: 0.75; }
.coaching-btn-secondary {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  transition: border-color 0.2s ease;
}
.coaching-btn-secondary:hover { border-color: var(--black); }

/* ── Thank you page — coaching block ── */
.thankyou-coaching {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 500px;
  width: 100%;
}
.thankyou-coaching-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.thankyou-coaching-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
}
.thankyou-coaching-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}
.thankyou-coaching-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
