:root{
  --coral:#ec7a5c;        /* main coral background */
  --coral-2:#e56a49;      /* hover / darker */
  --ink:#1b1b1b;          /* dark text on coral + on white */
  --ink-soft:#333;
  --white:#fff;
  --w:1180px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--coral);
  color:var(--ink);
  font-family:"Montserrat", system-ui, sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }

/* titre H1 réservé au SEO, masqué visuellement (design inchangé) */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* ---------- LAYOUT / WHITE FRAME (encadré blanc) ---------- */
.wrap{
  background:#fff;
  padding:30px;
}
.frame{
  padding:40px 40px 56px;
  background:var(--coral);
  border:2px solid #fff;
}
.container{
  max-width:var(--w);
  margin:0 auto;
  position:relative;
}

/* ---------- LOGO ---------- */
.brandmark{ display:block; text-align:center; margin:6px 0 26px; }
.brandmark__img{ height:130px; width:auto; max-width:100%; display:inline-block; }

/* ---------- HEADLINE ---------- */
.headline{ text-align:center; margin:0 0 40px; }
.headline__title{
  font-size:clamp(20px, 2.6vw, 30px);
  font-weight:500;
  letter-spacing:.01em;
  margin:0 0 16px;
  color:var(--ink);
}
.headline__sub{
  font-size:clamp(13px, 1.5vw, 16px);
  font-weight:500;
  letter-spacing:.04em;
  margin:0 0 16px;
  color:var(--ink);
}
.headline__sub strong{ font-weight:700; }
.price-badge{
  display:inline-block;
  background:var(--white);
  color:var(--ink);
  font-size:clamp(13px, 1.5vw, 16px);
  letter-spacing:.02em;
  padding:9px 20px;
  border-radius:4px;
}
.price-badge strong{ font-weight:700; font-size:1.18em; }

/* ---------- BODY GRID ---------- */
.body-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:40px;
  align-items:start;
}
.col-form{ padding-top:6px; }
.col-form__title{
  font-size:16px;
  font-weight:700;
  letter-spacing:.02em;
  margin:0 0 26px;
  color:var(--ink);
}

/* ---------- MEDIA ---------- */
.col-media{ display:flex; align-items:center; justify-content:center; }
.col-media__img{ width:100%; height:auto; display:block; }

/* ---------- BACK BUTTON ---------- */
.back-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 20px;
  padding:6px 4px;
  background:transparent;
  border:0;
  color:var(--ink);
  font-family:inherit;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
  transition:.15s;
}
.back-btn svg{ width:20px; height:20px; }
.back-btn:hover{ opacity:.65; }
.back-btn:active{ transform:translateY(1px); }

/* ---------- STEPS ---------- */
.step{ display:none; }
.step.is-active{ display:block; }

.field{ margin:0 0 12px; }
.field__label{
  display:block;
  font-size:14px;
  font-weight:500;
  color:var(--ink);
  margin:0 0 4px;
}

/* radio options (rendered as boxes) */
.opt-col{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-left:10px;
}
.opt{
  display:inline-flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  user-select:none;
  position:relative;
}
.opt input{ position:absolute; opacity:0; pointer-events:none; }
.opt__box{
  width:17px;
  height:17px;
  min-width:17px;
  border:1.5px solid var(--ink);
  background:transparent;
  display:inline-block;
  position:relative;
  border-radius:2px;
}
.opt input:checked + .opt__box{ background:var(--ink); }
.opt input:checked + .opt__box::after{
  content:"";
  position:absolute;
  width:8px; height:4px;
  border-left:2px solid var(--coral);
  border-bottom:2px solid var(--coral);
  transform:rotate(-45deg);
  left:50%; top:45%;
  margin-left:-4px; margin-top:-3px;
}
.opt input:focus-visible + .opt__box{ outline:2px solid rgba(0,0,0,.35); outline-offset:2px; }
.opt__label{
  font-size:14px;
  color:var(--ink);
}

/* text inputs */
.input{
  width:100%;
  background:transparent;
  border:1.5px solid var(--ink);
  border-radius:4px;
  color:var(--ink);
  font-family:inherit;
  font-size:15px;
  padding:9px 14px;
  outline:none;
}
.input::placeholder{ color:transparent; }
.input:focus{ border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); }

