/* =========================================================
   OURCREATIVITY — DEMANDE DE DEVIS V2
   ========================================================= */

.page-devis-v2 {
  --quote-blue: var(--oc-blue, #0258c0);
  --quote-blue-dark: #073a7a;
  --quote-navy: var(--oc-ink, #102033);
  --quote-turquoise: var(--oc-turquoise, #18c7c8);
  --quote-yellow: var(--oc-yellow, #ffd23f);
  --quote-coral: #ff735d;
  --quote-muted: #657386;
  --quote-soft: #f4f8fc;
  --quote-border: rgba(16, 32, 51, 0.12);
  --quote-shadow: 0 24px 70px rgba(2, 54, 116, 0.12);
  color: var(--quote-navy);
}

.page-devis-v2 .py-lg-6 {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.quote-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 18%, rgba(24, 199, 200, 0.12), transparent 29%),
    radial-gradient(circle at 91% 15%, rgba(255, 210, 63, 0.18), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
  border-bottom: 1px solid var(--quote-border);
}

.quote-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(2, 88, 192, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 88, 192, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 50%, transparent 100%);
}

.quote-hero__shape {
  position: absolute;
  display: block;
  pointer-events: none;
  border-radius: 50%;
}

.quote-hero__shape--blue {
  bottom: -9rem;
  left: -8rem;
  width: 19rem;
  height: 19rem;
  border: 2.8rem solid rgba(2, 88, 192, 0.055);
}

.quote-hero__shape--yellow {
  top: 7%;
  right: 3%;
  width: 5.8rem;
  height: 5.8rem;
  background: rgba(255, 210, 63, 0.28);
}

.quote-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  color: var(--quote-muted);
  font-size: 0.84rem;
}

.quote-breadcrumb a {
  color: var(--quote-blue);
  text-decoration: none;
}

.quote-breadcrumb a:hover,
.quote-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.quote-eyebrow {
  color: var(--quote-blue);
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.quote-hero__title {
  max-width: 13ch;
  color: var(--quote-navy);
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.quote-hero__title span {
  color: var(--quote-blue);
}

.quote-hero__lead {
  max-width: 48rem;
  color: #34465a;
  font-size: clamp(1.07rem, 1.8vw, 1.26rem);
  line-height: 1.68;
}

.quote-hero__support {
  max-width: 45rem;
  color: var(--quote-muted);
  line-height: 1.72;
}

.quote-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.quote-hero__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 49px;
}

.quote-hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.3rem;
  padding: 0;
  margin-bottom: 0;
  color: var(--quote-muted);
  font-size: 0.87rem;
  list-style: none;
}

.quote-hero__reassurance li {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
}

.quote-hero__reassurance i {
  color: var(--quote-blue);
}

.quote-journey {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2.1rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(2, 88, 192, 0.13);
  border-radius: 32px 12px 32px 18px;
  box-shadow: var(--quote-shadow);
  backdrop-filter: blur(10px);
}

.quote-journey::after {
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 11rem;
  height: 11rem;
  content: "";
  border: 1.8rem solid rgba(24, 199, 200, 0.08);
  border-radius: 50%;
}

.quote-journey__header,
.quote-journey__steps,
.quote-journey__note {
  position: relative;
  z-index: 1;
}

.quote-journey__header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--quote-border);
}

.quote-journey__header > span {
  color: var(--quote-blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-journey__header h2 {
  max-width: 18ch;
  margin: 0.45rem 0 0;
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.quote-journey__steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.quote-journey__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--quote-border);
}

.quote-journey__number {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--quote-blue);
  background: rgba(2, 88, 192, 0.08);
  border-radius: 50%;
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: 0.72rem;
  font-weight: 850;
}

.quote-journey__steps div {
  display: grid;
  gap: 0.25rem;
}

.quote-journey__steps strong {
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: 0.98rem;
}

.quote-journey__steps small {
  color: var(--quote-muted);
  line-height: 1.55;
}

.quote-journey__note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.25rem 0 0;
  color: var(--quote-muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.quote-journey__note i {
  flex: 0 0 auto;
  margin-top: 0.08rem;
  color: var(--quote-turquoise);
}

.quote-form-section {
  background: #fff;
}

.quote-alert {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px solid;
  border-radius: 1rem;
}

.quote-alert > i {
  flex: 0 0 auto;
  margin-top: 0.12rem;
  font-size: 1.2rem;
}

.quote-alert strong,
.quote-alert p {
  display: block;
}

.quote-alert p {
  margin: 0.18rem 0 0;
}

.quote-alert--success {
  color: #145a45;
  background: #effbf6;
  border-color: rgba(20, 122, 86, 0.2);
}

.quote-alert--error {
  color: #8d2e2a;
  background: #fff5f4;
  border-color: rgba(185, 62, 54, 0.22);
}

.quote-form {
  position: relative;
  padding: clamp(1.35rem, 3.5vw, 2.7rem);
  background: #fff;
  border: 1px solid var(--quote-border);
  border-radius: 30px 12px 30px 18px;
  box-shadow: 0 20px 65px rgba(8, 38, 73, 0.08);
}

.quote-form__header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--quote-border);
}

