.traiteur-page {
    --traiteur-ease: cubic-bezier(.2, .75, .25, 1);
    --traiteur-shadow: 0 1rem 3rem rgba(62, 23, 43, .08);
}

/* Hero */
.traiteur-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(120deg, #321321 0%, #6F2447 58%, #AE2058 100%);
}

.traiteur-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.traiteur-hero .eyebrow {
    color: #F3C768;
}

.traiteur-hero h1 {
    margin: .6rem 0 1.25rem;
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
}

.traiteur-hero h1 span {
    color: #F3C768;
}

.traiteur-hero-lead {
    max-width: 560px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.traiteur-hero-emblem {
    display: block;
    width: min(100%, 22rem);
    height: auto;
    margin-inline: auto;
    border-radius: 50%;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .35);
}

/* Service */
.traiteur-card {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: var(--color-surface);
    box-shadow: var(--traiteur-shadow);
}

.traiteur-card h3 {
    margin-bottom: .6rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.traiteur-card p {
    margin-bottom: 0;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.traiteur-section-title {
    margin: 0 0 1.25rem;
    font-size: clamp(2rem, 4.3vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.traiteur-service {
    background: var(--color-surface-soft);
}

.traiteur-service-logo {
    display: block;
    width: 100%;
    max-width: 26rem;
    height: auto;
    margin-inline: auto;
    border-radius: 1rem;
    box-shadow: 0 1.5rem 4rem rgba(62, 23, 43, .14);
}

.traiteur-service p:not(.section-kicker) {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
}

/* Steps */
.traiteur-steps {
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.traiteur-step {
    padding-top: 1.5rem;
    border-top: 2px solid #D99B26;
}

.traiteur-step-number {
    display: block;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

/* Form */
.traiteur-form-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    background: var(--color-background);
    box-shadow: var(--traiteur-shadow);
}

.traiteur-form-card .form-label {
    margin-bottom: .4rem;
    font-weight: 600;
}

.traiteur-form-card .invalid-feedback {
    font-weight: 600;
}

/* Red star on a compulsory field with an error, blinking for 5 seconds (see devis_form_controller.js). */
.traiteur-form-card .required.is-blinking::after {
    content: ' *';
    color: #dc3545;
    animation: traiteur-star-blink .5s steps(2, start) infinite;
}

@keyframes traiteur-star-blink {
    to {
        visibility: hidden;
    }
}

/* Honeypot: off screen, not display:none, so bots still see it. */
.traiteur-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .traiteur-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .traiteur-page * {
        transition: none !important;
        animation: none !important;
    }
}