.phone{ display:flex; gap:12px; }
.phone__cc{ width:74px; flex:none; text-align:center; }
.phone__num{ flex:1; }

/* consent checkbox */
.checkline{
  display:grid;
  grid-template-columns:18px 1fr;
  gap:12px;
  align-items:start;
  margin:6px 0 22px;
  cursor:pointer;
}
.checkline input{ position:absolute; opacity:0; pointer-events:none; }
.checkline__box{
  width:17px; height:17px;
  margin-top:2px;
  border:1.5px solid var(--ink);
  background:transparent;
  display:inline-block;
  position:relative;
  border-radius:2px;
}
.checkline input:checked + .checkline__box{ background:var(--ink); }
.checkline input:checked + .checkline__box::after{
  content:"";
  position:absolute;
  width:8px; height:4px;
  border-left:2px solid var(--coral);
  border-bottom:2px solid var(--coral);
  transform:rotate(-45deg);
  left:50%; top:45%;
  margin-left:-4px; margin-top:-3px;
}
.checkline__text{
  font-size:12px;
  line-height:1.6;
  color:var(--ink-soft);
}

/* solid button (Suivant / Envoyez) */
.btn-solid{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:150px;
  height:46px;
  padding:0 30px;
  background:var(--ink);
  border:1px solid var(--ink);
  border-radius:4px;
  color:var(--white);
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  letter-spacing:.03em;
  cursor:pointer;
  transition:.18s;
  margin-top:6px;
}
.btn-solid:hover{ background:transparent; color:var(--ink); }
.btn-solid:active{ transform:translateY(1px); }
.btn-solid.is-loading{ opacity:.7; cursor:default; }

/* errors */
.error,.fielderr{
  min-height:16px;
  margin:8px 0 0;
  font-size:12px;
  font-weight:500;
  color:#5a1300;
}
.error svg,.fielderr svg{
  vertical-align:text-top;
  transform:translateY(-1px);
  margin-right:4px;
}

/* not-convert */
.center-block{ padding:10px 0 20px; }
.center-text{
  font-size:clamp(16px, 2vw, 20px);
  line-height:1.5;
  color:var(--ink);
  margin:0 0 26px;
}
.cta-row{ display:flex; gap:16px; flex-wrap:wrap; }

/* ---------- FOOTER ---------- */
.site-footer{
  background:var(--white);
  color:var(--ink);
}
.site-footer__inner{
  max-width:1320px;
  margin:0 auto;
  padding:48px 40px 44px;
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);
  column-gap:60px;
  row-gap:34px;
  align-items:start;
}
.site-footer__brand{ justify-self:start; }
.site-footer__logo{ display:block; height:70px; width:auto; max-width:100%; }
.site-footer__contact{ margin-top:22px; }
.site-footer__contact h2{
  margin:0 0 6px;
  font-size:15px;
  font-weight:600;
  color:var(--ink);
}
.site-footer__tel{
  font-size:18px;
  font-weight:500;
  letter-spacing:.02em;
  color:var(--ink);
  white-space:nowrap;
}
.site-footer__tel:hover{ color:var(--coral); }
.site-footer__by{
  margin:0;
  font-size:12px;
  color:#777;
  align-self:center;   /* même ligne que les réseaux sociaux */
}
.site-footer__about h2{
  margin:0 0 14px;
  font-size:15px;
  font-weight:600;
  color:var(--ink);
}
.site-footer__about p{
  margin:0;
  font-size:13px;
  line-height:1.75;
  color:#4a4a4a;
  max-width:52em;
}
.brochure-link{
  color:var(--ink);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
  white-space:nowrap;
}
.brochure-link:hover{ color:var(--coral); }

.site-footer__social{
  display:flex;
  flex-wrap:wrap;
  gap:26px;
}
.site-footer__social a{
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
  color:var(--ink);
}
.site-footer__social a:hover{ color:var(--coral); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:860px){
  .frame{ padding:28px 20px 40px; }
  .brandmark__img{ height:auto; width:min(260px, 80%); }
  .body-grid{ grid-template-columns:1fr; gap:32px; }
  .col-media{ order:-1; }
  .site-footer__inner{ grid-template-columns:1fr; row-gap:24px; padding:36px 32px; }
  /* en colonne unique : le crédit passe en dernier, sous les réseaux */
  .site-footer__social{ order:1; }
  .site-footer__by{ order:2; align-self:start; }
}
