/* ============================================================
   FICHIER : assets/css/pages/home.css
   Styles spécifiques à la page d'accueil (index.php)
   ============================================================ */

/* --- Hero --- */
.hero-section { position: relative; }
.hero-carousel { min-height: 92vh; }
.hero-slide {
    min-height: 92vh; align-items: center;
    background: linear-gradient(135deg, var(--ocean-deepest), var(--ocean-navy) 55%, var(--ocean-mid));
    background-size: cover; background-position: center;
}
/* Ne forcer display:flex que sur le(s) slide(s) que Bootstrap affiche réellement
   (actif ou en cours de transition), pour ne pas écraser le display:none des
   slides inactifs et provoquer un chevauchement des slides du carrousel. */
.carousel-item.active.hero-slide,
.carousel-item-next.hero-slide,
.carousel-item-prev.hero-slide {
    display: flex;
}
.hero-slide-content { position: relative; z-index: 2; padding: 60px 0; }
.hero-text { max-width: 680px; color: var(--white); }
.hero-text h1 { font-size: 3rem; color: var(--white); margin-bottom: 22px; }
.hero-text p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 34px; max-width: 580px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.carousel-control-prev, .carousel-control-next { width: 6%; opacity: 1; }
.hero-nav-btn {
    width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center;
    color: var(--white); backdrop-filter: blur(6px); transition: var(--transition-base);
}
.carousel-control-prev:hover .hero-nav-btn, .carousel-control-next:hover .hero-nav-btn { background: var(--accent-coral); }
.hero-indicators { bottom: 30px; }
.hero-indicators button { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); opacity: 1; }
.hero-indicators button.active { background: var(--accent-gold); }

.hero-scroll-indicator {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 6px;
    animation: floatY 2.4s ease-in-out infinite;
}
.hero-scroll-indicator span { width: 1px; height: 30px; background: rgba(255,255,255,.5); }

@media (max-width: 768px) {
    .hero-carousel, .hero-slide { min-height: 85vh; }
    .hero-text h1 { font-size: 2.1rem; }
    .carousel-control-prev, .carousel-control-next { display: none; }
}

/* --- Statistiques --- */
.stats-section { position: relative; padding: 80px 0; overflow: hidden; }
.stats-decor { position: absolute; inset: 0; pointer-events: none; opacity: .12; font-size: 6rem; color: var(--white); }
.stats-decor i:nth-child(1) { position: absolute; top: 10%; left: 6%; }
.stats-decor i:nth-child(2) { position: absolute; bottom: 8%; right: 8%; animation-delay: 1s; }
.stats-decor i:nth-child(3) { position: absolute; top: 40%; right: 30%; animation-delay: 2s; }
.stat-box { color: var(--white); }
.stat-icon { font-size: 2rem; color: var(--accent-gold); margin-bottom: 12px; }
.stat-number { font-size: 2.8rem; color: var(--white); margin-bottom: 6px; }
.stat-box p { color: rgba(202,240,248,.85); font-weight: 500; }

/* --- Servizi --- */
.service-big-card {
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
    padding: 40px; height: 100%; display: flex; flex-direction: column;
}
.service-card-header { margin-bottom: 24px; }
.service-card-icon {
    width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--white); margin-bottom: 18px;
}
.service-card-license .service-card-icon { background: linear-gradient(135deg, var(--ocean-navy), var(--ocean-teal)); }
.service-card-rental .service-card-icon { background: linear-gradient(135deg, var(--accent-coral), var(--accent-gold)); }
.service-card-header h3 { margin-bottom: 10px; }
.service-card-header p { color: var(--text-muted); }
.service-mini-list { flex: 1; margin-bottom: 26px; }
.service-mini-list li { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--border-light); font-size: .95rem; }
.service-mini-list li span { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ocean-dark); }
.service-mini-list li a { color: var(--ocean-teal); font-weight: 600; font-size: .85rem; }
.service-mini-list li a:hover { color: var(--accent-coral); }

/* --- Come funziona --- */
.process-step { text-align: center; color: var(--white); padding: 20px 12px; position: relative; }
.process-step-number { font-size: 2.6rem; font-weight: 800; color: rgba(255,255,255,.15); display: block; }
.process-step-icon {
    width: 66px; height: 66px; border-radius: 50%; margin: -10px auto 18px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; backdrop-filter: blur(6px);
}
.process-step h5 { color: var(--white); margin-bottom: 8px; }
.process-step p { color: rgba(202,240,248,.8); font-size: .92rem; }

/* --- Testimonianze --- */
.testimonials-section { position: relative; overflow: hidden; }
.testimonials-section::before {
    content: '';
    position: absolute; top: -120px; right: -120px; width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(0,180,216,.10), transparent 70%);
    pointer-events: none;
}

/* --- Newsletter --- */
.newsletter-section { padding: 20px 0 80px; }
.newsletter-box {
    background: linear-gradient(135deg, var(--ocean-navy), var(--ocean-teal));
    border-radius: var(--radius-lg); padding: 46px; display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 26px; box-shadow: var(--shadow-strong);
}
.newsletter-text h3 { color: var(--white); display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.newsletter-text p { color: rgba(255,255,255,.85); max-width: 420px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
    padding: 14px 20px; border-radius: 50px; border: none; min-width: 260px; font-family: var(--font-body);
}
.newsletter-form button {
    padding: 14px 26px; border-radius: 50px; border: none; background: var(--accent-coral); color: var(--white);
    font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.newsletter-form button:hover { background: var(--accent-gold); }

@media (max-width: 576px) {
    .newsletter-box { flex-direction: column; text-align: center; padding: 32px 24px; }
    .newsletter-form { justify-content: center; width: 100%; }
    .newsletter-form input { flex: 1; min-width: 0; }
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          