:root {
    --dark: #000000;
    --light: #FFFFFF;
    --primary: #FF4B4B;
    --secondary: #4B9FFF;
    --accent: #FF9F4B;
    --tertiary: #4BFF9F;
    --gradient: linear-gradient(45deg, var(--primary), var(--accent), var(--secondary), var(--tertiary));
    --bg-gradient: radial-gradient(circle at top right, rgba(75, 159, 255, 0.1), rgba(0, 0, 0, 0) 50%),
                   radial-gradient(circle at bottom left, rgba(255, 75, 75, 0.1), rgba(0, 0, 0, 0) 50%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.5;
    background-image: var(--bg-gradient);
    background-attachment: fixed;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    height: 48px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

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

.download-btn {
    background: var(--light);
    color: var(--dark) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--light);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    gap: 4rem;
    position: relative;
}

.badge {
    display: inline-block;
    background: var(--gradient);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.3);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
}

.emoji {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.store-buttons {
    display: flex;
    gap: 1rem;
}

.store-buttons img {
    height: 48px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.store-buttons img:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.hero-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mockup-frame {
    position: relative;
    z-index: 2;
}

.mockup-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.mockup-frame::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Concept Section */
.concept {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.concept h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.concept-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.polaroid-showcase {
    display: flex;
    justify-content: center;
    position: relative;
    height: 400px;
}

.polaroid {
    width: 250px;
    height: 300px;
    background: var(--light);
    padding: 15px 15px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: absolute;
    transition: transform 0.3s ease;
}

.polaroid:hover {
    transform: scale(1.05) rotate(-2deg) !important;
    z-index: 10;
}

.polaroid-content {
    width: 100%;
    height: 100%;
    background: #333;
    background-size: cover;
    background-position: center;
}

.polaroid:nth-child(1) .polaroid-content {
    background-image: url('assets/vacances_ete_2024.jpg');
}

.polaroid:nth-child(2) .polaroid-content {
    background-image: url('assets/concert_12_06.jpg');
}

.polaroid-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--dark);
    font-family: 'Courier New', monospace;
}

.polaroid:nth-child(1) {
    transform: rotate(-5deg);
    top: 20px;
    left: 20px;
    z-index: 2;
}

.polaroid-tilted {
    transform: rotate(8deg);
    top: 40px;
    right: 0;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.feature-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    filter: blur(10px);
}

.feature h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.05;
    z-index: -1;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .store-buttons {
    justify-content: center;
}

/* Footer */
footer {
    padding: 4rem 5%;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-info {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 1rem;
}

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

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 120px;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--light);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--light);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--light);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }
    
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .polaroid-showcase {
        order: -1;
    }
}

@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    body.menu-open .nav-links {
        right: 0;
    }
    
    body.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    body.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    body.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero {
        flex-direction: column-reverse;
        padding-top: 120px;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .features-list {
        align-items: center;
    }
    
    .hero-description {
        margin: 0 auto 2rem;
    }
    
    .store-buttons {
        justify-content: center;
    }
    
    .hero-mockup {
        padding: 0 10%;
    }
    
    .mockup-image {
        max-width: 80%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .social-links {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .feature-item {
        font-size: 1.1rem;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .hero-mockup, .feature, .concept-text, .polaroid {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-mockup {
    animation-delay: 0.2s;
}

.feature:nth-child(1) {
    animation-delay: 0.1s;
}

.feature:nth-child(2) {
    animation-delay: 0.2s;
}

.feature:nth-child(3) {
    animation-delay: 0.3s;
}

.feature:nth-child(4) {
    animation-delay: 0.4s;
}

/* Ajustements pour écrans ultra-larges 21:9 */
@media (min-width: 2100px) {
    .section-container {
        max-width: 1600px; /* Augmentation de la largeur maximale */
    }
    
    .hero {
        padding: 120px 10% 80px; /* Plus d'espace sur les côtés */
    }
    
    .hero-content {
        max-width: 800px; /* Plus large sur grands écrans */
    }
    
    h1 {
        font-size: 5rem; /* Texte plus grand */
    }
    
    .hero-description {
        font-size: 1.3rem;
        max-width: 700px;
    }
    
    .mockup-frame::before {
        width: 400px;
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr); /* Force 4 colonnes */
    }
}

/* Améliorations pour mobile */
@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .emoji {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .feature-item {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .store-buttons img {
        height: 40px;
    }
    
    .mockup-image {
        max-width: 90%;
    }
    
    .concept, .features, .cta {
        padding: 60px 0;
    }
    
    .concept h2, .features h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .polaroid {
        width: 180px;
        height: 220px;
    }
    
    .polaroid-showcase {
        height: 300px;
    }
    
    .feature {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature h3 {
        font-size: 1.2rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    footer {
        padding: 2.5rem 5%;
    }
}

/* Correction pour les écrans de taille moyenne */
@media (min-width: 769px) and (max-width: 1200px) {
    .hero {
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Optimisation pour orientation paysage sur mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 100px 5% 40px;
        min-height: auto;
    }
    
    .hero-content {
        padding-top: 20px;
    }
    
    .features-list {
        margin-bottom: 1rem;
    }
    
    .hero-description {
        margin-bottom: 1.5rem;
    }
}

/* Amélioration du menu mobile */
@media (max-width: 968px) {
    .nav-links {
        padding: 2rem;
    }
    
    .nav-links a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }
}

/* Correction de l'alignement des features sur écran 16:9 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Assurer que les features restent en 2x2 sur les écrans moyens */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Assurer que les features passent en colonne sur mobile */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles pour les pages légales */
.legal-page {
    padding-top: 120px;
    padding-bottom: 60px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.legal-section h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
}

.legal-section p, .legal-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Styles pour la page Contact */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-form-container {
    flex: 2;
    min-width: 300px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.checkbox-container input {
    width: auto;
    margin-top: 0.2rem;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Styles pour la page FAQ */
.faq-section {
    margin-top: 2rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.faq-question {
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.contact-cta {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.contact-cta h2 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Amélioration des liens du footer */
.footer-links a {
    display: block;
    padding: 0.3rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.social-links a {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Responsive pour les pages légales */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
    }
    
    .contact-section {
        flex-direction: column;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
        margin-bottom: 2rem;
    }
} 