/* =====================================
   LULU'S MAGIC TOUCH — STYLE PREMIUM
   Blanc / Or · Mobile first
===================================== */

/* RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: #2c2c2c;
    background: #ffffff;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

ul {
    list-style: none;
}

/* VARIABLES — Premium blanc / or */
:root {
    --gold: #c9a962;
    --gold-light: #e8d5a3;
    --gold-dark: #a8893f;
    --dark: #1a1a2e;
    --dark-soft: #2d2d44;
    --light-bg: #faf8f5;
    --cream: #f5f0e8;
    --text: #1a1a2e;
    --text-body: #3d3d3d;
    --text-muted: #555555;
    --white: #ffffff;
    --radius: 14px;
    --radius-pill: 50px;
    --shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.12);
    --container: 1140px;
    --transition: 0.25s ease;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--dark);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
    z-index: 10000;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

.section-inner {
    max-width: var(--container);
    margin: 0 auto;
}

section {
    padding: clamp(56px, 8vw, 96px) 20px;
}

/* TYPOGRAPHIE */
h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: var(--dark);
}

h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

p {
    margin-bottom: 16px;
    color: var(--text-body);
}

strong {
    color: var(--text);
}

/* Sections fond clair — texte lisible */
.bg-light,
.about,
.services,
.advantages,
.reviews,
.zones,
.faq,
.payment,
.devis-cta,
.page-hero,
.page-content,
.devis-section {
    color: var(--text);
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.page-hero h1,
.page-hero p,
.devis-form-title {
    color: var(--dark);
}

.page-hero p,
.bg-light p {
    color: var(--text-body);
}

/* Sections fond sombre — texte clair */
.hero h1,
.hero .hero-lead,
.qualification h2,
.qualification p,
.cta h2,
.cta p {
    color: var(--white);
}

.hero h1 {
    color: var(--white);
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.navbar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
}

.menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    transition: color var(--transition);
}

.menu a:hover {
    color: var(--gold-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* BOUTONS */
.btn-primary,
.btn-secondary,
.btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.35);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 169, 98, 0.45);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-text {
    padding: 0;
    background: none;
    color: var(--gold-dark);
    font-weight: 700;
    margin-top: 12px;
}

.btn-text:hover {
    color: var(--dark);
}

.btn-full {
    width: 100%;
}

.btn-stripe {
    width: 100%;
    margin-top: 20px;
    font-size: 1rem;
    padding: 16px 32px;
}

.btn-header {
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 12px 20px;
}

/* HERO */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(26, 26, 46, 0.82) 0%, rgba(26, 26, 46, 0.55) 100%),
        linear-gradient(160deg, #faf8f5 0%, #e8d5a3 40%, #c9a962 100%);
    color: var(--white);
    padding: 80px 20px;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--gold-light);
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-lead {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons,
.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ABOUT */
.about {
    background: var(--white);
}

.about .section-inner {
    text-align: center;
    max-width: 820px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    padding: 28px 16px;
    background: var(--light-bg);
    border-radius: var(--radius);
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* SERVICES */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 169, 98, 0.15);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-benefits {
    margin: 16px 0;
}

.service-benefits li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.service-benefits li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
    top: 2px;
}

/* AVANTAGES */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.advantage-card {
    padding: 32px 24px;
    background: var(--light-bg);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(201, 169, 98, 0.15);
}

.advantage-icon {
    display: block;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 12px;
}

/* AVIS */
.reviews {
    background: var(--cream);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
}

.review-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 16px;
}

.review-card footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-card cite {
    font-style: normal;
    font-weight: 700;
    font-size: 0.9rem;
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
}

/* ZONES */
.zones {
    text-align: center;
}

.zones .section-inner {
    max-width: 760px;
}

/* QUALIFICATION */
.qualification {
    background: var(--dark);
    color: var(--white);
}

.qualification h2,
.qualification p {
    color: var(--white);
}

.qualification p {
    opacity: 0.85;
}

.qualification-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.qualification-intro {
    text-align: left;
}

.qualification-intro h2 {
    text-align: left;
}

.qualification-steps {
    margin: 28px 0;
    counter-reset: step;
}

