/* GlobalReset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, system-ui, sans-serif;
}

:root {
    --primary: #E86A50;
    --primary-light: #FF9E80;
    --background: #FDFBF7;
    --text-dark: #0F2E35;
    --text-light: #666;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    backdrop-filter: blur(15px);
    background: rgba(253, 251, 247, 0.85);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 1100;
    /* Superpose au dessus de tout */
    position: relative;
    font-weight: 800;
}

.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
}

.lang-switcher a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.4;
    transition: opacity 0.3s;
}

.lang-switcher a.active {
    opacity: 1;
}

.lang-switcher span {
    color: var(--text-dark);
    opacity: 0.2;
    font-size: 12px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 160px 10% 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-text h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.gradient-text {
    background: linear-gradient(135deg, #E86A50, #F4A261);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text-dark);
    color: white;
    padding: 16px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.availability-text {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.6;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-img {
    max-width: 100%;
    width: 650px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Floating Shapes */
.shape {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(60px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(232, 106, 80, 0.15);
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(244, 162, 97, 0.15);
    bottom: -30px;
    left: 20%;
}

/* Features */
.features {
    padding: 100px 10%;
    background: white;
}

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

.features h2,
.gallery-section h2,
.faq-section h2,
.contact-text h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

.highlight {
    color: var(--primary);
}

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

.card {
    padding: 40px;
    background: var(--background);
    border-radius: 30px;
    transition: transform 0.3s;
}

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

.icon-box {
    font-size: 40px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* FAQ */
.faq-section {
    padding: 80px 10%;
    background: var(--background);
}

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

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

/* Privacy */
.privacy-section {
    padding: 80px 10%;
}

.legal-box {
    background: white;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid #eee;
}

/* Contact Form */
.contact-section {
    padding: 100px 10%;
    background: white;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-text {
    flex: 1;
}

.contact-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.contact-form {
    flex: 1;
    background: var(--background);
    padding: 40px;
    border-radius: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: white;
    font-size: 16px;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

/* Subpages Styles (Legal, CGU, Privacy) */
.legal-page-body {
    padding-top: 100px;
    padding-bottom: 80px;
    background-color: var(--background);
}

.legal-content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.legal-content-container h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: left;
}

.legal-content-container h2 {
    font-size: 22px;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f9f9f9;
    padding-bottom: 10px;
}

.legal-content-container p,
.legal-content-container li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.back-btn-float {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    background: white;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.back-btn-float:hover {
    transform: translateX(-5px);
}

/* Footer */
footer {
    padding: 40px 10%;
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.6);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(253, 251, 247, 0.98);
        padding: 100px 20px;
        flex-direction: column;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 20px;
        padding: 10px 20px;
    }

    .nav-links a {
        font-size: 24px;
        font-weight: 700;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 5% 60px;
    }

    .hero-text {
        margin-bottom: 60px;
        /* Espace pour pas que les téléphones montent trop haut */
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-text p {
        font-size: 18px;
        max-width: 100%;
    }

    .hero-visual {
        margin-top: 40px;
        justify-content: center;
        width: 100%;
        margin-bottom: 40px;
    }

    .grid-3,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .contact-form {
        width: 100%;
        padding: 30px 20px;
    }

    .contact-text h2 {
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .legal-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .features,
    .faq-section,
    .privacy-section,
    .contact-section {
        padding: 80px 15px;
    }

    .contact-form {
        padding: 30px 15px;
    }

    .features h2,
    .gallery-section h2,
    .faq-section h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .card {
        padding: 30px 20px;
    }

    .app-store-btn {
        width: 100%;
        justify-content: center;
    }
}