/* --- DESIGN VACANCES & PROPRETÉ --- */
:root {
    --primary: #00cec9;   /* Turquoise */
    --accent: #fdcb6e;    /* Sable/Soleil */
    --dark: #2d3436;      /* Gris foncé */
    --light: #fdfbf7;     /* Blanc chaud */
    --text: #2d3436;
    --success: #00b894;
}
* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* HEADER & NAVBAR */
header {
    background: rgba(255, 255, 255, 0.98);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: relative;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.navbar { display: flex; justify-content: space-between; align-items: center; }

/* Menu Desktop */
.nav-menu { display: flex; gap: 25px; align-items: center; }
.nav-link { font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.nav-link:hover { color: var(--primary); }
.btn-login { background: var(--dark); color: white; padding: 10px 25px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; }
.btn-login:hover { background: var(--primary); transform: translateY(-2px); }

/* Bouton Burger (Caché sur Desktop) */
.burger { display: none; cursor: pointer; background: none; border: none; padding: 5px; }
.burger div { width: 25px; height: 3px; background-color: var(--dark); margin: 5px 0; transition: all 0.3s ease; border-radius: 3px; }

/* HERO SECTION */
.hero {
    position: relative; height: 85vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white; padding: 20px;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.4rem; margin-bottom: 30px; font-weight: 500; }
.btn-cta { background: var(--primary); color: white; padding: 15px 40px; font-size: 1.1rem; font-weight: bold; border-radius: 50px; display: inline-block; box-shadow: 0 4px 15px rgba(0, 206, 201, 0.4); }

/* SERVICES */
.section { padding: 80px 0; }
.bg-light { background: var(--light); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: var(--dark); margin-bottom: 15px; }
.section-header p { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }

/* Grille flexible pour afficher joliment les 8 services */
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.card { background: white; padding: 30px 20px; border-radius: 15px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border-top: 4px solid transparent; height: 100%; }
.card:hover { transform: translateY(-10px); border-top-color: var(--primary); }
.icon { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); }
.card p { font-size: 0.95rem; color: #555; }

/* APP SECTION */
.tech-section { display: flex; align-items: center; gap: 50px; }
.tech-text { flex: 1; }
.tech-image { flex: 1; text-align: center; }
.tech-image img { max-width: 100%; height: auto; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); display: block; margin: 0 auto; }
.check-list li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; }
.check-list li::before { content: '✓'; color: var(--success); font-weight: bold; margin-right: 10px; }

/* FOOTER */
footer { background: #2d3436; color: #b2bec3; padding: 60px 0 40px 0; text-align: center; font-size: 0.95rem; }
footer a { color: #fff; transition: 0.3s; }
footer a:hover { color: var(--primary); }
.footer-contact { margin-bottom: 30px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact p { display: flex; align-items: center; justify-content: center; gap: 10px; }
.credits { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); font-style: italic; opacity: 0.8; font-size: 0.85rem; }
.credits a { font-weight: bold; text-decoration: underline; color: var(--primary); }

/* --- MEDIA QUERIES (RESPONSIVE MOBILE) --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .tech-section { flex-direction: column; text-align: center; }
    .check-list li { justify-content: center; }
    
    /* Burger Menu Styles */
    .burger { display: block; }
    
    .nav-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        background: white; flex-direction: column; align-items: center; gap: 20px; padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transform: translateY(-150%); opacity: 0; transition: all 0.4s ease; z-index: -1; 
    }

    .nav-menu.active { transform: translateY(0); opacity: 1; z-index: 999; }
    .nav-link { font-size: 1.2rem; }
    
    /* Animation du bouton burger en croix */
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}
