/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-vif: #00B4D8;
    --turquoise: #48CAE4;
    --jaune: #FFD60A;
    --rouge-clair: #FF6B6B;
    --blanc: #FFFFFF;
    --gris-clair: #F8F9FA;
    --gris-texte: #2D3436;
    --degrade-1: linear-gradient(135deg, #00B4D8 0%, #48CAE4 100%);
    --degrade-2: linear-gradient(135deg, #FFD60A 0%, #FFB800 100%);
    --degrade-3: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gris-texte);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--blanc);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    width: 120px;
    height: auto;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--degrade-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 50%, #FFFFFF 100%);
    overflow: hidden;
    padding: 2rem;
    padding-top: 8vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out;
    margin-top: auto;
    margin-bottom: auto;
}

.hero-logo-container {
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 180, 216, 0.2));
}

.logo-dot {
    animation: logoDotPulse 2s ease-in-out infinite;
}

.logo-dot:nth-child(5) {
    animation-delay: 0s;
}

.logo-dot:nth-child(6) {
    animation-delay: 0.5s;
}

.logo-dot:nth-child(7) {
    animation-delay: 1s;
}

.logo-dot:nth-child(8) {
    animation-delay: 1.5s;
}

@keyframes logoDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--gris-texte);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--gris-texte);
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--degrade-1);
    color: var(--blanc);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.btn-secondary {
    background: var(--blanc);
    color: var(--blue-vif);
    border: 2px solid var(--blue-vif);
}

.btn-secondary:hover {
    background: var(--blue-vif);
    color: var(--blanc);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--jaune);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--rouge-clair);
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--turquoise);
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gris-texte);
    letter-spacing: -0.02em;
}

/* Le moment */
.moment {
    background: var(--gris-clair);
}

.moment-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.moment-text {
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--gris-texte);
    font-weight: 400;
}

.moment-text-bold {
    font-weight: 700;
    color: var(--blue-vif);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Valeurs */
.valeurs {
    background: var(--blanc);
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.valeur-card {
    background: var(--blanc);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.valeur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--blue-vif);
}

.valeur-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.valeur-card:hover .valeur-icon {
    transform: scale(1.1) rotate(5deg);
}

.valeur-icon-1 {
    background: var(--degrade-1);
}

.valeur-icon-2 {
    background: var(--degrade-2);
}

.valeur-icon-3 {
    background: var(--degrade-3);
}

.valeur-icon-4 {
    background: linear-gradient(135deg, #48CAE4 0%, #00B4D8 100%);
}

.valeur-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gris-texte);
}

.valeur-text {
    font-size: 1rem;
    color: var(--gris-texte);
    opacity: 0.8;
    line-height: 1.6;
}

/* Actions */
.actions {
    background: linear-gradient(135deg, #E0F7FA 0%, #FFFFFF 100%);
}

.actions-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.action-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    color: var(--gris-texte);
    font-weight: 500;
}

/* Donateurs */
.donateurs {
    background: var(--blanc);
}

.donateurs-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.donateurs-text {
    margin-bottom: 3rem;
}

.donateurs-text p {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
    color: var(--gris-texte);
    font-weight: 400;
}

/* Créateurs */
.createurs {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 100%);
}

.createurs-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.createurs-text {
    margin-bottom: 3rem;
}

.createurs-text p {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
    color: var(--gris-texte);
    font-weight: 400;
}

.createurs-text-bold {
    font-weight: 700;
    color: var(--jaune);
    font-size: clamp(1.4rem, 4vw, 2rem);
}

/* Manifeste */
.manifeste {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFFFFF 100%);
    padding: 8rem 0;
}

.manifeste-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.manifeste-line {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gris-texte);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.manifeste-line:nth-child(1) {
    color: var(--rouge-clair);
}

.manifeste-line:nth-child(2) {
    color: var(--blue-vif);
}

.manifeste-line:nth-child(3) {
    color: var(--jaune);
}

