/* ============================================
   CUSTOM STYLES POUR INDEX.PHP - LA MINOTIERE

   ============================================ */

/* Hero Section Amélioré */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(183, 189, 144, 0.3) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.featured-area {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 0;
    border-left: 5px solid #B7BD90;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.featured-area h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 3.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-area h5 {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-weight: 400;
    font-style: italic;
}

/* Badge Prix Formule */
.weekly-special {
    position: absolute;
    right: 80px;
    bottom: 100px;
    background: #B7BD90;
    color: white;
    padding: 30px 35px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(183, 189, 144, 0.4);
    animation: float 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.weekly-special span {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.weekly-special h4 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.weekly-special h5 {
    font-size: 0.95rem;
    margin-top: 10px;
    font-weight: 500;
}

/* Section Présentation */
.presentation-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0 80px;
    position: relative;
}

.presentation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #B7BD90, transparent);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #B7BD90;
    border-radius: 2px;
}

.presentation-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    text-align: center;
}

/* Section Nos Engagements */
.engagements-section {
    padding: 80px 0;
    background: #fff;
}

.engagement-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.engagement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #B7BD90;
}

.engagement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #B7BD90 0%, #9da67a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    transition: all 0.3s ease;
}

.engagement-card:hover .engagement-icon {
    transform: rotateY(360deg);
}

.engagement-card h4 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.engagement-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Section Formules - Améliorée */
.formules-section,
section.formules-section {
    padding: 100px 0 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: none !important;
    outline: none !important;
}

