/* ============================================
   HTRG — Régie publicitaire de médias
   Design system : Noir & Blanc futuriste
   ============================================ */

:root {
    --black: #000000;
    --black-soft: #0a0a0a;
    --black-elev: #131313;
    --black-line: #1c1c1c;
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.92);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-08: rgba(255, 255, 255, 0.08);
    --white-04: rgba(255, 255, 255, 0.04);
    --accent: #ffffff;
    --radius: 4px;
    --radius-lg: 12px;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --container: 1280px;
    --header-h: 80px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white-90);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* === Backgrounds décoratifs === */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--white-04) 1px, transparent 1px),
        linear-gradient(90deg, var(--white-04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* === Layout === */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

main {
    position: relative;
    z-index: 2;
    padding-top: var(--header-h);
    min-height: 80vh;
}

/* === Typographie === */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--white);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 400;
}

h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    color: var(--white-70);
}

p {
    color: var(--white-70);
    font-weight: 300;
}

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

a:hover { opacity: 0.7; }

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-bottom: 1px solid var(--white-08);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--white);
}

.logo:hover { opacity: 1; }

.logo-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--black);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.logo-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,0.1) 60%);
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.15em;
}

.main-nav {
    display: flex;
    gap: 40px;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.main-nav a {
    color: var(--white-70);
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--white);
    transition: right 0.3s var(--transition);
}

.main-nav a:hover {
    color: var(--white);
    opacity: 1;
}

.main-nav a:hover::after { right: 0; }

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

.cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--white-15);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s var(--transition);
}

.cart-btn:hover {
    background: var(--white);
    color: var(--black);
    opacity: 1;
    border-color: var(--white);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--white);
    color: var(--black);
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    display: grid;
    place-items: center;
    border: 2px solid var(--black);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--white-15);
    border-radius: 50%;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.menu-toggle span {
    width: 18px;
    height: 1px;
    background: var(--white);
    transition: 0.3s var(--transition);
}

/* === Hero === */
.hero {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border: 1px solid var(--white-15);
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--white-70);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    background: var(--white-04);
}

.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    margin-bottom: 32px;
    font-weight: 200;
}

.hero h1 .accent {
    font-style: italic;
    font-weight: 300;
    color: var(--white-50);
    background: linear-gradient(135deg, var(--white) 0%, var(--white-50) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 48px;
    color: var(--white-70);
}

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

/* === Boutons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--white-90);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white-30);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: var(--white-04);
    opacity: 1;
}

.btn-arrow {
    transition: transform 0.3s var(--transition);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* === Sections === */
.section {
    padding: 120px 0;
    position: relative;
}

.section-head {
    margin-bottom: 80px;
    max-width: 800px;
}

.section-head .eyebrow {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--white-50);
    margin-bottom: 16px;
}

.section-head h2 {
    margin-bottom: 24px;
}

.section-head p {
    font-size: 1.1rem;
    color: var(--white-70);
}

/* === Stats / KPI === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--white-08);
    border: 1px solid var(--white-08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 80px;
}

.stat {
    background: var(--black);
    padding: 40px 32px;
    transition: background 0.3s var(--transition);
}

.stat:hover { background: var(--black-elev); }

.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--white-70);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* === Solutions / Features === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 40px 32px;
    border: 1px solid var(--white-08);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--white-04) 0%, transparent 100%);
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white-30), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--transition);
}

.feature-card:hover {
    border-color: var(--white-15);
    transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--white-15);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--white-70);
    font-size: 0.95rem;
}

/* === Boutique / Produits === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--black-soft);
    border: 1px solid var(--white-08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, var(--white-04) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--transition);
    pointer-events: none;
}

.product-card:hover {
    border-color: var(--white-30);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.product-card:hover::before { opacity: 1; }

.product-visual {
    height: 200px;
    background: var(--black);
    display: grid;
    place-items: center;
    position: relative;
    border-bottom: 1px solid var(--white-08);
    overflow: hidden;
}

.product-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--white-04) 1px, transparent 1px),
        linear-gradient(90deg, var(--white-04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.product-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, var(--black) 90%);
}

.product-visual svg {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    stroke: var(--white);
    stroke-width: 1;
    fill: none;
}

.product-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 4px 12px;
    background: var(--white);
    color: var(--black);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    border-radius: 100px;
}

.product-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.product-info p {
    color: var(--white-50);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex: 1;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--white-08);
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
}

.product-price-ht {
    display: block;
    font-size: 0.7rem;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-body);
    margin-top: 2px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.product-link svg {
    transition: transform 0.3s var(--transition);
}

.product-card:hover .product-link svg {
    transform: translateX(4px);
}

/* === Page produit === */
.product-detail {
    padding: 60px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.product-hero-visual {
    aspect-ratio: 1;
    background: var(--black-soft);
    border: 1px solid var(--white-08);
    border-radius: var(--radius-lg);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.product-hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--white-08) 1px, transparent 1px),
        linear-gradient(90deg, var(--white-08) 1px, transparent 1px);
    background-size: 40px 40px;
}

