/* ---------- accueil ---------- */
.bodyaccueil {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: white;
}

a {
    text-decoration: none;
}

/* ---------- Header ---------- */

/* ------------- Header accueil ------------- */
.headeracueil {
    position: relative;
    background-color: #000000;
    padding: 10px 20px;
    border-bottom: 3px solid #ffcc00;
    box-sizing: border-box;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

/* ------------- Logo ------------- */
.logo {
    font-size: 28px;
    font-weight: 800;
    color: #ffcc00;
    letter-spacing: 2px;
    text-decoration: none;
    white-space: nowrap;
}

/* ------------- Navigation ------------- */
.nav {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    margin: 0;
    padding: 0;
}

.nav li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 12px;
    position: relative;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

/* ------------- Icônes ------------- */
.nav li a i {
    color: #ffcc00;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
}

/* ------------- Survol ------------- */
.nav li a:hover {
    color: #ffcc00;
}

.nav li a:hover i {
    transform: scale(1.12);
}
/*-------------- Barre de recherche du header-------------*/
.header-container > .film-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-container > .film-search input {
    width: 190px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

.header-container > .film-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 125px;
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #ffcc00;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
}

.header-container > .film-search button:hover {
    background: #e6b800;
}

.burger {
    display: none;
    background: none;
    border: none;
    color: #ffcc00;
    font-size: 30px;
    cursor: pointer;
}
.header-container > .film-search button {
    height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 10px;
    background: #ffcc00;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

.header-container > .film-search button:hover {
    background: #e6b800;
}
/* ---------- Zone utilisateur (Admin + profil) ---------- */
#menu-user,
#menu-user li {
    display: flex;
    align-items: center;
}

#menu-user {
    gap: 10px;
}

.nav li a.admin-link {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: 20px;
    font-weight: bold;
}

.admin-link svg {
    flex-shrink: 0;
}

/* ---------- Icône compte ---------- */
.iconcompte {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.iconcompte:hover {
    transform: scale(1.1);
}

/* ---------- Menu profil (déroulant) ---------- */
.user-menu {
    position: relative;
    list-style: none;
}

.user-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 50%;
    outline: none;
}

.user-toggle:focus-visible {
    outline: 2px solid #ffcc00;
    outline-offset: 3px;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background-color: #14161a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown .user-email {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 6px;
    color: #cfcfcf;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    word-break: break-all;
}

.user-dropdown .user-email .iconcompte {
    width: 24px;
    height: 24px;
    cursor: default;
}

.user-dropdown .user-email .iconcompte:hover {
    transform: none;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: white;
    border-radius: 8px;
    font-size: 0.95rem;
}

.user-dropdown a:hover {
    background-color: rgba(255, 204, 0, 0.12);
    color: #ffcc00;
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 6px 0;
}

