/* ============================================================
   VIRILACCESSORIES — main.css
   Header · Hero · Why Us · Testimonials · CTA · Footer
   Palette : #292a29 (dark) · #906543 (gold) · #FF9E6D (accent chaud) · #1A2238 (navy profond)
   ============================================================ */

/* ── VARIABLES ── */
:root {
    --dark:    #292a29;
    --gold:    #906543;
    --gold2:   #a07654;
    --accent:  #FF9E6D;
    --navy:    #1A2238;
    --light:   #f7f5f2;
    --white:   #ffffff;
    --text:    #444;
    --border:  #e8e0d5;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Georgia', serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
}

/* ── TYPOGRAPHY HELPERS ── */
.serif { font-family: 'Playfair Display', 'Georgia', serif; }

/* ============================================================
   HEADER & NAV
   ============================================================ */

header {
    background: var(--dark);
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255,158,109,0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

.logo { display: flex; align-items: center; }

.logo-img { height: 48px; width: auto; }

.nav-center { display: flex; justify-content: center; flex: 1; }

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    transition: color 0.25s;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* Panier */
.cart-icon {
    color: rgba(255,255,255,0.85);
    font-size: 1.35rem;
    cursor: pointer;
    position: relative;
    transition: color 0.25s;
}

.cart-icon:hover { color: var(--accent); }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px; height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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 {
    height: 92vh;
    min-height: 560px;
    background:
        linear-gradient(160deg, rgba(26,34,56,0.72) 0%, rgba(41,42,41,0.55) 60%, rgba(144,101,67,0.25) 100%),
        url('viril birking cargo blanc kaki +  marron  vue profil.jpg') center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Ligne déco bas du hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--gold), transparent);
}

.hero-content { position: relative; z-index: 2; padding: 0 1rem; }

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.hero-content p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    margin-bottom: 2.5rem;
    opacity: 0.88;
    font-style: italic;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold);
    color: white;
    padding: 1rem 3rem;
    border: none;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold2) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary { position: relative; z-index: 1; }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,158,109,0.35);
}

/* ============================================================
   SECTION COMMUNES
   ============================================================ */

section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

section h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 0.6rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Trait décoratif sous les titres h2 */
.section-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    margin: 0 auto 3.5rem;
}

/* ============================================================
   POURQUOI NOUS
   ============================================================ */

.why-us {
    background: var(--navy);
    color: white;
    max-width: none;
    padding: 5rem 5%;
    position: relative;
    overflow: hidden;
}

/* Motif géométrique subtil en fond */
.why-us::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,158,109,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(144,101,67,0.09) 0%, transparent 70%);
    pointer-events: none;
}

.why-us h2 { color: white; }
.why-us .section-divider { background: linear-gradient(90deg, var(--accent), var(--gold)); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 2px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(4px);
    position: relative;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature:hover::before { transform: scaleX(1); }

.feature.visible { opacity: 1; transform: translateY(0); }

.feature .icon {
    width: 72px; height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,158,109,0.08);
    border: 1px solid rgba(255,158,109,0.2);
}

.feature .icon img { width: 40px; height: 40px; object-fit: contain; filter: brightness(1.2); }

.feature h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.feature p { font-size: 0.9rem; opacity: 0.72; line-height: 1.7; color: #d0cccc; }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */

.testimonials {
    background: var(--light);
    max-width: none;
    padding: 5rem 5%;
}

.testimonials h2 { color: var(--dark); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 2.2rem;
    border-radius: 2px;
    box-shadow: 0 2px 20px rgba(26,34,56,0.06);
    position: relative;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
    border-bottom: 3px solid transparent;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 0.5rem; left: 1.5rem;
    pointer-events: none;
}

.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(26,34,56,0.1);
    border-bottom-color: var(--accent);
}

.testimonial-card.visible { opacity: 1; transform: translateY(0); }

.testimonial-card .stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 1.2rem;
}

.testimonial-card p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text);
    font-size: 0.98rem;
    position: relative;
    z-index: 1;
}

.testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.reviewer-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.reviewer-info h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--dark);
}

.reviewer-info span {
    font-size: 0.75rem;
    color: var(--gold);
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 50%, #3a2a1a 100%);
    text-align: center;
    color: white;
    padding: 6rem 5%;
    max-width: none;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,158,109,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(144,101,67,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta h2 {
    color: white;
    margin-bottom: 0.6rem;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta .section-divider { background: linear-gradient(90deg, var(--accent), var(--gold)); }

.cta p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 0.75;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background: #111312;
    color: rgba(255,255,255,0.75);
    padding: 4rem 5% 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.footer-section h4 {
    font-family: 'Cinzel', serif;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-section p { font-size: 0.88rem; line-height: 1.9; opacity: 0.65; }

.footer-section ul { list-style: none; }

.footer-section ul li { margin-bottom: 0.55rem; }

.footer-section a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.25s;
}

.footer-section a:hover { color: var(--accent); }

.social-links { display: flex; flex-direction: column; gap: 0.7rem; }

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.25s;
}

.social-links a:hover { color: var(--accent); transform: translateX(4px); }

.social-links img { width: 18px; height: 18px; object-fit: contain; opacity: 0.7; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p { margin: 0.4rem 0; font-size: 0.78rem; opacity: 0.45; }

.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }

.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   ANIMATIONS SCROLL
   ============================================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px; left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2.5rem 2rem;
        gap: 0;
        transition: left 0.4s ease;
        border-top: 1px solid rgba(255,158,109,0.15);
    }

    .nav-links.active { left: 0; }

    .nav-links li { width: 100%; }

    .nav-links a {
        font-size: 1rem;
        display: block;
        padding: 1.1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        text-align: center;
    }

    .menu-toggle { display: flex; }

    .hero { background-attachment: scroll; }
    .hero-content h1 { font-size: 1.8rem; letter-spacing: 3px; }

    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    .testimonials-grid { grid-template-columns: 1fr; }

    .cta { padding: 4rem 5%; }
}

@media (max-width: 480px) {
    .logo-img { height: 40px; }
    section { padding: 3.5rem 4%; }
}