/**
 * My Coaching Guidance - Style CSS Moderne
 * Design premium avec dégradés bleu foncé et accents dorés
 */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs principales */
    --primary-dark: #050a16;
    --secondary-dark: #142440;
    --gold: #e8c547;
    --gold-light: #fef5d4;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --blue-accent: #4a90e2;
    --purple-accent: #8b7dba;
    
    /* Couleurs de texte */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    
    /* Espacement */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Bordures */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* Typography */
body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    background:
        radial-gradient(circle at 15% 0%, #1b2c54 0%, transparent 55%),
        radial-gradient(circle at 85% 100%, #233a6d 0%, transparent 60%),
        linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 300;
    font-size: 18px;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: 2px; }
h2 { font-size: 2.5rem; letter-spacing: 1.5px; }
h3 { font-size: 1.75rem; letter-spacing: 1px; }
h4 { font-size: 1.25rem; letter-spacing: 0.5px; }

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

/* Dégradés animés en arrière-plan */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blue-accent) 0%, transparent 70%);
    top: 50%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--purple-accent) 0%, transparent 70%);
    bottom: -10%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.orb-4 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--gold-dark) 0%, transparent 70%);
    top: 30%;
    left: 50%;
    animation-delay: -15s;
    animation-duration: 22s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* Particules flottantes */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-delay: -3s; }
.particle:nth-child(3) { left: 40%; animation-delay: -6s; }
.particle:nth-child(4) { left: 55%; animation-delay: -9s; }
.particle:nth-child(5) { left: 70%; animation-delay: -12s; }
.particle:nth-child(6) { left: 85%; animation-delay: -15s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    padding: 30px 0;
    position: sticky;
    top: 0;
    background: rgba(5, 10, 22, 0.96);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.logo::after {
    content: '✦';
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 12px;
    color: var(--gold);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.logo h1 {
    font-size: 24px;
    margin: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: var(--text-secondary);
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--gold-light);
}

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

/* Divider */
.divider {
    text-align: center;
    font-size: 28px;
    color: var(--gold);
    margin: 80px 0;
    opacity: 0.6;
    letter-spacing: 20px;
}

/* Buttons */
.btn-primary,
.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(232, 197, 71, 0.3);
}

.btn-primary::before,
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 197, 71, 0.5);
}

/* Hero Section */
.hero {
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(20, 36, 64, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(232, 197, 71, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 0;
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
}

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

.floating-card-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px var(--gold));
}

.floating-card-text {
    font-size: 16px;
    color: var(--gold-light);
    font-weight: 400;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* Services Grid */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: rgba(20, 36, 64, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(232, 197, 71, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 197, 71, 0.5);
    box-shadow: 0 12px 40px rgba(232, 197, 71, 0.2);
}

.service-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 24px;
    color: var(--gold);
    filter: drop-shadow(0 0 20px rgba(232, 197, 71, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--gold-light);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Articles Section */
.articles {
    padding: 100px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    background: rgba(20, 36, 64, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(232, 197, 71, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 197, 71, 0.5);
    box-shadow: 0 12px 40px rgba(232, 197, 71, 0.2);
}

.article-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.article-content {
    padding: 32px;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--gold-light);
}

.article-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.read-more {
    color: var(--gold);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.read-more:hover {
    gap: 12px;
    color: var(--gold-light);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(20, 36, 64, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(232, 197, 71, 0.3);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
}

.contact-content h2 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.contact-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: rgba(5, 10, 22, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(232, 197, 71, 0.2);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    display: block;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(232, 197, 71, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border: 1px solid rgba(232, 197, 71, 0.3);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(232, 197, 71, 0.4);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(232, 197, 71, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .contact-content {
        padding: 40px 30px;
    }
}

/* Formulaires */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    color: var(--gold-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    background: rgba(20, 36, 64, 0.6);
    border: 1px solid rgba(232, 197, 71, 0.3);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(20, 36, 64, 0.8);
    box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.1);
}

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

/* Messages d'alerte */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(74, 144, 226, 0.2);
    border-color: var(--blue-accent);
    color: var(--blue-accent);
}

.alert-error {
    background: rgba(232, 71, 71, 0.2);
    border-color: #e84747;
    color: #ff8888;
}

.alert-info {
    background: rgba(232, 197, 71, 0.2);
    border-color: var(--gold);
    color: var(--gold-light);
}