/*
Theme Name: Forma 3D
Theme URI: https://forma-3d.com
Author: Forma Studio
Description: Thème e-commerce WordPress conçu pour le Plugin Configurateur 3D. Intégration native WooCommerce avec expérience de visualisation 3D produit.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: forma-3d
Tags: e-commerce, woocommerce, dark, minimal, responsive
*/

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:          #0a0a0c;
    --bg-surface:  #0e0e14;
    --bg-card:     #111118;
    --gold:        #c9a96e;
    --gold-dim:    rgba(201,169,110,0.15);
    --gold-border: rgba(201,169,110,0.35);
    --text:        #f0ede8;
    --text-muted:  rgba(240,237,232,0.45);
    --text-faint:  rgba(240,237,232,0.25);
    --border:      rgba(255,255,255,0.07);
    --border-mid:  rgba(255,255,255,0.12);
    --radius:      3px;
    --font:        'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --trans:       0.2s ease;
}

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

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

a { color: inherit; text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    color: var(--text);
    line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

/* === Layout === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: none;
    transition: all var(--trans);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg);
}
.btn-primary:hover { background: #d4b47a; color: var(--bg); }

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-mid);
}
.btn-ghost:hover { border-color: var(--gold-border); color: var(--gold); }

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

/* === Divider === */
.divider { height: 1px; background: var(--border); margin: 20px 0; }
