:root {
  --sky: #38bdf8;
  --dark: #0f172a;
  --white: #ffffff;
  --light: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: var(--white);
  color: var(--dark);
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}

.header {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  border-radius: 8px;
  top: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
}

/* Logo */
.header .logo img {
  height: 60px; /* ajuste la taille si nécessaire */
  margin-right: 15px; /* espace entre le logo et le texte */
  vertical-align: middle;
}

/* Titre GGC & Partenaire */
.navbar .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00bfff; /* bleu ciel */
  margin-left: 10px; /* espace supplémentaire si besoin */
  display: inline-block;
  vertical-align: middle;
}

/* Logo */
.logo img {
  max-width: 300px;
  height: auto;
  border-radius: 8px; /* arrondi pour un look moderne */
  transition: transform 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-menu {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  transition: 0.3s;
}

.nav-menu a:hover {
  color: var(--sky);
}

.btn-primary,
.btn-secondary,
.product-card button {
  background: var(--sky);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover,
.btn-secondary:hover,
.product-card button:hover {
  transform: translateY(-3px);
}
@media (max-width: 600px) {
  .header .logo img {
    max-width: 180px;   /* réduit la taille sur mobile */
  }
}

/* ✅ Adaptation mobile */
@media (max-width: 768px) {
  .navbar .logo {
    margin: 0.5rem 0;
    font-size: 1.3rem;
  }
}

.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #e0f7ff, #ffffff);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px; /* espace horizontal entre les boutons */
  margin: 40px 0; /* espace en haut et en bas */
  flex-wrap: wrap; /* permet de passer à la ligne sur mobile */
}

.hero-buttons a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Bouton principal bleu ciel */
.btn-primary {
  background-color: #00aaff; /* bleu ciel */
  color: #fff;
}

.btn-primary:hover {
  background-color: #0088cc;
}

/* Bouton secondaire */
.btn-secondary {
  background-color: #00aaff;
  color: #fff;
  border: 1px solid #ccc;
}

.btn-secondary:hover {
  background-color: #0088cc;
}

/* Responsive pour mobile */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px; /* espace vertical entre les boutons */
    margin: 20px 0;
  }

  .hero-buttons a {
    width: 80%; /* occupe une bonne largeur sur mobile */
    text-align: center;
  }
}

.hero-image img,
.product-card img {
  width: 100%;
  border-radius: 20px;
}

.hero-image img {
  animation: float 4s ease-in-out infinite;
}

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

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.cards,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card,
.product-card {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card:hover,
.product-card:hover {
  transform: translateY(-6px);
}

.badge {
  display: inline-block;
  background: var(--dark);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .btn-primary {
    display: none;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; color: var(--dark); background: var(--white); }
.container { width: min(1100px, 92%); margin: auto; }

.header {
  position: sticky; top: 0; z-index: 1000;
  background: white; box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.navbar {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 0;
}
.logo { text-decoration: none; color: var(--dark); font-weight: bold; }
.nav-menu { display: flex; gap: 1rem; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--dark); transition: .3s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--sky); }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

.about-hero {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, #e0f7ff, #ffffff);
}
.about-hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.about-hero p { max-width: 700px; margin: auto; font-size: 1.1rem; }

.about-grid, .value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.about-card, .value-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transition: .3s;
}
.about-card:hover, .value-card:hover { transform: translateY(-6px); }
.about-card i, .value-card i {
  font-size: 2rem;
  color: var(--sky);
  margin-bottom: 1rem;
}
.section-title { text-align: center; font-size: 2rem; }

.reveal {
  opacity: 0; transform: translateY(30px); transition: all .8s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .nav-menu {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: white; flex-direction: column; padding: 1rem;
  }
  .nav-menu.show { display: flex; }
  .menu-toggle { display: block; }
}

.timeline-section {
  padding: 5rem 0;
}

.timeline-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(var(--sky), var(--dark));
  border-radius: 10px;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.timeline-icon {
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sky);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(56,189,248,.35);
  z-index: 2;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  flex: 1;
  transition: .3s;
}

.timeline-content:hover {
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-icon {
    min-width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .timeline-content {
    padding: 1rem;
  }
}

.products-page {
  padding: 5rem 0;
}

.products-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  background: #e0f7ff;
  transition: .3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--sky);
  color: white;
}

.product-card {
  overflow: hidden;
}

.product-card img {
  transition: transform .4s ease;
  margin: 1rem 0;
}

.product-card:hover img {
  transform: scale(1.05);
}

.testimonial-card,.faq-item,.contact-form,.contact-info,.login-card,.dashboard-card{
  background:#fff;padding:1.5rem;border-radius:20px;box-shadow:0 8px 30px rgba(0,0,0,.08)
}
.testimonial-slider{position:relative;overflow:hidden}
.testimonial-card{display:none;text-align:center}
.testimonial-card.active{display:block;animation:fade .8s ease}
.testimonial-card img{width:80px;height:80px;border-radius:50%;margin-bottom:1rem}
.stars{font-size:1.3rem;margin:.5rem 0}

/* Conteneur FAQ */
.faq.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box; /* évite les débordements */
}

