/* Safe Page — Santé & Bien-Être Naturel */
/* Clean, professional, fast-loading design */

:root {
    --primary: #00b894;
    --primary-dark: #00a381;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #f8f9fa;
    --white: #ffffff;
    --border: #e0e0e0;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover { color: var(--primary); }

/* Hero */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.hero .subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Articles Grid */
.articles-grid {
    padding: 20px 0 60px;
}

.articles-grid h2 {
    font-size: 26px;
    margin-bottom: 28px;
    color: var(--text);
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    display: flex;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.article-image {
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.article-content {
    padding: 24px;
    flex: 1;
}

.article-category {
    display: inline-block;
    background: #e8f5e9;
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.article-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text);
}

.article-content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 12px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover { text-decoration: underline; }

.article-meta {
    margin-top: 10px;
    font-size: 13px;
    color: #b2bec3;
}

/* Newsletter */
.newsletter {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: var(--shadow);
}

.newsletter h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.newsletter p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 450px;
    margin: 0 auto 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.newsletter-form input:focus { border-color: var(--primary); }

.newsletter-form button {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover { background: var(--primary-dark); }

.newsletter small {
    color: #b2bec3;
    font-size: 13px;
}

/* Footer */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.8);
    padding: 48px 0 24px;
}

.footer-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-col { flex: 1; }

.footer-col h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-col p { font-size: 14px; line-height: 1.6; }

.footer-col ul { list-style: none; }

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

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.disclaimer {
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.6;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .article-card { flex-direction: column; }
    .article-image { min-width: 100%; height: 120px; }
    .footer-grid { flex-direction: column; gap: 24px; }
    .main-nav { display: none; }
    .newsletter { padding: 32px 20px; }
    .newsletter-form { flex-direction: column; }
}
