﻿/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Geist Mono', 'Courier New', monospace;
    line-height: 1.7;
    color: #2c1810;
    background: linear-gradient(135deg, #f8f6ff 0%, #fff9f0 100%);
    min-height: 100vh;
}

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

/* Variables CSS - Nouvelle palette spirituelle */
:root {
    --primary-color: #8b5cf6; /* Violet royal */
    --secondary-color: #fbbf24; /* Or sacré */
    --accent-color: #7c3aed; /* Violet profond */
    --text-color: #2c1810; /* Brun foncé mystique */
    --light-bg: #f8f6ff; /* Blanc spirituel */
    --border-color: #e4d7ff; /* Violet clair */
    --success-color: #10b981; /* Vert émeraude */
    --warning-color: #f59e0b; /* Orange ambre */
    --error-color: #ef4444; /* Rouge passion */
    --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --mystical-gradient: linear-gradient(135deg, #f8f6ff 0%, #e4d7ff 50%, #fbbf24 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Geist Mono', monospace;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Amélioration de la lisibilité pour Geist Mono */
body {
    font-family: 'Geist Mono', 'Courier New', monospace;
    line-height: 1.8;
    color: #2c1810;
    background: linear-gradient(135deg, #f8f6ff 0%, #fff9f0 100%);
    min-height: 100vh;
    font-feature-settings: "liga" 1, "kern" 1;
}

/* Ajustement des espacements pour la monospace */
p, li {
    letter-spacing: 0.01em;
}

/* Amélioration des boutons pour Geist Mono */
.btn-primary {
    font-family: 'Geist Mono', monospace;
    letter-spacing: 0.02em;
    font-weight: 500;
}

h1 {
    font-size: 3.5rem;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Boutons - Nouveau design mystique */
.btn-primary {
    background: var(--purple-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Geist Mono', monospace;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: var(--gold-gradient);
    color: var(--text-color);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* Cookie Popup - Design mystique */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--mystical-gradient);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
    z-index: 1000;
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    display: none; /* Caché par défaut */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.cookie-popup.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.cookie-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Geist Mono', monospace;
    letter-spacing: 0.01em;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 500;
    font-family: 'Geist Mono', monospace;
    letter-spacing: 0.01em;
}

/* Navigation - Design sacré */
.navbar {
    background: rgba(248, 246, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
    transition: all 0.3s ease;
    font-family: 'Geist Mono', monospace;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--accent-color);
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Geist Mono', monospace;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-family: 'Geist Mono', monospace;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Geist Mono', monospace;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-gradient);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section - Design mystique */
.hero-section {
    background: linear-gradient(rgba(139, 92, 246, 0.7), rgba(124, 58, 237, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: white;
    font-family: 'Geist Mono', monospace;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    font-family: 'Geist Mono', monospace;
    letter-spacing: 0.01em;
}

/* Sections communes */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Geist Mono', monospace;
}

.section-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 15px rgba(139, 92, 246, 0.3));
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.6;
    font-family: 'Geist Mono', monospace;
    letter-spacing: 0.01em;
}

/* Méditation Section */
.meditation-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.meditation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.meditation-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.meditation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--purple-gradient);
}

.meditation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--border-color);
}

.card-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-icon-img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}

.meditation-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-family: 'Geist Mono', monospace;
    letter-spacing: -0.01em;
}

.meditation-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.meditation-card ul {
    list-style: none;
    padding: 0;
}

.meditation-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.meditation-card li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Spiritualité Section */
.spiritualite-section {
    padding: 80px 0;
    background: white;
}

.spiritualite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.spiritualite-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.spiritualite-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.spiritualite-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Geist Mono', monospace;
    letter-spacing: -0.01em;
}

/* Témoignages Section */
.temoignages-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.temoignage-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.temoignage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.2);
}

.temoignage-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid var(--border-color);
    transition: all 0.3s ease;
}

.temoignage-card:hover .temoignage-image img {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.temoignage-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.temoignage-card p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
}

/* Retraites Spirituelles Section */
.retraites-section {
    padding: 80px 0;
    background: white;
}

.retraites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.retraite-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.retraite-card.featured {
    background: var(--mystical-gradient);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.retraite-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.retraite-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.retraite-image {
    margin-bottom: 1.5rem;
}

.retraite-placeholder {
    font-size: 4rem;
    margin: 0 auto;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-gradient);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.retraite-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.retraite-location {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.retraite-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.retraite-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.retraite-duration, .retraite-participants {
    background: var(--purple-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.retraite-activities {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.retraite-activities li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.retraite-activities li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.2);
}

.article-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.article-date, .article-category {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-benefits h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.contact-benefits ul {
    list-style: none;
    padding: 0;
}

.contact-benefits li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.contact-benefits li::before {
    content: '💫';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.contact-form-container {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: 'Geist Mono', monospace;
    letter-spacing: -0.01em;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(248, 246, 255, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
        border-top: 1px solid var(--border-color);
        font-family: 'Geist Mono', monospace;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
         .meditation-grid,
     .spiritualite-grid,
     .temoignages-grid,
     .retraites-grid,
     .article-grid {
         grid-template-columns: 1fr;
     }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
         .meditation-card,
     .spiritualite-card,
     .temoignage-card,
     .retraite-card,
     .article-card {
         padding: 1.5rem;
     }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enhanced-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Effets de focus pour l'accessibilité */
.btn-primary:focus,
.btn-secondary:focus,
.nav-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* États de chargement */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Messages d'erreur */
.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

/* Succès */
.success-message {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--success-color);
    margin-top: 1rem;
}
