@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #FFB6C1; /* Rose Pâle */
    --secondary: #F8F9FA; /* Blanc cassé */
    --accent: #D4AF37; /* Or */
    --text: #2D3436;
    --light-text: #636E72;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--secondary);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--accent);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--light-text);
}

nav ul li a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 150px 0;
    background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.7)), url('https://images.pexels.com/photos/6899538/pexels-photo-6899538.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1000&w=1800') center/cover;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text);
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.6);
    padding: 15px;
    border-radius: 10px;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--accent);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-3px);
}

/* Categories Grid */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.category-card .content {
    padding: 25px;
    flex-grow: 1;
}

.category-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Article Page */
.article-header {
    background: var(--white);
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--secondary);
}

.article-header h1 {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 20px auto;
}

.meta {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 20px;
}

.article-main-image img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.article-content {
    max-width: 850px;
    margin: 60px auto;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.article-content h2 {
    margin: 40px 0 20px;
    font-size: 2.2rem;
    color: var(--text);
    border-left: 5px solid var(--primary);
    padding-left: 20px;
}

.article-content h3 {
    margin: 35px 0 15px;
    font-size: 1.6rem;
    color: var(--accent);
}

.article-content p {
    margin-bottom: 25px;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cta-box {
    background: linear-gradient(135deg, rgba(255,182,193,0.2), var(--white));
    padding: 40px;
    border-radius: 20px;
    margin: 50px 0;
    text-align: center;
    border: 2px dashed var(--accent);
}

.cta-box h4 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

/* Footer */
footer {
    background: var(--white);
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid #EEE;
}

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

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--accent);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #EEE;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero { padding: 100px 0; }
    nav ul { display: none; }
    .article-content { padding: 30px; }
    .article-header h1 { font-size: 2.2rem; }
}