/* ====================================
   KOLLECTOR - FICHIER CSS PRINCIPAL
   ==================================== */

/* Variables CSS */
:root {
    --primary: #1a1a1a;
    --secondary: #DAA520;
    --accent: #2c3e50;
    --text: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

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

/* ====================================
   HEADER & NAVIGATION
   ==================================== */

header {
    background: var(--primary);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

/* ====================================
   HERO SECTION - PAGE D'ACCUEIL
   ==================================== */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 150px 2rem 100px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
    background: #d4af37;
}

/* ====================================
   HERO UNIVERS - 2 COLONNES
   ==================================== */

.hero-univers {
    position: relative;
    padding: 140px 2rem 80px;
    background: #f8f9fa;
    overflow: hidden;
}

.hero-univers-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Colonne Gauche - Contenu */
.hero-content {
    padding-right: 2rem;
}

.hero-univers-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.hero-univers h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--secondary);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
    background: #d4af37;
    gap: 1.2rem;
}

.hero-cta::after {
    content: '→';
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.hero-cta:hover::after {
    transform: translateX(5px);
}

/* Colonne Droite - Image */
.hero-image-wrapper {
    position: relative;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

/* Overlay décoratif sur l'image */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Badge décoratif */
.hero-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ====================================
   STATS BAR
   ==================================== */

.stats-bar {
    background: white;
    padding: 2rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
    margin-top: 4rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ====================================
   UNIVERS SECTION - PAGE D'ACCUEIL
   ==================================== */

.univers {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.univers h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.univers > p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

.univers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.univers-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.univers-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.univers-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.univers-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.univers-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.univers-card .btn {
    background: var(--primary);
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
}

.univers-card .btn:hover {
    background: var(--secondary);
}

/* ====================================
   ARTICLES SECTION
   ==================================== */

.articles-section {
    padding: 6rem 2rem;
    background: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Article (Premier article) */
.articles-grid .article-card:first-child {
    grid-column: span 2;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.article-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.4s;
}

.articles-grid .article-card:first-child .article-image {
    height: 400px;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.4;
}

.articles-grid .article-card:first-child h3 {
    font-size: 2rem;
}

.article-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.article-link::after {
    content: '→';
    transition: transform 0.3s;
}

.article-link:hover {
    gap: 1rem;
}

.article-link:hover::after {
    transform: translateX(5px);
}

/* ====================================
   WHY COLLECT SECTION
   ==================================== */

.why-collect {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #2c3e50 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-collect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(218, 165, 32, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(218, 165, 32, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.why-collect .container {
    position: relative;
    z-index: 1;
}

.why-collect .section-title {
    color: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(218, 165, 32, 0.3);
}

.why-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.why-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ====================================
   NEWSLETTER SECTION
   ==================================== */

#newsletter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#newsletter::before {
    content: '✉️';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#newsletter .container {
    position: relative;
    z-index: 1;
}

#newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.newsletter-form button:hover {
    background: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ====================================
   FOOTER
   ==================================== */

footer {
    background: var(--primary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.8;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* ====================================
   ANIMATIONS
   ==================================== */

@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-15px); 
    }
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 1200px) {
    .hero-univers-container {
        gap: 3rem;
    }
    
    .hero-univers h1 {
        font-size: 3.5rem;
    }
    
    .hero-image-wrapper {
        height: 500px;
    }
    
    .articles-grid .article-card:first-child {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 120px 2rem 80px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-univers {
        padding: 120px 2rem 60px;
    }
    
    .hero-univers-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-univers h1 {
        font-size: 3rem;
    }
    
    .hero-univers-icon {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        display: inline-flex;
    }
    
    .hero-image-wrapper {
        height: 400px;
        order: -1;
    }
    
    .stats-bar {
        margin-top: 3rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid .article-card:first-child {
        grid-column: span 1;
    }
    
    .articles-grid .article-card:first-child .article-image {
        height: 250px;
    }
    
    .articles-grid .article-card:first-child h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 100px 1rem 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .hero-univers {
        padding: 100px 1rem 40px;
    }
    
    .hero-univers h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .hero-univers-icon {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-image-wrapper {
        height: 300px;
        border-radius: 16px;
    }
    
    .hero-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .univers h2 {
        font-size: 2rem;
    }
    
    .univers-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
