:root {
    --bg: #f4f5f7;
    --bg-soft: #fafaf9;
    --surface: #ffffff;
    --surface-dark: #171615;
    --surface-darker: #0f0f10;
    --text: #111827;
    --text-soft: #667085;
    --text-inverse: #f8fafc;
    --border: rgba(15, 23, 42, 0.1);
    --border-strong: rgba(15, 23, 42, 0.18);
    --accent: #f5d64d;
    --accent-strong: #ffcc1d;
    --accent-dark: #9a7000;
    --success: #0f766e;
    --shadow-sm: 0 16px 40px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 24px 60px rgba(15, 23, 42, 0.12);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --container: min(1180px, calc(100% - 48px));
    --button-height: 48px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(245, 214, 77, 0.15), transparent 34%),
        linear-gradient(180deg, #fafbfc 0%, #f3f5f7 100%);
    color: var(--text);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled {
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

.container,
.hero-content,
.catalogue-voitures,
.catalogue-search-shell,
.vehicle-hero,
.detail-container,
.news-grid-section,
.sell-hero-copy,
.trust-section,
.steps-section,
.appointment-shell,
.footer-container {
    width: var(--container);
    margin: 0 auto;
}

.badge,
.faq-category,
.catalogue-search-kicker,
.news-card-eyebrow,
.vehicle-picker-kicker,
.admin-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge,
.catalogue-search-kicker,
.news-card-eyebrow,
.vehicle-picker-kicker {
    color: var(--accent-dark);
}

.faq-category {
    color: var(--accent-dark);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h1,
.section-heading h2 {
    margin: 12px 0 14px;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.06;
}

.section-heading p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.btn-filled,
.btn-outline,
.btn-primary,
.catalogue-search-submit,
.catalogue-search-toggle,
.catalogue-search-reset,
.vente-panel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--button-height);
    min-width: 190px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.btn-filled,
.catalogue-search-submit,
.vente-panel-button {
    background: var(--accent);
    color: #111827;
    box-shadow: 0 14px 30px rgba(245, 214, 77, 0.28);
}

.btn-outline,
.catalogue-search-reset {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--text);
    backdrop-filter: blur(14px);
}

.btn-primary,
.catalogue-search-toggle {
    background: #111827;
    color: #fff;
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.22);
}

.btn-plain {
    appearance: none;
}

.btn-filled:hover,
.btn-outline:hover,
.btn-primary:hover,
.catalogue-search-submit:hover,
.catalogue-search-toggle:hover,
.catalogue-search-reset:hover,
.vente-panel-button:hover {
    transform: translateY(-1px);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

.logo img {
    width: 100px;
    height: auto;
}

.menu,
.cta-buttons,
.hero-buttons,
.footer-actions,
.vehicle-hero-actions,
.catalogue-search-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.menu a {
    position: relative;
    padding: 10px 0;
    color: #334155;
    font-weight: 700;
}

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.menu a:hover::after,
.menu a.active::after {
    transform: scaleX(1);
}

.cta-buttons {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cta-buttons form {
    margin: 0;
}

.flash-banner {
    width: var(--container);
    margin: 18px auto 0;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--success);
    font-weight: 700;
}

.flash-banner-error {
    background: rgba(153, 27, 27, 0.12);
    color: #991b1b;
}

.hero,
.top-catalogue,
.news-hero,
.sell-hero,
.hero-estimation,
.appointment-hero {
    position: relative;
    overflow: hidden;
    padding: 156px 0 90px;
}

.hero::before,
.top-catalogue::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.24) 0%, rgba(15, 23, 42, 0.68) 100%),
        url('../image_bmw.jpg') center center / cover no-repeat;
}

.news-hero::before,
.sell-hero::before,
.hero-estimation::before,
.appointment-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(245, 214, 77, 0.3), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #1f2937 46%, #111827 100%);
}

.hero-content,
.sell-hero-copy,
.top-catalogue .hero-content,
.news-hero .section-heading,
.hero-estimation .section-heading,
.appointment-hero .section-heading {
    position: relative;
    z-index: 1;
}

.news-hero .section-heading,
.hero-estimation .section-heading,
.appointment-hero .section-heading {
    color: #fff;
}

.news-hero .section-heading p,
.hero-estimation .section-heading p,
.appointment-hero .section-heading p {
    color: rgba(248, 250, 252, 0.82);
}

.news-hero .badge,
.sell-hero .badge,
.hero-estimation .badge,
.appointment-hero .badge,
.faq-block-dark .faq-category {
    color: var(--accent);
}

