/* ========================= */
/* RESET */
/* ========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #25202f;
  color: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* LOADER + EFFECTS */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #25202f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid #3ea9e0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

button,
.btn-primary,
.btn-secondary {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:active,
.btn-primary:active {
    transform: scale(0.96);
}

body::before {
    content: "";
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(62,169,224,0.2), transparent 60%);
    top: -200px;
    left: -200px;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79,26,97,0.25), transparent 60%);
    bottom: -200px;
    right: -200px;
    z-index: -1;
}

/* ========================= */
/* GLOBAL SPACING SYSTEM */
/* ========================= */

section {
  padding: 90px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* ========================= */
/* UTILITIES */
/* ========================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================= */
/* BUTTONS */
/* ========================= */

.btn-primary {
  background: #3ea9e0;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
}

.btn-primary:hover {
  background: #2b86b8;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid #3ea9e0;
  padding: 12px 20px;
  border-radius: 8px;
}

.btn-secondary:hover {
  background: #3ea9e0;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 14px 0;
  background: rgba(37, 32, 47, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 38px;
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.menu li a {
  font-size: 14px;
  opacity: 0.85;
  transition: 0.3s;
}

.menu li a:hover {
  color: #3ea9e0;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #3ea9e0, #2b86b8);
  box-shadow: 0 12px 28px rgba(62,169,224,0.25);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 2px;
  background: #fff;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
}

.hero h1 span {
  color: #3ea9e0;
}

.hero p {
  margin: 20px 0;
  opacity: 0.85;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.hero-stats {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-stats h2 {
  color: #3ea9e0;
  font-weight: 700;
  letter-spacing: 0.5px;
}


/* ========================= */
/* SECTION TITLE */
/* ========================= */

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h3 {
  color: #3ea9e0;
  font-size: 14px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 32px;
  margin-top: 10px;
}

/* ========================= */
/* GRIDS */
/* ========================= */

.values-grid,
.services-grid,
.pricing-grid {
  display: grid;
  gap: 20px;
}

.values-grid { grid-template-columns: repeat(4, 1fr); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); }

/* ========================= */
/* CARDS SYSTEM */
/* ========================= */

.card,
.service-card,
.price-card,
.case-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 25px;
  transition: 0.3s;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  margin-top: 12px;
}

.case-tags span {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;

  background: rgba(62,169,224,0.15);
  border: 1px solid rgba(62,169,224,0.4);

  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.3px;

  box-shadow: 0 4px 12px rgba(62,169,224,0.15);

  transition: 0.3s;
}

.card:hover,
.service-card:hover,
.price-card:hover,
.case-card:hover {
  transform: translateY(-5px);
  border-color: #3ea9e0;
}

/* ========================= */
/* PRICING FIX */
/* ========================= */

.price-card {
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 26px;
  color: #3ea9e0;
  margin-bottom: 15px;
}

.price-card ul {
  margin-bottom: 20px;
}

.price-card ul li {
  margin-bottom: 10px;
  opacity: 0.9;
}

.price-card .btn-primary {
  margin-top: auto;
}

/* ========================= */
/* CASE STUDIES FIX */
/* ========================= */

.case-studies {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.case-logo {
  width: 70px;
  height: 70px;
  padding: 10px;
  object-fit: contain;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 15px;
}

/* ========================= */
/* CONTACT FIX */
/* ========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.contact-form,
.contact-info {
  background: linear-gradient(
    135deg,
    rgba(62,169,224,0.10),
    rgba(255,255,255,0.03)
  );

  border: 1px solid rgba(62,169,224,0.25);
  border-radius: 16px;
  padding: 35px;

  display: flex;
  flex-direction: column;
  gap: 14px;

  position: relative;
  overflow: hidden;
}

/* petit glow subtil comme les cards premium */
.contact-info::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(62,169,224,0.25),
    transparent 60%
  );
  opacity: 0.6;
  pointer-events: none;
}

.contact-info h3 {
  color: #3ea9e0;
  font-size: 18px;
  margin-bottom: 8px;
  z-index: 1;
}

.contact-note {
  margin-top: 22px;
  padding: 14px 16px;

  background: linear-gradient(
    135deg,
    rgba(62,169,224,0.18),
    rgba(255,255,255,0.03)
  );

  border: 1px solid rgba(62,169,224,0.35);
  border-left: 4px solid #3ea9e0;

  border-radius: 12px;

  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 13px;
  font-weight: 500;
  color: #ffffff;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);

  position: relative;
  overflow: hidden;
}

/* petit glow subtil */
.contact-note::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(62,169,224,0.25),
    transparent 70%
  );
  pointer-events: none;
}

