/* ============================================================
   QuantAudio Prestige — Feuille de styles
   Palette : noir #0a0a0a | or #c9a84c | anthracite #1a1a1a
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
    --gold:           #c9a84c;
    --gold-light:     #e2c97e;
    --black:          #0a0a0a;
    --anthracite:     #161616;
    --anthracite-mid: #222222;
    --anthracite-lt:  #333333;
    --white:          #f2f0eb;
    --muted:          #888888;
    --serif:          'Playfair Display', Georgia, serif;
    --sans:           'Raleway', Arial, sans-serif;
    --gap:            2px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.75;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== KEYFRAMES ===== */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to   { opacity: 0; pointer-events: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroIn  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ===== LAYERS (popups) ===== */
.qa-layer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    animation: fadeIn 0.45s ease both;
    backdrop-filter: blur(6px);
}
.qa-layer.qa-hidden { display: none; }

.qa-box {
    background: var(--anthracite);
    border: 1px solid var(--gold);
    padding: 3.5rem;
    width: 90%;
    text-align: center;
    animation: slideUp 0.45s ease both;
}

/* Notice */
.qa-intro-panel { max-width: 540px; }

.qa-box-logo {
    font-family: var(--serif);
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.8rem;
}

.qa-intro-panel h2 {
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.qa-intro-panel p {
    font-size: 0.875rem;
    color: #aaa;
    line-height: 1.85;
    margin-bottom: 2.2rem;
}

/* Cart */
.qa-cart-panel { max-width: 380px; }

.qa-cart-msg {
    font-family: var(--serif);
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 1.35;
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn-gold {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.85rem 2.6rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.28s ease, color 0.28s ease;
}
.btn-gold:hover, .btn-gold:focus { background: var(--gold); color: var(--black); outline: none; }

.btn-gold-outline {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 1rem 3.2rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 2.2rem;
    transition: background 0.28s ease, color 0.28s ease;
}
.btn-gold-outline:hover, .btn-gold-outline:focus { background: var(--gold); color: var(--black); outline: none; }

.btn-cart {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.8rem 1.5rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1.6rem;
    transition: background 0.28s ease, color 0.28s ease;
}
.btn-cart:hover, .btn-cart:focus { background: var(--gold); color: var(--black); outline: none; }

.btn-cart-sm {
    background: transparent;
    border: 1px solid var(--anthracite-lt);
    color: var(--muted);
    padding: 0.28rem 0.9rem;
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
}
.btn-cart-sm:hover, .btn-cart-sm:focus { border-color: var(--gold); color: var(--gold); outline: none; }

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.6rem 4rem;
    z-index: 100;
    transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}
#navbar.scrolled {
    background: rgba(10, 10, 10, 0.96);
    padding: 1rem 4rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.18);
    backdrop-filter: blur(12px);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
}
.nav-logo span { color: var(--gold); }

.nav-links {
    display: flex;
    gap: 3rem;
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--gold); }

.nav-lang { border-left: 1px solid var(--anthracite-lt); padding-left: 1.5rem; margin-left: 0.5rem; }
.nav-lang a { color: var(--gold) !important; }

/* ===== HERO ===== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--anthracite-mid); /* fallback quand image absente */
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.55) 50%,
        rgba(0,0,0,0.82) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    animation: heroIn 1.1s ease 0.25s both;
}

.hero-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.6rem;
}

.hero-content h1 {
    font-family: var(--serif);
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.4rem;
}
.hero-content h1 em { color: var(--gold); font-style: italic; }

.hero-sub {
    font-size: 0.95rem;
    color: rgba(242, 240, 235, 0.65);
    letter-spacing: 0.08em;
    max-width: 480px;
    margin: 0 auto;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTIONS ===== */
section { padding: 8rem 4rem; }
.section-dark { background: var(--anthracite); }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 5rem;
}

.section-label {
    font-size: 0.65rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.4rem;
}

.section-intro {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.9;
}

/* ===== WARNING BANNER ===== */
.warning-banner {
    max-width: 820px;
    margin: 0 auto 5rem;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid rgba(201, 168, 76, 0.28);
    background: rgba(201, 168, 76, 0.04);
}

.warning-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.4; }

.warning-banner p {
    font-size: 0.83rem;
    color: #b5b5b5;
    line-height: 1.8;
}

.warning-banner strong { color: var(--gold); }

/* ===== PRODUCTS GRID ===== */
.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.product-card {
    background: var(--anthracite);
    position: relative;
    transition: transform 0.3s ease;
}
.product-card:hover { transform: translateY(-5px); }

.product-card--featured {
    outline: 1px solid var(--gold);
    outline-offset: -1px;
}

.product-badge {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    background: var(--gold);
    color: var(--black);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.28rem 0.8rem;
    z-index: 2;
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--anthracite-mid);
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-info { padding: 2rem; }

.product-range {
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.45rem;
}