.quote-form__header h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: clamp(1.8rem, 3.7vw, 2.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.quote-form__header p:last-child {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--quote-muted);
  line-height: 1.65;
}

.quote-form__time {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.58rem 0.8rem;
  color: var(--quote-blue-dark);
  background: rgba(2, 88, 192, 0.08);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

.quote-context-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  margin-top: 1.5rem;
  color: #315268;
  background: #f1fbfb;
  border: 1px solid rgba(24, 199, 200, 0.18);
  border-radius: 1rem;
}

.quote-context-note > i {
  flex: 0 0 auto;
  color: #079596;
  font-size: 1.2rem;
}

.quote-context-note div {
  display: grid;
  gap: 0.15rem;
}

.quote-context-note strong {
  font-size: 0.88rem;
}

.quote-context-note span {
  color: var(--quote-muted);
  font-size: 0.83rem;
}

.quote-step {
  padding: 0;
  margin: 0;
  border: 0;
}

.quote-step + .quote-step {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--quote-border);
}

.quote-step legend {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  width: 100%;
  margin-bottom: 1.75rem;
}

.quote-step legend > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  color: #fff;
  background: var(--quote-blue);
  border-radius: 50%;
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: 0.75rem;
  font-weight: 850;
}

.quote-step legend div {
  display: grid;
  gap: 0.18rem;
}

.quote-step legend strong {
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: 1.2rem;
  line-height: 1.2;
}

.quote-step legend small {
  color: var(--quote-muted);
  font-size: 0.84rem;
}

.quote-field + .quote-field {
  margin-top: 1.65rem;
}

.quote-label {
  display: block;
  margin-bottom: 0.65rem;
  color: #20364e;
  font-size: 0.89rem;
  font-weight: 750;
}

.quote-label > span,
.quote-label + span {
  color: #b83933;
}

.quote-form .form-control,
.quote-form .form-select {
  min-height: 3.2rem;
  color: var(--quote-navy);
  background-color: #fff;
  border-color: rgba(16, 32, 51, 0.17);
  border-radius: 0.9rem;
  box-shadow: none;
}

.quote-form textarea.form-control {
  min-height: 12rem;
  padding-top: 0.9rem;
  line-height: 1.65;
  resize: vertical;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
  border-color: rgba(2, 88, 192, 0.62);
  box-shadow: 0 0 0 0.25rem rgba(2, 88, 192, 0.1);
}

.quote-form .is-invalid {
  border-color: rgba(185, 62, 54, 0.58);
}

.quote-help,
.quote-help-row {
  color: var(--quote-muted);
  font-size: 0.78rem;
}

.quote-help {
  display: block;
  margin-top: 0.45rem;
}

.quote-help-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  justify-content: space-between;
  margin-top: 0.45rem;
}

.quote-help-row .quote-help {
  margin-top: 0;
}

.quote-error {
  margin: 0.48rem 0 0;
  color: #a63631;
  font-size: 0.8rem;
  font-weight: 650;
}

.quote-choice-grid,
.quote-check-grid {
  display: grid;
  gap: 0.7rem;
}

.quote-choice-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-choice-grid--stage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-choice,
.quote-check {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.quote-choice input,
.quote-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quote-choice > span,
.quote-check > span {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.78rem 0.9rem;
  color: #405166;
  background: #fff;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 0.9rem;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.35;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.quote-choice:hover > span,
.quote-check:hover > span {
  border-color: rgba(2, 88, 192, 0.35);
}

.quote-choice input:focus-visible + span,
.quote-check input:focus-visible + span {
  outline: 3px solid rgba(2, 88, 192, 0.2);
  outline-offset: 2px;
}

.quote-choice input:checked + span {
  color: var(--quote-blue-dark);
  background: rgba(2, 88, 192, 0.075);
  border-color: rgba(2, 88, 192, 0.55);
  box-shadow: inset 0 0 0 1px rgba(2, 88, 192, 0.1);
}

.quote-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-check > span {
  gap: 0.58rem;
  align-items: flex-start;
  min-height: 4rem;
}

.quote-check > span i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: -0.02rem;
  color: transparent;
  background: #eef2f6;
  border-radius: 0.42rem;
  font-size: 0.9rem;
}

.quote-check input:checked + span {
  color: var(--quote-blue-dark);
  background: rgba(24, 199, 200, 0.07);
  border-color: rgba(9, 151, 152, 0.45);
}

.quote-check input:checked + span i {
  color: #fff;
  background: #099798;
}

.quote-check-grid--objectives .quote-check > span {
  min-height: 3.4rem;
}

.quote-privacy {
  padding: 1rem 1.05rem;
  margin-top: 1.4rem;
  background: var(--quote-soft);
  border: 1px solid transparent;
  border-radius: 1rem;
}

.quote-privacy--error {
  background: #fff7f6;
  border-color: rgba(185, 62, 54, 0.2);
}

.quote-privacy label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  color: #4c5e72;
  font-size: 0.82rem;
  line-height: 1.55;
}