.manifeste-line:nth-child(4) {
    color: var(--turquoise);
}

/* Footer */
.footer {
    background: var(--gris-texte);
    color: var(--blanc);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-signature {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--turquoise);
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--blanc);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--turquoise);
}

/* Formulaire de contact - Design moderne 2024 */
.contact-form-section {
    background: linear-gradient(135deg, #FFE5E5 0%, #E0F7FA 30%, #FFF9E6 60%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--jaune) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
    filter: blur(40px);
}

.contact-form-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--rouge-clair) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.25;
    bottom: -175px;
    left: -175px;
    animation: float 10s ease-in-out infinite;
    animation-delay: 2s;
    filter: blur(40px);
}

.contact-form-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-form-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--gris-texte);
    margin-bottom: 4rem;
    font-weight: 400;
    opacity: 0.9;
}

.contact-form {
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    overflow: hidden;
    border: none;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--blue-vif) 0%, 
        var(--turquoise) 25%, 
        var(--jaune) 50%, 
        var(--rouge-clair) 75%, 
        var(--blue-vif) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.form-group:nth-child(1) label {
    color: var(--blue-vif);
}

.form-group:nth-child(2) label {
    color: var(--turquoise);
}

.form-group:nth-child(3) label {
    color: var(--jaune);
}

.form-group:nth-child(4) label {
    color: var(--rouge-clair);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 1.8rem;
    border: none;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--gris-texte);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    font-weight: 500;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B0B0B0;
    font-weight: 400;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
}

.form-group:nth-child(1) input:focus,
.form-group:nth-child(1) select:focus {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.05) 0%, #FFFFFF 100%);
    box-shadow: 
        0 0 0 4px rgba(0, 180, 216, 0.2),
        0 12px 35px rgba(0, 180, 216, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
}

.form-group:nth-child(2) input:focus {
    background: linear-gradient(135deg, rgba(72, 202, 228, 0.05) 0%, #FFFFFF 100%);
    box-shadow: 
        0 0 0 4px rgba(72, 202, 228, 0.2),
        0 12px 35px rgba(72, 202, 228, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
}

.form-group:nth-child(3) select:focus {
    background: linear-gradient(135deg, rgba(255, 214, 10, 0.05) 0%, #FFFFFF 100%);
    box-shadow: 
        0 0 0 4px rgba(255, 214, 10, 0.2),
        0 12px 35px rgba(255, 214, 10, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
}

.form-group:nth-child(4) textarea:focus {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, #FFFFFF 100%);
    box-shadow: 
        0 0 0 4px rgba(255, 107, 107, 0.2),
        0 12px 35px rgba(255, 107, 107, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2300B4D8' d='M8 12L2 6h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.8rem center;
    padding-right: 4rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1.5rem 3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.contact-form .btn:hover::before {
    left: 100%;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.4);
}

.form-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    display: none;
    animation: fadeInUp 0.5s ease-out;
    backdrop-filter: blur(10px);
}

.form-message-success {
    display: block;
    background: linear-gradient(135deg, rgba(212, 237, 218, 0.9) 0%, rgba(195, 230, 203, 0.9) 100%);
    color: #155724;
    border: 2px solid rgba(184, 219, 194, 0.5);
}

.form-message-error {
    display: block;
    background: linear-gradient(135deg, rgba(248, 215, 218, 0.9) 0%, rgba(245, 198, 203, 0.9) 100%);
    color: #721C24;
    border: 2px solid rgba(241, 176, 183, 0.5);
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 4rem 0;
    }
    
    .contact-form {
        padding: 2.5rem 2rem;
        border-radius: 30px;
    }
    
    .form-group {
        margin-bottom: 2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        border-radius: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .valeurs-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .shape {
        display: none;
    }
    
    .hero-logo-container {
        padding: 0 1rem;
        margin-bottom: 4rem;
    }
    
    .hero-logo {
        max-width: 100%;
        width: 100%;
    }
    
    .hero {
        padding-top: 5vh;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