.product-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, var(--black) 90%);
}

.product-hero-visual svg {
    position: relative;
    z-index: 2;
    width: 140px;
    height: 140px;
    stroke: var(--white);
    stroke-width: 0.8;
    fill: none;
}

.product-detail-info .breadcrumb {
    font-size: 0.8rem;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.product-detail-info h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    font-weight: 300;
}

.product-detail-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 300;
}

.product-detail-tva {
    font-size: 0.85rem;
    color: var(--white-50);
    margin-bottom: 32px;
}

.product-description {
    color: var(--white-70);
    line-height: 1.8;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--white-08);
}

.product-features {
    list-style: none;
    margin-bottom: 40px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    color: var(--white-90);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--white-04);
}

.product-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.product-meta {
    display: flex;
    gap: 24px;
    padding: 20px;
    background: var(--white-04);
    border: 1px solid var(--white-08);
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.product-meta-item {
    flex: 1;
}

.product-meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white-50);
    margin-bottom: 4px;
}

.product-meta-value {
    color: var(--white);
    font-weight: 500;
}

.add-to-cart-form {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--white-15);
    border-radius: 100px;
    overflow: hidden;
}

.qty-btn {
    width: 48px;
    height: 56px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

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

.qty-input {
    width: 50px;
    height: 56px;
    background: transparent;
    border: none;
    color: var(--white);
    text-align: center;
    font-family: var(--font-display);
    font-size: 1rem;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.add-to-cart-btn {
    flex: 1;
    border: none;
    background: var(--white);
    color: var(--black);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.add-to-cart-btn:hover {
    background: var(--white-90);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

/* === Panier === */
.page-head {
    padding: 80px 0 60px;
    text-align: center;
}

.page-head h1 {
    margin-bottom: 16px;
}

.page-head p {
    color: var(--white-70);
    font-size: 1.1rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    padding-bottom: 120px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 24px;
    padding: 24px;
    background: var(--black-soft);
    border: 1px solid var(--white-08);
    border-radius: var(--radius-lg);
    align-items: center;
    transition: border-color 0.3s var(--transition);
}

.cart-item:hover {
    border-color: var(--white-15);
}

.cart-item-visual {
    width: 100px;
    height: 100px;
    background: var(--black);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    border: 1px solid var(--white-08);
}

.cart-item-visual svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
    stroke-width: 1;
    fill: none;
}

.cart-item-info h4 {
    color: var(--white);
    font-size: 1.05rem;
    text-transform: none;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-weight: 400;
}

.cart-item-info .cat {
    font-size: 0.75rem;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.cart-item-info .price {
    color: var(--white-70);
    font-size: 0.9rem;
    margin-top: 8px;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-item-total {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item .qty-control {
    height: 36px;
}

.cart-item .qty-btn {
    width: 32px;
    height: 36px;
    font-size: 1rem;
}

.cart-item .qty-input {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

.remove-btn {
    background: transparent;
    border: 1px solid var(--white-15);
    color: var(--white-70);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s;
}

.remove-btn:hover {
    border-color: var(--white);
    color: var(--white);
    background: var(--white-08);
}

.cart-summary {
    position: sticky;
    top: 100px;
    align-self: start;
    padding: 32px;
    background: var(--black-soft);
    border: 1px solid var(--white-08);
    border-radius: var(--radius-lg);
}

.cart-summary h3 {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--white-08);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--white-70);
}

.summary-row.total {
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--white-08);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 400;
}

.cart-summary .btn {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
}

.cart-empty {
    text-align: center;
    padding: 100px 20px;
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    stroke: var(--white-30);
    stroke-width: 1;
    fill: none;
    margin-bottom: 32px;
}

.cart-empty h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cart-empty p {
    color: var(--white-70);
    margin-bottom: 32px;
}

/* === Checkout === */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    padding-bottom: 120px;
}

.checkout-form {
    background: var(--black-soft);
    border: 1px solid var(--white-08);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.checkout-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--white-08);
}

.checkout-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-section h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-num {
    width: 28px;
    height: 28px;
    border: 1px solid var(--white-30);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    color: var(--white);
    font-family: var(--font-display);
}

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

.form-grid .full {
    grid-column: 1 / -1;
}

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

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white-50);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--black);
    border: 1px solid var(--white-15);
    color: var(--white);
    padding: 14px 16px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

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

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--black);
    border: 1px solid var(--white-15);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: var(--white-30);
}

