:root {
  --ink: #14233b;
  --muted: #677184;
  --paper: #f6f7f8;
  --white: #ffffff;
  --line: #dfe3e8;
  --blue: #69459a;
  --blue-dark: #4c2f75;
  --yellow: #c9a7e8;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }

.site-header {
  height: 84px; padding: 0 clamp(20px, 5vw, 78px); display: flex; align-items: center;
  justify-content: space-between; background: var(--white); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; }
.brand-logo { width: 62px; height: 62px; object-fit: contain; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; color: white; background: var(--blue); font: 800 18px/1 Manrope, sans-serif; letter-spacing: -1px; }
.brand strong, .brand small { display: block; }
.brand strong { font: 800 17px/1.15 Manrope, sans-serif; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 14px; font-weight: 600; }
.header-nav { display: flex; align-items: center; gap: 25px; }
.header-nav a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; padding: 8px 0; }
.header-nav a:hover, .header-nav a:last-child { border-bottom-color: var(--yellow); }

.intro { min-height: 630px; display: grid; grid-template-columns: minmax(320px, .82fr) minmax(480px, 1.18fr); background: var(--white); }
.intro-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(28px, 6vw, 96px); }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.intro-copy > .eyebrow { white-space: nowrap; letter-spacing: .09em; }
h1, h2, h3 { font-family: Manrope, sans-serif; letter-spacing: -.045em; }
h1 { margin: 22px 0 24px; font-size: clamp(40px, 4.5vw, 62px); line-height: 1.02; }
.hero-france-logo { display: inline-block; width: 100px; height: auto; margin-left: 10px; vertical-align: middle; }
h1 em { color: var(--blue); font-style: normal; }
.intro-copy p { max-width: 530px; margin: 0 0 32px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.primary-cta { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 0; padding: 16px 22px; background: var(--blue); color: white; text-decoration: none; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.primary-cta:hover { background: var(--blue-dark); transform: translateY(-2px); }
.siret-row { display: flex; justify-content: flex-start; margin-top: 20px; }
.siret-row > label { width: 100%; }
.product-shot { position: relative; margin: 0; min-height: 520px; overflow: hidden; background: #e9ecef; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; }
.product-shot--logo { display: grid; place-items: center; padding: clamp(12px, 2vw, 28px); background: #fff; }
.product-shot--logo img { width: min(100%, 650px); height: auto; max-height: 100%; object-fit: contain; }
.product-shot figcaption { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); font-weight: 700; }
.product-shot figcaption span { color: var(--blue); }

.configurator { padding: 92px clamp(20px, 5vw, 78px) 100px; }
.section-heading { max-width: 670px; margin-bottom: 44px; }
.section-heading h2 { margin: 10px 0 12px; font-size: clamp(36px, 3.5vw, 50px); line-height: 1.05; white-space: nowrap; }
@media(max-width:700px){.section-heading h2{white-space:normal;}}
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.license-notice { margin-top: 18px !important; color: var(--blue) !important; font-size: 13px !important; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.catalogue-filters { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 10px; margin-top: 28px; }
.catalogue-filter { flex: 0 0 auto; width: auto; min-width: max-content; min-height: 42px; padding: 9px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: 800 10px/1.15 "DM Sans", sans-serif; letter-spacing: .035em; white-space: nowrap; }
.catalogue-filter:hover { border-color: var(--blue); }
.catalogue-filter.active { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px var(--blue); }

.builder-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 26px; align-items: start; }
.steps { display: grid; gap: 18px; }
.step-card { min-width: 0; margin: 0; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.step-card legend { padding: 0 10px 0 0; font: 800 20px Manrope, sans-serif; }
.step-card legend span { display: inline-grid; width: 31px; height: 31px; margin-right: 10px; place-items: center; color: white; background: var(--ink); font-size: 14px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 24px; }
.choice-card { position: relative; padding: 18px; border: 1px solid var(--line); cursor: pointer; transition: border .2s, box-shadow .2s; }
.choice-card input, .swatch input, .upload-zone input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { margin-bottom: 7px; }
.choice-card small { color: var(--muted); line-height: 1.45; }
.choice-card.selected { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choice-card.selected::after { content: "✓"; position: absolute; top: 10px; right: 12px; color: var(--blue); font-weight: 800; }
.product-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.product-choice { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); background: white; transition: border .2s, box-shadow .2s, transform .2s; }
.product-choice:hover { transform: translateY(-2px); }
.product-selector { display: block; }
.product-choice.selected { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.product-choice.selected::after { content: "✓"; position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-weight: 800; }
.product-image { display: block; height: 250px; overflow: hidden; background: #f7f7f7; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-image { position: relative; }
.image-zoom { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--blue); color: white; font-size: 24px; cursor: pointer; box-shadow: 0 5px 16px rgba(20,35,59,.18); }
.quantity-control { display: grid; grid-template-columns: 42px 62px 42px; height: 44px; border: 1px solid #cfd5dd; background: white; }
.quantity-control button { border: 0; background: #f2f4f7; color: var(--blue); font-size: 24px; font-weight: 800; cursor: pointer; }
.quantity-control button:disabled { opacity: .35; cursor: not-allowed; }
.quantity-value { display: grid; place-items: center; font-weight: 800; }
.ean-value,.carton-price { color: var(--ink) !important; }
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; justify-content: center; align-items: center; gap: 18px; padding: 12px 18px; background: white; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(20,35,59,.12); }
.cart-view { min-height: 48px; padding: 12px 22px; border: 0; border-radius: 5px; background: var(--blue); color: white; font-size: 17px; cursor: pointer; }
.cart-total { display: flex; align-items: center; gap: 12px; font-size: 22px; }
.cart-count { display: grid; min-width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-weight: 800; }
body { padding-bottom: 82px; }
.product-info { display: block; padding: 4px 17px 17px; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; border-top: 1px solid var(--line); }
.product-row > span { color: var(--muted); font-size: 14px; }
.product-row strong { font: 800 18px Manrope, sans-serif; }
.product-row strong small { display: block; margin-top: 3px; color: var(--muted); font: 500 12px/1.35 "DM Sans", sans-serif; }
.product-row b { color: var(--blue); font-size: 14px; }
.quantity-row select { width: 142px; min-height: 40px; margin: 0; padding: 8px 10px; font-weight: 700; }
.product-choice.out-of-stock .product-image { opacity: .55; }
.product-choice.out-of-stock .stock-value { color: #9b2c2c; }
.catalogue-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.catalogue-loading { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.demo-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.field-label, .step-card > label:not(.upload-zone) { display: block; margin-bottom: 8px; font-weight: 700; }
select, input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; min-height: 50px; margin-top: 8px; padding: 12px 14px; border: 1px solid #cfd5dd; border-radius: 0; background: white; color: var(--ink); outline: none; }
select:focus, input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,89,216,.12); }
.color-row { display: flex; gap: 17px; flex-wrap: wrap; margin: 12px 0 27px; }
.swatch { text-align: center; cursor: pointer; }
.swatch span { display: block; width: 43px; height: 43px; margin: 0 auto 6px; border: 2px solid white; outline: 1px solid #cbd0d7; background: var(--swatch); border-radius: 50%; transition: transform .2s, outline .2s; }
.swatch small { color: var(--muted); }
.swatch.selected span { transform: scale(1.08); outline: 3px solid var(--blue); outline-offset: 2px; }
.quantity-line { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 20px; }
.quantity-line > label { font-weight: 700; }
.quantity-line > small { grid-column: 1; color: var(--muted); }
.quantity-control { grid-row: span 2; display: grid; grid-template-columns: 46px 90px 46px; height: 48px; border: 1px solid #cfd5dd; }
.quantity-control button { border: 0; background: #f2f4f7; color: var(--ink); font-size: 23px; cursor: pointer; }
.quantity-control input { width: 100%; border: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-scale { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-scale > strong { display: block; margin-bottom: 12px; }
.price-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.price-tier { padding: 12px 8px; border: 1px solid var(--line); text-align: center; background: #fafbfc; }
.price-tier span, .price-tier b { display: block; }
.price-tier span { margin-bottom: 4px; color: var(--muted); font-size: 13px; }
.price-tier.active { border-color: var(--blue); background: #edf4ff; color: var(--blue); }
.upload-zone { display: grid; place-items: center; padding: 30px 20px; border: 1px dashed #aab3c0; text-align: center; cursor: pointer; background: #fafbfc; }
.upload-zone:hover { border-color: var(--blue); background: #f4f8ff; }
.upload-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 10px; border-radius: 50%; color: white; background: var(--blue); font-size: 23px; }
.upload-zone small { margin-top: 5px; color: var(--muted); }
.file-preview { display: flex; align-items: center; gap: 13px; margin-top: 14px; padding: 12px; background: #f1f5fb; }
.file-preview img { width: 52px; height: 52px; object-fit: contain; background: white; }
.file-preview div { min-width: 0; flex: 1; }
.file-preview strong, .file-preview small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-preview small { color: var(--muted); }
.file-preview button { border: 0; color: #9b2c2c; background: none; cursor: pointer; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.two-columns label { font-weight: 700; }
textarea { resize: vertical; }

.summary { position: sticky; top: 24px; padding: 30px; background: var(--ink); color: white; box-shadow: 0 18px 50px rgba(20,35,59,.15); }
.summary-top { display: flex; align-items: center; justify-content: space-between; }
.summary .eyebrow { color: #8eb7ff; }
.status { padding: 5px 9px; border: 1px solid rgba(255,255,255,.22); font-size: 12px; color: #cbd5e5; }
.summary h3 { margin: 14px 0 24px; font-size: 34px; }
.summary .franco-boomerang--summary { margin: 0 0 20px; font-size: 15px; line-height: 1.45; color: #c7b0e7; text-align: center; }
.summary-benefits { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 20px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.summary-benefits div { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 62px; padding: 10px 8px; text-align: center; color: #fff; font-size: 13px; line-height: 1.25; }
.summary-benefits div + div { border-left: 1px solid rgba(255,255,255,.18); }
.summary-benefits span { font-size: 18px; line-height: 1; }
.summary-benefits strong { font-weight: 700; }
.summary dl { margin: 0; }
.summary dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.13); }
.summary dt { color: #aeb9c9; }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
#sum-color-dot { display: inline-block; width: 10px; height: 10px; margin-right: 7px; background: #ede5d5; border-radius: 50%; }
.notice { margin: 24px 0; color: #bdc7d5; font-size: 14px; line-height: 1.55; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-top: 22px; padding: 20px 0 0; border-top: 2px solid rgba(255,255,255,.35); }
.total-line span { color: #c6d0dd; }
.total-line strong { color: var(--yellow); font: 800 28px Manrope, sans-serif; }
.submit-button { display: flex; width: 100%; justify-content: space-between; padding: 17px 18px; border: 0; background: var(--yellow); color: #172033; font-weight: 800; cursor: pointer; }
.submit-button:hover { background: #d9bdf0; }
.submit-button:disabled { opacity: .55; cursor: not-allowed; }
.form-error { margin: 13px 0 0; padding: 11px 12px; background: #ffe8e8; color: #8f2424; font-size: 14px; line-height: 1.45; }
.privacy { display: block; margin-top: 12px; color: #96a4b7; line-height: 1.4; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-section { padding: 82px clamp(20px,8vw,130px) 96px; background: var(--white); border-top: 1px solid var(--line); }
.contact-copy { max-width: 860px; margin: 0 auto 42px; text-align: center; }
.contact-copy h2 { margin: 10px 0 14px; font-size: clamp(34px,4vw,52px); line-height: 1.08; }
.contact-copy p { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,1fr); align-items: stretch; gap: clamp(28px,4vw,56px); max-width: 1240px; margin: 0 auto; }
.contact-trust { display: flex; align-items: center; justify-content: center; min-height: 100%; background: #fff; overflow: hidden; }
.contact-trust img { display: block; width: 100%; max-width: 760px; height: auto; object-fit: contain; }
.contact-form { padding: 24px; height: 442px; color: white; background: var(--blue-dark); box-shadow: 0 18px 50px rgba(76,47,117,.18); }
.contact-form label { display: block; font-weight: 700; }
.contact-form .two-columns { margin-top: 0; margin-bottom: 12px; gap: 18px; }
.contact-form input, .contact-form textarea { border-color: rgba(255,255,255,.32); min-height: 42px; margin-top: 6px; padding: 9px 12px; }
.contact-form textarea { min-height: 80px; }
.contact-submit { display: flex; width: 100%; justify-content: space-between; margin-top: 12px; padding: 13px 16px; border: 0; color: var(--ink); background: var(--yellow); font-weight: 800; cursor: pointer; }
.contact-submit:hover { background: #d9bdf0; }
.contact-submit:disabled { opacity: .6; cursor: wait; }
.contact-privacy { margin: 8px 0 0; color: #d8cae9; font-size: 13px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px clamp(20px, 5vw, 78px); border-top: 1px solid var(--line); color: var(--muted); background: white; }
.admin-link { color: var(--muted); text-decoration: none; }
.admin-link:hover { color: var(--blue); }

.dialog-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(8,18,34,.7); }
.dialog-backdrop[hidden] { display: none; }
.dialog { position: relative; width: min(500px, 100%); padding: 44px; background: white; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.dialog-close { position: absolute; top: 11px; right: 15px; border: 0; background: none; font-size: 28px; color: var(--muted); cursor: pointer; }
.dialog-check { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 18px; border-radius: 50%; background: #e4f4e9; color: #1b7738; font-size: 25px; }
.dialog h2 { margin: 0 0 12px; font-size: 31px; }
.dialog p { color: var(--muted); line-height: 1.55; }
.dialog .primary-cta { margin-top: 10px; }

@media (max-width: 980px) {
  .intro { grid-template-columns: 1fr; }
  .intro-copy { min-height: 480px; }
  .product-shot { min-height: 480px; }
  .builder-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header { height: 72px; }
  .header-nav a:first-child { display: none; }
  .header-nav a:last-child { font-size: 0; }
  .header-nav a:last-child span { font-size: 24px; }
  .intro-copy { min-height: 440px; padding-top: 58px; padding-bottom: 58px; }
  .hero-france-logo { width: 86px; margin-left: 7px; }
  .intro-copy > .eyebrow { white-space: normal; letter-spacing: .08em; }
  .product-shot { min-height: 360px; }
  .product-shot img { object-position: center; }
  .configurator { padding-top: 68px; }
  .choice-grid, .two-columns, .product-choice-grid { grid-template-columns: 1fr; }
  .product-image { height: 280px; }
  .price-tiers { grid-template-columns: repeat(2, 1fr); }
  .step-card { padding: 22px 18px; }
  .quantity-line { grid-template-columns: 1fr; }
  .quantity-control { grid-row: auto; width: 182px; }
  .quantity-line > small { grid-column: auto; }
  footer { flex-direction: column; }
  .dialog { padding: 38px 24px; }
  .contact-section { padding-top: 68px; padding-bottom: 68px; }
  .contact-form { padding: 24px 18px; height: auto;}
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Conditions franco */
.franco-boomerang {
  display: inline-block;
  margin: 18px 0 0;
  padding: 9px 15px;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: transparent !important;
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
  line-height: 1.35;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow: none;
  animation: francoBoomerang 2.8s ease-in-out infinite;
  transform-origin: center;
}
.franco-boomerang--summary {
  display: block;
  margin: 14px 0 20px;
  padding: 8px 4px;
  text-align: center;
  color: var(--blue);
  background: transparent !important;
  border: 0;
  border-radius: 0;
  animation: francoSummaryBoomerang 4.2s ease-in-out infinite;
  transform-origin: center;
  text-shadow: none;
  font-size: clamp(1.3rem, 2.35vw, 1.65rem);
  font-weight: 800;
  font-style: italic;
}
@keyframes francoSummaryBoomerang {
  0%, 58%, 100% { transform: translateX(0) scale(1); }
  66% { transform: translateX(2px) scale(1.012); }
  73% { transform: translateX(-1px) scale(1.006); }
  80% { transform: translateX(1px) scale(1.003); }
}
@keyframes francoBoomerang {
  0%, 52%, 100% { transform: translateX(0) scale(1); text-shadow: none; }
  62% { transform: translateX(5px) scale(1.035); text-shadow: 0 0 10px rgba(105,69,154,.22); }
  70% { transform: translateX(-3px) scale(1.015); text-shadow: 0 0 5px rgba(105,69,154,.14); }
  78% { transform: translateX(2px) scale(1.005); text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .franco-boomerang { animation: none; }
  .franco-boomerang--summary { animation: none; }
}

}

@media(max-width:1100px){.catalogue-filters{flex-wrap:wrap}}
@media(max-width:600px){.catalogue-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.catalogue-filter{min-width:0;width:100%;}}

.footer-brand { display: flex; flex-direction: column; align-items: center; line-height: 1.2; text-align: center; }
.footer-brand strong { font-weight: 500; }
.footer-brand small { margin-top: 3px; font-size: 0.85em; }

@media(max-width:680px){
  .summary-benefits { grid-template-columns: 1fr; }
  .summary-benefits div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
}
