/* ============================= */
/* STYLES GÉNÉRAUX POUR apropos_app.html */
/* ============================= */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --gradient-primary: linear-gradient(135deg, #007bff, #00d4ff);
    --gradient-secondary: linear-gradient(135deg, #6c757d, #a0a0a0);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ============================= */
/* NAVIGATION */
/* ============================= */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* ============================= */
/* HERO SECTION - VERSION AMÉLIORÉE */
/* ============================= */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Effet de particules en arrière-plan */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Titre principal */
.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

/* Sous-titre */
.hero-section .lead {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Badges améliorés */
.hero-badges {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-badges .badge {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.9) !important;
    color: #4f46e5 !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0.3rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: rgba(255,255,255,1) !important;
}

/* Bouton CTA amélioré */
.hero-section .btn-light {
    background: linear-gradient(45deg, #ffffff, #f8fafc);
    color: #4f46e5;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #f8fafc, #ffffff);
    color: #3730a3;
}

.hero-section .btn-light::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;
}

.hero-section .btn-light:hover::before {
    left: 100%;
}

/* Mockup du téléphone amélioré */
.phone-mockup {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.phone-mockup .app-logo-simple {
    max-height: 450px;
    width: auto;
    border-radius: 30px;
    border: 8px solid rgba(255,255,255,0.95);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.2),
        0 15px 35px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.phone-mockup .app-logo-simple:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 
        0 35px 70px rgba(0,0,0,0.25),
        0 20px 45px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Badge version amélioré */
.phone-mockup .badge {
    background: rgba(255,255,255,0.9) !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.phone-mockup .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation flottante pour le mockup */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 40px;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

/* Responsive amélioré */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0 60px 0;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .phone-mockup .app-logo-simple {
        max-height: 350px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-badges .badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin: 0.2rem;
    }
    
    .phone-mockup .app-logo-simple {
        max-height: 280px;
    }
}
/* ============================= */
/* SECTIONS GÉNÉRIQUES */
/* ============================= */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #092240;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ============================= */
/* SECTION TÉLÉCHARGEMENT */
/* ============================= */
.section-download {
    background: #f8f9fa;
}

.platform-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.platform-icon {
    margin-bottom: 1rem;
}

.platform-card.android-card .platform-icon {
    color: #3DDC84; /* Vert Android */
}

.platform-card.ios-card .platform-icon {
    color: #000; /* Noir Apple */
}

.btn-download {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.notification-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

/* ============================= */
/* SECTION FONCTIONNALITÉS */
/* ============================= */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}
/* ============================= */
/* SECTION DÉMO */
/* ============================= */
.section-demo {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ============================= */
/* BOUTONS AMÉLIORÉS */
/* ============================= */
.demo-buttons .btn {
  border-radius: 50px;
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.demo-buttons .btn-primary {
  background: var(--gradient-primary);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.demo-buttons .btn-outline-primary {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.demo-buttons .btn-outline-primary:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.demo-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.3);
}

/* Effet de vague au survol */
.demo-buttons .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.demo-buttons .btn:hover::after {
  width: 300px;
  height: 300px;
}

/* ============================= */
/* MODALS AMÉLIORÉS */
/* ============================= */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
}

.modal-body {
  padding: 2rem;
}

/* Header de modal avec dégradé */
.modal-header.bg-dark {
  background: linear-gradient(135deg, #343a40 0%, #495057 100%) !important;
}

.modal-header.bg-primary {
  background: var(--gradient-primary) !important;
}

/* ============================= */
/* PLACEHOLDER VIDÉO AMÉLIORÉ */
/* ============================= */
.demo-video-placeholder {
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 15px;
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  color: #6c757d;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.demo-video-placeholder:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.placeholder-icon {
  transition: transform 0.3s ease;
}

.demo-video-placeholder:hover .placeholder-icon {
  transform: scale(1.1);
}

/* ============================= */
/* IMAGE RESPONSIVE */
/* ============================= */
.object-fit-cover {
  object-fit: cover;
}

.ratio-16x9 img {
  border-radius: 0 0 20px 20px;
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content {
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {
  .demo-buttons {
    gap: 1rem;
  }
  
  .demo-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
  }
  
  .modal-dialog {
    margin: 1rem;
  }
  
  .demo-video-placeholder {
    padding: 2rem 1rem;
    min-height: 200px;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .section-demo {
    padding: 3rem 0 !important;
  }
  
  .modal-dialog.modal-xl {
    max-width: calc(100vw - 2rem);
  }
}

/* ============================= */
/* SECTION FAQ */
/* ============================= */
.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: #e3f2fd;
    color: var(--primary-color);
}
/* ============================= */
/* FOOTER */
/* ============================= */
.footer {
    background: #092240;
}

.footer-logo {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

.powered-logo {
    height: 35px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block;
}

.powered-logo:hover {
    opacity: 1;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
}
/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .platform-card, .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .phone-mockup img {
        max-height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .demo-buttons .btn {
        margin-bottom: 10px; /* espace clair entre les 2 */
    }
}


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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}