/* ===== COURSDEBATTERIE-ORLEANS.FR =====
   Theme: Loire Valley / Jeanne d'Arc
   Inspiration: Cathédrale Sainte-Croix, maisons à colombages, bleu royal, or flamme
   ===== */

:root {
    --primary: #2C3E8C;
    --primary-dark: #1E2D6A;
    --primary-light: #D0D8F8;
    --secondary: #1C1C2E;
    --secondary-light: #2A2A42;
    --accent: #E5A100;
    --accent-light: #FFF0C2;
    --text: #1A1A2E;
    --text-light: #5A5F72;
    --bg: #FFF8F0;
    --bg-alt: #F3EDE4;
    --surface: #FFFFFF;
    --border: #E0D6C8;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow: 0 2px 12px rgba(28, 28, 46, 0.08);
    --shadow-lg: 0 8px 28px rgba(28, 28, 46, 0.12);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

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

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

.site-header nav a:hover,
.site-header nav a.active {
    color: var(--primary);
}

.site-header .header-cta {
    background: var(--primary);
    color: white;
    border-radius: 30px;
    padding: 0.5rem 1.4rem;
    font-weight: 600;
}

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

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

.hero-banniere::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
}

.hero-banniere::after {
    content: '⚜';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    opacity: 0.06;
}

.hero-banniere .hero-badge {
    display: inline-block;
    background: rgba(229, 161, 0, 0.15);
    color: var(--accent);
    border: 1px solid rgba(229, 161, 0, 0.35);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-banniere 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-banniere .hero-ornament {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

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

.hero-banniere .hero-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-banniere .hero-btn:hover {
    background: #CDA000;
    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);
}

/* ===== HIGHLIGHTS LOIRE ===== */
.highlights-loire {
    padding: 4rem 1.5rem;
    background: var(--bg-alt);
}

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

.highlights-loire .highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.highlights-loire .highlight-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    transition: transform 0.3s ease;
}

.highlights-loire .highlight-card:hover {
    transform: translateY(-4px);
}

.highlights-loire .highlight-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.highlights-loire .highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.6rem;
}

.highlights-loire .highlight-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

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

/* ===== ARTICLES PARCHEMIN ===== */
.articles-parchemin {
    padding: 4rem 1.5rem;
    background: var(--surface);
}

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

.articles-parchemin .articles-list {
    max-width: 700px;
    margin: 0 auto;
}

.articles-parchemin .article-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.articles-parchemin .article-row:first-child {
    border-top: 1px solid var(--border);
}

.articles-parchemin .article-row:hover {
    background: var(--bg);
}

.articles-parchemin .article-row-date {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    min-width: 90px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.articles-parchemin .article-row-body {
    flex: 1;
}

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

.articles-parchemin .article-row p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.articles-parchemin .article-row-arrow {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.articles-parchemin .article-row:hover .article-row-arrow {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .articles-parchemin .article-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ===== CTA BLASON ===== */
.cta-blason {
    padding: 4rem 1.5rem;
    background: var(--bg-alt);
}

.cta-blason .blason-frame {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(160deg, var(--secondary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-blason .blason-frame::before {
    content: '⚜';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    opacity: 0.06;
}

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

.cta-blason .blason-text {
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.cta-blason .blason-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 0.8rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-blason .blason-btn:hover {
    background: #CDA000;
    transform: translateY(-2px);
}

/* ===== FOOTER INLINE ===== */
.site-footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    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(160deg, var(--secondary) 0%, var(--primary-dark) 100%);
}

/* ===== 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(44, 62, 140, 0.15);
}

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

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

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

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

    .highlights-loire,
    .articles-parchemin,
    .cta-blason {
        padding: 3rem 1rem;
    }

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