.payment-option input[type="radio"] {
    accent-color: var(--white);
    width: 16px;
    height: 16px;
}

.payment-option-info {
    flex: 1;
}

.payment-option-name {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 4px;
}

.payment-option-desc {
    color: var(--white-50);
    font-size: 0.85rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--white);
    margin-top: 4px;
    width: 16px;
    height: 16px;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--white-70);
    cursor: pointer;
    line-height: 1.6;
}

.checkbox-group a {
    color: var(--white);
    text-decoration: underline;
}

.order-summary {
    position: sticky;
    top: 100px;
    align-self: start;
    background: var(--black-soft);
    border: 1px solid var(--white-08);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.order-summary h3 {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--white-08);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.order-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    font-size: 0.9rem;
}

.order-line-name {
    color: var(--white-90);
    flex: 1;
    margin-right: 16px;
}

.order-line-qty {
    color: var(--white-50);
    font-size: 0.8rem;
    margin-left: 8px;
}

.order-line-price {
    color: var(--white);
    font-family: var(--font-display);
}

.btn-pay {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
    padding: 20px 32px;
}

/* === Merci === */
.thanks-page {
    text-align: center;
    padding: 120px 0;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    border: 1px solid var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
}

.thanks-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid var(--white-15);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.thanks-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.thanks-page h1 {
    margin-bottom: 16px;
}

.thanks-page p {
    color: var(--white-70);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.order-ref {
    display: inline-block;
    padding: 16px 32px;
    background: var(--white-04);
    border: 1px solid var(--white-15);
    border-radius: var(--radius);
    margin-bottom: 32px;
    font-family: var(--font-display);
    color: var(--white);
}

.order-ref-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white-50);
    margin-bottom: 4px;
    font-family: var(--font-body);
}

/* === Pages légales === */
.legal-page {
    padding: 60px 0 120px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--white-08);
}

.legal-page h2 {
    font-size: 1.5rem;
    margin: 48px 0 16px;
    color: var(--white);
}

.legal-page h3 {
    font-size: 1.1rem;
    margin: 32px 0 12px;
    color: var(--white);
    text-transform: none;
    letter-spacing: -0.01em;
}

.legal-page p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-page ul {
    margin: 16px 0 24px 24px;
    color: var(--white-70);
}

.legal-page li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-page a {
    color: var(--white);
    text-decoration: underline;
}

.legal-page strong {
    color: var(--white);
    font-weight: 500;
}

/* === Contact === */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0 120px;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info p {
    margin-bottom: 40px;
    color: var(--white-70);
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--white-08);
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--white-15);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.contact-detail-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white-50);
    margin-bottom: 4px;
}

.contact-detail-value {
    color: var(--white);
}

.contact-form {
    background: var(--black-soft);
    border: 1px solid var(--white-08);
    border-radius: var(--radius-lg);
    padding: 40px;
}

/* === Footer === */
.site-footer {
    border-top: 1px solid var(--white-08);
    padding: 80px 0 32px;
    background: var(--black);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-tag {
    color: var(--white-50);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    margin-bottom: 24px;
    color: var(--white);
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: var(--white-70);
    font-size: 0.9rem;
}

.footer-col a:hover { color: var(--white); opacity: 1; }

.footer-addr {
    color: var(--white-50);
    font-size: 0.85rem;
    margin-top: 8px;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--white-08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--white-50);
    font-size: 0.8rem;
}

.footer-mini {
    color: var(--white-30);
}

/* === Toast === */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--white);
    color: var(--black);
    padding: 16px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* === Animations entrée === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 0.8s var(--transition) backwards;
}

.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.3s; }
.fade-up:nth-child(4) { animation-delay: 0.4s; }

/* === Responsive === */
@media (max-width: 968px) {
    .container { padding: 0 24px; }

    .main-nav { display: none; }
    .menu-toggle { display: flex; }

    .product-layout,
    .cart-layout,
    .checkout-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-hero-visual,
    .cart-summary,
    .order-summary {
        position: static;
    }

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

    .section { padding: 80px 0; }

    .hero { padding: 60px 0 80px; }

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

    .cart-item {
        grid-template-columns: 80px 1fr;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 16px;
        border-top: 1px solid var(--white-08);
    }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .checkout-form,
    .contact-form { padding: 24px; }

    .add-to-cart-form { flex-direction: column; }
    .add-to-cart-btn { padding: 18px 32px; }

    .toast {
        right: 16px;
        left: 16px;
        bottom: 16px;
    }
}

/* Mobile menu open */
body.menu-open .main-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 32px 24px;
    border-bottom: 1px solid var(--white-08);
    gap: 16px;
}
