/*
Theme Name: Astra Child
Template: astra
*/

/* 1. IMPORTS & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    /* Vos Couleurs */
    --c-cream: #FAF9F6;       /* Fond principal */
    --c-cream-dark: #F0EFE9;  /* Fond sections alternées */
    --c-text: #333333;        /* Texte principal */
    --c-sage: #9EB9A7;        /* Boutons / Accents */
    --c-sage-dark: #8AA894;   /* Hover Sauge */
    --c-gold: #B6A686;        /* Boutons Secondaires */
    --c-white: #FFFFFF;
    
    /* Polices */
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Espacements */
    --spacing: 4rem;
}

/* 2. BASE STYLES */
body {
    background-color: var(--c-cream);
    color: var(--c-text);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* 3. COMPOSANTS (Boutons, etc) */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--c-sage);
    color: var(--c-white);
}
.btn-primary:hover {
    background-color: var(--c-sage-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--c-white);
    color: var(--c-white);
}
.btn-secondary:hover {
    background-color: var(--c-white);
    color: var(--c-text);
}

.btn-gold {
    background-color: var(--c-gold);
    color: var(--c-white);
}

.btn-outline {
    border: 1px solid var(--c-text);
    color: var(--c-text);
}
.btn-outline:hover {
    background-color: var(--c-text);
    color: var(--c-white);
}

/* 4. LAYOUT UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding { padding: var(--spacing) 0; }
.text-center { text-align: center; }
.mt-lg { margin-top: 3rem; }
.bg-cream-dark { background-color: var(--c-cream-dark); }

.subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-gold);
    margin-bottom: 10px;
}

/* 5. HERO SECTION */
.hero-section {
    position: relative;
    height: 90vh; /* Prend presque tout l'écran */
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--c-white);
}
.hero-overlay {
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.3); /* Assombrit l'image pour lire le texte */
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    font-size: 4rem; /* Très grand titre élégant */
    font-style: italic;
    margin-bottom: 1rem;
}
.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* 6. VALUES SECTION */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    padding: 60px 0;
    border-bottom: 1px solid #ddd;
}
.icon-circle {
    width: 60px; height: 60px;
    background: var(--c-cream-dark);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-title);
    font-style: italic;
    color: var(--c-sage);
}

/* 7. VIDEO GRID (TEASING) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.video-card {
    background: var(--c-white);
    transition: transform 0.3s ease;
}
.video-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.duration {
    position: absolute;
    bottom: 10px; right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
}
.locked-overlay {
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.video-card:hover .locked-overlay { opacity: 1; }
.lock-icon {
    background: var(--c-text);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.video-info { padding: 20px; }
.category { 
    font-size: 0.7rem; text-transform: uppercase; color: var(--c-sage); font-weight: 600;
}
.video-info h3 { font-size: 1.4rem; margin: 5px 0 15px; }
.link-arrow { text-decoration: none; color: var(--c-text); font-weight: 500; font-size: 0.9rem; }

/* 8. SPLIT SECTION (ABOUT) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split-image { position: relative; }
.split-image img { width: 100%; display: block; }
/* Petit effet de cadre décalé élégant */
.image-frame {
    position: absolute;
    top: 20px; left: -20px;
    width: 100%; height: 100%;
    border: 1px solid var(--c-gold);
    z-index: -1;
}

/* 9. ANIMATIONS CSS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 10. MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .values-grid { grid-template-columns: 1fr; }
    .split-layout { grid-template-columns: 1fr; }
    .image-frame { display: none; } /* Simplification sur mobile */
}