/* ============================================================
   Al Soudani — Page Traiteur
   Styles spécifiques à cette page seulement.
   Reset, variables et header/footer → header.css / footer.css
   ============================================================ */

/* --- Variables propres à la page traiteur --- */
:root {
    --c-bg:               #131313;
    --c-on-bg:            #e5e2e1;
    --c-on-surface:       #e5e2e1;
    --c-on-surface-var:   #e7bdb8;
    --c-primary:          #ffb4ab;
    --c-primary-ct:       #e31e24;
    --c-on-primary-ct:    #fffafa;
    --c-on-primary:       #690006;
    --c-secondary:        #ffb86e;
    --c-surface-lowest:   #0e0e0e;
    --c-surface-low:      #1c1b1b;
    --c-surface-ct:       #20201f;
    --c-surface-high:     #2a2a2a;
    --c-surface-highest:  #353535;
    --c-outline-var:      #5d3f3c;
}

/* --- Base --- */
.traiteur-page {
    background-color: var(--c-bg);
    color: var(--c-on-bg);
    font-family: 'Manrope', sans-serif;
    min-height: 100dvh;
    user-select: none;
}

.traiteur-page a      { text-decoration: none; color: inherit; }
.traiteur-page button { font-family: inherit; cursor: pointer; border: none; background: none; }
.traiteur-page img    { display: block; max-width: 100%; }

/* ============================================================
   MAIN — padding pour le header fixe
   ============================================================ */
.t-main {
    padding-top: 64px;    /* hauteur mob-header sur mobile */
    padding-bottom: 128px;
}

/* ============================================================
   HERO
   ============================================================ */
.t-hero {
    position: relative;
    padding: 48px 24px;
    overflow: hidden;
    background-image:
        radial-gradient(at 0% 0%,    rgba(227, 30,  36,  0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(242, 146, 0, 0.10) 0px, transparent 50%);
}

.t-hero__content { position: relative; z-index: 10; }

.t-hero__label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.t-hero__title {
    font-family: 'Noto Serif', serif;
    font-size: 48px;
    color: var(--c-on-bg);
    line-height: 1.25;
    margin-bottom: 24px;
}

.t-hero__title-accent { color: var(--c-primary-ct); }

.t-hero__desc {
    color: var(--c-on-surface-var);
    line-height: 1.625;
    max-width: 80%;
    margin-bottom: 32px;
}

.t-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(to right, var(--c-primary), var(--c-primary-ct));
    color: var(--c-on-primary);
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(227, 30, 36, 0.2);
    transition: transform 0.15s;
}

.t-hero__cta:active { transform: scale(0.95); }

.t-hero__image-wrap {
    margin-top: 48px;
    position: relative;
    height: 320px;
    width: 100%;
}

.t-hero__image {
    position: absolute;
    top: 0; right: 0;
    width: 85%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transform: rotate(2deg);
}

.t-hero__badge {
    position: absolute;
    bottom: -16px;
    left: -8px;
    background-color: var(--c-surface-high);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
    max-width: 140px;
    border: 1px solid rgba(93, 63, 60, 0.15);
}

.t-hero__badge-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: var(--c-secondary);
    font-weight: 700;
}