.product-info h3 {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.product-price {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.product-composition {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--anthracite-lt);
}

.product-desc {
    font-size: 0.83rem;
    color: #aaa;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.product-registers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}
.product-registers li {
    border: 1px solid var(--anthracite-lt);
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
}

/* ===== CABLES GRID ===== */
.cables-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.cable-card {
    background: var(--black);
    border: 1px solid var(--anthracite-lt);
    transition: border-color 0.3s ease;
}
.cable-card:hover { border-color: rgba(201, 168, 76, 0.55); }

.cable-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--anthracite-mid);
}
.cable-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.cable-card:hover .cable-img-wrap img { transform: scale(1.06); }

.cable-info { padding: 1.8rem; }

.cable-info h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.cable-composition {
    font-size: 0.72rem;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--anthracite-lt);
}

.cable-desc {
    font-size: 0.83rem;
    color: #aaa;
    line-height: 1.9;
    margin-bottom: 0.8rem;
}

.cable-prices {
    margin-top: 1.4rem;
    border-top: 1px solid var(--anthracite-lt);
    padding-top: 0.6rem;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.price-length {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    min-width: 3rem;
}

.price-value {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--gold);
    flex: 1;
    text-align: right;
    padding-right: 1rem;
}

/* ===== SPRAY SECTION ===== */
.spray-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.spray-description h3 {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.spray-description > p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 1.6rem;
}

.composition-list { margin-bottom: 2.2rem; }

.composition-list li {
    font-size: 0.83rem;
    color: #aaa;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--anthracite-lt);
    line-height: 1.75;
}
.composition-list li strong { color: var(--gold); }

.spray-instructions {
    background: var(--anthracite);
    border-left: 2px solid var(--gold);
    padding: 1.4rem 1.6rem;
}

.spray-instructions h4 {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.7rem;
}

.spray-instructions p {
    font-size: 0.83rem;
    color: #aaa;
    line-height: 1.85;
}

.spray-products { display: flex; flex-direction: column; gap: 1.8rem; }

.spray-card {
    display: flex;
    gap: 1.6rem;
    background: var(--anthracite);
    border: 1px solid var(--anthracite-lt);
    padding: 1.6rem;
    transition: border-color 0.3s ease;
}
.spray-card:hover { border-color: rgba(201, 168, 76, 0.45); }

.spray-img-wrap {
    width: 130px;
    min-height: 170px;
    flex-shrink: 0;
    background: var(--anthracite-mid);
    overflow: hidden;
}
.spray-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.spray-info h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.spray-volume {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.spray-coverage {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.spray-info .product-price { font-size: 1.3rem; margin: 0.4rem 0; }

.spray-saving {
    font-size: 0.72rem;
    color: #7ab88a;
    margin-bottom: 0.4rem;
}

.spray-info .btn-cart {
    width: auto;
    padding: 0.62rem 1.4rem;
    font-size: 0.68rem;
}

/* ===== TEMOIGNAGES ===== */
.temoignages-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.temoignage {
    padding: 3rem 0;
    border-bottom: 1px solid var(--anthracite-lt);
}
.temoignage:first-child { border-top: 1px solid var(--anthracite-lt); }

.temoignage-header {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    margin-bottom: 1.6rem;
}

.temoignage-stars {
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.temoignage-nom {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.temoignage-profil {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.temoignage blockquote p {
    font-size: 0.95rem;
    color: #c0bdb8;
    line-height: 1.95;
    font-style: italic;
    font-family: var(--serif);
    font-weight: 400;
}

/* ===== FOOTER ===== */
footer {
    background: var(--anthracite);
    border-top: 1px solid var(--anthracite-lt);
    padding: 5rem 4rem;
    text-align: center;
}

.footer-inner { max-width: 800px; margin: 0 auto; }

.footer-logo {
    font-family: var(--serif);
    font-size: 1.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.footer-logo span { color: var(--gold); }

.footer-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-bottom: 2.8rem;
}

.footer-disclaimer {
    border: 1px solid var(--anthracite-lt);
    padding: 1.6rem 2rem;
    margin-bottom: 2.2rem;
    text-align: left;
}

.footer-disclaimer p {
    font-size: 0.78rem;
    color: #777;
    line-height: 1.85;
}
.footer-disclaimer strong { color: var(--gold); }

.footer-copy {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: 0.1em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: 1fr; max-width: 600px; }
    .cables-grid   { grid-template-columns: 1fr; max-width: 600px; }
}

@media (max-width: 900px) {
    section { padding: 6rem 2rem; }
    #navbar { padding: 1.4rem 2rem; }
    #navbar.scrolled { padding: 0.9rem 2rem; }

    .spray-wrapper { grid-template-columns: 1fr; gap: 3.5rem; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }

    .warning-banner { flex-direction: column; }

    .spray-card { flex-direction: column; }
    .spray-img-wrap { width: 100%; min-height: 200px; }

    footer { padding: 4rem 1.5rem; }
    .footer-disclaimer { padding: 1.2rem 1.2rem; }
}
