/* Variables de couleurs pour faciliter les changements */
:root {
    --bg-creme: #FFFBF7;
    --text-dark: #4A3228;
    --text-light: #5B443B; /* Plus clair que le dark pour certains textes */
    --accent-red: #FF6B6B;
    --btn-primary-bg: #E74C3C;
    --btn-secondary-bg: #5D4037;
    --header-bg: #FFFFFF;
    --footer-bg: #36261E;
    --shadow-light: rgba(0,0,0,0.05);
    --shadow-medium: rgba(0,0,0,0.1);
}

/* Base */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-creme);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: var(--text-dark);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--btn-primary-bg);
    color: white;
}
.btn-primary:hover {
    background-color: #d63d2e;
}

.btn-secondary {
    background-color: var(--btn-secondary-bg);
    color: white;
}
.btn-secondary:hover {
    background-color: #4c362f;
}

/* Header */
.main-header {
    background-color: var(--header-bg);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-light);
    border-bottom-left-radius: 20px; /* Bords arrondis pour le header */
    border-bottom-right-radius: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.2;
}
.logo img {
    width: 40px; /* Taille du logo */
    height: 40px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}
.main-nav a {
    font-weight: 500;
    color: var(--text-light);
    padding: 5px 0;
    position: relative;
}
.main-nav a:hover {
    color: var(--text-dark);
}
/* Soulignement animé pour le menu, si désiré */
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}
.main-nav a:hover::after {
    width: 100%;
}


/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 50px;
    gap: 50px;
    background-color: var(--bg-creme);
    flex-wrap: wrap; /* Pour la responsivité */
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.hero-content .tagline {
    color: var(--accent-red);
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 3.5em; /* Grande taille de titre */
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content .description {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 25px;
    font-size: 0.9em;
    color: var(--text-light);
    flex-wrap: wrap;
}
.hero-features i {
    color: var(--accent-red);
    margin-right: 8px;
}

.hero-image {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}
.hero-image img {
    border-radius: 30px;
}

.price-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}
.price-overlay span {
    display: block;
    font-size: 1.2em;
    font-weight: 700;
    color: #F8D34B; /* Jaune pour les prix */
    margin-top: 2px;
}

/* Sizes Section */
.sizes-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--bg-creme);
}
.sizes-section h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
}
.sizes-section > p { /* Le paragraphe juste après le titre */
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 40px;
}

.size-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.size-box {
    background-color: white;
    padding: 15px 30px;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-light);
}
.size-box:hover, .size-box.active {
    background-color: var(--btn-primary-bg);
    color: white;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
}

.product-card .image-container {
    position: relative;
    height: 250px; /* Hauteur fixe pour les images */
    overflow: hidden;
    border-bottom-left-radius: 10px; /* Petite courbure en bas de l'image */
    border-bottom-right-radius: 10px;
}
.product-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recouvre l'espace sans déformer */
}

.product-card .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #F4A261; /* Orange pour le badge */
    color: white;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 10;
}

.product-card .product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Permet aux cartes d'avoir la même hauteur si le texte varie */
}

.product-card h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 5px;
}
.product-card .product-info > p { /* Le paragraphe de description */
    font-size: 0.95em;
    color: var(--text-light);
    margin-bottom: 15px;
    flex-grow: 1; /* Pousse le reste vers le bas */
}

