* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0A1F44;
  --white: #ffffff;
  --gray: #87898b;
  --dark: #1f2933;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  padding-top: 70px;
}

.container-projet {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  z-index: 1000;
  
 
}

.navbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  margin: 0;
  font-weight: 500;
  max-height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  background-color: #f8f7f2;
  padding: 2px;
  border-radius: 5px;
}
.links{
   margin-top:10px;
}
.links-div{
     list-style: none;
   background-color: #001641;
  color: #f4f6f8;
  text-decoration: none;
  border-radius: 5px;
  padding: 10px;
  margin-top:10px;
}
.links-div:hover{
  background-color: #dd9d09;
}
.images-services{
  width:250px;
  height: auto;
}
.about-content{
  line-height: 25px;
}
/* BUTTONS */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
}

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #0A1F44, #020617);
  display: flex;
  align-items: center;
  color: var(--white);
   background-image: url('images/fondxx\ \(9\).jpg');
}

.hero-content {
  max-width: 600px;
}

.hero p {
  margin: 20px 0;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* SERVICES */
.services .dev-section {
  background: var(--gray);
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card .container-pensee {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* ABOUT */
.about {
  padding: 80px 0;
  text-align: justify;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
}
.about-text{
  text-align: justify;
}
/* PROJECTS */
.projects {
  padding: 80px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {

  padding: 60px 20px;
  border-radius: 12px;
  text-align: center;
    background: var(--gray);
}

/* CONTACT */
.contact {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
  background-image: url('images/fondxx\ \(9\).jpg');
}

.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border-radius: 6px;
  border: none;
}
.btn-primary{
  background-color: #350af6;
  padding: 5px;
}
/* FOOTER */
footer {
  background: #020617;
  color: var(--white);
  text-align: center;
  padding: 30px;
}

/* Services Developpement web */
/* RESET DE BASE */
* {
 
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
}

/* HEADER */
.header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 50px;
}

.navbar h1 {
  font-size: 1.4rem;
}

/* SECTION PROJETS */
.dev-container {
  padding: 40px 20px;
  background-color: antiquewhite;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.dev-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* CARDS */
.dev-card {
  background-color: rgb(203, 194, 184);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.dev-card:hover {
  transform: translateY(-6px);
}

.dev-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.dev-card h2 {
  font-size: 1.2rem;
  text-align: center;
}

.dev-card p {
  font-size: 0.95rem;
  text-align: center;
  text-align: justify;
  margin:5px;
}

/* BOUTON */
.links-info {
  margin-top: auto;
  text-align: center;
  text-decoration: none;
  background-color: rgb(4, 19, 87);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.links-info:hover {
  background-color: rgb(7, 30, 140);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .navbar h1 {
    font-size: 1.2rem;
  }
}





/* ----- GLOBAL ----- */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f5f7fa;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* ----- HEADER ----- */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 50px;
}

h1 {
  font-size: 22px;
  font-weight: 600;
}

/* ----- TEXTE ----- */
p {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  line-height: 1.7;
}

li {
  list-style: none;
  margin: 8px 0;
}

/* ----- SECTION IMAGES IA ----- */
.dev-container {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
  font-weight: 700;
}

/* ----- GRID RESPONSIVE ----- */
.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

/* ----- CARD IMAGE ----- */
.image-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- EFFET PRO ----- */
.image-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* ----- RESPONSIVE MOBILE ----- */
@media (max-width: 768px) {
  h1 {
    font-size: 18px;
  }

  .section-title {
    font-size: 22px;
  }
}

.video{
  background-color: #001641;
  color: #ddd;
  text-decoration: none;
  padding: 10px;
  border-radius: 5px;
}
.video:hover{
  background-color: #dd9d09;
}

/* ----- SECTION VIDEO ----- */
.video-section {
  padding: 60px 20px;
  text-align: center;
}

.video-card {
  max-width: 900px;
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
  background: #000;
}

/* Vidéo locale */
.video-card video {
  width: 100%;
  height: auto;
  display: block;
}

/* Vidéo YouTube */
.video-card iframe {
  width: 100%;
  height: 500px;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .video-card iframe {
    height: 260px;
  }
}


.back-btn11 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.back-btn:hover {
  opacity: 0.7;
}

.whatsapp-btn {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

.texte{
  margin-top: 10px;
}


/* ===== MENU MOBILE ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  background-color: #e7edf3;
  padding: 5px;
}

/* Desktop */
.desktop-only {
  display: inline-block;
}
.mobile-only {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
  }

  nav.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .mobile-only {
    display: block;
    margin-top: 10px;
    text-align: center;
  }
}



@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 100px 20px 60px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .images-services {
    width: 100%;
    max-width: 280px;
    margin: auto;
  }

  .project-card {
    padding: 40px 15px;
  }
}

@media (max-width: 600px) {
  .contact form {
    width: 100%;
    padding: 0 15px;
  }

  .whatsapp-btn {
    text-align: center;
    width: 100%;
  }
}
.menu-toggle i {
  transition: transform 0.3s ease;
}

nav.active + .menu-toggle i {
  transform: rotate(90deg);
}

/* ===== SERVICES – ALIGNEMENT PARFAIT  ecraser l'a haut===== */
.services {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* Carte */
.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  height: 100%;
}

/* Zone image (clé de l’alignement) */
.img-card {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.images-services {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

/* Titres */
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Texte */
.service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}


/* ===== PROJETS ===== */
.projets {
  padding: 80px 0;
}

.projets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.projet-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.projet-card:hover {
  transform: translateY(-6px);
}

/* Image projet */
.projet-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Contenu */
.projet-content {
  padding: 20px;
  text-align: center;
}

.projet-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.projet-content p {
  font-size: 0.95rem;
  color: #555;
}
