/* ============================================
   MonParfum.org — Art Déco Méditerranéen
   CSS personnalisé
   ============================================ */

:root {
    --primary-navy: #1a2744;
    --primary-gold: #c9a84c;
    --primary-olive: #6b7c3d;
    --primary-cream: #f8f5f0;
    --primary-light: #faf8f5;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --border-color: #e8e3d8;
    --whatsapp-green: #25d366;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--primary-light);
    line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

.text-gold {
    color: var(--primary-gold);
    font-style: italic;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    background-color: var(--primary-navy);
    color: var(--primary-gold);
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--primary-gold);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: var(--primary-navy);
    border: none;
    padding: 0.75rem 2rem;
}

.btn-gold:hover {
    background-color: #b89438;
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 168, 76, 0.3);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
}

.btn-whatsapp:hover {
    background-color: #1fa857;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 0.65rem 1.75rem;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: var(--primary-gold);
}

.icon-sm {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url('../images/entetsombre-min.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,20,45,0.65) 0%, rgba(10,20,45,0.2) 60%, rgba(0,0,0,0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-text {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-eyebrow {
    color: var(--primary-gold);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.3);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-section {
    background-color: var(--primary-light);
    position: relative;
}

.section-eyebrow {
    color: var(--primary-gold);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}

.section-eyebrow-light {
    color: var(--primary-gold);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}

.section-title {
    color: var(--primary-navy);
    margin: 1rem 0 0.5rem;
}

.section-title-light {
    color: white;
    margin: 1rem 0 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle-italic {
    color: var(--text-light);
    font-style: italic;
    font-size: 1rem;
}

.volume-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background-color: rgba(201, 168, 76, 0.05);
    border-radius: 0;
}

.volume-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.volume-icon {
    font-size: 2rem;
}

.volume-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.volume-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.product-card {
    background-color: white;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-navy);
    color: var(--primary-gold);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 10;
}

.product-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    background-color: #f5f5f5;
}

.product-body {
    padding: 1.5rem;
}

.product-brand {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.product-type {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.volume-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.volume-btn {
    flex: 1;
    min-width: 70px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.volume-btn:hover {
    border-color: var(--primary-gold);
}

.volume-btn.active {
    background-color: var(--primary-navy);
    color: var(--primary-gold);
    border-color: var(--primary-navy);
}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.price-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.add-to-cart-btn {
    width: 100%;
    background-color: var(--primary-navy);
    color: var(--primary-gold);
    border: 2px solid var(--primary-navy);
    padding: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: transparent;
    color: var(--primary-navy);
}

.product-unavailable {
    opacity: 0.7;
    position: relative;
}

.product-unavailable .product-image {
    filter: grayscale(30%);
}

.unavailable-btn {
    width: 100%;
    background-color: #ccc !important;
    color: #666 !important;
    border: 2px solid #ccc !important;
    padding: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.unavailable-btn:hover {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
}

/* ============================================
   WHY SECTION
   ============================================ */

.why-section {
    background-color: var(--primary-navy);
    color: white;
}

.why-image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
}

.why-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(201, 168, 76, 0.3);
}

.badge-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1;
}

.badge-label {
    font-size: 0.7rem;
    color: var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-top: 0.3rem;
}

.why-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.advantage-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    background-color: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.4);
}

.advantage-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.advantage-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.advantage-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    background-color: var(--primary-light);
}

.about-intro {
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.values-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.value-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.value-tag:hover {
    background-color: var(--primary-navy);
    color: var(--primary-gold);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background-color: var(--primary-navy);
    color: white;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background-color: rgba(201, 168, 76, 0.1);
}

.contact-icon {
    width: 30px;
    height: 30px;
    fill: var(--primary-gold);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.contact-value {
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-gold);
}

.contact-form-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 2rem;
    border-radius: 0;
}

.contact-form-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-form-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: white;
    border-radius: 0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-gold);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-navy);
    color: rgba(255, 255, 255, 0.9);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: var(--primary-gold);
    letter-spacing: 0.1em;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(201, 168, 76, 0.2);
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: var(--primary-gold);
    color: var(--primary-navy);
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--whatsapp-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-whatsapp:hover {
    color: #1fa857;
    transform: translateX(5px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .product-image {
        height: 200px;
    }

    .why-badge {
        width: 100px;
        height: 100px;
        bottom: -20px;
        right: -20px;
    }

    .badge-value {
        font-size: 1.5rem;
    }

    .badge-label {
        font-size: 0.6rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .volume-info {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}