.t-hero__badge-value {
    font-family: 'Noto Serif', serif;
    font-size: 14px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.t-services { padding: 48px 24px; }

.t-section-title-bar {
    font-family: 'Noto Serif', serif;
    font-size: 24px;
    margin-bottom: 32px;
    border-left: 4px solid var(--c-primary-ct);
    padding-left: 16px;
}

.t-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.t-service-card {
    background-color: var(--c-surface-low);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.t-service-card--wide {
    grid-column: span 2;
    padding: 24px;
}

.t-service-card--small {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1;
}

.t-service-card__content { position: relative; z-index: 10; }

.t-service-card__content h4 {
    font-family: 'Noto Serif', serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.t-service-card__content p {
    font-size: 14px;
    color: var(--c-on-surface-var);
    margin-bottom: 16px;
}

.t-service-card__learn-more {
    color: var(--c-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.t-service-card__bg-img {
    position: absolute;
    top: 0; right: 0;
    width: 128px;
    height: 100%;
    opacity: 0.2;
}

.t-service-card__bg-img img { width: 100%; height: 100%; object-fit: cover; }

.t-service-card--small .t-service-icon { color: var(--c-secondary); font-size: 30px; }
.t-service-card--small h4  { font-family: 'Noto Serif', serif; font-size: 18px; }
.t-service-card--small p   { font-size: 10px; color: var(--c-on-surface-var); margin-top: 4px; }

/* ============================================================
   PROCESS
   ============================================================ */
.t-process {
    background-color: var(--c-surface-lowest);
    padding: 64px 24px;
}

.t-process__title {
    font-family: 'Noto Serif', serif;
    font-size: 24px;
    margin-bottom: 40px;
    text-align: center;
}

.t-process__steps { display: flex; flex-direction: column; gap: 48px; }

.t-process__step { display: flex; gap: 24px; align-items: flex-start; }

.t-process__num {
    background-color: var(--c-surface-highest);
    color: var(--c-primary);
    font-family: 'Noto Serif', serif;
    font-size: 20px;
    height: 48px;
    width: 48px;
    min-width: 48px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-process__step h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.t-process__step p  { font-size: 14px; color: var(--c-on-surface-var); line-height: 1.625; }

/* ============================================================
   GALLERY
   ============================================================ */
.t-gallery { padding: 48px 24px; }

.t-gallery__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.t-gallery__header h3 { font-family: 'Noto Serif', serif; font-size: 24px; }

.t-gallery__handle {
    color: var(--c-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.t-gallery__scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
}

.t-gallery__scroll::-webkit-scrollbar { display: none; }

.t-gallery__item {
    min-width: 280px;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.t-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

.t-gallery__caption {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.t-gallery__caption p { color: #fff; font-family: 'Noto Serif', serif; }

/* ============================================================
   CTA
   ============================================================ */
.t-cta { padding: 48px 24px; }

.t-cta__card {
    background-color: var(--c-surface-ct);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(93, 63, 60, 0.1);
    position: relative;
    overflow: hidden;
}

.t-cta__content { position: relative; z-index: 10; }

.t-cta__card h3 { font-family: 'Noto Serif', serif; font-size: 30px; margin-bottom: 16px; }
.t-cta__card p  { color: var(--c-on-surface-var); margin-bottom: 32px; line-height: 1.625; }

.t-cta__buttons { display: flex; flex-direction: column; gap: 16px; }

.t-cta__btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background-color: var(--c-primary-ct);
    color: var(--c-on-primary-ct);
    padding: 20px 0;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    transition: transform 0.15s;
}

.t-cta__btn-primary:active { transform: scale(0.98); }

.t-cta__btn-secondary {
    width: 100%;
    background-color: var(--c-surface-high);
    color: var(--c-on-surface);
    padding: 20px 0;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid rgba(93, 63, 60, 0.2);
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    text-align: center;
}

.t-cta__ember {
    position: absolute;
    bottom: -80px; right: -80px;
    width: 256px; height: 256px;
    background-color: rgba(255, 180, 171, 0.1);
    filter: blur(80px);
    border-radius: 9999px;
}

/* ============================================================
   DESKTOP (≥ 768px)
   ============================================================ */
@media (min-width: 768px) {

    .t-main {
        padding-top: 80px; /* hauteur site-nav desktop */
        padding-bottom: 0;
    }

    /* ---- Hero ---- */
    .t-hero {
        display: flex;
        align-items: center;
        gap: 64px;
        padding: 100px 6% 120px;
        overflow: visible;
        min-height: 90vh;
    }

    .t-hero__content  { flex: 0 0 52%; }
    .t-hero__title    { font-size: 80px; margin-bottom: 28px; }
    .t-hero__desc     { font-size: 16px; max-width: 100%; margin-bottom: 40px; }
    .t-hero__cta      { font-size: 15px; padding: 18px 40px; }

    .t-hero__image-wrap { flex: 1; height: 560px; margin-top: 0; }
    .t-hero__image      { width: 100%; transform: rotate(1.5deg); }
    .t-hero__badge      { max-width: 160px; padding: 20px; }

    /* ---- Services ---- */
    .t-services {
        padding: 100px 6%;
        max-width: 1280px;
        margin: 0 auto;
    }

    .t-section-title-bar { font-size: 28px; margin-bottom: 40px; }

    .t-services__grid {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 240px 240px;
        gap: 20px;
    }

    .t-service-card--wide {
        grid-column: 1;
        grid-row: 1 / 3;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .t-service-card--wide .t-service-card__content h4 { font-size: 28px; }
    .t-service-card--wide .t-service-card__content p  { font-size: 15px; }
    .t-service-card__bg-img { width: 45%; }

    .t-service-card--small { grid-column: 2; aspect-ratio: auto; padding: 28px; }
    .t-service-card--small:nth-child(2) { grid-row: 1; }
    .t-service-card--small:nth-child(3) { grid-row: 2; }
    .t-service-card--small .t-service-icon { font-size: 36px; }
    .t-service-card--small h4             { font-size: 22px; }
    .t-service-card--small p              { font-size: 12px; }

    /* ---- Process ---- */
    .t-process { padding: 100px 6%; }

    .t-process__title {
        font-size: 36px;
        margin-bottom: 64px;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }

    .t-process__steps {
        flex-direction: row;
        gap: 0;
        max-width: 1100px;
        margin: 0 auto;
    }

    .t-process__step {
        flex: 1;
        flex-direction: column;
        padding: 0 48px;
        border-left: 1px solid rgba(93, 63, 60, 0.35);
        gap: 0;
    }

    .t-process__step:first-child { border-left: none; padding-left: 0; }
    .t-process__step:last-child  { padding-right: 0; }

    .t-process__num { margin-bottom: 24px; width: 56px; height: 56px; font-size: 22px; }
    .t-process__step h4 { font-size: 20px; margin-bottom: 12px; }
    .t-process__step p  { font-size: 14px; line-height: 1.7; }

    /* ---- Gallery ---- */
    .t-gallery { padding: 100px 6%; }

    .t-gallery__header h3 { font-size: 32px; }
    .t-gallery__header    { margin-bottom: 40px; }

    .t-gallery__scroll {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        justify-content: center;
    }

    .t-gallery__item { min-width: 420px; height: 500px; }

    /* ---- CTA ---- */
    .t-cta {
        padding: 100px 6%;
        max-width: 1280px;
        margin: 0 auto;
    }

    .t-cta__card    { padding: 72px 80px; border-radius: 32px; }
    .t-cta__card h3 { font-size: 44px; margin-bottom: 20px; }
    .t-cta__card p  { font-size: 16px; max-width: 560px; margin-bottom: 40px; }

    .t-cta__buttons      { flex-direction: row; gap: 20px; }
    .t-cta__btn-primary  { width: auto; padding: 18px 40px; }
    .t-cta__btn-secondary { width: auto; padding: 18px 40px; }
}