/* ---------- Bannière ---------- */
.banniere {
    background-image: url('../image/grandcine11.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 380px;
    padding: 80px 5%;
    border-bottom: 1px solid #333;
    position: relative;
}

.banniere-texte {
    width: 50%;
}

.banniere-genre {
    color: #ccc;
}

.banniere-titre {
    font-size: 70px;
    margin: 10px 0;
    color: #ffcc00;
}

.banniere-resume {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 30px;
}

.bouton {
    background-color: #ffcc00;
    color: black;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 4px;
    margin-right: 10px;
}

.bouton:hover {
    background-color: white;
}

.bouton-contour {
    color: white;
    padding: 10px 25px;
    border: 2px solid white;
    border-radius: 4px;
}

.bouton-contour:hover {
    border-color: #ffcc00;
    color: #ffcc00;
}

/* ---------- Titres des sections ---------- */
.titre-section {
    font-size: 30px;
    margin-bottom: 25px;
    border-left: 6px solid #ffcc00;
    padding-left: 12px;
}

/* ---------- Affiche ---------- */
.affiche {
    padding: 50px 3%;
}

.liste-films {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.film {
    width: auto;
}

.film a {
    display: block;
    color: white;
}

.film h3 {
    margin: 12px 0 4px 0;
    font-size: 20px;
}

.film p {
    margin: 0;
    color: #aaa;
    font-size: 15px;
}

.film p.film__genre {
    display: inline-block;
    color: #ffcc00 !important;
    background-color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 6px 0 14px;
}

/* ---------- Affiches des films ---------- */
.poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background-color: #333;
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.film a:hover .poster {
    outline: 3px solid #ffcc00;
}

/* ---------- Séances ---------- */
.seances {
    background-color: black;
    padding: 50px 5%;
}

.ligne-seance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.nom-film {
    font-size: 20px;
    margin: 0;
    width: 30%;
}

.horaires {
    width: 70%;
}

.horaires a {
    display: inline-block;
    color: white;
    border: 1px solid #ffcc00;
    padding: 8px 18px;
    margin-right: 10px;
    border-radius: 4px;
}

.horaires a:hover {
    background-color: #ffcc00;
    color: black;
}

/* ---------- Tarifs ---------- */
.tarifs {
    padding: 50px 5%;
}

.liste-tarifs {
    display: flex;
    gap: 25px;
}

.tarif {
    background-color: #222;
    border-top: 4px solid #ffcc00;
    padding: 20px;
    width: 25%;
    text-align: center;
}

.tarif h3 {
    margin: 0;
}

.prix {
    font-size: 36px;
    font-weight: bold;
    color: #ffcc00;
    margin: 10px 0 0 0;
}

/* ---------- Footer ---------- */
.footer {
    background-color: black;
    border-top: 3px solid #ffcc00;
    text-align: center;
    padding: 30px 20px;
    color: #aaa;
}

.footer-logo {
    font-size: 24px;
    color: #ffcc00;
    font-weight: bold;
}

/* ===== Section tarifs ===== */
.tarif-section {
    background: #111111;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 55px;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

/* ===== Carte du tarif ===== */
.tarif-card {
    display: flex;
    align-items: center;
    gap: 36px;
    width: 100%;
    max-width: 1064px;
    padding: 36px 44px;
    background: #151515;
    border: 1px solid #ffc400;
    border-radius: 20px;
    box-shadow: 0 0 12px rgba(255, 196, 0, 0.12);
    box-sizing: border-box;
}

.tarif-price {
    flex: 0 0 250px;
    text-align: center;
    color: #ffc400;
}

.tarif-icon {
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto 8px;
}

.tarif-amount {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffc400;
}

.tarif-unit {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #ffffff;
}

.tarif-divider {
    align-self: stretch;
    flex: 0 0 1px;
    background: #333333;
}

.tarif-info {
    flex: 1;
    min-width: 0;
}

.tarif-title {
    margin: 0 0 14px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.tarif-badge {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111111;
    background: #ffc400;
    border-radius: 20px;
}

.tarif-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e5e5e5;
}

/* ===== Barre des avantages ===== */
.features-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 1376px;
    padding: 24px 10px;
    background: #151515;
    border: 1px solid #292929;
    border-radius: 16px;
    box-sizing: border-box;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 8px 16px;
    border-right: 1px solid #292929;
}

.feature-item:last-child {
    border-right: none;
}

.feature-icon {
    display: block;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    color: #ffc400;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.feature-text strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.feature-text span {
    font-size: 0.78rem;
    color: #cccccc;
}
 /*---- Notification suppression compte -------*/
    .account-notification {
        position: fixed;
        top: 25px;
        right: 25px;
        width: 320px;
        background: #1b1b1b;
        color: white;
        border-left: 4px solid #dc2626;
        border-radius: 6px;
        padding: 18px 20px 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
        z-index: 9999;
        overflow: hidden;
        animation: notification-appear 0.4s ease;
    }

    .notification-content {
        padding-bottom: 18px;
        font-size: 14px;
    }

    .notification-progress {
        height: 4px;
        background: #dc2626;
        margin: 0 -20px;
        animation: notification-timer 10s linear forwards;
    }

    @keyframes notification-timer {
        from { width: 100%; }
        to { width: 0%; }
    }

    @keyframes notification-appear {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .liste-films {
        grid-template-columns: repeat(3, 1fr);
    }

    .tarif-card {
        max-width: 850px;
        gap: 28px;
        padding: 32px;
    }

    .tarif-price {
        flex-basis: 200px;
    }

    .features-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }

    .feature-item:nth-child(2) {
        border-right: none;
    }

    .feature-item:nth-child(3) {
        border-right: 1px solid #292929;
    }

    .feature-item:nth-child(4) {
        border-right: none;
    }
}
/* ===== Responsive ===== */
@media (max-width: 800px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* Header et menu burger */
    .header-container {
        flex-wrap: wrap;
    }

    .burger {
        display: block;
    }

    .header-container > nav,
    .header-container > .search-form,
    .header-container > .nav {
        display: none;
        width: 100%;
    }

    .header-container.open > nav,
    .header-container.open > .search-form {
        display: block;
    }

    .header-container.open > .nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        margin: 0;
        padding: 15px 0;
    }

    .header-container > nav .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin: 0;
        padding: 0;
    }

    .header-container > nav .nav li a {
        display: block;
        padding: 8px 0;
    }

    .search-form input {
        width: 100%;
        box-sizing: border-box;
        margin: 10px 0;
    }


    .banniere {
        min-height: 0;
        padding: 40px 5%;
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
            url('../image/grandcine11.png');
        background-size: cover;
        background-position: 70% center;
    }

    .banniere-texte {
        width: 100%;
        box-sizing: border-box;
    }

    .banniere-genre {
        font-size: 14px;
        margin: 0 0 6px;
    }

    .banniere-titre {
        font-size: 32px;
        line-height: 1.1;
        margin: 6px 0 12px;
    }

    .banniere-resume {
        font-size: 15px;
        line-height: 22px;
        margin-bottom: 20px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    }

    .bouton,
    .bouton-contour {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        font-size: 15px;
        line-height: 1.2;
        padding: 12px 16px;
        margin: 0 0 12px;
    }

    /* Films */
    .affiche {
        padding: 30px 5%;
    }

    .titre-section {
        font-size: 24px;
    }

    .liste-films {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .film h3 {
        font-size: 16px;
    }

    .film p {
        font-size: 13px;
    }

    /* Séances */
    .ligne-seance {
        flex-direction: column;
        align-items: flex-start;
    }

    .nom-film,
    .horaires {
        width: 100%;
    }

    .horaires a {
        margin-bottom: 8px;
    }

    /* Anciens tarifs */
    .liste-tarifs {
        flex-direction: column;
    }

    .tarif {
        width: auto;
    }

    .tarif-section {
        padding: 40px 16px;
        gap: 30px;
    }

    .tarif-card {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
        padding: 28px 22px;
        text-align: center;
    }

    .tarif-price {
        flex: 0 0 auto;
    }

    .tarif-icon {
        width: 40px;
        height: 40px;
    }

    .tarif-amount {
        font-size: 2.8rem;
    }

    .tarif-divider {
        align-self: auto;
        flex: 0 0 1px;
        width: 100%;
        height: 1px;
    }

    .tarif-info {
        width: 100%;
        min-width: 0;
    }

    .tarif-title {
        font-size: 1.3rem;
    }

    .tarif-text {
        font-size: 0.9rem;
        overflow-wrap: anywhere;
    }

    .features-bar {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        padding: 12px;
    }

    .feature-item,
    .feature-item:nth-child(3) {
        justify-content: flex-start;
        gap: 14px;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid #292929;
        padding: 14px 10px;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
    }

    .feature-text {
        min-width: 0;
    }

    .feature-text strong {
        font-size: 0.82rem;
    }

    .feature-text span {
        font-size: 0.75rem;
    }
}
