html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1 0 auto;
}

h1 {
    color: #2c3e50;
}
h2 {
    color: #7A4B00;
}
h3 {
    color: #7A4B00;
    font-size: 1.2rem;
    margin-left: 5px;
}

#header-logo {
    height: 80px;
    width: auto;
}

#header-title-jg {
    color: #7A4B00;
    font-size: 1.5rem;
}

#header-subtitle-jg {
    color: #7A4B00;
    font-size: 0.9rem;
}

#header-nav-link {
    color: #7A4B00;
    position: relative;
    padding-top: 10px;
    white-space: nowrap;
}

#header-nav-link-active {
    color: #0CC0DF;
    position: relative;
    padding-top: 10px;
    white-space: nowrap;
}

#header-nav-link:hover {
    color: #0CC0DF;
    /* background-color: turquoise; */
}

#header-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    border-top: 1px solid #7A4B00;
    pointer-events: none;
}
#header-nav-link-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    border-top: 2px solid #0CC0DF;
    pointer-events: none;
}


#header-nav-link-dropdown {
    color: #7A4B00;
    position: relative;
    padding-top: 10px;
    white-space: nowrap;
}

#header-nav-link-dropdown:active {
    background-color: #0CC0DF;
}

#header-nav-panier {
    color: #7A4B00;
    position: relative;
    padding-top: 2px;
}


/* --- Dropdowns dynamiques (hover sur desktop) --- */
#dropdown-navbar > .nav-link,
#dropdown-navbar-user > .nav-link {
    padding-bottom: 0.25rem;
}

#dropdown-navbar .dropdown-menu,
#dropdown-navbar-user .dropdown-menu {
    margin-top: 0 !important;
    pointer-events: auto;
}

/* Dropdown utilisateur : ne pas déborder de l'écran */
#dropdown-navbar-user .dropdown-menu {
    min-width: 200px;
    max-width: 260px;
    right: 0;
    left: auto;
}

#dropdown-navbar-user .dropdown-user-header {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#dropdown-navbar-user .dropdown-user-header .text-muted {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

/* Hover sur desktop : ouvrir les dropdowns au survol */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    /* Bridge invisible entre le toggle et le menu pour éviter le gap */
    .navbar .nav-item.dropdown > .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
    }
}

/* Avatar circle in navbar */
.navbar-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c88a32, #a06a1a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.82rem;
    flex-shrink: 0;
}

/* Header dans le dropdown user */
.dropdown-user-header {
    padding: 10px 14px;
    pointer-events: none;
}

/* Item danger */
.dropdown-item-danger {
    color: #dc2626 !important;
}
.dropdown-item-danger:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

/* Hero */
.entreprise-hero {
    background: url("/static/img/entreprise/hero.jpg") center/cover no-repeat;
    height: 45vh;
    padding: 40px 0;
}

