:root {
  --main-blue: #1a2a6c;
  --accent-orange: #f39c12;
  --dark: #2c3e50;
  --light: #f9f9f9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: sans-serif;
  line-height: 1.5;
  color: var(--dark);
  background: #fff;
  padding-bottom: 60px; /* Espace pour la barre mobile */
}

.container {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Sticky Bar Mobile */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  width: 100dvw;
  background: var(--accent-orange);
  z-index: 9999;
  text-align: center;
}
.mobile-sticky-bar a {
  display: block;
  color: white;
  padding: 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Header & Nav */
header {
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.logo {
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
}
.logo span {
  color: var(--accent-orange);
}

.nav-links {
  position: absolute;
  top: 60px;
  right: -100%;
  background: white;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s;
  list-style: none;
  padding-top: 50px;
}
.nav-links.active {
  right: 0;
}
.nav-links li {
  margin: 20px 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 1.5rem;
  color: var(--dark);
}

.burger {
  display: block;
  border: none;
  background: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 5px;
}

/* Hero */
.hero {
  background: var(--main-blue);
  color: white;
  text-align: center;
  padding: 60px 20px;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  padding: 15px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: none;
}
.btn-primary {
  background: var(--accent-orange);
  color: white;
}
.btn-outline {
  border: 2px solid white;
  color: white;
}

/* Services */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}
.card i {
  font-size: 2rem;
  color: var(--accent-orange);
  margin-bottom: 10px;
}

/* Contact Form */
input,
textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.deskop {
  display: none;
}

footer {
  padding: 10px;
}

/* --- RESPONSIVE DESKTOP (Tablettes et PC) --- */
@media (min-width: 768px) {
  .deskop {
    display: inline;
  }
  .mobile-sticky-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }

  .burger {
    display: none;
  }
  .nav-links {
    position: static;
    height: auto;
    flex-direction: row;
    width: auto;
    padding: 0;
  }
  .nav-links li {
    margin: 0 0 0 20px;
  }
  .nav-links a {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
  .cta-group {
    flex-direction: row;
    justify-content: center;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
