/* ===== SINAPTIQUE - SITE WEB ===== */
/* Palette issue du jeu : #8B0000 (bordeaux), #FFD700 (or), #8B4513 (brun), #F5E6D3 (beige) */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&family=Noto+Serif+SC:wght@400;700&display=swap');

:root {
    --bordeaux: #8B0000;
    --or: #FFD700;
    --brun: #8B4513;
    --beige: #F5E6D3;
    --beige-fonce: #D2C4A8;
    --noir: #1a1a1a;
    --blanc: #FAFAF8;
    --gris: #666;
    --vert: #4CAF50;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Segoe UI', sans-serif;
    color: var(--noir);
    background-color: var(--blanc);
    line-height: 1.6;
}

.chinese-text {
    font-family: 'Noto Serif SC', 'KaiTi', 'STKaiti', serif;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, var(--bordeaux) 0%, #5a0000 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--or);
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--beige);
    letter-spacing: 1px;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links a {
    color: var(--beige);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 215, 0, 0.15);
    color: var(--or);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--or);
    font-size: 28px;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-fonce) 50%, #C4B090 100%);
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern-chinese.svg') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-chinese {
    font-family: 'Noto Serif SC', serif;
    font-size: 96px;
    font-weight: 700;
    color: var(--bordeaux);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--bordeaux);
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--brun);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 3px solid transparent;
}

.btn-primary {
    background-color: var(--or);
    color: var(--bordeaux);
    border-color: var(--brun);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    background-color: var(--noir);
    color: var(--or);
    border-color: var(--or);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--bordeaux);
    border-color: var(--bordeaux);
}

.btn-outline:hover {
    background-color: var(--bordeaux);
    color: var(--or);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background-color: var(--beige);
}

.section-alt .section {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--bordeaux);
    margin-bottom: 10px;
}

.section-title .chinese-accent {
    font-family: 'Noto Serif SC', serif;
    font-size: 28px;
    color: var(--brun);
    opacity: 0.7;
}

.section-title p {
    font-size: 18px;
    color: var(--gris);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== GRILLE DE FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border: 3px solid var(--beige-fonce);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--or);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--bordeaux);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gris);
    line-height: 1.7;
}

/* ===== TARIFS ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border: 3px solid var(--beige-fonce);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--or);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.pricing-card.popular::before {
    content: 'Populaire';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--or);
    color: var(--bordeaux);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 20px;
    border-radius: 20px;
    border: 2px solid var(--brun);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-level {
    font-size: 14px;
    color: var(--gris);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--bordeaux);
    margin-bottom: 5px;
}

.pricing-chinese {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    color: var(--brun);
    opacity: 0.7;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--bordeaux);
    margin-bottom: 5px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--gris);
}

.pricing-desc {
    font-size: 14px;
    color: var(--gris);
    margin-bottom: 25px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.pricing-features li {
    padding: 6px 0;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--vert);
    font-weight: bold;
}

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--or);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--beige), var(--beige-fonce));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.blog-card-body {
    padding: 25px;
}

.blog-card-tag {
    display: inline-block;
    background: var(--beige);
    color: var(--brun);
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 18px;
    color: var(--bordeaux);
    margin-bottom: 8px;
}

.blog-card p {
    font-size: 14px;
    color: var(--gris);
    line-height: 1.6;
}

.blog-card-date {
    font-size: 12px;
    color: #aaa;
    margin-top: 12px;
}

/* ===== FORUM ===== */
.forum-section {
    text-align: center;
    padding: 60px 20px;
}

.forum-placeholder {
    background: white;
    border: 3px dashed var(--beige-fonce);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 700px;
    margin: 40px auto;
}

.forum-placeholder h3 {
    font-size: 24px;
    color: var(--bordeaux);
    margin-bottom: 15px;
}

.forum-placeholder p {
    font-size: 16px;
    color: var(--gris);
    margin-bottom: 25px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--noir);
    color: var(--beige);
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--or);
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-col a {
    color: var(--beige-fonce);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--or);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    color: #999;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #777;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bordeaux);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        padding: 12px 20px;
        font-size: 16px;
    }

    .hero-chinese { font-size: 60px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 18px; }

    .section { padding: 50px 15px; }
    .section-title h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero-chinese { font-size: 42px; }
    .hero-title { font-size: 24px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .pricing-grid { grid-template-columns: 1fr; }
}