/* Post-it style cards */
.offre-card {
    background: #fff8d6;
    border-radius: 8px;
    position: relative;
}
.offre-card::before {
    content: "";
    background: url("/static/img/tape.png") center/contain no-repeat;
    width: 60px;
    height: 35px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Contact section */
.contact-section {
    background: #fff9c4;
}


/* Hero Tarifs */
.tarifs-hero {
    background: linear-gradient(120deg, #b896ff, #6a5acd);
    height: 220px;
}

/* Price Cards */
.price-card {
    border-radius: 12px;
}

.price-card:hover {
    transform: scale(1.05);
    transition-duration: 150ms;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.price-card.highlight {
    background: #fff7c2;
    border: 2px solid #ffdd57;
}

.price-card .price .amount {
    font-size: 2.8rem;
    font-weight: 700;
    color: #6a4c35;
}

.price-card .card-text {
    min-height: 80px;
}

.full-photo-section {
    position: relative;
    width: 100%;
    min-height: 420px;
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.full-photo-section img.full-photo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
    z-index: 0;
}

.full-photo-section .card-home-pro {
    position: relative;
    z-index: 1;
    margin: 40px 0 40px 10%;
}


.card-home-prez {
    background: #ffe55d;
    border-radius: 16px;
    padding: 26px 28px;
    max-width: 460px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    color: #3a2d00;
}

.card-home-prez h2 {
    margin: 0 0 14px;
    font-size: 24px;
    /* color: #502c2c; */
    color: var(--byam-text)
}

.card-home-prez a {
    color: #3a2d00;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid rgba(58, 45, 0, 0.4);
}

.byam-page-header-content {
    max-width: 560px;
}

.byam-buttons {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 999px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.btn-primary-landing {
    background: linear-gradient(135deg, #facc15, #fde047);
    color: #1f2933;
}
.btn-primary-landing:hover {
    background: linear-gradient(135deg, #0cbfdfe7, #0CC0DF);
}

.btn-transparent-landing {
    background-color: rgba(31, 41, 51, 0.5);
    border: 1px solid rgba(15, 23, 42, 0.22);
    color: #ceedf1;
}

.btn-transparent-landing:hover {
    background: linear-gradient(135deg, rgba(12, 191, 223, 0.7), rgba(12, 192, 223, 0.7));
    color: #1f2933;
}

.btn-secondary-landing {
    background: #fffef5;
    color: #7A4B00;
    border: 1px solid rgba(249, 250, 251, 0.35);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.btn-secondary-landing:hover {
    background: linear-gradient(135deg, rgba(12, 191, 223, 0.7), rgba(12, 192, 223, 0.7));
    color: #7A4B00;
}

.btn-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.btn-pill:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

.navbar .nav-link:focus,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-item:focus {
    outline: none !important;
    box-shadow: none !important;
}

.black-prez-coaching {
    background-image: linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.52)), url("/static/img/8.webp");
    background-size: cover;
    background-position: center;
    height: 45vh;
    padding-top: 80px;
    padding-bottom: 80px;
}

.black-prez-enterprise {
    background-image: url("/static/img/8.webp");
    background-size: cover;
    background-position: center;
    max-height: 450px;
    min-height: 300px;

    display: flex;
    align-items: center;           /* évite que le contenu soit collé en haut */
    justify-content: center;
    text-align: center;

    position: relative;
}

/* OPTIONNEL : un voile sombre pour lire le texte */
.black-prez-enterprise::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.black-prez-enterprise .d-flex {
    position: relative;
    z-index: 3;
}

.black-prez-enterprise h1 {
    color: #fff;
}


.btn-blue-landing {
    background: #0CC0DF;
    color: #1f2933;
    border: none;
}

footer {
    flex-shrink: 0;
    background-color: #7A4B00;
    color: #ecf0f1;
    padding: 40px 0;
}
footer a {
    /* mettre le texte avec une taille de 10px */
    color: #ecf0f1;
    font-size: 10px;
}
footer p {
    font-size: 10px;
}

/* =============================================
   Showcase Sections (modern) — Entreprise & Coaching
   ============================================= */
.ent-showcase {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}
.ent-showcase:nth-child(even) {
    background: #fafafa;
}
.ent-showcase-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.ent-showcase--reverse .ent-showcase-inner {
    direction: rtl;
}
.ent-showcase--reverse .ent-showcase-inner > * {
    direction: ltr;
}

/* ── Label tag ── */
.ent-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--byam-gold), #e6a817);
    color: #fff;
    margin-bottom: 16px;
}

/* ── Title ── */
.ent-showcase-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin: 0 0 16px;
    position: relative;
}
.ent-showcase-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--byam-gold);
    border-radius: 2px;
    margin-top: 12px;
}

/* ── Description ── */
.ent-showcase-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

/* ── Checklist ── */
.ent-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ent-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .95rem;
    color: #333;
    font-weight: 500;
}
.ent-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(200,138,50,.12), rgba(200,138,50,.22));
    color: var(--byam-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    transition: transform .2s, background .2s;
}
.ent-checklist li:hover .ent-check-icon {
    transform: scale(1.15);
    background: var(--byam-gold);
    color: #fff;
}

/* ── Image wrapper ── */
.ent-showcase-visual {
    position: relative;
}
.ent-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.12), 0 8px 20px rgba(0,0,0,.06);
    transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
}
.ent-img-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 70px rgba(0,0,0,.16), 0 12px 28px rgba(0,0,0,.08);
}
.ent-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.ent-img-wrapper:hover img {
    transform: scale(1.04);
}

/* accent decorative element */
.ent-img-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--byam-gold), #e6a817);
    opacity: .18;
    z-index: -1;
    transition: transform .4s, opacity .4s;
}
.ent-img-wrapper:hover .ent-img-accent {
    transform: translate(-4px, -4px) scale(1.1);
    opacity: .28;
}
.ent-showcase--reverse .ent-img-accent {
    right: auto;
    left: -12px;
}

/* ── Reveal animation ── */
.ent-showcase .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.ent-showcase .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.ent-showcase-visual.reveal {
    transition-delay: .15s;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .ent-showcase-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ent-showcase--reverse .ent-showcase-inner {
        direction: ltr;
    }
    .ent-showcase {
        padding: 50px 0;
    }
    .ent-showcase-visual {
        order: -1;
    }
}