/* Chaque item FAQ */
.faq-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

/* Bouton question */
.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  border: none;
  background: #e0f7ff;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #b3ecff;
}

/* Réponse cachée par défaut */
.faq-answer {
  display: none;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  background: #ffffff;
  border-top: 1px solid #ddd;
  animation: fadeIn 0.3s ease;
}

/* Réponse visible quand active */
.faq-item.active .faq-answer {
  display: block;
}

/* Animation d’apparition */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ✅ Adaptation mobile */
@media (max-width: 600px) {
  .faq.container {
    padding: 1rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }

  .faq-answer {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
}
.contact-grid,.dashboard-grid,.footer-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem
}
.contact-form input,.contact-form textarea,.login-card input{
  width:100%;padding:1rem;margin-bottom:1rem;border:1px solid #ddd;border-radius:12px
}
.contact-info iframe{width:100%;height:220px;border:0;border-radius:16px}

.footer{background:var(--dark);color:#fff;padding:3rem 0 1rem;margin-top:4rem}
.footer a{display:block;color:#fff;text-decoration:none;margin:.4rem 0}

.whatsapp-float{
  position:fixed;bottom:20px;right:20px;background:#25D366;color:#fff;
  padding:1rem;border-radius:50%;box-shadow:0 0 20px rgba(0,0,0,.2)
}

@keyframes fade{from{opacity:0}to{opacity:1}}

.pro-footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 2%;
  margin-top: 4rem;
  padding-top: 4rem;
}

.footer-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 100px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  margin-bottom: 1rem;
}

.footer-links a,
.footer-services a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin: 0.6rem 0;
  transition: 0.3s;
}

.footer-links a:hover,
.footer-services a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-icons a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.35s ease;
  box-shadow: 0 0 20px rgba(56,189,248,0.12);
}

.social-icons a:hover {
  background: #38bdf8;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 25px rgba(56,189,248,0.45);
}

.footer-bottom-pro {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding: 1.2rem 0;
  text-align: center;
  color: #cbd5e1;
}

.contact {
  background: #ffffff;
  color: #333;
  padding: 60px 20px;
  border-radius: 12px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #00aaff;
  margin-bottom: 40px;
}

.contact-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
}

.form-group i {
  color: #00aaff;
  margin-right: 10px;
}

.contact-form input,
.contact-form textarea {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1rem;
}

.contact-form textarea {
  resize: none;
  min-height: 100px;
}

.btn-primary {
  background: #00aaff;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #0088cc;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
}

.contact-info i {
  color: #00aaff;
  margin-right: 8px;
}

.contact-info iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 8px;
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    gap: 20px;
  }
  .contact-form,
  .contact-info {
    width: 100%;
  }

  .btn-primary {
    font-size: 1.1rem;
    padding: 14px;
  }
}

.subscribe-btn {
  display: inline-block;
  background: #00cfff;       /* ✅ bleu ciel */
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;     /* ✅ pour les <a> */
  transition: all 0.3s ease; /* ✅ animation fluide */
  box-shadow: 0 4px 10px rgba(0, 207, 255, 0.3);
}

.subscribe-btn:hover {
  background: #00a3cc;       /* ✅ bleu un peu plus foncé au survol */
  transform: translateY(-3px); /* ✅ effet de “saut” */
  box-shadow: 0 6px 14px rgba(0, 163, 204, 0.4);
}

.subscribe-btn:active {
  transform: translateY(0);  /* ✅ retour normal au clic */
  box-shadow: 0 3px 8px rgba(0, 163, 204, 0.3);
}

/* ✅ Responsive mobile */
@media (max-width: 480px) {
  .subscribe-btn {
    width: auto;             /* ✅ bouton large sur mobile */
    font-size: 1.1rem;
    padding: 16px;
    border-radius: 10px;
  }
}

.counters {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 50px auto;
  text-align: center;
}

.counter-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 200px;
  box-shadow: 0 4px 12px rgba(0, 207, 255, 0.3);
  transition: transform 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-5px);
}

.counter-box i {
  font-size: 2.5rem;
  color: #00cfff;
  margin-bottom: 10px;
}

.counter-box h3 {
  font-size: 2rem;
  color: #00aaff;
  margin: 10px 0;
  font-weight: bold;
}

.counter-box p {
  font-size: 1rem;
  color: #555;
}

/* ✅ Responsive mobile */
@media (max-width: 768px) {
  .counters {
    flex-direction: column;
    gap: 20px;
  }

  .counter-box {
    width: 100%;
  }
}
.breadcrumb {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #0077b6;
}

.breadcrumb a {
  text-decoration: none;
  color: #0077b6;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #333;
  font-weight: 500;
}

.breadcrumb {
  margin: 0.5rem auto;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #0077b6;
  text-align: center;
}

.breadcrumb a {
  text-decoration: none;
  color: #0077b6;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #333;
  font-weight: 500;
}

/* ✅ Adaptation mobile */
@media (max-width: 600px) {
  .breadcrumb {
    font-size: 0.85rem;
    padding: 0.4rem;
  }
}
