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;
}

#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;
}


#dropdown-navbar > .nav-link {
    padding-bottom: 0.25rem; /* réduire l'espace sous le bouton */
}

#dropdown-navbar .dropdown-menu {
    margin-top: 0 !important; /* placer le menu collé au bouton */
    pointer-events: auto;
}

/* 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%;
    height: 480px;
    margin-top: 40px;
}

.full-photo-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}


.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;
}

.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.png");
    background-size: cover;
    background-position: center;
    height: 45vh;
    padding-top: 80px;
    padding-bottom: 80px;
}

.black-prez-enterprise {
    background-image: url("/static/img/8.png");
    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;
}

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;
}