/* WebTVDoc Nevers - Ultra Modern Redesign 
   Palette : #80d0d1 | #15757b | #5d9799 | #416a69
*/

@import url('https://fonts.cdnfonts.com/css/gilroy-bold'); /* Import de la police si possible */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gilroy', 'Segoe UI', Roboto, sans-serif;
}

body {
    /* Fond animé pour donner de la vie sans ralentir le mobile */
    background: linear-gradient(-45deg, #15757b, #416a69, #0f2a2e, #15757b);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    overflow-x: hidden;
}

/* Texture de fond subtile (Bruit numérique) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

/* CONTAINER DE LA CARTE */
.container {
    width: 100%;
    max-width: 440px;
    display: flex;
    justify-content: center;
    z-index: 10;
}

/* CARTE STYLE "GLASS-PREMIUM" */
.card {
    background: rgba(255, 255, 255, 0.08); /* Plus transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 35px; /* Plus arrondi pour le look moderne */
    padding: 2.5rem 1.8rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4), 
                inset 0 0 15px rgba(255, 255, 255, 0.05);
    animation: cardEntrance 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* LOGO AVEC EFFET DE FLOTTEMENT */
.logo {
    width: 100px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(128, 208, 209, 0.3));
    animation: float 4s ease-in-out infinite;
}

h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* LECTEUR VIDEO AMÉLIORÉ */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.8rem;
    background: #000;
    border: 1px solid rgba(128, 208, 209, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* DESCRIPTION AVEC LOOK "BULLE" */
.description {
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: left;
    background: rgba(0, 0, 0, 0.25);
    padding: 18px;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.description p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.direct {
    color: #80d0d1;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(128, 208, 209, 0.4);
}

/* RÉSEAUX SOCIAUX - BOUTONS RONDS LUMINEUX */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 55px;
    height: 55px;
    border-radius: 18px; /* Carré arrondi style iOS */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    background: #80d0d1;
    color: #15757b;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 20px rgba(128, 208, 209, 0.3);
    border-color: #ffffff;
}

/* ANIMATIONS */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes cardEntrance {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ADAPTATION MOBILE */
@media (max-width: 480px) {
    .card {
        padding: 2rem 1.2rem;
        border-radius: 25px;
    }
    
    h1 { font-size: 1.3rem; }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* BOUTON ÉMISSIONS (ACCENT COLOR) */
.emissions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: #15757b; /* Texte foncé sur fond clair */
    background: #80d0d1; /* Ta couleur turquoise */
    padding: 16px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(128, 208, 209, 0.3);
}

.emissions-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(128, 208, 209, 0.5);
    background: #ffffff;
}

/* SECTION APPLICATIONS */
.app-section {
    margin-bottom: 25px;
    padding-top: 10px;
}

.app-section p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.app-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.store-btn {
    flex: 1; /* Les deux boutons auront la même largeur */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 5px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.store-btn i {
    font-size: 1.2rem;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #80d0d1;
    transform: scale(1.03);
}

/* Ajustement mobile pour les stores */
@media (max-width: 400px) {
    .app-grid {
        flex-direction: column; /* On les empile si l'écran est trop petit */
    }
}