/* Quote page and contact page - templates/front/devis.html.twig, contact.html.twig (same palette as page-banner.css / landing.css) */
.quote { --q-navy: #0f2035; --q-red: #e5202e; --q-red-dark: #c8141f; --q-text: #1f2937; --q-muted: #5b6573; --q-line: #e2e6ec; --q-soft: #f3f5f8; padding: 56px 0 72px; background: var(--q-soft); color: var(--q-text); font-family: "Manrope", "Poppins", Arial, sans-serif; font-size: 15px; line-height: 1.6; }
.quote, .quote * { box-sizing: border-box; }
.quote__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.quote h2, .quote h3 { font-family: inherit; text-transform: none; letter-spacing: 0; }
.quote-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Form */
.quote-form { padding: 32px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px rgba(15, 32, 53, .08); scroll-margin-top: 24px; }
.quote .quote-form__title { margin: 0 0 4px; color: var(--q-navy); font-size: 24px; font-weight: 700; line-height: 1.25; }
.quote-form__hint { margin: 0 0 22px; color: var(--q-muted); font-size: 13px; }
.quote-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 22px; }
.quote-field--full { grid-column: 1 / -1; }
.quote-field label { display: block; margin: 0 0 6px; color: var(--q-navy); font-size: 13px; font-weight: 600; }
.quote-field__required { color: var(--q-red); }
.quote-field__optional { color: var(--q-muted); font-weight: 400; }
.quote-field input, .quote-field textarea { display: block; width: 100%; padding: 0 14px; border: 1px solid var(--q-line); border-radius: 10px; background: var(--q-soft); color: var(--q-text); font: inherit; font-size: 14px; font-weight: 500; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.quote-field input { height: 50px; }
.quote-field textarea { min-height: 130px; padding: 12px 14px; resize: vertical; }
.quote-field input::placeholder, .quote-field textarea::placeholder { color: #8a93a1; opacity: 1; font-weight: 400; }
.quote-field input:focus, .quote-field textarea:focus { outline: none; border-color: var(--q-red); background: #fff; box-shadow: 0 0 0 3px rgba(229, 32, 46, .12); }
.quote-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.quote-alert { display: flex; gap: 10px; align-items: baseline; margin-bottom: 14px; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.quote-alert--success { background: #e7f7ee; color: #0f6b3a; }
.quote-alert--error { background: #fdecee; color: var(--q-red-dark); }

/* Buttons (same shapes as .lp-btn on the landing pages) */
.quote .quote-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s; }
.quote .quote-btn:hover { transform: translateY(-1px); }
.quote .quote-btn--primary { background: var(--q-red); color: #fff; }
.quote .quote-btn--primary:hover { background: var(--q-red-dark); color: #fff; }
.quote .quote-btn--submit { width: 100%; min-height: 56px; border-radius: 10px; }
.quote .quote-btn--whatsapp { background: #25d366; color: #fff; }
.quote .quote-btn--whatsapp:hover { background: #1fb457; color: #fff; }
.quote .quote-btn--whatsapp .fa-whatsapp { font-size: 20px; }
.quote .quote-btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff; }
.quote .quote-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.quote .fa-arrow-right { font-size: 13px; }

/* Contact cards */
.quote-aside { display: grid; gap: 20px; }
.quote-card { padding: 26px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px rgba(15, 32, 53, .08); }
.quote-card p { margin: 0; }
.quote .quote-card__title { margin: 0 0 14px; color: var(--q-navy); font-size: 18px; font-weight: 700; line-height: 1.3; }
.quote-card--dark { position: relative; overflow: hidden; background: var(--q-navy); color: #dde3eb; }
.quote-card--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(229, 32, 46, .35), transparent 55%); pointer-events: none; }
.quote-card--dark > * { position: relative; }
.quote .quote-card--dark .quote-card__title { margin-bottom: 6px; color: #fff; }
.quote-card__buttons { display: grid; gap: 10px; margin-top: 18px; }
.quote .quote-card__email { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #fff; font-size: 14px; word-break: break-all; }
.quote .quote-card__email:hover { color: #fff; text-decoration: underline; }
.quote-card__email .fa-envelope { color: var(--q-red); }

.quote-agency { display: flex; gap: 14px; }
.quote-agency + .quote-agency { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--q-line); }
.quote-agency__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #fdecee; color: var(--q-red); font-size: 15px; }
.quote .quote-agency h3 { margin: 0 0 2px; color: var(--q-navy); font-size: 15px; font-weight: 700; }
.quote-agency p { color: var(--q-muted); font-size: 14px; line-height: 1.5; }
.quote-agency__phones { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px !important; }
.quote .quote-agency__phones a { color: var(--q-navy); font-weight: 600; white-space: nowrap; }
.quote .quote-agency__phones a:hover { color: var(--q-red); }

@media (max-width: 991px) {
    .quote__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
    .quote { padding: 28px 0 48px; }
    .quote__inner { gap: 20px; padding: 0 16px; }
    .quote-form, .quote-card { padding: 20px; }
    .quote-form__grid { grid-template-columns: minmax(0, 1fr); }
    .quote .quote-form__title { font-size: 20px; }
}