.product-card .colors {
    margin-bottom: 20px;
}
.product-card .colors span {
    font-size: 0.85em;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.product-card .color-dots {
    display: flex;
    gap: 8px;
}
.product-card .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1); /* Bord léger pour les couleurs claires */
    cursor: pointer;
    transition: transform 0.2s ease;
}
.product-card .dot:hover {
    transform: scale(1.1);
}
.product-card .dot.pink { background-color: #FFC0CB; }
.product-card .dot.brown { background-color: #8B4513; }
.product-card .dot.white { background-color: #FFFFFF; }
.product-card .dot.purple { background-color: #A020F0; }
.product-card .dot.orange { background-color: #FFA500; }
.product-card .dot.red { background-color: #FF0000; }


.product-card .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Pousse vers le bas */
}

.product-card .price {
    font-weight: bold;
    font-size: 1.5em;
    color: var(--accent-red);
}
.product-card .price small {
    font-size: 0.6em;
    font-weight: normal;
    color: var(--text-light);
}

.product-card .btn-whatsapp {
    background: var(--btn-secondary-bg);
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9em;
}
.product-card .btn-whatsapp:hover {
    background-color: #4c362f;
}

/* Delivery Section */
.delivery-section {
    text-align: center;
    padding: 80px 20px;
    background-color: white;
}
.delivery-section h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
}
.delivery-section > p { /* Le paragraphe juste après le titre */
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 40px;
}

.delivery-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto 60px auto;
}

.feature-card {
    background-color: var(--bg-creme);
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    text-align: center;
}
.feature-card i {
    font-size: 3em;
    color: var(--accent-red);
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-light);
    font-size: 0.95em;
}

.pickup-points {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pickup-card {
    background-color: white;
    padding: 25px 35px;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    min-width: 280px;
}
.pickup-card i {
    font-size: 2em;
    color: var(--accent-red);
}
.pickup-card h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}
.pickup-card p {
    font-size: 0.9em;
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 30px 20px 30px;
    text-align: center;
    border-top-left-radius: 20px; /* Bords arrondis pour le footer */
    border-top-right-radius: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.footer-block {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.footer-block .logo {
    color: white;
    margin-bottom: 20px;
}
.footer-block p {
    font-size: 0.9em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
}

.footer-block h4 {
    color: white;
    font-size: 1.2em;
    margin-bottom: 25px;
}

.footer-block ul {
    list-style: none;
    padding: 0;
}
.footer-block ul li {
    margin-bottom: 10px;
}
.footer-block ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}
.footer-block ul a:hover {
    color: white;
}

.footer-block p i {
    margin-right: 10px;
    color: var(--accent-red);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}
.social-links a {
    color: white;
    font-size: 1.5em;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--accent-red);
}

.copyright {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 40px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: translateY(-5px);
}
.whatsapp-float i {
    font-size: 1.4em;
}

/* Emergent Credit */
.emergent-credit {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Ou à droite si vous préférez */
    background-color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8em;
    color: var(--text-light);
    box-shadow: var(--shadow-light);
    z-index: 1000;
}
.emergent-credit img {
    height: 18px; /* Taille du logo Emergent */
    width: auto;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    .hero-content, .hero-image {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2.8em;
    }
    
    .footer-content {
        justify-content: center;
        text-align: center;
    }
    .footer-block {
        max-width: 100%;
    }
    .footer-block .logo, .social-links {
        justify-content: center;
    }
}

/*@media (max-width)*/

/* --- SECTION AVIS --- */
.testimonials-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-creme);
}

.testimonials-section .subtitle {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.description-text {
    color: var(--text-light);
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 450px; /* Hauteur pour ressembler au format TikTok/Reels */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-image {
    width: 100%;
    height: 100%;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay pour le texte en bas de l'image */
.testimonial-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    text-align: left;
    color: white;
}

.stars {
    color: #FFD700; /* Couleur Or */
    font-size: 14px;
    margin-bottom: 10px;
}

.testimonial-content h4 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
    opacity: 0.9;
}

/* Style du lien TikTok */
.tiktok-link {
    margin-top: 40px;
}

.tiktok-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.tiktok-link a:hover {
    transform: scale(1.05);
}

/* Responsivité pour mobile */
@media (max-width: 768px) {
    .testimonial-card {
        height: 400px;
    }
}

/* Styles de la Modale */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    right: 25px; top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.product-summary {
    background: #FFFBF7;
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.product-summary img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
}

.modal-price {
    color: #FF6B6B;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sélecteur de couleur */
.color-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
}

.color-selector input { display: none; }

.color-selector label {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.color-selector input:checked + label {
    border-color: #FF6B6B;
    background: #FFF5F5;
}

/* Champs de saisie */
input[type="tel"], input[type="text"] {
    width: 100%;
    padding: 15px;
    margin: 10px 0 20px 0;
    border: 1px solid #eee;
    border-radius: 15px;
    box-sizing: border-box;
    background: #fdfdfd;
}

.payment-info {
    background: #E8FAF0;
    color: #2D6A4F;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.btn-send-order {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}