.hero-content h1,
.top-catalogue .hero-content h1,
.sell-hero-copy h1 {
    max-width: 660px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 0.98;
    text-shadow: 0 14px 36px rgba(15, 23, 42, 0.28);
}

.hero-buttons,
.sell-hero .hero-buttons {
    margin-top: 30px;
    flex-wrap: wrap;
}

.sell-hero-copy p {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(248, 250, 252, 0.82);
    font-size: 1.06rem;
    line-height: 1.75;
}

.catalogue-voitures {
    padding: 88px 0;
}

.voitures-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.voiture-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.img-catalogue {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.voiture-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 22px;
}

.voiture-content h3,
.voiture-content b,
.news-card h2,
.trust-card h3,
.step h3,
.faq-header h1,
.appointment-card h2,
.appointment-summary h2,
.vehicle-info h1 {
    margin: 0;
}

.voiture-content h3 {
    font-size: 1.25rem;
    line-height: 1.2;
}

.voiture-content b {
    font-size: 1.08rem;
}

.voiture-content p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.voiture-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-weight: 800;
    color: #111827;
}

.section-vente {
    padding: 0 0 110px;
}

.vente-banner {
    width: 100%;
    padding: 54px 0 58px;
    background:
        radial-gradient(circle at top left, rgba(245, 214, 77, 0.18), transparent 24%),
        linear-gradient(180deg, #1b1918 0%, #101010 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.vente-banner-shell {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    gap: 34px;
}

.vente-banner-copy {
    max-width: 860px;
}

.vente-banner-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vente-banner-copy h2 {
    max-width: 46rem;
    margin: 0;
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    line-height: 1.04;
}

.vente-banner-copy h2 span {
    display: inline;
}

.vente-title-highlight {
    color: var(--accent-strong);
}

.vente-title-exclaim {
    display: inline;
}

.vente-banner-copy p {
    max-width: 850px;
    margin: 18px 0 0;
    color: rgba(248, 250, 252, 0.82);
    line-height: 1.78;
}

.vente-banner-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.vente-benefices {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.vente-benefice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.vente-benefice-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    color: #f8fafc;
    flex: 0 0 auto;
}

.vente-benefice strong {
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: nowrap;
}

.vente-panel-button {
    margin-top: 0;
    flex: 0 0 auto;
}

.news-page,
.faq-showcase,
.sell-page,
.estimation-page,
.appointment-page {
    padding-bottom: 96px;
}

.news-grid,
.trust-grid,
.steps-grid {
    display: grid;
    gap: 24px;
}

.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card,
.trust-card,
.step,
.catalogue-search-shell,
.appointment-card,
.appointment-summary,
.sell-request-shell {
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.news-card,
.trust-card,
.step {
    padding: 28px;
}

.news-card p,
.trust-card p,
.step p {
    margin: 14px 0 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.trust-section,
.steps-section,
.news-grid-section {
    padding-top: 10px;
}

.trust-grid,
.steps-grid {
    width: var(--container);
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(245, 214, 77, 0.18);
    color: #111827;
    font-weight: 800;
}

.faq-block {
    padding: 90px 0;
}

.faq-block-light {
    background: #f8f7f3;
}

.faq-block-dark {
    background: #101010;
    color: #fff;
}

.faq-page {
    width: min(980px, calc(100% - 48px));
    margin: 0 auto;
}

.faq-header {
    margin-bottom: 34px;
}

.faq-header h1 {
    margin-top: 12px;
    font-size: clamp(2rem, 4.4vw, 3rem);
    line-height: 1.08;
}

.faq-list {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.faq-block-dark .faq-list {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.faq-item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.faq-block-dark .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-align: left;
}

.faq-question .arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.active .faq-answer {
    max-height: 420px;
    padding-bottom: 24px;
}

.faq-answer p {
    margin: 0;
    max-width: 860px;
    color: inherit;
    opacity: 0.82;
    line-height: 1.8;
}

.faq-block-light .faq-answer p {
    color: var(--text-soft);
    opacity: 1;
}

.catalogue-search-section {
    margin-top: -30px;
    padding-bottom: 30px;
}

.catalogue-search-shell,
.sell-request-shell {
    padding: 34px;
}

.catalogue-search-intro {
    max-width: 720px;
    margin-bottom: 28px;
}

.catalogue-search-intro h2 {
    margin: 10px 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.catalogue-search-intro p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.catalogue-search-form,
.catalogue-search-advanced,
.estimation-form {
    display: grid;
    gap: 16px;
}

.catalogue-search-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalogue-search-advanced {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 6px;
}

.catalogue-search-field,
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalogue-search-field span,
.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
}

.catalogue-search-field select,
.catalogue-search-field input,
.appointment-card input,
.appointment-card select,
.appointment-card textarea,
.sell-request-form input,
.sell-request-form select,
.sell-request-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalogue-search-field input,
.appointment-card textarea,
.sell-request-form textarea {
    padding-top: 14px;
    padding-bottom: 14px;
}

.catalogue-search-field select:focus,
.catalogue-search-field input:focus,
.appointment-card input:focus,
.appointment-card select:focus,
.appointment-card textarea:focus,
.sell-request-form input:focus,
.sell-request-form select:focus,
.sell-request-form textarea:focus {
    outline: none;
    border-color: rgba(245, 214, 77, 0.9);
    box-shadow: 0 0 0 4px rgba(245, 214, 77, 0.18);
}

.catalogue-search-actions {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: space-between;
}

.catalogue-search-submit,
.catalogue-search-toggle,
.catalogue-search-reset {
    min-width: 0;
}

.catalogue-search-reset {
    border-color: var(--border);
    background: #fff;
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.pagination-nav {
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #111827;
    font-weight: 800;
}

.pagination-link.is-active {
    background: var(--accent);
    border-color: transparent;
}

.pagination-link.is-disabled {
    opacity: 0.42;
    pointer-events: none;
}

.vehicle-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: start;
    padding: 132px 0 42px;
}

.vehicle-info,
.vehicle-image,
.detail-infos {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.vehicle-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 36px;
}

.vehicle-info h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.02;
}

.vehicle-copy-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subtitle,
.model,
.contact p,
.appointment-summary li,
.vehicle-picker-option-copy span {
    color: var(--text-soft);
}

.subtitle,
.model {
    margin: 0;
    line-height: 1.7;
}

.price {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 800;
}

.contact {
    display: grid;
    gap: 6px;
}

.contact p {
    margin: 0;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.voiture-detail-section {
    padding-bottom: 100px;
}

.detail-container {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
    gap: 28px;
}

.detail-galerie {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.galerie-item {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.galerie-item img {
    width: 100%;
    aspect-ratio: 1.08 / 1;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.galerie-item img:hover {
    transform: scale(1.03);
}

.detail-infos {
    padding: 30px;
}

.infos-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.infos-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.infos-list li span:first-child {
    color: var(--text-soft);
}

.cta-panel {
    margin-top: 24px;
}

.user-action-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #151515 0%, #0f0f10 100%);
    color: #fff;
}

.user-action-kicker {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.user-action-card h3 {
    margin: 0;
    font-size: 1.6rem;
}

.user-action-text {
    margin: 14px 0 0;
    color: rgba(248, 250, 252, 0.76);
    line-height: 1.7;
}

.user-action-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.user-action-tags span {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(248, 250, 252, 0.86);
    font-size: 0.9rem;
    font-weight: 700;
}

.user-action-footer {
    margin-top: 22px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 16, 0.92);
}

.lightbox img {
    max-width: min(92vw, 1200px);
    max-height: 82vh;
    border-radius: 18px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-close {
    top: 24px;
    right: 32px;
}

.lightbox-prev {
    left: 32px;
}

.lightbox-next {
    right: 32px;
}

.estimation-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sell-request-form textarea,
.sell-request-form button {
    grid-column: 1 / -1;
}

.appointment-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
    gap: 28px;
}

.appointment-card,
.appointment-summary {
    padding: 32px;
}

.appointment-form,
.appointment-summary ul {
    display: grid;
    gap: 20px;
}

.appointment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.appointment-field-help {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.appointment-types {
    display: grid;
    gap: 12px;
}

.appointment-types-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.appointment-type-card,
.time-slot {
    position: relative;
}

.appointment-type-card input,
.time-slot input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.appointment-type-card span,
.time-slot span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    font-weight: 800;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.appointment-type-card input:checked + span,
.time-slot input:checked + span {
    border-color: transparent;
    background: rgba(245, 214, 77, 0.22);
    box-shadow: 0 0 0 3px rgba(245, 214, 77, 0.24);
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.time-slot {
    min-width: 94px;
}

.time-slot.is-unavailable span {
    background: #f4f4f5;
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.32);
}

.vehicle-picker,
.appointment-date-picker {
    position: relative;
}

.vehicle-picker-trigger,
.appointment-date-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 68px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
}

.vehicle-picker-trigger-copy,
.appointment-date-trigger-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.vehicle-picker-label,
.appointment-date-label {
    color: var(--text-soft);
    font-size: 0.84rem;
}

.vehicle-picker-value,
.appointment-date-value {
    font-size: 1rem;
}

.vehicle-picker-trigger-icon,
.appointment-date-icon {
    font-size: 1.2rem;
    font-weight: 800;
}

.vehicle-picker-panel,
.appointment-date-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 12px);
    z-index: 20;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.vehicle-picker-panel-head,
.appointment-date-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.vehicle-picker-panel-head h3 {
    margin: 4px 0 0;
}

.vehicle-picker-close,
.appointment-date-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text);
}

.vehicle-picker-list {
    display: grid;
    gap: 12px;
    max-height: 360px;
    overflow: auto;
}

.vehicle-picker-option {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    text-align: left;
}

.vehicle-picker-option img {
    width: 100%;
    aspect-ratio: 1.3 / 1;
    border-radius: 14px;
    object-fit: cover;
}

.vehicle-picker-option-copy {
    display: grid;
    gap: 4px;
}

.vehicle-picker-option.is-selected {
    border-color: rgba(245, 214, 77, 0.85);
    box-shadow: 0 0 0 4px rgba(245, 214, 77, 0.18);
}

.appointment-date-weekdays,
.appointment-date-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.appointment-date-weekdays {
    margin-bottom: 10px;
    color: var(--text-soft);
    font-size: 0.85rem;
    text-align: center;
}

.appointment-date-empty,
.appointment-date-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 14px;
}

.appointment-date-day {
    border: 0;
    background: #f8fafc;
    font-weight: 700;
}

.appointment-date-day.is-today {
    border: 1px solid rgba(15, 23, 42, 0.18);
}

.appointment-date-day.is-selected {
    background: var(--accent);
}

.appointment-date-day:disabled {
    opacity: 0.35;
}

.appointment-summary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.appointment-summary li {
    line-height: 1.7;
}

.appointment-vehicle-card {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 12px;
    padding: 14px;
    border-radius: 20px;
    background: #f8fafc;
}

.appointment-vehicle-card img {
    width: 100%;
    aspect-ratio: 1.25 / 1;
    border-radius: 16px;
    object-fit: cover;
}

.appointment-vehicle-card p {
    margin: 8px 0 0;
    line-height: 1.6;
}

.site-footer {
    background: linear-gradient(180deg, #121212 0%, #0b0b0c 100%);
    color: rgba(248, 250, 252, 0.82);
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) auto auto;
    gap: 30px;
    padding: 42px 0;
}

.footer-brand img {
    width: 190px;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 420px;
    margin: 0;
    line-height: 1.75;
}

.footer-links,
.footer-contact {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: rgba(248, 250, 252, 0.78);
}

.footer-actions {
    margin-top: 10px;
    flex-wrap: wrap;
}

.site-footer .btn-outline {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.site-footer .btn-filled {
    color: #111827;
}

@media (max-width: 1100px) {
    .navbar .container,
    .footer-container,
    .vehicle-hero,
    .detail-container,
    .appointment-shell,
    .voitures-grid,
    .news-grid,
    .trust-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .navbar .container,
    .cta-buttons {
        justify-content: center;
    }

    .menu {
        order: 3;
        width: 100%;
    }

    .vehicle-image {
        order: -1;
    }

    .catalogue-search-form,
    .catalogue-search-advanced,
    .estimation-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vente-banner-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    :root {
        --container: min(100%, calc(100% - 28px));
    }

    .hero,
    .top-catalogue,
    .news-hero,
    .sell-hero,
    .hero-estimation,
    .appointment-hero {
        padding: 128px 0 72px;
    }

    .btn-filled,
    .btn-outline,
    .btn-primary,
    .catalogue-search-submit,
    .catalogue-search-toggle,
    .catalogue-search-reset,
    .vente-panel-button {
        width: 100%;
        min-width: 0;
    }

    .hero-buttons,
    .sell-hero .hero-buttons,
    .vehicle-hero-actions,
    .cta-buttons,
    .catalogue-search-actions,
    .footer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .catalogue-search-form,
    .catalogue-search-advanced,
    .estimation-form,
    .appointment-grid,
    .appointment-types-two {
        grid-template-columns: 1fr;
    }

    .catalogue-search-shell,
    .appointment-card,
    .appointment-summary,
    .sell-request-shell,
    .vehicle-info,
    .detail-infos {
        padding: 24px;
    }

    .vehicle-picker-option,
    .appointment-vehicle-card {
        grid-template-columns: 1fr;
    }

    .vente-banner {
        padding: 40px 0 44px;
    }

    .vente-banner-shell {
        gap: 26px;
    }

    .vente-banner-footer {
        align-items: stretch;
    }

    .vente-benefice {
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}
