/* ========================================
   MATHILDE - SITE HÔTESSE DE L'AIR
   Un site humoristique et aéré
======================================== */

:root {
    --primary: #1e3a5f;
    --secondary: #3d7ea6;
    --accent: #ff6b6b;
    --accent2: #feca57;
    --light: #f8f9fa;
    --white: #ffffff;
    --gradient-sky: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: #333;
    overflow-x: hidden;
}

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

/* ========================================
   NAVIGATION
======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-links a:hover {
    color: var(--accent);
}

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

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

.menu-burger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.clouds {
    position: absolute;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cellipse cx='100' cy='400' rx='80' ry='40' fill='%23ffffff15'/%3E%3Cellipse cx='250' cy='350' rx='100' ry='50' fill='%23ffffff10'/%3E%3Cellipse cx='500' cy='380' rx='120' ry='60' fill='%23ffffff12'/%3E%3Cellipse cx='700' cy='320' rx='90' ry='45' fill='%23ffffff08'/%3E%3C/svg%3E");
    background-size: 600px;
    animation: cloudMove 60s linear infinite;
}

@keyframes cloudMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 20px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero .subtitle {
    font-family: 'Satisfy', cursive;
    font-size: 2rem;
    color: var(--accent2);
    margin: 15px 0;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.plane-decoration {
    font-size: 5rem;
    margin: 30px 0;
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

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

.tagline {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin: 30px 0;
    font-style: italic;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-sunset);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255,107,107,0.4);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,107,0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

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

/* ========================================
   SECTIONS COMMUNES
======================================== */
.section {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-sunset);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
}

.section h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

.section-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ========================================
   HISTOIRE / TIMELINE
======================================== */
.histoire {
    background: var(--white);
}

.timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-sunset);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 45%;
    padding: 25px;
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: scale(1.02);
}

.timeline-item:nth-child(odd) {
    margin-left: 5%;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}

.timeline-item::before {
    content: '✈️';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gradient-sunset);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.timeline-item:nth-child(odd)::before {
    right: -60px;
    top: 20px;
}

.timeline-item:nth-child(even)::before {
    left: -60px;
    top: 20px;
}

.year {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-item p {
    color: #555;
    line-height: 1.6;
}

/* ========================================
   TALENTS / SKILLS
======================================== */
.talents {
    background: linear-gradient(180deg, var(--light) 0%, #e8f4f8 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-sunset);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.skill-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.skill-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.skill-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    width: var(--progress);
    background: var(--gradient-sunset);
    border-radius: 4px;
    transition: width 1s ease;
}

/* ========================================
   CITATIONS
======================================== */
.citations {
    background: var(--primary);
    padding: 80px 0;
}

.citation-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.citation-box p {
    font-size: 1.6rem;
    color: var(--white);
    font-style: italic;
    line-height: 1.8;
}

.citation-box cite {
    display: block;
    margin-top: 20px;
    color: var(--accent2);
    font-size: 1rem;
}

/* ========================================
   CV
======================================== */
.cv {
    background: var(--white);
}

.cv-container {
    max-width: 900px;
    margin: 50px auto 0;
    background: var(--light);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.cv-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--accent2);
}

.cv-photo {
    width: 120px;
    height: 120px;
    background: var(--gradient-sunset);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.cv-info h3 {
    font-size: 2rem;
    color: var(--primary);
}

.cv-info p {
    color: #666;
    margin-top: 5px;
}

.cv-section {
    margin-bottom: 35px;
}

.cv-section h4 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #ddd;
}

.cv-item {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid var(--accent);
}

.cv-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 5px;
}

.cv-item p {
    color: #555;
}

.cv-detail {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
}

.competences {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.competence-tag {
    padding: 8px 18px;
    background: var(--white);
    border: 2px solid var(--secondary);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.competence-tag:hover {
    background: var(--gradient-sunset);
    color: var(--white);
    border-color: transparent;
}

.atouts-list {
    list-style: none;
}

.atouts-list li {
    padding: 12px 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.atouts-list li:last-child {
    border-bottom: none;
}

/* ========================================
   TÉMOIGNAGES
======================================== */
.temoignages {
    background: linear-gradient(180deg, #e8f4f8 0%, var(--light) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    color: rgba(255,107,107,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.stars {
    color: var(--accent2);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   FAQ
======================================== */
.faq {
    background: var(--white);
}

.faq h2 {
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.faq-item {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: var(--primary);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-tagline {
    color: rgba(255,255,255,0.7);
    font-style: italic;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    padding: 12px 25px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

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

.copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.plane-fly {
    position: absolute;
    bottom: 20px;
    right: -50px;
    font-size: 4rem;
    opacity: 0.1;
    animation: flyAway 10s linear infinite;
}

@keyframes flyAway {
    0% { right: -50px; opacity: 0.1; }
    50% { opacity: 0.2; }
    100% { right: 110%; opacity: 0; }
}

/* ========================================
   ANIMATIONS
======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .subtitle {
        font-size: 1.5rem;
    }
    
    nav {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-burger {
        display: block;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }
    
    .timeline-item::before {
        left: -50px !important;
        right: auto !important;
    }
    
    .cv-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cv-container {
        padding: 30px 20px;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 500px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .plane-decoration {
        font-size: 3.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .competences {
        justify-content: center;
    }
}