/* ═══════════════════════════════════════════════════════════════
   RoyalDesk — Styles Premium
   Palette: #1A1A2E (bleu nuit) | #C9A227 (or) | #F8F9FA (bg) | #2D2D2D (texte)
   ═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1A1A2E;
    --gold: #C9A227;
    --gold-light: #D4B44A;
    --white: #FFFFFF;
    --bg: #F8F9FA;
    --bg-alt: #F0F0F0;
    --text: #2D2D2D;
    --text-light: #6B7280;
    --border: #E5E7EB;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── BOUTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ─── HEADER ──────────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

.logo-text {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-btn {
    position: relative;
    color: var(--white);
    padding: 8px;
    transition: color var(--transition);
}

.cart-btn:hover {
    color: var(--gold);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gold);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(201,162,39,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(201,162,39,0.06) 0%, transparent 50%),
        linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #1A1A2E 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201,162,39,0.15);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(201,162,39,0.25);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

/* ─── SECTIONS (global) ──────────────────────────────────────── */
.section {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(201,162,39,0.1);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

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

/* ─── PRODUITS ────────────────────────────────────────────────── */
.products-section {
    background: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--bg-alt);
}

.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.product-info {
    padding: 24px;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.product-short-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

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

.product-price {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.product-add-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}

.product-add-btn:hover {
    background: var(--gold);
    color: var(--primary);
}

/* ─── AVANTAGES ───────────────────────────────────────────────── */
.advantages-section {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.advantage-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.advantage-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(201,162,39,0.1);
    color: var(--gold);
    border-radius: 50%;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ─── TÉMOIGNAGES ─────────────────────────────────────────────── */
.testimonials-section {
    background: var(--primary);
}

.testimonials-section .section-badge {
    background: rgba(201,162,39,0.2);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-author span {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-section {
    background: var(--bg);
}

.faq-list {
    max-width: 768px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    transition: background var(--transition);
}

.faq-question:hover {
    background: rgba(201,162,39,0.04);
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--gold);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.footer {
    background: var(--primary);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,162,39,0.1);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
}

.contact-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}

.payment-logos {
    display: flex;
    gap: 8px;
}

.payment-badge {
    padding: 4px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
}

/* ─── MODAL PRODUIT ───────────────────────────────────────────── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    position: relative;
    background: var(--bg-alt);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.modal-info {
    padding: 40px;
}

.modal-info h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.modal-price {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.modal-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.modal-spec {
    font-size: 0.85rem;
}

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

.modal-spec span {
    color: var(--text-light);
}

.option-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.color-options {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.color-option {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.color-option:hover,
.color-option.active {
    border-color: var(--gold);
    background: rgba(201,162,39,0.08);
    color: var(--primary);
}

.modal-quantity {
    margin-bottom: 24px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    transition: all var(--transition);
}

.qty-btn:hover {
    background: var(--bg);
}

.quantity-selector input {
    width: 48px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 2px solid var(--border);
    border-right: 2px solid var(--border);
    font-weight: 600;
    color: var(--primary);
}

.modal-stock {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.modal-stock .in-stock {
    color: #22C55E;
    font-weight: 600;
}

/* ─── PANIER DRAWER ───────────────────────────────────────────── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    backdrop-filter: blur(2px);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--white);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.cart-close:hover {
    background: var(--primary);
    color: var(--white);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-alt);
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.cart-item-color {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text);
    transition: background var(--transition);
}

.cart-item-qty button:hover {
    background: var(--bg);
}

.cart-item-qty span {
    width: 28px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.cart-item-remove {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 4px;
    transition: color var(--transition);
}

.cart-item-remove:hover {
    color: #EF4444;
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.cart-total span:first-child {
    font-weight: 600;
    color: var(--primary);
}

.cart-total span:last-child {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-shipping {
    font-size: 0.8rem;
    color: #22C55E;
    margin-bottom: 16px;
}

/* ─── CHECKOUT MODAL ──────────────────────────────────────────── */
.modal-checkout {
    max-width: 640px;
}

.checkout-body {
    padding: 40px;
}

.checkout-body h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.checkout-body h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--primary);
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.checkout-summary {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 8px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.9rem;
}

.checkout-summary-item .item-name {
    color: var(--text);
}

.checkout-summary-item .item-qty {
    color: var(--text-light);
    font-size: 0.8rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group input::placeholder {
    color: #B0B0B0;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0;
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.form-check label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.form-check label a {
    color: var(--gold);
    text-decoration: underline;
}

.checkout-total {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin: 24px 0;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.checkout-total-row.total-final {
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.free-shipping {
    color: #22C55E;
    font-weight: 600;
}

.checkout-secure {
    text-align: center;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ─── TOAST NOTIFICATION ──────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 3000;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.4s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ─── COOKIE BANNER ───────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: var(--primary);
    border-top: 2px solid var(--gold);
    padding: 20px 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    padding: 10px 24px;
    background: var(--gold);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.btn-cookie-accept:hover {
    background: var(--gold-light);
}

.btn-cookie-refuse {
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.btn-cookie-refuse:hover {
    border-color: var(--white);
    color: var(--white);
}

/* ─── LOADING SPINNER ─────────────────────────────────────────── */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Tablette */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .testimonials-grid .testimonial-card:nth-child(3) {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-actions {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .section {
        padding: 64px 0;
    }

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

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

    .advantage-card {
        padding: 24px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
    }

    .advantage-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

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

    .testimonials-grid .testimonial-card:nth-child(3) {
        grid-column: span 1;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Modal responsive */
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image img {
        min-height: 250px;
    }

    .modal-info {
        padding: 24px;
    }

    .modal-content {
        max-height: 95vh;
        margin: 8px;
    }

    /* Cart drawer full screen on mobile */
    .cart-drawer {
        width: 100vw;
        right: -100vw;
    }

    /* Checkout */
    .checkout-body {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Cookies */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

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

    .container {
        padding: 0 16px;
    }
}

/* ─── PAGE LÉGALE ─────────────────────────────────────────────── */
.legal-page {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100vh;
    background: var(--bg);
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.legal-page .legal-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary);
    margin: 32px 0 12px;
}

.legal-page p, .legal-page li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-page ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 32px;
    transition: gap var(--transition);
}

.legal-back:hover {
    gap: 12px;
}

/* ─── PAGE CONFIRMATION / ECHEC ───────────────────────────────── */
.result-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    text-align: center;
    padding: 24px;
}

.result-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 60px 48px;
    box-shadow: var(--shadow);
    max-width: 520px;
}

.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
}

.result-icon.success {
    background: #DCFCE7;
    color: #22C55E;
}

.result-icon.error {
    background: #FEE2E2;
    color: #EF4444;
}

.result-card h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.result-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.result-order-id {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}
