        :root {
            --orange: #fd7e14;
            --orange-h: #fb923c;
            --orange-lt: #fff4ec;
            --orange-md: rgba(253, 126, 20, .15);
            --blue: #1a4494;
            --blue-deep: #0d2f6b;
            --blue-lt: #eef3fb;
            --blue-md: #d6e4f7;
            --white: #ffffff;
            --g50: #f8fafd;
            --g100: #eef1f7;
            --g200: #dde4ef;
            --g400: #94a3b8;
            --g600: #4b5e7a;
            --g800: #1e2f4a;
            --ease: cubic-bezier(.4, 0, .2, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        html {
            scroll-behavior: smooth
        }

        body {
            font-family: 'Open Sans', sans-serif;
            color: var(--g600);
            line-height: 1.75;
            overflow-x: hidden;
            background: var(--g50)
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: 'Poppins', sans-serif;
            color: var(--g800);
            line-height: 1.2
        }

        img {
            max-width: 100%;
            display: block
        }

        a {
            transition: color .25s var(--ease)
        }

        section {
            padding: 88px 0
        }

        .sr {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity .7s var(--ease), transform .7s var(--ease)
        }

        .sr.sl {
            transform: translateX(-40px)
        }

        .sr.sr2 {
            transform: translateX(40px)
        }

        .sr.in {
            opacity: 1 !important;
            transform: none !important
        }

        .d1 {
            transition-delay: .1s
        }

        .d2 {
            transition-delay: .2s
        }

        .d3 {
            transition-delay: .3s
        }

        .d4 {
            transition-delay: .4s
        }

        .btn {
            font-family: 'Syne', sans-serif;
            font-weight: 700;
            font-size: 13px;
            letter-spacing: .05em;
            border-radius: 8px;
            padding: 11px 26px;
            transition: all .25s var(--ease);
        }

        .btn-primary {
            background: var(--orange) !important;
            border-color: var(--orange) !important;
            color: #fff !important;
            box-shadow: 0 4px 18px rgba(249, 115, 22, .28);
        }

        .btn-primary:hover {
            background: var(--blue-deep) !important;
            border-color: var(--blue-deep) !important;
            transform: translateY(-2px);
        }

        .btn-cta {
            font-family: 'Syne', sans-serif;
            font-weight: 700;
            font-size: 13px;
            letter-spacing: .05em;
            border-radius: 8px;
            padding: 11px 26px;
            background: var(--orange);
            border-color: var(--orange);
            color: #fff;
            box-shadow: 0 4px 18px rgba(249, 115, 22, .28);
            transition: all .25s var(--ease)
        }

        .btn-cta:hover {
            background: var(--blue-deep);
            border-color: var(--blue-deep);
            color: #fff;
            transform: translateY(-2px)
        }

        /* ── Page Hero ── */
        .page-hero {
            position: relative;
            min-height: 360px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: linear-gradient(130deg, var(--blue-deep) 0%, var(--blue) 60%, #2259b8 100%)
        }

        .page-hero::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -80px;
            width: 420px;
            height: 420px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, .06);
            pointer-events: none
        }

        .page-hero::after {
            content: '';
            position: absolute;
            bottom: -80px;
            left: -60px;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: rgba(249, 115, 22, .08);
            pointer-events: none
        }

        .hero-blob {
            position: absolute;
            right: -40px;
            top: -40px;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(249, 115, 22, .18) 0%, transparent 70%)
        }

        .hero-topline {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--blue-deep), var(--orange) 45%, var(--blue))
        }

        .hero-grid {
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
            background-size: 48px 48px
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 72px 20px
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, .08);
            border: 1px solid rgba(255, 255, 255, .16);
            border-radius: 100px;
            padding: 6px 18px;
            font-size: 12.5px;
            font-weight: 600;
            color: rgba(255, 255, 255, .8);
            letter-spacing: .08em;
            margin-bottom: 20px;
            backdrop-filter: blur(6px);
            animation: fsd .6s var(--ease) .1s both
        }

        .hero-badge i {
            color: var(--orange)
        }

        .hero-title {
            font-size: clamp(2.4rem, 5vw, 3.8rem);
            font-weight: 800;
            color: #fff;
            line-height: 1.1;
            margin-bottom: 14px;
            animation: fsd .65s var(--ease) .2s both
        }

        .hero-title .hl {
            color: var(--orange);
            position: relative
        }

        .hero-title .hl::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--orange);
            border-radius: 2px;
            transform: scaleX(0);
            transform-origin: left;
            animation: scIn .5s var(--ease) .85s both
        }

        @keyframes scIn {
            from {
                transform: scaleX(0)
            }

            to {
                transform: scaleX(1)
            }
        }

        .hero-sub {
            color: rgba(255, 255, 255, .65);
            font-size: 15px;
            margin-bottom: 28px;
            animation: fsd .7s var(--ease) .35s both
        }

        .hero-breadcrumb {
            display: inline-flex;
            align-items: center;
            background: rgba(255, 255, 255, .08);
            border: 1px solid rgba(255, 255, 255, .14);
            border-radius: 100px;
            padding: 7px 22px;
            font-size: 13px;
            animation: fsd .7s var(--ease) .45s both;
            backdrop-filter: blur(6px)
        }

        .hero-breadcrumb a {
            color: rgba(255, 255, 255, .75);
            text-decoration: none;
            transition: color .2s
        }

        .hero-breadcrumb a:hover {
            color: var(--orange)
        }

        .hero-breadcrumb .sep {
            color: rgba(255, 255, 255, .3);
            margin: 0 10px;
            font-size: 11px
        }

        .hero-breadcrumb .cur {
            color: #fff;
            font-weight: 600
        }

        @keyframes fsd {
            from {
                opacity: 0;
                transform: translateY(-20px)
            }

            to {
                opacity: 1;
                transform: translateY(0)
            }
        }

        /* ── FORM LAYOUT ── */
        .devis-wrap {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 24px 88px
        }

        .devis-grid {
            display: grid;
            grid-template-columns: 1fr 360px;
            gap: 32px;
            align-items: start
        }

        @media(max-width:1024px) {
            .devis-grid {
                grid-template-columns: 1fr
            }
        }

        /* ── FORM CARD ── */
        .form-card {
            background: var(--white);
            border: 1px solid var(--g100);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 4px 32px rgba(13, 47, 107, .07)
        }

        .form-card-header {
            background: linear-gradient(135deg, var(--blue-deep), var(--blue));
            padding: 32px 36px;
            position: relative;
            overflow: hidden
        }

        .form-card-header::before {
            content: '';
            position: absolute;
            right: -40px;
            top: -40px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: rgba(249, 115, 22, .12)
        }

        .form-card-header h2 {
            font-size: 22px;
            color: #fff;
            margin-bottom: 6px;
            position: relative;
            z-index: 1
        }

        .form-card-header p {
            color: rgba(255, 255, 255, .6);
            font-size: 14px;
            margin: 0;
            position: relative;
            z-index: 1
        }

        .form-card-body {
            padding: 36px
        }

        /* ── ALERTS ── */
        .alert-success-custom {
            background: rgba(34, 197, 94, .08);
            border: 1.5px solid rgba(34, 197, 94, .25);
            border-left: 4px solid #16a34a;
            border-radius: 14px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 24px
        }

        .alert-success-custom .ai {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(34, 197, 94, .12);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #16a34a;
            font-size: 18px;
            flex-shrink: 0
        }

        .alert-success-custom p {
            margin: 0;
            font-size: 14px;
            color: #166534;
            font-weight: 500
        }

        .alert-db-error {
            background: rgba(239, 68, 68, .06);
            border: 1.5px solid rgba(239, 68, 68, .2);
            border-left: 4px solid #dc2626;
            border-radius: 14px;
            padding: 14px 18px;
            font-size: 14px;
            color: #991b1b;
            margin-bottom: 24px
        }

        /* ── FORM SECTIONS ── */
        .fsec {
            background: var(--g50);
            border: 1px solid var(--g100);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
            transition: border-color .25s
        }

        .fsec::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 3px;
            background: var(--orange);
            border-radius: 3px 0 0 3px;
            transform: scaleY(0);
            transform-origin: top;
            transition: transform .35s var(--ease)
        }

        .fsec:focus-within {
            border-color: rgba(249, 115, 22, .25)
        }

        .fsec:focus-within::before {
            transform: scaleY(1)
        }

        .fsec-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'Syne', sans-serif;
            font-size: 15px;
            font-weight: 700;
            color: var(--blue-deep);
            margin-bottom: 20px
        }

        .fsec-title i {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: var(--orange-lt);
            border: 1.5px solid rgba(249, 115, 22, .2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--orange);
            font-size: 14px;
            flex-shrink: 0
        }

        /* ── INPUTS ── */
        .form-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--g800);
            margin-bottom: 7px;
            display: block
        }

        .required {
            color: var(--orange);
            margin-left: 2px
        }

        .form-control,
        .form-select {
            border: 1.5px solid var(--g200);
            border-radius: 12px;
            padding: 11px 16px;
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 14px;
            color: var(--g800);
            background: var(--white);
            transition: border-color .2s, box-shadow .2s, background .2s;
            width: 100%;
            outline: none
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--orange);
            box-shadow: 0 0 0 3px rgba(249, 115, 22, .1);
            background: var(--white)
        }

        .form-control.is-invalid,
        .form-select.is-invalid {
            border-color: #dc2626;
            background: rgba(239, 68, 68, .03)
        }

        .form-select.is-invalid:not([multiple]):not([size]),
        .form-select.is-invalid:not([multiple])[size="1"] {
            padding-right: 16px;
            background-image: none;
            background-repeat: no-repeat
        }

        .field-error {
            font-size: 12px;
            color: #dc2626;
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 5px
        }

        .field-error i {
            font-size: 11px
        }

        textarea.form-control {
            resize: vertical;
            min-height: 130px
        }

        /* ── CHOICE OPTIONS (checkboxes/radio) ── */
        .choice-opt {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 12px 16px;
            background: var(--white);
            border: 1.5px solid var(--g200);
            border-radius: 12px;
            cursor: pointer;
            transition: all .22s var(--ease);
            position: relative;
        }

        .choice-opt:hover {
            border-color: rgba(249, 115, 22, .35);
            background: var(--orange-lt)
        }

        .choice-opt input[type=checkbox],
        .choice-opt input[type=radio] {
            width: 18px;
            height: 18px;
            min-width: 18px;
            accent-color: var(--orange);
            cursor: pointer;
            margin-top: 1px;
        }

        .choice-opt label {
            font-size: 13.5px;
            color: var(--g600);
            cursor: pointer;
            margin: 0;
            line-height: 1.4
        }

        .choice-opt:has(input:checked) {
            border-color: var(--orange);
            background: var(--orange-lt)
        }

        .choice-opt:has(input:checked) label {
            color: var(--orange);
            font-weight: 600
        }

        /* Radio type demande */
        .type-radio {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            background: var(--white);
            border: 1.5px solid var(--g200);
            border-radius: 12px;
            cursor: pointer;
            transition: all .25s;
        }

        .type-radio:has(input:checked) {
            border-color: var(--orange);
            background: var(--orange-lt)
        }

        .type-radio input {
            width: 18px;
            height: 18px;
            accent-color: var(--orange);
            cursor: pointer
        }

        .type-radio .tr-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--g800)
        }

        .type-radio .tr-sub {
            font-size: 12px;
            color: var(--g400)
        }

        /* ── CONDITIONS ── */
        .cond-check {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px;
            background: var(--blue-lt);
            border: 1.5px solid var(--blue-md);
            border-radius: 12px
        }

        .cond-check input {
            width: 18px;
            height: 18px;
            min-width: 18px;
            accent-color: var(--orange);
            margin-top: 2px;
            cursor: pointer
        }

        .cond-check label {
            font-size: 13.5px;
            color: var(--blue-deep);
            font-weight: 500;
            cursor: pointer;
            margin: 0
        }

        /* ── SUBMIT ── */
        .btn-submit {
            width: 100%;
            padding: 16px;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--orange), #fb6f20);
            border: none;
            color: #fff;
            font-family: 'Syne', sans-serif;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all .25s var(--ease);
            box-shadow: 0 6px 24px rgba(249, 115, 22, .32);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 28px;
        }

        .btn-submit:hover {
            background: linear-gradient(135deg, var(--blue-deep), var(--blue));
            box-shadow: 0 8px 28px rgba(13, 47, 107, .3);
            transform: translateY(-2px)
        }

        /* ── SIDEBAR ── */
        .sidebar-card {
            background: var(--white);
            border: 1px solid var(--g100);
            border-radius: 20px;
            padding: 28px;
            box-shadow: 0 4px 24px rgba(13, 47, 107, .07);
            position: sticky;
            top: 100px
        }

        .sidebar-card .sc-head {
            font-family: 'Syne', sans-serif;
            font-size: 16px;
            font-weight: 700;
            color: var(--blue-deep);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1.5px solid var(--g100);
            display: flex;
            align-items: center;
            gap: 10px
        }

        .sidebar-card .sc-head i {
            color: var(--orange)
        }

        .summary-placeholder {
            text-align: center;
            padding: 20px 0;
            color: var(--g400);
            font-size: 14px
        }

        .summary-placeholder i {
            font-size: 32px;
            display: block;
            margin-bottom: 10px;
            opacity: .35
        }

        .summary-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 10px 0;
            border-bottom: 1px solid var(--g100)
        }

        .summary-item:last-child {
            border-bottom: none
        }

        .si-key {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: var(--g400)
        }

        .si-val {
            font-size: 13.5px;
            color: var(--g800);
            font-weight: 600
        }

        .sc-divider {
            border: none;
            border-top: 1.5px solid var(--g100);
            margin: 20px 0
        }

        .info-block {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 16px
        }

        .ib-icon {
            width: 36px;
            height: 36px;
            min-width: 36px;
            border-radius: 9px;
            background: var(--orange-lt);
            border: 1.5px solid rgba(249, 115, 22, .2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--orange);
            font-size: 14px
        }

        .ib-txt {
            font-size: 13px;
            color: var(--g600);
            line-height: 1.6
        }

        .ib-txt strong {
            display: block;
            font-size: 14px;
            color: var(--g800);
            margin-bottom: 2px
        }

        /* Benefits section */
        .benefit-list {
            margin-top: 8px
        }

        .benefit-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            font-size: 13.5px;
            color: var(--g600);
            border-bottom: 1px solid var(--g100)
        }

        .benefit-item:last-child {
            border-bottom: none
        }

        .benefit-item .bi-dot {
            width: 20px;
            height: 20px;
            min-width: 20px;
            border-radius: 6px;
            background: rgba(34, 197, 94, .1);
            border: 1px solid rgba(34, 197, 94, .2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #16a34a;
            font-size: 10px
        }

        @media(max-width:640px) {
            .devis-wrap {
                padding: 40px 16px 60px
            }

            .form-card-body {
                padding: 24px
            }
        }