/* ==========================================================================
   Thème O'sec — charte « Tapis d'accueil » appliquée à tout le site public.
   Chargé en dernier par layouts/welcome.blade.php.
   Palette : noir #000 · vert profond #0D2A1C / #0F2A1D · or #C9A227
   Titres : Cormorant Garamond · Texte : DM Sans
   ========================================================================== */

:root {
    --or: #C9A227;
    --or-clair: #E8C863;
    --or-degrade: linear-gradient(135deg, #FFE9A8, #D9A518 50%, #8A6710);
    --or-texte: linear-gradient(115deg, #6B4E0E 0%, #FCE9A0 20%, #B8860B 42%, #FFF3C4 58%, #7A5C10 78%, #F0C550 100%);
    --vert-profond: #0D2A1C;
    --vert-carte: #0F2A1D;
}

body {
    background: #000000;
    font-family: 'DM Sans', system-ui, sans-serif;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 0;
    box-shadow: 0 0 0 6px #C9A227;
}

/* ---------- Titres : dégradé doré, comme le h1 de la page Tapis ---------- */
.section-title,
.about-title,
.page-hero h1,
.page-hero-inner h1,
.hero-title,
.ent-hero h1,
.cta-section h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: .5px;
    background: var(--or-texte);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title span,
.about-title span {
    color: inherit;
}

.section-eyebrow,
.about-eyebrow {
    color: #C9A227;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* ---------- Boutons : or dégradé, texte foncé ---------- */
.btn-primary,
.btn-rouge,
.btn-login,
.btn-register,
.nav-cta,
.app-link,
.dashboard-link,
.auth-modal .auth-btn-primary,
#osec-commande-btn,
.tarif-page-btn.active,
.piece-page-btn.active,
.tarif-page-btn:hover,
.piece-page-btn:hover,
.employe-map-btn:hover,
.logout-btn:hover {
    background: var(--or-degrade) !important;
    color: #14110A !important;
    border-color: #E8C863 !important;
    font-weight: 700;
    box-shadow: 0 0 0 1px #E8C863, 0 4px 14px rgba(201, 162, 39, .45);
}

.btn-primary:hover,
.btn-rouge:hover,
.btn-login:hover,
.btn-register:hover,
.nav-cta:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 0 1px #E8C863, 0 6px 20px rgba(201, 162, 39, .6) !important;
}

.btn-primary i,
.btn-rouge i,
.nav-cta i {
    color: inherit;
}

.btn-secondary {
    border: 1.5px solid #C9A227;
    color: #FFFFFF;
}

.svc-badge,
.svc-card-num,
.avis-avatar,
.team-social a,
.tarif-lightbox-close {
    background: var(--or-degrade);
    color: #14110A;
}

/* ---------- Cartes : vert profond + filet or ---------- */
.avis-card,
.service-cta-card,
.value-card,
.team-card,
.address-card,
.agence-card,
.info-card,
.stat-card {
    background: #0F2A1D;
    border: 1.5px solid #C9A227;
}

/* ---------- Barre de navigation ---------- */
#navbar {
    background: rgba(13, 42, 28, .96);
    border-bottom: 1px solid rgba(201, 162, 39, .35);
}

/* ---------- Pied de page ---------- */
footer {
    background: #0D2A1C;
    border-top: 1px solid rgba(201, 162, 39, .35);
}

/* ---------- Page Teinturerie : liste de prestations ---------- */
.tr-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.tr-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #C9D4C6;
    line-height: 1.6;
}

.tr-list li::before {
    content: "";
    flex: 0 0 8px;
    height: 8px;
    margin-top: 10px;
    border-radius: 50%;
    background: #C9A227;
}

/* ---------- Liens tunnels (accueil) : boutons vers les services ---------- */
.tunnel-bar {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 28px clamp(16px, 4vw, 40px);
    background: #0D2A1C;
    border-top: 1px solid rgba(201, 162, 39, .35);
    border-bottom: 1px solid rgba(201, 162, 39, .35);
}

.tunnel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFE9A8, #D9A518 50%, #8A6710);
    color: #14110A;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    box-shadow: 0 0 0 1px #E8C863, 0 4px 14px rgba(201, 162, 39, .45);
    transition: transform .2s, filter .2s;
}

.tunnel-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Mobile : les boutons de services défilent en carrousel (swipe horizontal) au lieu de s'empiler en croix */
@media (max-width: 768px) {
    .tunnel-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
        padding: 18px 16px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-padding: 0 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tunnel-bar::-webkit-scrollbar {
        display: none;
    }

    .tunnel-btn {
        flex: 0 0 auto;
        min-height: 46px;
        padding: 0 20px;
        font-size: 15px;
        white-space: nowrap;
        scroll-snap-align: start;
    }
}