.qualification-steps li {
    position: relative;
    padding: 12px 0 12px 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.qualification-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.qualification-steps li.done {
    opacity: 1;
}

.qualification-steps li.done::before {
    background: var(--gold);
    color: var(--dark);
}

.qualification-steps li.active {
    opacity: 1;
    font-weight: 600;
}

.qualification-steps li.active::before {
    background: var(--gold-light);
    color: var(--dark);
}

.chat-preview-header,
.qualification-chat-preview {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chat-preview-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 16px 20px;
    font-weight: 700;
}

.chat-preview-body {
    background: var(--white);
    padding: 24px;
}

.chat-preview-msg {
    background: var(--light-bg);
    padding: 14px 18px;
    border-radius: 12px 12px 12px 4px;
    color: var(--text);
    font-size: 0.92rem;
    margin: 0;
}

/* PAIEMENT */
.payment {
    background: var(--light-bg);
}

.payment-intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 32px;
}

.payment-layout {
    max-width: 560px;
}

.payment-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.lead-summary {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 8px;
}

.lead-summary-empty {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
    text-align: center;
}

.lead-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.92rem;
}

.lead-summary-item:last-child {
    border-bottom: none;
}

.lead-summary-item span:first-child {
    color: var(--text-muted);
}

.lead-summary-item span:last-child {
    font-weight: 600;
    color: var(--text);
    text-align: right;
}

.payment-note {
    text-align: center;
    font-size: 0.82rem;
    margin-top: 16px;
    margin-bottom: 0;
}

.stripe-element-container {
    min-height: 0;
    margin-top: 16px;
}

.stripe-element-container.active {
    min-height: 40px;
    padding: 16px;
    border: 1px dashed rgba(201, 169, 98, 0.4);
    border-radius: 10px;
}

/* FAQ */
.faq details {
    max-width: 760px;
    margin: 0 auto 12px;
    padding: 20px 24px;
    background: var(--light-bg);
    border-radius: var(--radius);
    border: 1px solid rgba(201, 169, 98, 0.15);
}

.faq summary {
    font-weight: 700;
    cursor: pointer;
    color: var(--dark);
}

.faq details p {
    margin-top: 12px;
    margin-bottom: 0;
}

/* CTA */
.cta {
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.cta h2,
.cta p {
    color: var(--white);
}

.cta p {
    opacity: 0.85;
    margin-bottom: 28px;
}

/* FOOTER */
.site-footer {
    background: #0f0f1a;
    color: rgba(255, 255, 255, 0.75);
    padding: 56px 20px 24px;
}

.footer-grid {
    max-width: var(--container);
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: var(--container);
    margin: 0 auto;
}

/* CHATBOT */
#chatbot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

#chatbot-button {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(201, 169, 98, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

#chatbot-button:hover {
    transform: scale(1.06);
}

#chatbot-window {
    display: none;
    position: absolute;
    bottom: 72px;
    right: 0;
    width: min(360px, calc(100vw - 48px));
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    flex-direction: column;
}

#chatbot-window.open {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    padding: 14px 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.chatbot-rgpd {
    padding: 10px 14px;
    font-size: 0.72rem;
    background: var(--cream);
    color: var(--text-muted);
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chatbot-rgpd a {
    color: var(--gold-dark);
    font-weight: 600;
}

.chatbot-messages {
    height: 280px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.message.bot {
    background: var(--light-bg);
    color: var(--text);
    align-self: flex-start;
    border-radius: 12px 12px 12px 4px;
}

.message.user {
    background: var(--dark);
    color: var(--white);
    align-self: flex-end;
    border-radius: 12px 12px 4px 12px;
}

.chatbot-input-area {
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#chatbot-input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
}

#chatbot-send {
    padding: 0 18px;
    background: var(--gold);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 700;
}

.chatbot-actions {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.hidden {
    display: none !important;
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-content h2 {
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* PAGE INTERNE (services, contact, 404) */
.page-hero {
    background: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.page-hero h1 {
    margin-bottom: 12px;
}

.page-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.error-page h1 {
    font-size: clamp(4rem, 12vw, 8rem);
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-page h1 {
    margin-bottom: 24px;
}

.legal-page h2 {
    text-align: left;
    font-size: 1.2rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.devis-cta-inner p {
    margin-bottom: 28px;
    line-height: 1.7;
}

/* PAGE PAIEMENT */
.paiement-page .paiement-layout {
    max-width: 560px;
    margin: 0 auto;
}

.pack-recap {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    color: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius);
    margin-bottom: 28px;
    text-align: center;
}

.pack-recap-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.75;
    margin-bottom: 8px;
}

.pack-recap-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pack-recap-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-light);
}

.pack-recap-change {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--gold-light);
    text-decoration: underline;
}

.pack-selector-grid,
.pack-pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.pack-selector-card,
.pack-pay-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 20px;
    background: var(--white);
    border: 2px solid rgba(201, 169, 98, 0.25);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--dark);
    transition: transform var(--transition), border-color var(--transition);
    text-align: center;
}

