@import url("../product-demo/styles.css");
.dimension-fields{grid-column:1/-1}

.customer-hero{max-width:1260px;margin:auto;padding:72px 32px 42px}.customer-hero h1{font:400 clamp(42px,6vw,72px)/1.03 Georgia,serif;margin:12px 0}.customer-hero h1 em{color:var(--teal);font-style:italic}.customer-hero>p:last-child{max-width:720px;color:var(--muted);font-size:17px;line-height:1.65}.customer-shell{position:relative;max-width:1260px;margin:0 auto 90px;padding:0 32px;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px}.customer-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:white}.customer-steps button{border:0;border-right:1px solid var(--line);background:white;padding:16px;display:flex;gap:10px;align-items:center;color:var(--muted)}.customer-steps button:last-child{border:0}.customer-steps button span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf0ed;font-weight:800}.customer-steps button.active{color:var(--teal);background:var(--mint)}.customer-steps button.active span{background:var(--teal);color:white}.customer-step{display:none;background:white;border:1px solid var(--line);padding:32px}.customer-step.active{display:block}.customer-step>header{display:grid;grid-template-columns:1fr auto;gap:4px 20px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:26px}.customer-step>header p{grid-column:1;margin:0;color:var(--teal);font-size:10px;font-weight:800;letter-spacing:.1em}.customer-step>header h2{grid-column:1;font:32px Georgia,serif;margin:0}.customer-step>header>span{grid-column:2;grid-row:1/3;align-self:center;background:var(--mint);color:var(--teal);padding:7px 10px;font-size:10px;font-weight:800}.price-hint{display:block;margin-top:7px;color:var(--teal);font-weight:750}.profile-choice{margin-top:24px;padding:20px;background:#f7f7f4;border:1px solid var(--line)}.profile-choice small{display:block;margin-top:8px;color:var(--muted)}.consent{display:flex;gap:12px;align-items:flex-start;margin:22px 0;line-height:1.5}.consent input{margin-top:4px}.privacy-card{display:flex;flex-direction:column;gap:4px;padding:16px 18px;background:var(--mint);color:var(--teal);font-size:12px}.live-price{position:sticky;top:92px;align-self:start;background:var(--ink);color:white;padding:26px;min-height:300px}.live-price>span{font-size:9px;letter-spacing:.12em;color:#9bcac5}.live-price>strong{display:block;font:38px Georgia,serif;margin:15px 0 5px}.live-price>small{color:#c5cecb}.live-price>p{border-top:1px solid #ffffff25;margin:20px 0 0;padding-top:14px;color:#aeb8b5;font-size:10px;line-height:1.6}.live-selection{margin:18px 0;padding:12px;background:#ffffff0b;font-size:11px;line-height:1.55}.live-selection b{display:block;color:white}.live-selection span{color:#aeb8b5}.live-lines{border-top:1px solid #ffffff25}.live-lines>div{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 0;border-bottom:1px solid #ffffff18;font-size:11px}.live-lines b{font-weight:650}.live-lines small{display:block;margin-top:3px;color:#9ba7a4}.live-lines strong{color:#d5eee9}.live-lines p{color:#aeb8b5;font-size:11px}.customer-proposal{border:1px solid var(--line);padding:30px;background:#fff}.proposal-heading{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid var(--teal);padding-bottom:18px;margin-bottom:20px}.proposal-heading small{display:block;font-size:9px;color:var(--muted);letter-spacing:.1em}.proposal-heading h3{font:27px Georgia,serif;margin:4px 0}.customer-proposal footer{margin-top:20px;padding-top:18px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto}.customer-proposal footer strong{font:30px Georgia,serif;color:var(--teal)}.customer-proposal footer small{grid-column:1/-1;text-align:right;color:var(--muted)}.customer-explanations{font-size:11px;color:var(--muted);line-height:1.5}.submission-message{margin-top:18px;padding:16px;background:var(--mint);color:var(--teal)}.result-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.hidden{display:none!important}
@media(max-width:820px){.customer-hero{padding:45px 18px 30px}.customer-shell{display:flex;flex-direction:column;padding:0 14px}.customer-steps{margin-bottom:14px;order:0}.customer-steps button{justify-content:center;padding:10px}.customer-steps button b{display:none}#customer-form{order:1}.customer-step{padding:22px 17px}.live-price{position:sticky;z-index:20;bottom:8px;top:auto;order:2;min-height:0;max-height:42vh;overflow:auto;padding:16px 18px;border:1px solid #ffffff25}.live-price>strong{margin:8px 0 3px;font-size:27px}.live-selection{margin:10px 0}.live-lines>div{padding:7px 0}.customer-shell{margin-bottom:70px}.proposal-heading{display:block}.proposal-heading>div:last-child{margin-top:14px}.result-actions{flex-wrap:wrap}}
@media print{.topbar,.customer-hero,.customer-steps,.customer-step:not([data-step="proposal"]),.live-price,.step-actions,.result-actions,body>footer,.submission-message{display:none!important}.customer-shell{display:block;margin:0;padding:0}.customer-step[data-step="proposal"]{display:block;border:0;padding:0}.customer-proposal{border:0}.customer-step>header{display:none}}
.catalog-container{overflow-x:auto;border:1px solid var(--line);background:#fff}.catalog-table{min-width:640px}.catalog-row{display:grid;grid-template-columns:minmax(220px,1fr) 125px 105px 125px;align-items:center;border-bottom:1px solid var(--line)}.catalog-row:last-child{border-bottom:0}.catalog-row>span,.catalog-row>label,.catalog-row>strong{padding:14px 16px}.catalog-head{background:#f4f5f1;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.catalog-product b,.catalog-product small{display:block}.catalog-product small{margin-top:3px;color:var(--muted);font-size:11px;font-weight:400}.catalog-unit-price{font-weight:750;color:var(--ink)}.catalog-quantity input{width:72px;padding:9px;border:1px solid var(--line);background:#fff;text-align:center;font:700 14px system-ui}.catalog-quantity input:focus{outline:0;border-color:var(--teal);box-shadow:0 0 0 3px rgba(12,107,98,.1)}.catalog-row>strong{color:var(--teal);font-variant-numeric:tabular-nums}.sr-only{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:820px){.catalog-table{min-width:560px}.catalog-row{grid-template-columns:minmax(190px,1fr) 115px 95px 115px}.catalog-row>span,.catalog-row>label,.catalog-row>strong{padding:12px 11px}}

/* FR-022 — Vue catalogue client alignée sur la grille entreprise, simplifiée. */
@media(min-width:821px){.customer-hero,.customer-shell{max-width:1440px}.customer-shell{grid-template-columns:minmax(0,1fr) 370px}}
.catalog-intro{display:flex;flex-direction:column;gap:5px;margin:-8px 0 20px;padding:14px 16px;border-left:3px solid var(--teal);background:var(--mint)}.catalog-intro b{font-size:14px}.catalog-intro span{color:var(--muted);font-size:12px;line-height:1.5}.catalog-container{margin-top:2px}.catalog-row{min-height:72px;transition:background-color .15s,border-color .15s}.catalog-row.selected{background:var(--mint);box-shadow:inset 3px 0 var(--teal)}.catalog-row.selected .catalog-product b,.catalog-row.selected>strong{color:var(--teal)}.catalog-row>strong{text-align:right}.catalog-head{min-height:44px}.catalog-head>span:last-child{text-align:right}.catalog-quantity{display:flex;justify-content:center}.catalog-quantity input{border-radius:2px}.live-price{max-height:calc(100vh - 112px);overflow:auto}.live-lines{max-height:48vh;overflow:auto;scrollbar-width:thin}.live-price>strong{font-variant-numeric:tabular-nums}

/* BR-014 — Catalogue intégral sans ascenseur horizontal. */
.catalog-container{overflow-x:visible;width:100%;min-width:0}.catalog-table{width:100%;min-width:0}.catalog-row{width:100%;grid-template-columns:minmax(0,1.8fr) minmax(82px,.72fr) minmax(74px,.58fr) minmax(92px,.78fr)}.catalog-product{min-width:0;overflow-wrap:anywhere}.catalog-row>span,.catalog-row>label,.catalog-row>strong{min-width:0;padding:13px 12px}.catalog-unit-price,.catalog-row>strong{white-space:nowrap}.catalog-quantity input{max-width:100%;width:68px}
.field-grid>.full{grid-column:1/-1}.catalog-container.full{width:100%}
@media(max-width:600px){.catalog-row{grid-template-columns:minmax(0,1fr) 78px 86px;min-height:0;padding:12px}.catalog-head{display:none}.catalog-row>.catalog-product{grid-column:1/-1;padding:0 0 10px}.catalog-row>.catalog-unit-price,.catalog-row>.catalog-quantity,.catalog-row>strong{padding:8px 5px;border-top:1px solid var(--line)}.catalog-row>.catalog-unit-price:before{content:"Prix";display:block;color:var(--muted);font-size:9px;font-weight:600}.catalog-row>.catalog-quantity:before{content:"Quantité";display:block;color:var(--muted);font-size:9px;font-weight:600}.catalog-row>strong:before{content:"Total";display:block;color:var(--muted);font-size:9px;font-weight:600}.catalog-quantity{display:block}.catalog-quantity input{width:64px;margin-top:3px}.catalog-row>strong{text-align:right}}

/* FR-024 — Lecture HT / taxes / TTC et zone de précision plus confortable. */
.live-summary{margin-top:14px;border-top:1px solid #ffffff25}.live-summary>div{display:flex;justify-content:space-between;align-items:center;padding:11px 0;color:#c5cecb;font-size:11px}.live-summary strong{color:white;font-variant-numeric:tabular-nums}.live-summary .live-ttc{margin:4px -26px -26px;padding:16px 26px;background:var(--teal);color:white}.live-summary .live-ttc span{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.live-summary .live-ttc strong{font:22px Georgia,serif}.contact-note{margin-top:8px}.contact-note textarea{display:block;width:100%;min-height:140px;margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:2px;background:#fbfaf7;color:var(--ink);font:14px/1.5 system-ui;resize:vertical;outline:none}.contact-note textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(8,117,107,.1)}
@media(max-width:820px){.live-summary .live-ttc{margin:4px -18px -16px;padding:13px 18px}}
.result-link{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid var(--line);color:var(--teal);font-size:12px;font-weight:800;text-decoration:none}.result-actions button{margin:0}.result-actions>*{min-height:42px}

:root {
  --ink: #132445;
  --navy: #132445;
  --muted: #52637d;
  --teal: #2452c3;
  --teal-2: #1c3f9b;
  --mint: #edf3ff;
  --paper: #f6f8fc;
  --line: #d7e0ed;
  --client-gutter: 24px;
}

body { font: 1rem/1.45 Arial, Helvetica, sans-serif; }
.topbar {
  position: static;
  height: auto;
  padding: 0;
  background: var(--paper);
  border-color: var(--line);
}
.customer-topbar-inner {
  display: flex;
  align-items: center;
  width: min(100%, 1280px);
  min-height: 76px;
  margin-inline: auto;
  padding-inline: var(--client-gutter);
}
.customer-topbar-inner .brand { gap: 10px; }
.customer-topbar-inner img { flex: none; object-fit: contain; }
.customer-topbar-inner .brand strong { font-size: 1rem; letter-spacing: .02em; }
.customer-topbar-inner .brand small {
  margin-top: 3px;
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body > main { padding: 0 0 48px; }
.customer-hero, .customer-shell { padding-inline: var(--client-gutter); }
.customer-hero { padding-block: 32px 20px; }
.customer-company {
  margin: 0 0 7px;
  color: var(--teal);
  font-size: .85rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.customer-hero h1 { font: 750 clamp(1.65rem, 4vw, 2.75rem)/1.12 Arial, Helvetica, sans-serif; margin: 0; }
.customer-shell { gap: 18px; margin-bottom: 0; }
.customer-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.customer-steps, .customer-step, .live-price { border-radius: 14px; }
.customer-steps { overflow: hidden; }
.customer-steps button { min-width: 0; gap: 7px; }
.customer-steps button span { flex: 0 0 25px; height: 25px; }
.customer-step > header h2, .live-price > strong, .customer-proposal h3, .customer-proposal footer strong, .live-summary .live-ttc strong { font-family: inherit; font-weight: 700; }
.customer-step > header { padding-bottom: 14px; margin-bottom: 18px; }
.customer-step > header > span { grid-row: 1; }
.estimate-note { color: var(--muted); font-size: .875rem; }
.demo-whatsapp:not([hidden]) { display: grid; justify-items: start; gap: 6px; margin-bottom: 22px; }
.demo-whatsapp small { color: var(--muted); }
.whatsapp-action { padding: 11px 16px; border-radius: 10px; background: #176747; color: white; font-weight: 700; text-decoration: none; }
.step-actions button { border-radius: 9px; }
.live-selection:empty { display: none; }

@media (max-width: 820px) {
  :root { --client-gutter: 16px; }
  .customer-topbar-inner { min-height: 66px; }
  .customer-topbar-inner img { width: 30px; height: 30px; }
  .customer-topbar-inner .brand strong { font-size: .875rem; }
  .customer-topbar-inner .brand small { font-size: .55rem; }
  .customer-hero { padding-top: 25px; }
  .customer-steps { margin-bottom: 0; }
  .customer-steps button b { display: block; }
  .live-price { position: static; align-self: stretch; width: 100%; max-height: none; overflow: hidden; }
  .live-lines { max-height: none; overflow: visible; }
}

@media (max-width: 520px) {
  .customer-steps button { flex-direction: column; font-size: .75rem; padding: 9px 3px; }
  .customer-steps button span { flex: none; width: 23px; height: 23px; }
}

@media (max-width: 360px) {
  .catalog-row { grid-template-columns: minmax(0, 1fr) 61px 69px; padding-inline: 8px; }
}
