/* GDN — Demande de devis (maquette) */
.topbar-slogan {
  font-weight: 600;
  opacity: .95;
}
@media (max-width: 900px) {
  .topbar-slogan { display: none; }
}

.quote-hero {
  position: relative;
  color: #fff;
  padding: 2.5rem 0 2.75rem;
  overflow: hidden;
}
.quote-hero-media { position: absolute; inset: 0; }
.quote-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.quote-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,26,61,.92) 0%, rgba(0,26,61,.7) 55%, rgba(0,26,61,.45) 100%),
    linear-gradient(180deg, rgba(0,11,29,.2), rgba(0,11,29,.55));
}
.quote-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.quote-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  font-size: .8rem; color: rgba(255,255,255,.75); margin-bottom: 1rem;
}
.quote-breadcrumb a { color: rgba(255,255,255,.9); }
.quote-breadcrumb a:hover { color: var(--accent, #38bdf8); }
.quote-breadcrumb svg { width: 14px; height: 14px; }
.quote-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800; letter-spacing: -.02em;
}
.quote-hero > .gdn-container > p,
.quote-hero-inner > p {
  margin: .75rem 0 0;
  color: rgba(255,255,255,.84);
  font-size: 1rem; max-width: 38rem; line-height: 1.55;
}
.quote-hero-points {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem;
}
.quote-hero-points li {
  display: flex; align-items: center; gap: .7rem;
}
.qhp-icon {
  width: 42px; height: 42px; border-radius: 999px;
  background: rgba(0,102,255,.25); border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center; color: #7dd3fc; flex-shrink: 0;
}
.qhp-icon svg { width: 18px; height: 18px; }
.quote-hero-points strong { display: block; font-size: .9rem; }
.quote-hero-points span { display: block; font-size: .78rem; opacity: .8; }

.quote-main {
  background: #f5f7fb;
  padding: 2.25rem 0 3.5rem;
}
.quote-layout {
  display: grid; gap: 1.35rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1080px) {
  .quote-layout { grid-template-columns: 1.55fr .7fr; gap: 1.5rem; }
}

.quote-alert {
  background: #fef2f2; color: #b91c1c; border-radius: 12px;
  padding: .85rem 1rem; font-weight: 600; margin-bottom: 1rem;
}

.quote-stepper {
  display: flex; flex-wrap: wrap; gap: .35rem;
  background: #fff; border-radius: 14px;
  padding: .9rem 1rem; margin-bottom: 1rem;
  box-shadow: 0 4px 18px rgba(15,23,42,.05);
  border: 1px solid #e5eaf0;
}
.quote-step {
  display: flex; align-items: center; flex: 1; min-width: 120px;
}
.quote-step-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 0; background: transparent; cursor: pointer;
  padding: .25rem; color: #94a3b8; font-weight: 700; font-size: .82rem;
}
.quote-step-num {
  width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center;
  background: #e2e8f0; color: #64748b; font-size: .8rem;
}
.quote-step.is-active .quote-step-btn { color: #0f172a; }
.quote-step.is-active .quote-step-num {
  background: #0066ff; color: #fff;
  box-shadow: 0 6px 16px rgba(0,102,255,.3);
}
.quote-step.is-done .quote-step-num {
  background: #16a34a; color: #fff;
}
.quote-step-line {
  flex: 1; height: 2px; background: #e2e8f0; margin: 0 .35rem;
  min-width: 12px;
}
.quote-step.is-done .quote-step-line,
.quote-step.is-active .quote-step-line { background: #93c5fd; }

.quote-card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15,23,42,.06);
  border: 1px solid #e5eaf0;
  padding: 1.5rem 1.4rem 1.25rem;
}
.quote-pane-head { margin-bottom: 1.15rem; }
.quote-pane-head h2 { margin: 0; font-size: 1.25rem; }
.quote-pane-head p { margin: .35rem 0 0; color: #64748b; font-size: .9rem; }
.quote-pane-head em { color: #ef4444; font-style: normal; font-weight: 700; }

.quote-grid-2 {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .quote-grid-2 { grid-template-columns: 1fr 1fr; }
}
.qf-full { grid-column: 1 / -1; }

.qf { display: grid; gap: .4rem; }
.qf > span:first-child {
  font-size: .84rem; font-weight: 700; color: #0f172a;
}
.qf > span:first-child i { color: #ef4444; font-style: normal; }
.qf-input {
  display: flex; align-items: center; gap: .55rem;
  border: 1.5px solid #e2e8f0; border-radius: 10px;
  background: #fff; padding: 0 .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.qf-input:focus-within {
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0,102,255,.12);
}
.qf-input > svg { width: 16px; height: 16px; color: #94a3b8; flex-shrink: 0; }
.qf-input input, .qf-input select {
  flex: 1; border: 0; outline: 0; background: transparent;
  padding: .85rem 0; color: #0f172a; min-width: 0;
}
.qf-err { color: #dc2626; font-size: .78rem; font-weight: 600; }

.qf-editor {
  border: 1.5px solid #e2e8f0; border-radius: 12px; overflow: hidden;
  background: #fff;
}
.qf-toolbar {
  display: flex; flex-wrap: wrap; gap: .25rem;
  padding: .45rem .55rem; border-bottom: 1px solid #e5eaf0;
  background: #f8fafc;
}
.qf-toolbar button {
  width: 32px; height: 30px; border: 0; border-radius: 6px;
  background: transparent; cursor: pointer; color: #334155; font-weight: 700;
}
.qf-toolbar button:hover { background: #e2e8f0; }
.qf-editor textarea {
  width: 100%; border: 0; outline: 0; resize: vertical;
  min-height: 160px; padding: .9rem 1rem; font: inherit; color: #0f172a;
}
.qf-counter {
  text-align: right; padding: .35rem .85rem .55rem;
  font-size: .75rem; color: #94a3b8; border-top: 1px solid #f1f5f9;
}

.qf-drop {
  border: 1.5px dashed #93c5fd; border-radius: 14px;
  background: #f0f7ff; padding: 1.5rem 1rem;
  text-align: center; cursor: pointer;
  display: grid; gap: .35rem; justify-items: center;
  transition: background .2s, border-color .2s;
}
.qf-drop.is-drag, .qf-drop:hover {
  background: #e0efff; border-color: #0066ff;
}
.qf-drop svg { width: 32px; height: 32px; color: #0066ff; }
.qf-drop strong { font-size: .92rem; color: #0f172a; }
.qf-drop span { font-size: .78rem; color: #64748b; max-width: 28rem; }
.qf-drop em { font-style: normal; font-weight: 700; color: #0066ff; font-size: .85rem; }

.qf-consent {
  display: flex; gap: .65rem; align-items: flex-start;
  margin-top: 1rem; font-size: .9rem; color: #334155; font-weight: 500;
}
.qf-consent input { margin-top: .2rem; accent-color: #0066ff; width: 16px; height: 16px; }
.qf-consent i { color: #ef4444; font-style: normal; }

.quote-summary {
  background: #f8fafc; border: 1px solid #e5eaf0;
  border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1.15rem;
}
.quote-summary h3 { margin: 0 0 .65rem; font-size: .95rem; }
.quote-summary dl { margin: 0; display: grid; gap: .45rem; }
.quote-summary dl > div {
  display: grid; grid-template-columns: 100px 1fr; gap: .5rem;
  font-size: .88rem;
}
.quote-summary dt { color: #64748b; font-weight: 600; margin: 0; }
.quote-summary dd { margin: 0; font-weight: 600; color: #0f172a; }

.quote-actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: space-between; align-items: center;
  margin-top: 1.35rem; padding-top: 1.1rem;
  border-top: 1px solid #eef2f7;
}
.quote-actions-right { display: flex; gap: .65rem; margin-left: auto; }
.quote-actions .btn-primary,
.quote-actions .btn-outline {
  display: inline-flex; align-items: center; gap: .4rem;
}
.quote-actions .btn-primary svg,
.qs-help .btn-primary svg { width: 16px; height: 16px; }

/* Sidebar */
.quote-side { display: grid; gap: 1rem; }
.qs-why {
  position: relative; overflow: hidden;
  border-radius: 16px; color: #fff;
  background: linear-gradient(160deg, #001a3d, #0a2a5c);
  padding: 1.25rem 1.2rem 1.35rem;
}
.qs-why-visual {
  position: absolute; right: -10px; top: -10px;
  width: 120px; height: 120px; opacity: .35; pointer-events: none;
}
.qs-why-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.qs-why h3 { margin: 0 0 .85rem; font-size: 1.05rem; position: relative; max-width: 16ch; }
.qs-why ul { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: .55rem; }
.qs-why li {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: .86rem; line-height: 1.35;
}
.qs-why li svg {
  width: 16px; height: 16px; color: #38bdf8; flex-shrink: 0; margin-top: .1rem;
}

.qs-services, .qs-help, .qs-trust {
  background: #fff; border-radius: 16px;
  border: 1px solid #e5eaf0; box-shadow: 0 4px 18px rgba(15,23,42,.04);
  padding: 1.15rem 1.1rem;
}
.qs-services h3, .qs-help h3, .qs-trust h3 {
  margin: 0 0 .85rem; font-size: 1rem;
}
.qs-services-grid {
  display: grid; gap: .55rem;
  grid-template-columns: 1fr 1fr;
}
.qs-svc {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .5rem; border-radius: 10px;
  background: #f8fafc; border: 1px solid #eef2f7;
  font-size: .78rem; font-weight: 700; color: #0f172a;
  transition: border-color .2s, background .2s;
}
.qs-svc:hover { border-color: #93c5fd; background: #f0f7ff; }
.qs-svc img { width: 28px; height: 28px; object-fit: contain; }
.qs-svc svg { width: 16px; height: 16px; color: #0066ff; }

.qs-help .btn-primary.full { width: 100%; margin-bottom: .9rem; }
.qs-help-list { list-style: none; padding: 0; margin: 0 0 .85rem; display: grid; gap: .7rem; }
.qs-help-list li { display: flex; gap: .65rem; align-items: flex-start; }
.qs-help-list svg { width: 18px; height: 18px; color: #0066ff; margin-top: .15rem; }
.qs-help-list a { font-weight: 700; font-size: .9rem; color: #0f172a; }
.qs-help-list small { display: block; color: #64748b; font-size: .75rem; }
.qs-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  width: 100%; border-radius: 999px; padding: .75rem 1rem;
  background: #16a34a; color: #fff; font-weight: 700; font-size: .9rem;
}
.qs-wa:hover { background: #15803d; }
.qs-wa svg { width: 18px; height: 18px; }

.qs-trust p { margin: 0 0 .75rem; color: #64748b; font-size: .82rem; }
.qs-trust-slots { display: flex; flex-wrap: wrap; gap: .45rem; }
.qs-trust-slots span {
  border: 1px dashed #cbd5e1; border-radius: 8px;
  padding: .55rem .7rem; font-size: .75rem; font-weight: 600; color: #94a3b8;
}

/* Thanks page */
.quote-thanks {
  min-height: 60vh;
  display: grid; place-items: center;
  padding: 3rem 1rem;
  background: #f5f7fb;
}
.quote-thanks-card {
  width: min(100%, 520px);
  background: #fff; border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15,23,42,.08);
  border: 1px solid #e5eaf0;
  padding: 2rem 1.6rem; text-align: center;
}
.quote-thanks-card .qt-icon {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 999px; background: #ecfdf5; color: #16a34a;
  display: grid; place-items: center;
}
.quote-thanks-card .qt-icon svg { width: 28px; height: 28px; }
.quote-thanks-card h1 { margin: 0; font-size: 1.6rem; }
.quote-thanks-card p { color: #64748b; }
.quote-thanks-card strong { color: #0f172a; }
.quote-thanks-actions {
  display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center;
  margin-top: 1.25rem;
}

[x-cloak] { display: none !important; }
