/* ══════════════════════════════════
   RESET
══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f2f5f8;
  color: #222;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════
   TOPBAR — nom + téléphone
══════════════════════════════════ */
.topbar {
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 52px;
  gap: 12px;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-logo {
  width: 32px; height: 32px;
  background: #2d82b7;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .85rem; color: #fff; letter-spacing: -.5px;
  flex-shrink: 0;
}
.topbar-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .2px;
}
.topbar-name span { color: #5bc8b8; }
.topbar-sub {
  font-size: .68rem;
  color: #8899aa;
  display: block;
  letter-spacing: .3px;
}
.topbar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #e8640a;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 7px 18px;
  border-radius: 26px;
  letter-spacing: .3px;
  white-space: nowrap;
  transition: background .18s;
}
.topbar-phone:hover { background: #c8520a; }
.topbar-phone-icon { font-size: 1rem; }
.topbar-phone-wrap { text-align: right; }
.topbar-phone-label { font-size: .63rem; font-weight: 400; opacity: .8; display: block; line-height: 1; margin-bottom: 2px; }

/* ══════════════════════════════════
   HERO HEADER BAND
══════════════════════════════════ */
.hero-header {
  background: linear-gradient(180deg, #0e2040 0%, #1a3a60 100%);
  text-align: center;
  padding: 28px 20px 24px;
  position: relative;
  overflow: hidden;
}
.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 120% at 50% -10%, rgba(45,130,183,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-header-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5bc8b8;
  margin-bottom: 10px;
}
.hero-header h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.hero-header h1 span { color: #5bc8b8; }

/* ══════════════════════════════════
   MAIN — 2 colonnes
══════════════════════════════════ */
.main-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 32px 20px 40px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

/* ══════════════════════════════════
   COLONNE GAUCHE
══════════════════════════════════ */
.col-left { display: flex; flex-direction: column; gap: 22px; }

.left-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #0e2040;
  line-height: 1.22;
}
.left-title span { color: #2d82b7; }

/* Prix pill */
.price-box {
  background: #0e2040;
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: fit-content;
}
.price-label { font-size: .78rem; color: #8ab0cc; font-weight: 600; }
.price-from  { font-size: .82rem; color: #aac4d8; }
.price-main  {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
}
.price-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: #fff;
}
.price-suffix { font-size: 1.2rem; font-weight: 700; color: #5bc8b8; }
.price-ast    { font-size: .72rem; color: #8ab0cc; align-self: flex-start; margin-top: 4px; }

/* USPs */
.usps { display: flex; flex-direction: column; gap: 12px; }
.usp {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: #2a3f55;
  line-height: 1.45;
}
.usp-check {
  width: 20px; height: 20px; min-width: 20px;
  background: #2d82b7;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  margin-top: 1px;
}

/* Trust row */
.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px solid #d0dce8;
}
.trust-item { font-size: .78rem; color: #6a8a9a; display: flex; align-items: center; gap: 5px; }
.trust-item strong { color: #2a3f55; }

/* ══════════════════════════════════
   COLONNE DROITE — FORMULAIRE
══════════════════════════════════ */
.form-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(14,32,64,.15), 0 0 0 1px rgba(14,32,64,.05);
}

/* En-tête de la card */
.form-card-head {
  background: linear-gradient(135deg, #2d82b7 0%, #1a6094 100%);
  padding: 18px 22px;
  text-align: center;
}
.form-card-head h2 {
  font-size: .95rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .8px;
  text-transform: uppercase;
  line-height: 1.35;
}

.form-body { padding: 20px 22px 22px; }

/* Section title */
.section-lbl {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2d82b7;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid #e8f0f8;
}

/* Field */
.fgroup { margin-bottom: 14px; }
.flabel {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: #334455;
  margin-bottom: 6px;
  letter-spacing: .2px;
}
.flabel .req { color: #e8640a; }

/* Inputs / Selects */
input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid #c8d8e8;
  border-radius: 7px;
  font-size: .9rem;
  color: #222;
  background: #f7fafd;
  appearance: none; -webkit-appearance: none;
  transition: border-color .16s, box-shadow .16s;
}
input:focus, select:focus {
  outline: none;
  border-color: #2d82b7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45,130,183,.13);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23778899' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}

/* Date row */
.date-row { display: grid; grid-template-columns: 70px 80px 1fr; gap: 6px; }

/* Radio pills */
.radio-row { display: flex; gap: 8px; }
.rpill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1.5px solid #c8d8e8;
  border-radius: 7px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  color: #334455;
  user-select: none;
  transition: border-color .16s, background .16s;
  flex: 1;
  justify-content: center;
}
.rpill input { display: none; }
.rdot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid #b0c4d8;
  flex-shrink: 0;
  transition: border-color .16s, background .16s;
}
.rpill:has(input:checked) { border-color: #2d82b7; background: #e8f4fc; color: #1a5a82; }
.rpill:has(input:checked) .rdot { border-color: #2d82b7; background: #2d82b7; box-shadow: inset 0 0 0 2.5px #fff; }

/* Conjoint DOB — slide down */
.conj-dob {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .28s ease, margin .3s ease;
  margin-top: 0;
}
.conj-dob.show { max-height: 100px; opacity: 1; margin-top: 14px; }

/* Checkbox RGPD */
.cb-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  background: #f4f8fc;
  border: 1px solid #d0e0ee;
  border-radius: 7px;
  margin-bottom: 16px;
}
.cb-row input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; margin-top: 1px; accent-color: #2d82b7; cursor: pointer; }
.cb-txt { font-size: .74rem; color: #556677; line-height: 1.55; }
.cb-txt a { color: #2d82b7; cursor: pointer; text-decoration: underline; }

/* CTA */
.btn-cta {
  display: block;
  width: 100%;
  padding: 15px 12px 13px;
  background: linear-gradient(180deg, #e8760a 0%, #cc5e08 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .3px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 18px rgba(232,100,10,.38);
  transition: filter .16s, transform .14s, box-shadow .16s;
  line-height: 1.25;
}
.btn-cta:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,100,10,.5); }
.btn-cta:active { transform: none; filter: brightness(.97); }
.btn-cta-sub {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  opacity: .88;
  margin-top: 3px;
  letter-spacing: .4px;
}
.cta-note {
  text-align: center;
  font-size: .7rem;
  color: #aabbcc;
  margin-top: 10px;
}

/* Photo sous le formulaire */
.form-photo {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(14,32,64,.12);
}
.form-photo img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* ══════════════════════════════════
   SECTION AVANTAGES
══════════════════════════════════ */
.adv-section {
  background: #fff;
  border-top: 3px solid #2d82b7;
  margin-top: 0;
}
.adv-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 36px 20px;
}
.adv-head {
  text-align: center;
  margin-bottom: 28px;
}
.adv-head h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 900;
  color: #0e2040;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.3;
}
.adv-head p {
  font-size: .9rem;
  color: #2d82b7;
  font-weight: 700;
  margin-top: 6px;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 16px;
  border: 1.5px solid #e0eaf4;
  border-radius: 10px;
  transition: box-shadow .18s, border-color .18s;
}
.adv-item:hover { box-shadow: 0 6px 24px rgba(45,130,183,.12); border-color: #2d82b7; }
.adv-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #e8f4fc, #c8e4f4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.adv-title { font-size: .97rem; font-weight: 800; color: #0e2040; }
.adv-desc  { font-size: .84rem; color: #556677; line-height: 1.6; }

/* CTA lien bas */
.adv-cta-wrap {
  text-align: center;
  margin-top: 28px;
}
.adv-cta-link {
  display: inline-block;
  background: #2d82b7;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  padding: 13px 28px;
  border-radius: 7px;
  transition: background .18s;
}
.adv-cta-link:hover { background: #1a6094; }

/* ══════════════════════════════════
   PARTENAIRES
══════════════════════════════════ */
.partners-section { background: #f7fafd; padding: 32px 20px 36px; border-top: 1px solid #e0eaf4; }
.partners-inner { max-width: 1020px; margin: 0 auto; }
.partners-lbl {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8a9aaa;
  margin-bottom: 20px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: center;
}
.plogo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #dde8f2;
  border-radius: 10px;
  padding: 14px 10px;
  min-height: 72px;
  box-shadow: 0 2px 8px rgba(14,32,64,.05);
  transition: border-color .18s, box-shadow .18s, transform .15s;
}
.plogo-box:hover {
  border-color: #2d82b7;
  box-shadow: 0 5px 18px rgba(45,130,183,.14);
  transform: translateY(-2px);
}
.plogo-box img {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(15%);
  transition: filter .18s;
}
.plogo-box:hover img { filter: grayscale(0%); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.site-footer {
  background: #0e1a28;
  color: #55778a;
  padding: 22px 20px;
  text-align: center;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.footer-links a {
  color: #6a8ea8;
  text-decoration: none;
  font-size: .8rem;
  padding: 2px 8px;
  cursor: pointer;
  transition: color .16s;
}
.footer-links a:hover { color: #5bc8b8; }
.fsep { color: #1e3348; font-size: .8rem; }
.footer-txt { font-size: .73rem; color: #3a5568; line-height: 1.7; max-width: 700px; margin: 0 auto; }
.footer-brand { color: #4a6a7a; font-weight: 700; }

/* ══════════════════════════════════
   MODALS
══════════════════════════════════ */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,14,26,.82);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(3px);
}
.modal-bg.on { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 12px;
  max-width: 660px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  box-shadow: 0 24px 72px rgba(0,0,0,.45);
  animation: mIn .2s ease-out both;
}
@keyframes mIn { from { opacity:0;transform:translateY(18px)scale(.96) } to { opacity:1;transform:none } }
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px 14px;
  border-bottom: 1px solid #e0eaf4;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal-top h3 { font-size: 1rem; color: #0e2040; font-weight: 800; }
.modal-x {
  width: 30px; height: 30px;
  border: 1.5px solid #c8d8e8;
  border-radius: 50%;
  background: none;
  font-size: .95rem;
  cursor: pointer;
  color: #556677;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, background .15s, color .15s;
}
.modal-x:hover { border-color: #c0392b; background: #fdecea; color: #c0392b; }
.modal-cnt {
  padding: 18px 22px 26px;
  font-size: .86rem;
  color: #334455;
  line-height: 1.75;
}
.modal-cnt h4 { color: #0e2040; margin: 14px 0 4px; font-size: .94rem; }
.modal-cnt h4:first-child { margin-top: 0; }
.modal-cnt p { margin-bottom: 8px; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 780px) {
  .main-wrap { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px 32px; }
  .col-left { order: 2; }
  .col-right { order: 1; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-item { flex-direction: row; text-align: left; }
  .adv-icon { width: 50px; height: 50px; font-size: 1.3rem; flex-shrink: 0; }
}
@media (max-width: 720px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) {
  .topbar { padding: 0 14px; }
  .topbar-sub { display: none; }
  .topbar-name { font-size: .92rem; }
  .topbar-phone { font-size: .84rem; padding: 6px 13px; }
  .hero-header { padding: 22px 16px 18px; }
  .date-row { grid-template-columns: 65px 72px 1fr; gap: 4px; }
  .form-body { padding: 16px 14px 18px; }
}
@media (max-width: 440px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) {
  .date-row { grid-template-columns: 1fr 1fr; }
  .date-row .yr { grid-column: 1 / -1; }
}