.pack-selector-card:hover,
.pack-pay-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.pack-selector-name,
.pack-pay-card span {
    font-weight: 700;
    font-size: 0.95rem;
}

.pack-selector-price,
.pack-pay-card strong {
    font-size: 1.4rem;
    color: var(--gold-dark);
}

.pack-pay-card small,
.pack-selector-note {
    font-size: 0.78rem;
    color: var(--text-body);
    font-weight: 600;
}

.maintenance-notice {
    text-align: center;
    margin-top: 28px;
    padding: 16px 20px;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid rgba(201, 169, 98, 0.25);
    font-size: 0.92rem;
    color: var(--text-body);
}

.pack-recap-maintenance {
    font-size: 0.88rem;
    opacity: 0.85;
    margin-top: 8px;
    margin-bottom: 0;
}

.paiement-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.price-tag {
    font-size: 1.25rem;
    color: var(--gold-dark);
    margin: 12px 0 8px;
}

.service-card-highlight {
    border: 2px solid var(--gold);
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

/* DEVIS — Formulaire 2 étapes */
.devis-section {
    max-width: 640px;
    margin: 0 auto;
}

.devis-wizard {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.devis-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.devis-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.45;
    transition: opacity var(--transition);
}

.devis-step-indicator.active,
.devis-step-indicator.done {
    opacity: 1;
}

.devis-step-indicator .step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 2px solid rgba(201, 169, 98, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
}

.devis-step-indicator.active .step-num {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.devis-step-indicator.done .step-num {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
}

.devis-step-indicator .step-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

.devis-progress-line {
    width: 48px;
    height: 2px;
    background: rgba(201, 169, 98, 0.35);
    margin-bottom: 22px;
}

.devis-form-title {
    font-size: 1.35rem;
    text-align: left;
    margin-bottom: 8px;
}

.devis-form-intro {
    font-size: 0.92rem;
    margin-bottom: 24px;
    color: var(--text-body);
}

.devis-fieldset {
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 16px;
}

.devis-fieldset legend {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    padding: 0 6px;
}

.devis-fieldset label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    color: var(--text-body);
    cursor: pointer;
}

.devis-fieldset label:last-child {
    margin-bottom: 0;
}

.devis-fieldset input[type="checkbox"] {
    width: auto;
    accent-color: var(--gold-dark);
}

.rgpd-label {
    font-size: 0.85rem;
    color: var(--text-body);
    display: flex;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.45;
}

.rgpd-label input {
    width: auto;
    margin-top: 4px;
    accent-color: var(--gold-dark);
}

.rgpd-label a {
    color: var(--gold-dark);
    font-weight: 600;
}

.devis-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.devis-form-actions .btn-primary {
    flex: 1;
}

.devis-success {
    text-align: center;
    padding: 24px 0;
}

.devis-success h2 {
    text-align: center;
    font-size: 1.4rem;
}

.devis-file-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    background: var(--light-bg);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0 24px;
}

.contact-direct {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(201, 169, 98, 0.2);
}

.contact-direct h2 {
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.contact-direct p {
    margin-top: 16px;
    color: var(--text-body);
}

.devis-cta-inner {
    text-align: center;
    max-width: 640px;
}

@media (max-width: 900px) {
    .qualification-layout {
        grid-template-columns: 1fr;
    }

    .qualification-chat-preview {
        display: none;
    }

    .qualification-intro h2 {
        text-align: center;
    }

    .qualification-intro {
        text-align: center;
    }
}

/* Variante hero — Agence à prix réduit */
.hero-agency {
    background:
        linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(45, 45, 68, 0.72) 100%),
        linear-gradient(160deg, #0f0f1a 0%, #1a1a2e 45%, #2d2d44 100%);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow);
        border-top: 1px solid rgba(201, 169, 98, 0.2);
    }

    .menu.open {
        display: flex;
    }

    header {
        position: relative;
    }

    .navbar {
        flex-wrap: wrap;
        position: relative;
    }

    .btn-header {
        order: 3;
        width: 100%;
        text-align: center;
    }

    .hero {
        min-height: 75vh;
    }

    #chatbot {
        bottom: 16px;
        right: 16px;
    }

    #chatbot-window {
        bottom: 68px;
        right: 0;
    }
}