.contact-note i {
  color: #3ea9e0;
  font-size: 16px;
}

/* option hover léger premium */
.contact-note:hover {
  transform: translateY(-2px);
  transition: 0.3s ease;
  border-color: rgba(62,169,224,0.6);
}

.contact-info p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
  z-index: 1;
}

/* petit effet hover cohérent avec tes cards */
.contact-info:hover {
  transform: translateY(-5px);
  border-color: #3ea9e0;
  transition: 0.3s ease;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;

  border: 1px solid rgba(0,0,0,0.15);
  background: #ffffff;

  color: #111;
  font-weight: 500;

  outline: none;
}

/* placeholder lisible */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0,0,0,0.45);
}

/* focus propre */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3ea9e0;
  box-shadow: 0 0 0 3px rgba(62,169,224,0.15);
}

/* ========================= */
/* FOOTER FIX */
/* ========================= */

/* ========================= */
/* FOOTER REWORK (BLUE + LAYOUT CLEAN) */
/* ========================= */

.footer {
  background: linear-gradient(
    180deg,
    #1b1723 0%,
    #16121f 100%
  );
  padding: 70px 0 40px;
  margin-top: 80px;
  border-top: 1px solid rgba(62,169,224,0.15);
  position: relative;
  overflow: hidden;
}

/* glow bleu discret global */
.footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(62,169,224,0.18),
    transparent 70%
  );
  pointer-events: none;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 50px;
  align-items: start;
}

/* ========================= */
/* LEFT */
/* ========================= */

.footer-left h3 {
  color: #3ea9e0;
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-left p {
  opacity: 0.75;
  font-size: 13px;
  line-height: 1.6;
}

/* ========================= */
/* CENTER (NAV LINKS) */
/* ========================= */

.footer-center {
  text-align: center;
}

.footer-title {
  color: #3ea9e0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  opacity: 0.75;
  transition: 0.3s;
  position: relative;
}

.footer-col a:hover {
  color: #3ea9e0;
  opacity: 1;
  transform: translateX(4px);
}

/* petit underline bleu animé */
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #3ea9e0;
  transition: 0.3s;
}

.footer-col a:hover::after {
  width: 100%;
}

/* ========================= */
/* RIGHT (CONTACT) */
/* ========================= */

.footer-right {
  text-align: right;
}

.footer-right h4 {
  color: #3ea9e0;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-right p {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 6px;
}

/* ========================= */
/* BOTTOM BAR */
/* ========================= */

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 12px;
  opacity: 0.6;

  border-top: 1px solid rgba(62,169,224,0.15);
  color: rgba(255,255,255,0.7);
}

/* ========================= */
/* HOVER LIFT GLOBAL (PREMIUM FEEL) */
/* ========================= */

.footer-layout > div {
  transition: 0.3s ease;
}

.footer-layout > div:hover {
  transform: translateY(-3px);
}

/* ========================= */
/* BURGER MENU */
/* ========================= */

@media (max-width: 1024px) {

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px) {

  .menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #1b1723;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    border-radius: 10px;
  }

  .burger {
    display: flex;
  }

  .btn-call {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
  }

  .values-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .case-header {
    flex-direction: column;
    align-items: flex-start;
  }


  .footer-links {
    flex-direction: column;
    gap: 20px;
  }
}

.btn-primary,
.btn-secondary,
.btn-call {
  text-align: center;
}


i,
.fa-solid,
.fa-regular,
.fa-brands {
  color: #3ea9e0 !important;
}

@media (max-width: 768px) {
  .menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn-call {
    display: flex;
    margin: 0 auto 0 auto;
    width: fit-content;
    justify-content: center;
  }
}

.badge {
  margin-bottom: 15px;
}



/* Respecte les préférences système sans modifier l’expérience par défaut */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
