/* ===== COURSDEBATTERIE-NICE.FR =====
   Theme: Belle Époque / Côte d'Azur
   Inspiration: Promenade des Anglais, Baie des Anges, architecture Belle Époque
   ===== */

:root {
    --primary: #0097A7;
    --primary-dark: #00757F;
    --primary-light: #B2EBF2;
    --secondary: #0C1445;
    --secondary-light: #1A2258;
    --accent: #D4AF37;
    --accent-light: #F5E6A3;
    --text: #1A1A2E;
    --text-light: #5A6178;
    --bg: #FFFCF7;
    --bg-alt: #F5F0E8;
    --surface: #FFFFFF;
    --border: #E8E0D4;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 2px 12px rgba(12, 20, 69, 0.08);
    --shadow-lg: 0 8px 32px rgba(12, 20, 69, 0.12);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* ===== HEADER STACKED ===== */
.site-header {
    background: var(--surface);
    border-bottom: 2px solid var(--accent);
}

.site-header .site-name {
    font-family: var(--font-heading);
    color: var(--secondary);
    letter-spacing: 0.02em;
}

.site-header nav a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.site-header nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.site-header nav a:hover::after {
    width: 100%;
}

.site-header .header-cta {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 6px;
}

.site-header .header-cta:hover {
    background: var(--primary);
    color: white;
}

/* ===== HERO PROMENADE ===== */
.hero-promenade {
    background: linear-gradient(170deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-promenade::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    opacity: 0.15;
}

.hero-promenade::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    opacity: 0.12;
}

.hero-promenade .hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-promenade h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin: 0 auto 1rem;
    max-width: 700px;
    line-height: 1.15;
}

.hero-promenade .hero-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.hero-promenade p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-promenade .hero-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.85rem 2.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
    border: 2px solid var(--primary);
}

.hero-promenade .hero-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== EDITORIAL SEO ===== */
.section-editorial-seo {
    padding: 3.5rem 1.5rem;
    max-width: 780px;
    margin: 0 auto;
}

.section-editorial-seo h2 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 1.4rem;
    margin: 2rem 0 0.8rem;
}

.section-editorial-seo p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.section-editorial-seo a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.section-editorial-seo a:hover {
    color: var(--primary-dark);
}

/* ===== TIMELINE RIVIERA ===== */
.timeline-riviera {
    padding: 4rem 1.5rem;
    background: var(--bg-alt);
}

.timeline-riviera .section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 3rem;
}

.timeline-riviera .timeline-track {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

.timeline-riviera .timeline-track::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.timeline-riviera .timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 3px solid var(--accent);
}

.timeline-riviera .timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-riviera .timeline-dot {
    position: absolute;
    left: -42px;
    top: 1.5rem;
    width: 22px;
    height: 22px;
    background: var(--accent);
    border: 3px solid var(--bg-alt);
    border-radius: 50%;
}

.timeline-riviera .timeline-step {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.timeline-riviera .timeline-item h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.timeline-riviera .timeline-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* ===== TESTIMONIALS RIVIERA ===== */
.testimonials-riviera {
    padding: 4rem 1.5rem;
    background: var(--surface);
}

.testimonials-riviera .section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
}

.testimonials-riviera .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-riviera .testimonial-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    border: 1px solid var(--border);
}

.testimonials-riviera .testimonial-quote {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.testimonials-riviera .testimonial-text {
    color: var(--text);
    line-height: 1.65;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.testimonials-riviera .testimonial-stars {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.testimonials-riviera .testimonial-name {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .testimonials-riviera .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ARTICLES PROMENADE ===== */
.articles-promenade {
    padding: 4rem 1.5rem;
    background: var(--bg-alt);
}

.articles-promenade .section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
}

.articles-promenade .articles-cascade {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.articles-promenade .article-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.articles-promenade .article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.articles-promenade .article-card picture,
.articles-promenade .article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.articles-promenade .article-card-body {
    padding: 1.2rem 1.5rem;
}

.articles-promenade .article-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.articles-promenade .article-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.articles-promenade .article-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 640px) {
    .articles-promenade .articles-cascade {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA POSTCARD ===== */
.cta-postcard {
    padding: 4rem 1.5rem;
    background: var(--surface);
}

.cta-postcard .postcard-frame {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.cta-postcard .postcard-stamp {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 50px;
    height: 60px;
    border: 2px dashed var(--accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0.5;
}

.cta-postcard h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.cta-postcard .postcard-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.cta-postcard .postcard-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-postcard .postcard-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== FOOTER CENTERED ===== */
.site-footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    border-top: 3px solid var(--accent);
}

.site-footer a {
    color: var(--accent-light);
}

.site-footer a:hover {
    color: var(--accent);
}

/* ===== CATEGORY PAGE ===== */
.category-hero {
    background: linear-gradient(170deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-bottom: 3px solid var(--accent);
}

/* ===== ARTICLE PAGE ===== */
.article-header {
    border-bottom: 2px solid var(--accent);
}

.article-content h2 {
    font-family: var(--font-heading);
    color: var(--secondary);
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== CONTACT FORM ===== */
.contact-section input:focus,
.contact-section textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 151, 167, 0.15);
}

.contact-section button[type="submit"] {
    background: var(--primary);
    border-radius: 6px;
}

.contact-section button[type="submit"]:hover {
    background: var(--primary-dark);
}

/* ===== DUO-CARD FIX ===== */
.articles-promenade .article-card picture {
    height: 180px;
}

/* ===== GLOBAL RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-promenade {
        padding: 3.5rem 1.2rem;
    }

    .hero-promenade h1 {
        font-size: 1.8rem;
    }

    .timeline-riviera,
    .testimonials-riviera,
    .articles-promenade,
    .cta-postcard {
        padding: 3rem 1rem;
    }

    .cta-postcard .postcard-frame {
        padding: 2rem 1.5rem;
    }

    .cta-postcard .postcard-stamp {
        display: none;
    }
}
