/* ============================================
   MAIN.CSS - Atelier Numérique de la Trinité
   Styles communs à toutes les pages
   ============================================ */

/* ============================================
   1. VARIABLES CSS
   ============================================ */
:root {
    --primary: #1C1A17;
    --secondary: #2A2520;
    --accent: #2D4A3E;
    --gold: #2D4A3E;
    --light: #F7F4EF;
    --gradient: linear-gradient(160deg, #1C1A17 0%, #1a3428 50%, #2D4A3E 100%);
    --text-dark: #1C1A17;
    --text-light: rgba(255, 255, 255, 0.95);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--light);
}

/* ============================================
   3. NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(28, 26, 23, 0.97);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   4. BOUTONS
   ============================================ */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background: var(--gold);
    color: white;
    box-shadow: 0 10px 30px rgba(45, 74, 62, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(45, 74, 62, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   5. FOOTER
   ============================================ */
footer {
    background: #1C1A17;
    padding: 4rem 2rem 2rem;
    color: rgba(247, 244, 239, 0.7);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-links a {
    color: rgba(247, 244, 239, 0.7);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(247, 244, 239, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* ============================================
   6. ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   7. RESPONSIVE - TABLETTE
   ============================================ */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   8. RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Navigation mobile - gérée par hamburger.css */
    
    .btn {
        display: block;
        margin: 1rem 0;
        text-align: center;
    }
}