.quote-privacy input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.18rem;
  accent-color: var(--quote-blue);
}

.quote-privacy a {
  color: var(--quote-blue);
}

.quote-submit {
  display: flex;
  gap: 1rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.quote-submit .btn {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  min-width: 230px;
}

.quote-submit p {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  max-width: 25rem;
  margin: 0;
  color: var(--quote-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.quote-submit p i {
  flex: 0 0 auto;
  margin-top: 0.08rem;
  color: var(--quote-blue);
}

.quote-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.quote-aside {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
}

.quote-aside-card {
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--quote-border);
  border-radius: 1.35rem 0.7rem 1.35rem 0.7rem;
}

.quote-aside-card--primary {
  padding: 1.55rem;
  color: #fff;
  background: var(--quote-blue-dark);
  border-color: transparent;
  box-shadow: 0 18px 50px rgba(7, 58, 122, 0.18);
}

.quote-aside-card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.quote-aside-card--primary h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.quote-aside-card--primary .quote-eyebrow {
  color: #8ee5e4;
}

.quote-aside-card p {
  margin-bottom: 0;
  color: var(--quote-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.quote-aside-card--primary ul {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quote-aside-card--primary li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  line-height: 1.55;
}

.quote-aside-card--primary li i {
  margin-top: 0.15rem;
  color: var(--quote-turquoise);
}

.quote-aside-card--yellow {
  position: relative;
  overflow: hidden;
  background: #fffaf0;
  border-color: rgba(216, 155, 0, 0.18);
}

.quote-aside-card--yellow::after {
  position: absolute;
  right: -2.3rem;
  bottom: -2.5rem;
  width: 5.5rem;
  height: 5.5rem;
  content: "";
  background: rgba(255, 210, 63, 0.35);
  border-radius: 50%;
}

.quote-aside-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  color: #6d4f00;
  background: var(--quote-yellow);
  border-radius: 50%;
}

.quote-aside-card a {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.9rem;
  color: var(--quote-blue);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.quote-aside-card a:hover i {
  transform: translateX(3px);
}

.quote-aside-card a i {
  transition: transform 160ms ease;
}

.quote-why {
  background: var(--quote-soft);
  border-top: 1px solid rgba(2, 88, 192, 0.07);
}

.quote-section-title {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.quote-section-lead {
  color: var(--quote-muted);
  line-height: 1.75;
}

.quote-benefit {
  position: relative;
  height: 100%;
  padding: 1.35rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--quote-border);
  border-radius: 1.35rem 0.7rem 1.35rem 0.7rem;
}

.quote-benefit > span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(2, 88, 192, 0.18);
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: 1.1rem;
  font-weight: 850;
}

.quote-benefit > i {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  color: var(--quote-blue);
  background: rgba(2, 88, 192, 0.08);
  border-radius: 50%;
  font-size: 1.2rem;
}

.quote-benefit h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display, "Montserrat", sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
}

.quote-benefit p {
  margin: 0;
  color: var(--quote-muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

@media (max-width: 1199.98px) {
  .quote-aside {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .page-devis-v2 .py-lg-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .quote-hero__title {
    max-width: none;
  }

  .quote-aside {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .quote-form__header,
  .quote-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-form__time {
    align-self: flex-start;
  }

  .quote-choice-grid--compact,
  .quote-choice-grid--stage,
  .quote-check-grid {
    grid-template-columns: 1fr;
  }

  .quote-submit .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .quote-hero__actions {
    display: grid;
  }

  .quote-hero__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .quote-hero__reassurance {
    display: grid;
  }

  .quote-form {
    padding: 1.1rem;
    border-radius: 1.3rem 0.7rem 1.3rem 0.7rem;
  }

  .quote-step legend {
    align-items: flex-start;
  }

  .quote-step legend > span {
    width: 2.5rem;
    height: 2.5rem;
  }

  .quote-choice > span,
  .quote-check > span {
    min-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-choice > span,
  .quote-check > span,
  .quote-aside-card a i {
    transition: none;
  }
}
