/* ===========================
   Variables & Reset
   =========================== */
:root {
    --primary-color: #8B6F47;
    --primary-dark: #6B4E2B;
    --secondary-color: #D4AF37;
    --accent-color: #C9A86A;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --bg-light: #FAF8F5;
    --bg-cream: #F5F1E8;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(139, 111, 71, 0.2);
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ===========================
   Layout Utilities
   =========================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-strong);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(44, 44, 44, 0.95), rgba(44, 44, 44, 0.9));
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(44, 44, 44, 0.98);
    box-shadow: 0 2px 20px var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

/* Logo blanc pour navigation et footer */
.logo-white {
    filter: brightness(0) invert(1);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img,
.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.8) 0%, rgba(107, 78, 43, 0.7) 50%, rgba(201, 168, 106, 0.6) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.8s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: var(--white);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* ===========================
   About Section
   =========================== */
.about-section {
    padding: 8rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.about-image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-strong);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===========================
   Products Section
   =========================== */
.products-section {
    padding: 8rem 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(139, 111, 71, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-strong);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--bg-cream);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-content {
    padding: 2rem;
}

.product-name {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.price-option:hover {
    background: var(--bg-cream);
    transform: translateX(5px);
}

.price-option.special {
    background: var(--primary-color);
    color: var(--white);
    border-left: 3px solid var(--secondary-color);
}

.price-option.special .price-label {
    color: var(--white);
}

.price-option.special .price-value {
    color: var(--secondary-color);
}

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

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===========================
   New Products Section (Tiramisu)
   =========================== */
.new-products-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f5f1e8 0%, #faf8f5 100%);
    position: relative;
    overflow: hidden;
}

.new-products-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.new-products-section .section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    font-style: italic;
}

.tiramisu-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.tiramisu-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tiramisu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.tiramisu-image {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiramisu-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

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

.tiramisu-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(238, 90, 111, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.tiramisu-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.tiramisu-name {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
    font-family: var(--font-heading);
}

.tiramisu-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.tiramisu-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    background: var(--bg-cream);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(139, 111, 71, 0.15);
    transition: var(--transition);
}

.feature-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tiramisu-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-cream);
}

.tiramisu-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tiramisu-price .price-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tiramisu-price .price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-strong);
}

/* ===========================
   Order Section
   =========================== */
.order-section {
    padding: 8rem 0;
    background: var(--bg-cream);
}

.order-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 10px 40px var(--shadow);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-section {
    border-bottom: 1px solid rgba(139, 111, 71, 0.1);
    padding-bottom: 2rem;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid rgba(139, 111, 71, 0.2);
    background: var(--bg-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.products-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Accordéon */
.accordion-item {
    background: var(--white);
    border: 2px solid rgba(139, 111, 71, 0.15);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary-color);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    text-align: left;
}

.accordion-header:hover {
    background: var(--bg-cream);
}

.accordion-header.active {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-title {
    flex: 1;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-content.active {
    max-height: 500px;
    padding: 1.5rem;
    overflow-y: auto;
}

/* Configurateur de box */
#boxConfigurator {
    max-height: 400px;
    overflow-y: auto;
    position: relative;
}

/* Indicateur de scroll - gradient en bas */
#boxConfigurator::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #f9f9f9);
    pointer-events: none;
    display: block;
}

.box-flavor-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 10px;
}

.flavor-option {
    padding: 8px;
    background: white;
    border-radius: 6px;
    transition: var(--transition);
}

.flavor-option:hover {
    background: #f0f0f0;
}

.accordion-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.product-item-order {
    padding: 1.5rem;
    background: var(--bg-light);
    border: 2px solid rgba(139, 111, 71, 0.1);
    transition: var(--transition);
}

.product-item-order:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--shadow);
}

.product-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
}

.product-header h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.product-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid rgba(139, 111, 71, 0.15);
    transition: var(--transition);
}

.option-group:hover {
    border-color: var(--primary-color);
}

.option-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
    margin: 0;
}

.option-group input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.option-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.option-group label span {
    font-weight: 500;
    color: var(--text-dark);
}

.qty-input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid rgba(139, 111, 71, 0.2);
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.qty-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-light);
    transition: var(--transition);
}

.product-item:hover {
    background: var(--bg-cream);
}

