/*
 Theme Name:   Astra Child - Interprétation des Rêves
 Theme URI:    https://interpretation-reve.com
 Description:  Thème enfant Astra pour la plateforme d'interprétation des rêves par IA
 Author:       Interpretation Reve
 Author URI:   https://interpretation-reve.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child-reves
*/

/* ==========================================================================
   VARIABLES CSS - Thème Onirique
   ========================================================================== */

:root {
    /* Couleurs principales */
    --reve-primary: #4a3f6b;          /* Violet profond */
    --reve-secondary: #7c6c9a;        /* Violet clair */
    --reve-accent: #c9a959;           /* Or doux */
    --reve-dark: #1a1625;             /* Fond sombre */
    --reve-light: #f5f3f7;            /* Fond clair */

    /* Dégradés */
    --reve-gradient: linear-gradient(135deg, #1a1625 0%, #2d2640 50%, #4a3f6b 100%);
    --reve-gradient-accent: linear-gradient(135deg, #4a3f6b 0%, #7c6c9a 100%);

    /* Texte */
    --reve-text: #e8e4ed;
    --reve-text-muted: #a099b0;

    /* Ombres */
    --reve-shadow: 0 4px 20px rgba(74, 63, 107, 0.3);
    --reve-shadow-hover: 0 8px 30px rgba(74, 63, 107, 0.5);
}

/* ==========================================================================
   STYLES GLOBAUX
   ========================================================================== */

body {
    background: var(--reve-gradient);
    min-height: 100vh;
}

/* ==========================================================================
   TYPOGRAPHIE
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--reve-text);
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */

.btn-reve-primary {
    background: var(--reve-gradient-accent);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--reve-shadow);
}

.btn-reve-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--reve-shadow-hover);
    color: #fff;
}

.btn-reve-secondary {
    background: transparent;
    color: var(--reve-accent);
    border: 2px solid var(--reve-accent);
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-reve-secondary:hover {
    background: var(--reve-accent);
    color: var(--reve-dark);
}

/* ==========================================================================
   CARTES
   ========================================================================== */

.card-reve {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.card-reve:hover {
    transform: translateY(-5px);
    box-shadow: var(--reve-shadow-hover);
    border-color: var(--reve-secondary);
}

/* ==========================================================================
   FORMULAIRES
   ========================================================================== */

.form-reve input,
.form-reve textarea,
.form-reve select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--reve-text);
    border-radius: 10px;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.form-reve input:focus,
.form-reve textarea:focus,
.form-reve select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--reve-secondary);
    outline: none;
    box-shadow: 0 0 15px rgba(124, 108, 154, 0.3);
}

.form-reve textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   PAGE INTERPRETATION
   ========================================================================== */

.interpretation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dream-input-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.method-selector {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
}

.method-btn {
    padding: 15px 25px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    color: var(--reve-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-btn:hover,
.method-btn.active {
    border-color: var(--reve-accent);
    color: var(--reve-accent);
    background: rgba(201, 169, 89, 0.1);
}

.interpretation-result {
    background: rgba(74, 63, 107, 0.2);
    border-left: 4px solid var(--reve-accent);
    border-radius: 0 15px 15px 0;
    padding: 30px;
    margin-top: 30px;
}

/* ==========================================================================
   PAGE PREMIUM
   ========================================================================== */

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--reve-accent);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--reve-shadow-hover);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--reve-accent);
}

.price span {
    font-size: 1rem;
    color: var(--reve-text-muted);
}

/* ==========================================================================
   JOURNAL DES REVES
   ========================================================================== */

.journal-calendar {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px;
}

.dream-entry {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 3px solid var(--reve-secondary);
}

.dream-entry:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   SYMBOLES
   ========================================================================== */

.symbol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.symbol-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.symbol-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.symbol-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .dream-input-section {
        padding: 25px 20px;
    }

    .method-selector {
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: none;
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Effet de lueur subtile */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(201, 169, 89, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(201, 169, 89, 0.4);
    }
}

.glow-effect {
    animation: glow 3s infinite;
}
