/* --- IMPORTATION POLICE --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

/* --- VARIABLES GLOBALES --- */
:root {
    --globe-blue: #004BFE;       /* Ton bleu d'origine */
    --globe-blue-dark: #0039c7;
    --apple-bg: #ffffff;
    --apple-secondary: #f5f5f7;  /* Gris clair Apple */
    --apple-text: #1d1d1f;
    --apple-text-grey: #86868b;
    --glass: rgba(255, 255, 255, 0.8);
    --border-radius: 28px;       /* Rayon des courbes Apple */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--apple-bg);
    color: var(--apple-text);
    line-height: 1.47;
    overflow-x: hidden;
}

/* --- NAVIGATION (GLASSMORPHISM) --- */
.apple-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 52px;
    background: var(--glass);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    text-decoration: none;
    color: var(--apple-text);
    font-size: 13px;
    font-weight: 400;
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--globe-blue);
}

.globe-btn-nav {
    background: var(--globe-blue);
    color: white !important;
    padding: 6px 14px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.globe-btn-nav:hover {
    background: var(--globe-blue-dark);
    transform: scale(1.05);
}

/* --- HERO SECTION --- */
.hero {
    padding: 120px 22px 60px;
    text-align: center;
    background: var(--apple-secondary);
}
/* --- STYLE VIDÉO HERO --- */
.iphone-video {
    width: 300px; /* Même taille que l'iPhone précédent */
    display: block;
    margin: 0 auto;
    border-radius: 40px; /* Pour simuler les bords de l'iPhone si la vidéo est brute */
    outline: none;
}

/* On s'assure que le conteneur hero-visual n'ajoute pas de marges bizarres */
.hero-visual {
    margin-top: 20px;
    padding-bottom: 0;
    line-height: 0; /* Évite un petit espace sous la vidéo */
}

h1 {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.globe-blue-text {
    color: var(--globe-blue);
}

.hero-subtitle {
    font-size: 26px;
    font-weight: 500;
    color: var(--apple-text-grey);
    margin: 0 auto 48px;
    max-width: 600px;
}

.iphone-main {
    width: 300px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* --- BENTO GRID SYSTEM --- */
.bento-grid-container {
    padding: 80px 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
}

.bento-card {
    background: var(--apple-secondary);
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-5px);
}

.bento-blue {
    background-color: var(--globe-blue);
    color: white;
}

.bento-blue h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 10px;
}

.bento-blue p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 250px;
}

.bento-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.pill-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pill {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--globe-blue);
}

.bento-img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    pointer-events: none;
}

/* --- IMMERSIVE SECTION (CENTERED) --- */
.immersive-text {
    padding: 100px 22px;
    text-align: center;
}

.immersive-text h3 {
    font-size: 48px;
    margin-bottom: 24px;
}

.immersive-text p {
    font-size: 21px;
    color: var(--apple-text-grey);
    max-width: 700px;
    margin: 0 auto 60px;
}

.iphone-float {
    width: 280px;
    border-radius: 44px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

/* --- LEGAL & SUPPORT LAYOUT --- */
.legal-container, .support-container {
    padding: 100px 22px 80px;
    max-width: 850px;
    margin: 0 auto;
}

.legal-header, .support-hero {
    text-align: center;
    margin-bottom: 60px;
}

.legal-date {
    color: var(--apple-text-grey);
    margin-top: 10px;
    font-size: 14px;
}

.legal-card, .support-card {
    background: var(--apple-secondary);
    border-radius: var(--border-radius);
    padding: 45px;
    margin-bottom: 24px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 26px;
    margin-bottom: 18px;
}

.legal-section h3 {
    font-size: 19px;
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--globe-blue);
}

.legal-section p, .legal-section li {
    font-size: 16px;
    color: #424245;
    line-height: 1.6;
    margin-bottom: 14px;
}

.legal-section ul {
    padding-left: 20px;
}

/* --- FAQ INTERACTIVE (DETAILS) --- */
.faq-item {
    border-bottom: 1px solid #d2d2d7;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    color: var(--globe-blue);
    font-size: 20px;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-content {
    margin-top: 15px;
    color: var(--apple-text-grey);
    line-height: 1.6;
}

/* --- FOOTER --- */
.apple-footer {
    padding: 60px 22px 40px;
    background: #fff;
    border-top: 1px solid #e5e5e7;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--apple-text-grey);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: var(--apple-text-grey);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--globe-blue);
    text-decoration: underline;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    h1 {
        font-size: 46px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        min-height: 300px;
        padding: 30px;
    }

    .legal-card, .support-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}