.product-checkbox {
    flex: 1;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.product-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.product-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-title {
    font-weight: 600;
    color: var(--text-dark);
}

.product-pricing {
    font-size: 0.875rem;
    color: var(--text-light);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-selector label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.quantity-selector input[type="number"] {
    width: 70px;
    padding: 0.5rem;
    border: 2px solid rgba(139, 111, 71, 0.2);
    text-align: center;
    font-weight: 600;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    padding: 8rem 0;
    background: var(--white);
}

.contact-section .section-subtitle {
    color: var(--secondary-color);
}

.contact-section .section-title {
    color: var(--primary-dark);
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow-strong);
    background: var(--white);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-link {
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.contact-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--bg-cream), var(--bg-light));
    border: 2px solid rgba(139, 111, 71, 0.1);
    margin-top: 3rem;
}

.contact-cta h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--white);
    border: 2px solid rgba(139, 111, 71, 0.2);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow);
}

.social-btn.facebook:hover {
    background: #1877f2;
    color: var(--white);
    border-color: #1877f2;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    border-color: transparent;
}

.social-btn.tiktok:hover {
    background: #000000;
    color: var(--white);
    border-color: #000000;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

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

.contact-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-5px);
}

/* ===========================
   Footer avec glissement
   =========================== */
.footer {
    background: var(--text-dark);
    padding: 2rem 0 0;
    color: var(--white);
}

.footer .container {
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 1rem;
    padding-bottom: 2rem;
    position: relative;
}

.footer-column h3 {
    margin-bottom: 0;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.875rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.payment-methods {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
    border-radius: 50%;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* ===========================
   Modal
   =========================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.3s ease;
}

.modal-large {
    max-width: 700px;
    text-align: left;
}

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

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.modal-icon-success {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.modal-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-cream);
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

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

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h3 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-order-items {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
}

.modal-order-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
}

.modal-order-item:last-child {
    border-bottom: none;
}

.modal-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.modal-item-name {
    font-weight: 600;
    color: var(--primary-dark);
}

.modal-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-item-details {
    font-size: 0.9rem;
    color: var(--text-light);
}

.modal-item-composition {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #FFF3E0;
    border-left: 3px solid #FF9800;
    border-radius: 4px;
    font-size: 0.85rem;
}

.modal-item-composition strong {
    color: #E65100;
}

.modal-info {
    color: var(--text-dark);
    font-size: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.modal-total {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.modal-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.modal-total-main {
    padding-top: 0.75rem;
    border-top: 2px solid var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.modal-total-main strong {
    color: var(--primary-color);
}

.modal-deposit-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--accent-color);
}

.modal-deposit-info p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-balance {
    color: var(--primary-dark) !important;
    font-weight: 500;
}

.modal-next-steps {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #E3F2FD;
    border-left: 4px solid #2196F3;
    border-radius: 8px;
}

.modal-next-steps h4 {
    color: #1565C0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.modal-next-steps ul {
    list-style: none;
    padding: 0;
}

.modal-next-steps li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.modal-next-steps li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2196F3;
    font-weight: bold;
}

.modal-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-cream);
    margin-top: 2rem;
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===========================
   Animations
   =========================== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(44, 44, 44, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-background video {
        object-fit: cover;
        object-position: center;
    }
    
    .about-section,
    .products-section,
    .order-section,
    .contact-section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .order-form-container {
        padding: 2rem 1.5rem;
    }
    
    .product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .product-options {
        width: 100%;
    }
    
    .option-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .qty-input {
        width: 100%;
    }
    
    /* Configurateur de box sur mobile */
    .accordion-content.active {
        max-height: 600px;
    }
    
    #boxConfigurator {
        max-height: 350px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .box-flavor-selector {
        gap: 10px;
    }
    
    .flavor-option label {
        padding: 10px 0;
    }
    
    /* Section Tiramisu responsive */
    .tiramisu-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tiramisu-image {
        height: 280px;
    }
    
    .tiramisu-content {
        padding: 2rem 1.5rem;
    }
    
    .tiramisu-pricing {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .price-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-links-large {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.875rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    /* Tiramisu responsive small screens */
    .tiramisu-name {
        font-size: 1.5rem;
    }
    
    .tiramisu-price .price-value {
        font-size: 1.75rem;
    }
    
    .tiramisu-features {
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .footer-modal-content {
        width: 100%;
        max-width: 100vw;
        padding: 2rem 1.5rem;
    }
    
    .footer-modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
    
    .footer-modal-body h2 {
        font-size: 1.75rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
}

/* ===========================
   Animations & Utilities
   =========================== */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

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