/* === MODERN PARTS - ADAPTATION TAILWIND VERS CSS === */

:root {
    --bg-dark-main: #0f1115;
    --bg-dark-card: #1a1d23;
    --bg-dark-card-hover: #22262e;
    --text-slate-400: #94a3b8;
    --text-slate-500: #64748b;
    --border-white-5: rgba(255, 255, 255, 0.05);
}

/* Utilitaires */
.bg-dark-main {
    background-color: var(--bg-dark-main);
}

.text-orange-popote {
    color: var(--netflix-red);
}

.bg-orange-popote {
    background-color: var(--netflix-red);
}

.border-orange-popote {
    border-color: var(--netflix-red);
}

.text-slate-400 {
    color: var(--text-slate-400);
}

.text-slate-500 {
    color: var(--text-slate-500);
}

/* Containers */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === MEAL ROWS === */
.meal-rows-wrapper {
    margin-top: -8rem;
    /* Chevauchement sur le hero */
    position: relative;
    z-index: 20;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.meal-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meal-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    /* Masquer la barre de scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.meal-scroll-container::-webkit-scrollbar {
    display: none;
}

.meal-card {
    min-width: 300px;
    background-color: var(--bg-dark-card);
    border-radius: 1rem;
    overflow: hidden;
    scroll-snap-align: start;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.meal-card:hover {
    background-color: var(--bg-dark-card-hover);
    transform: translateY(-5px);
}

.meal-image-container {
    height: 200px;
    /* h-52 approx */
    position: relative;
    overflow: hidden;
}

.meal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.meal-card:hover .meal-image {
    transform: scale(1.1);
}

.meal-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--netflix-red);
    color: white;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.meal-actions {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    transform: translateY(3rem);
    transition: transform 0.3s;
}

.meal-card:hover .meal-actions {
    transform: translateY(0);
}

.btn-action-round {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-plus {
    background: white;
    color: black;
}

.btn-plus:hover {
    background: var(--netflix-red);
    color: white;
}

.btn-heart {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    color: white;
}

.btn-heart:hover {
    background: white;
    color: #ef4444;
}

.meal-content {
    padding: 1.5rem;
}

.meal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meal-card:hover .meal-title {
    color: var(--netflix-red);
}

.meal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-slate-400);
}

.meal-price {
    color: var(--netflix-red);
    font-weight: 700;
    font-size: 1rem;
}

/* === TRUST SECTIONS === */
.section-trust {
    padding: 2.5rem 0;
    background-color: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border-white-5);
    border-bottom: 1px solid var(--border-white-5);
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Centre les éléments s'ils sont moins de 4 */
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    /* Centrer verticalement icône et texte */
    text-align: left;
    /* Texte à gauche */
    justify-content: flex-start;
    height: 100%;
    flex: 0 1 320px;
    /* Taille idéale pour en mettre 4 sur 1400px */
    min-width: 280px;
}

.trust-icon-box {
    padding: 0;
    width: 60px;
    /* Retour taille standard */
    height: 60px;
    flex-shrink: 0;
    border-radius: 1rem;
    /* Carré arrondi */
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--netflix-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    /* Taille icône standard */
    margin-bottom: 0;
}

.trust-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.trust-text {
    color: var(--text-slate-400);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* === HOW IT WORKS === */
.section-how {
    padding: 6rem 0;
    background-color: var(--bg-dark-main);
    border-bottom: 1px solid var(--border-white-5);
}

.section-head {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 5rem;
}

.section-head h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
}

.section-head p {
    font-size: 1.25rem;
    color: var(--text-slate-400);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media(min-width: 768px) {
    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .how-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.how-card {
    text-align: center;
}

.how-icon-circle {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 2rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.how-card:hover .how-icon-circle {
    transform: scale(1.1);
}

.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.2);
}

.icon-orange {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    border-color: rgba(255, 107, 53, 0.2);
}

.icon-green {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.2);
}

/* === CTA FINAL === */
.section-cta-final {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark-main);
    text-align: center;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: var(--netflix-red);
    opacity: 0.1;
    filter: blur(120px);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    white-space: normal;
}

@media(min-width: 768px) {
    .cta-title {
        font-size: 4.5rem;
    }
}

.cta-btn {
    background-color: var(--netflix-red);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 1rem;
    font-size: 1.5rem;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.4);
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: scale(1.05);
    background-color: #e04f1f;
}

/* === FOOTER TAILWIND STYLE === */
.footer-modern {
    background-color: black;
    color: var(--text-slate-500);
    padding: 5rem 0;
    border-top: 1px solid var(--border-white-5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo-circle {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--netflix-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.05em;
}

.footer-nav h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--netflix-red);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-white-5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 0.875rem;
}

@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}