/* ================================================================
   Théâtre de la Marmite — Styles principaux
   ================================================================ */

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}

nav {
    background-color: #f1f1f1;
    color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
}

@media (min-width: 769px) {
    nav {
        padding: 24px 40px;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Logo custom WordPress */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.navbar-brand .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.custom-logo {
    height: 44px !important;
    width: 44px !important;
    object-fit: contain;
    display: block;
}

.nav-brand-text {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: .02em;
}

/* Liens du menu — underline animé */
.nav-links > li > a {
    position: relative;
    padding-bottom: 3px;
    color: #444;
    font-weight: 400;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #b52626;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    border-radius: 2px;
}

.nav-links > li > a:hover::after,
.nav-links > li.current-menu-item > a::after {
    transform: scaleX(1);
}

.nav-links > li.current-menu-item > a {
    color: #b52626;
}

/* Burger — visible uniquement mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #333;
}

.nav-toggle svg {
    display: block;
    width: 24px;
    height: 24px;
}

.breadcrumb {
   background-color: transparent;
   display: flex;
   justify-content: start;
   font-size: .875rem;
   color: #666;
   margin: 0 20px;
   box-shadow: none;
}

figcaption{
   font-size: .875rem;
   color: #666;
   margin-top: 8px;
   text-align: center;
}

.btn-link {
   display: inline-block;
}

.btn-link a{
   padding: 10px 20px;
   background-color: #b52626;
   color: #fff;
   text-decoration: none;
   border-radius: 20px;
   transition: background-color .2s ease;
}

.btn-link:hover a{
   background-color: #9e1f1f;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #f1f1f1;
        box-shadow: 0 8px 20px rgba(0,0,0,.12);
        z-index: 999;
        padding: 0 20px 12px;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 12px 0;
        border-top: 1px solid #e0e0e0;
    }
}

/* Header */

.header-marmite {
   width: 100%;
   position: relative;
   text-align: center;
   color: #fff;
}

.header-marmite img{
   width: 100%;
   height: 520px;
   object-fit: cover;
   filter: brightness(0.6);
}

.header-marmite h1 {
   position: absolute;
   top: 45%;
   left: 50%;
   transform: translate(-50%, -50%);
   font-size: 2.8rem;
   font-weight: 700;
   letter-spacing: .02em;
}

/* ---- Menu cards ------------------------------------------------- */

.menu-card {
   position: relative;
    padding: 40px 32px;
    margin-top: -100px;
}

.menu-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
}

.menu-card li {
    flex: 1;
    min-width: 0;
}

.menu-card li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    min-height: 200px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e8e5e0;
    border-radius: 10px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: .9rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

/* Trait discret en bas au hover */


.menu-card li a:hover {
    border-color: #d0ccc8;
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    color: #b52626;
}

.menu-card li a:hover::after {
    transform: scaleX(1);
}

/* Icône */
.menu-card li a .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b52626;
    opacity: .75;
    transition: opacity .2s ease, transform .2s ease;
    flex-shrink: 0;
}

.menu-card li a .card-icon svg {
    width: 100%;
    height: 100%;
}

.menu-card li a:hover .card-icon {
    opacity: 1;
    transform: translateY(-3px);
}

/* Label */
.menu-card li a .card-label {
    line-height: 1.4;
    letter-spacing: .01em;
}

.content {
    margin: 0 5%;
}

.content h1,
.content h2,
.content h3,
.content h4 {
    font-family: "Poppins", sans-serif;
    color: #1a1a1a;
    line-height: 1.25;
    font-weight: 700;
}

.content h1 {
    font-size: 2.4rem;
    margin: 0 0 28px;
    letter-spacing: -.01em;
}

.content h2 {
    font-size: 1.8rem;
    margin: 48px 0 24px;
    padding-bottom: 14px;
    position: relative;
    text-align: center;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: #b52626;
    border-radius: 2px;
}

.content h3 {
    font-size: 1.3rem;
    margin: 32px 0 12px;
    color: #b52626;
    font-weight: 600;
}

.content h4 {
    font-size: 1rem;
    margin: 20px 0 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #555;
}

.content img {
    border-radius: 12px;
}

.box-shadow img {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.card-contact{
   background-color: #f9f9f9;
   border: 1px solid #e0e0e0;
   border-radius: 10px;
   padding: 24px;
   text-align: center;
   transition: box-shadow .2s ease, border-color .2s ease;
}

.card-contact:hover {
   box-shadow: 0 12px 32px rgba(143, 143, 143, 0.1);
   border-color: #d0ccc8;
}

.card-contact a, .color-red a{
   text-decoration: none;
   color: #b52626;
   transition: 0.5s;
}

.card-contact a:hover, .color-red:hover a{
   text-decoration: underline;
}

.card-contact h5{
   font-size: 1rem;
   margin: 0 0 10px;
   color: #242424;
   font-weight: 400;
}

iframe {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    width: 100%;
    height: 400px;
}

/* ---- Responsive ------------------------------------------------- */

@media (max-width: 900px) {
    .menu-card {
        padding: 32px 20px;
    }

    .menu-card ul {
        flex-wrap: wrap;
    }

    .menu-card li {
        flex: 1 1 calc(50% - 9px);
    }
}

@media (max-width: 480px) {
    .menu-card {
        padding: 24px 16px;
        margin-top: -60px;
    }

    .menu-card ul {
        gap: 12px;
    }

    .menu-card li {
        flex: 1 1 100%;
    }

    .menu-card li a {
        min-height: 120px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        padding: 20px 24px;
    }

    .menu-card li a .card-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .menu-card li a .card-label {
        text-align: left;
    }
}

/* ================================================================
   Footer
   ================================================================ */

.site-footer {
    background-color: #1a1a1a;
    color: #ccc;
    font-size: .875rem;
    margin-top: 80px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-bottom: 14px;
    letter-spacing: .02em;
}

.footer-logo:hover {
    color: #b52626;
}

.footer-tagline {
    margin: 0 0 20px;
    line-height: 1.6;
    color: #999;
}

.footer-fb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}

.footer-fb:hover {
    color: #b52626;
}

.footer-heading {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    margin: 0 0 18px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu a {
    color: #bbb;
    text-decoration: none;
    transition: color .2s, padding-left .2s;
    display: inline-block;
}

.footer-menu a:hover {
    color: #b52626;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #2e2e2e;
    text-align: center;
    padding: 18px 40px;
    font-size: .78rem;
    color: #555;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding: 40px 24px 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}