/* Reset complet pour tous les éléments de la section formules */
.formules-section *,
section.formules-section *,
.formules-section *::before,
.formules-section *::after {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Supprimer spécifiquement les colonnes Bootstrap qui peuvent avoir des bordures */
.formules-section .row,
.formules-section .col-xl-4,
.formules-section .col-lg-6,
.formules-section [class*="col-"] {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Supprimer complètement les gutters Bootstrap .g-4 qui créent des espaces blancs */
.formules-section .row.g-4,
.formules-section .g-4 {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    gap: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Supprimer le padding des colonnes dans la section formules */
.formules-section .col-xl-4,
.formules-section .col-lg-6,
.formules-section [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-top: 0 !important;
    padding-bottom: 30px !important;
    margin: 0 !important;
}

.formules-section .heading,
section.formules-section .heading {
    text-align: center !important;
    margin-bottom: 70px !important;
}

.formules-section .heading span,
section.formules-section .heading span {
    display: block !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #B7BD90 !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

.formules-section .heading h1,
section.formules-section .heading h1 {
    font-family: 'Fredoka One', cursive !important;
    font-size: 3rem !important;
    color: #2c3e50 !important;
}

.restaurant-card,
div.restaurant-card,
.restaurant-card.coctail {
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    height: 100% !important;
    position: relative !important;
    border: none !important;
    outline: none !important;
}

/* Supprimer tous les pseudo-éléments des cartes */
.restaurant-card::before,
.restaurant-card::after,
div.restaurant-card::before,
div.restaurant-card::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

.restaurant-card:hover,
div.restaurant-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 20px 50px rgba(183, 189, 144, 0.3) !important;
    border: none !important;
    outline: none !important;
}

.restaurant-card img,
div.restaurant-card img {
    transition: all 0.4s ease !important;
    border: none !important;
    outline: none !important;
}

.restaurant-card:hover img,
div.restaurant-card:hover img {
    transform: scale(1.1) !important;
}

.restaurant-span,
div.restaurant-span {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 2 !important;
    border: none !important;
    outline: none !important;
}

.restaurant-span span,
div.restaurant-span span {
    background: #B7BD90 !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 5px 15px rgba(183, 189, 144, 0.4) !important;
    border: none !important;
    outline: none !important;
}

.coctail-bar,
div.coctail-bar {
    padding: 35px 30px !important;
    border: none !important;
    outline: none !important;
}

.coctail-bar h5,
div.coctail-bar h5 {
    font-size: 1.6rem !important;
    color: #2c3e50 !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
}

.coctail-bar p,
div.coctail-bar p {
    font-size: 1.05rem !important;
    color: #666 !important;
    line-height: 1.7 !important;
    margin-bottom: 25px !important;
}

.coctail-bar a,
.coctail-bar a:link,
div.coctail-bar a {
    display: inline-block !important;
    padding: 12px 30px !important;
    background: white !important;
    color: #B7BD90 !important;
    border: none !important;
    outline: none !important;
    box-shadow: inset 0 0 0 2px #B7BD90 !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
    position: relative !important;
}

.coctail-bar a::before,
.coctail-bar a::after {
    display: none !important;
    content: none !important;
}

.coctail-bar a:hover,
.coctail-bar a:focus {
    background: #B7BD90 !important;
    color: white !important;
    transform: translateX(5px) !important;
    border: none !important;
    outline: none !important;
}

/* Séparateur décoratif */
.decorative-separator {
    text-align: center;
    padding: 60px 0;
}

.decorative-separator .line {
    height: 2px;
    background: linear-gradient(to right, transparent, #B7BD90, transparent);
    max-width: 600px;
    margin: 0 auto;
}

/* Section CTA (Call to Action) */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(183, 189, 144, 0.1);
    border-radius: 50%;
}

.cta-section h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-button,
a.cta-button,
.cta-buttons .cta-button {
    display: inline-block !important;
    padding: 18px 45px !important;
    background: #B7BD90 !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    position: relative !important;
}

.cta-button::before,
.cta-button::after,
a.cta-button::before,
a.cta-button::after {
    display: none !important;
    content: none !important;
}

.cta-button:hover,
a.cta-button:hover {
    background: #9da67a !important;
    color: white !important;
    transform: translateY(-5px) !important;
    border: none !important;
    outline: none !important;
}

.cta-button.secondary,
a.cta-button.secondary {
    background: white !important;
    color: #2c3e50 !important;
    border: none !important;
}

.cta-button.secondary::before,
.cta-button.secondary::after {
    display: none !important;
}

.cta-button.secondary:hover,
a.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #2c3e50 !important;
    transform: translateY(-5px) !important;
}

/* Boutons hero - amélioration - Haute spécificité pour surcharger les autres CSS */
.featured-area .button,
.featured-area a.button,
div.featured-area .button {
    display: inline-block !important;
    padding: 16px 40px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Supprimer tous les pseudo-éléments qui peuvent créer des cercles */
.featured-area .button::before,
.featured-area .button::after,
.featured-area a.button::before,
.featured-area a.button::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
}

.featured-area .button:focus,
.featured-area .button:active,
.featured-area .button:visited,
.featured-area a.button:focus,
.featured-area a.button:active,
.featured-area a.button:visited {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.featured-area .button-primary,
.featured-area a.button-primary,
div.featured-area .button-primary {
    background: #B7BD90 !important;
    color: white !important;
    border: none !important;
}

.featured-area .button-primary::before,
.featured-area .button-primary::after {
    display: none !important;
}

.featured-area .button-primary:hover,
.featured-area a.button-primary:hover {
    background: #9da67a !important;
    color: white !important;
    transform: translateY(-3px) !important;
    filter: brightness(1.05) !important;
    border: none !important;
    outline: none !important;
}

.featured-area .button-outline,
.featured-area a.button-outline,
div.featured-area .button-outline {
    background: white !important;
    color: #B7BD90 !important;
    box-shadow: inset 0 0 0 3px #B7BD90 !important;
    border: none !important;
}

.featured-area .button-outline::before,
.featured-area .button-outline::after {
    display: none !important;
}

.featured-area .button-outline:hover,
.featured-area a.button-outline:hover {
    background: #B7BD90 !important;
    color: white !important;
    transform: translateY(-3px) !important;
    border: none !important;
    outline: none !important;
}

/* Animation des icônes d'engagement */
.engagement-icon i {
    display: inline-block;
    transition: all 0.3s ease;
}

.engagement-card:hover .engagement-icon i {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Reset complet pour les images des cartes */
.restaurant-card > img,
.restaurant-card img.w-100,
div.restaurant-card > img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: block !important;
}

/* Effet de brillance sur les badges de formule */
.restaurant-span span,
div.restaurant-span span {
    position: relative !important;
    overflow: hidden !important;
}

.restaurant-span span::before,
div.restaurant-span span::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.5s ease !important;
    border: none !important;
}

.restaurant-card:hover .restaurant-span span::before,
div.restaurant-card:hover div.restaurant-span span::before {
    left: 100% !important;
}

/* Responsive */
@media (max-width: 991px) {
    .featured-area h2 {
        font-size: 2.5rem;
    }

    .weekly-special {
        position: static;
        margin: 30px auto 0;
        width: 200px;
    }

    .section-title h1 {
        font-size: 2.2rem;
    }

    .formules-section .heading h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .featured-area {
        padding: 35px 25px;
    }

    .featured-area h2 {
        font-size: 2rem;
    }

    .featured-area .button {
        padding: 14px 30px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .presentation-text {
        font-size: 1.05rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .featured-area h2 {
        font-size: 1.7rem;
    }

    .featured-area h5 {
        font-size: 1.1rem;
    }

    .featured-area .button {
        padding: 12px 25px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}
