* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #ffffff;
  color: #222;
}

/* ================= HEADER ================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.95);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px; /* ajuste selon ton design */
  width: auto;
  object-fit: contain;
}

.logo span {
  font-size: 20px;
  font-weight: 600;
  color: #8B1E1E;
}

.logo img {
  height: 60px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}
nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav a {
  color: #333;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

nav a:hover {
  color: #8B1E1E;
}

nav a.active {
  color: #8B1E1E;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #8B1E1E;
  transform: translateX(-50%);
  transition: 0.3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* BURGER */
.burger {
  display: none;
  font-size: 26px;
  color: #8B1E1E;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.65)),
              url("service.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 85px;
}

.content {
  color: white;
  max-width: 850px;
}

.content h1 {
  font-size: 60px;
  margin-bottom: 15px;
}

.content p {
  opacity: 0.9;
}

.content button {
  margin-top: 25px;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(45deg,#8B1E1E,#A52A2A);
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.content button:hover {
  transform: scale(1.05);
}

/* ================= SERVICES (CORRIGÉ + LIGHT + PROPRE) ================= */

.services {
  padding: 80px 20px;
  text-align: center;
  background: #ffffff;
}

.services h2 {
  font-size: 23px;
  font-weight: 700;
  color: #8B1E1E;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.services h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, transparent, #8B1E1E, transparent);
  animation: serviceLine 2s infinite;
}

@keyframes serviceLine {
  0% { width: 0; opacity: 0; }
  50% { width: 70px; opacity: 1; }
  100% { width: 0; opacity: 0; }
}

.services .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: auto;
}

.services .card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 18px;
  border: 1px solid rgba(139,30,30,0.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

.services .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(139,30,30,0.15);
}

.services .card i {
  font-size: 32px;
  color: #8B1E1E;
  margin-bottom: 12px;
  transition: 0.3s;
}

.services .card:hover i {
  transform: scale(1.1);
}

.services .card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #222;
}

.services .card p {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.5;
}

.services .card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(139,30,30,0.06);
  transform: rotate(25deg);
  transition: 0.6s;
}

.services .card:hover::after {
  left: 120%;
}

/* ================= PROCESS ================= */

.process {
  padding: 90px 20px;
  text-align: center;
  background: #fafafa;
}

.process h2 {
  color: #8B1E1E;
  font-size: 24px;
  margin-bottom: 60px;
} 

/* ================= PROCESS WAOUH ================= */

.process {
  padding: 110px 20px;
  text-align: center;
  background: linear-gradient(180deg, #fafafa, #ffffff);
  position: relative;
  overflow: hidden;
}

/* décor fond premium */
.process::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,30,30,0.08), transparent 70%);
  top: -150px;
  left: -150px;
  z-index: 0;
}

.process::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,30,30,0.06), transparent 70%);
  bottom: -150px;
  right: -150px;
  z-index: 0;
}

/* TITRE WAOUH */
.process h2 {
  font-size: 24px;
  color: #8B1E1E;
  margin-bottom: 70px;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.process h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8B1E1E, transparent);
  animation: processLine 2s infinite;
} 

.process {
  padding: 70px 20px; /* avant 110px → réduit */
}

.process h2 {
  margin-bottom: 40px; /* avant 70px → réduit */
}

.step {
  padding: 25px 20px; /* avant 35px → réduit */
}

.steps {
  gap: 20px; /* un peu moins d’espace entre cards */
}

@keyframes processLine {
  0% { width: 0; opacity: 0; }
  50% { width: 90px; opacity: 1; }
  100% { width: 0; opacity: 0; }
}

/* STEPS GRID MODERNE */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* CARD STEP PREMIUM */
.step {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 35px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139,30,30,0.08);
}

/* hover ultra premium */
.step:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 60px rgba(139,30,30,0.18);
}

/* numéro cercle */
.step span {
  width: 50px;
  height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(45deg, #8B1E1E, #A52A2A);
  color: white;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
  box-shadow: 0 8px 20px rgba(139,30,30,0.25);
  transition: 0.3s;
}

/* effet hover numéro */
.step:hover span {
  transform: rotate(10deg) scale(1.1);
}

/* titre step */
.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}

/* texte */
.step p {
  font-size: 14px;
  opacity: 0.75;
  line-height: 1.6;
}

/* ligne décorative */
.step::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(139,30,30,0.06);
  transform: rotate(25deg);
  transition: 0.6s;
}

.step:hover::after {
  left: 120%;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.steps {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.step {
  width: 260px;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.step:hover {
  transform: translateY(-10px);
}

.step span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #8B1E1E;
  color: white;
  margin-bottom: 10px;
}

/* ================= CTA ================= */

.cta {
  background: #ffffff; /* même fond que la page */
  text-align: center;
  padding: 90px 20px;
}
/* effet lumière subtil */
.cta::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  top: -200px;
  left: -200px;
}

/* titre */
.cta h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #8B1E1E;
}
/* ================= CTA ================= */


/* effet lumière subtil */
.cta::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  top: -200px;
  left: -200px;
}

/* bouton */
.cta-btn {
  display: inline-block;
  margin-top: 10px;
  background: #8B1E1E;
  color: white;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* hover bouton */
.cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  background: #A52A2A;
  color: #fff;
}
.cta-btn:hover {
  transform: scale(1.05);
}

/* ================= CTA AFTER IDENTIQUE AUX AUTRES ================= */

.cta h2 {
  position: relative;
  display: inline-block;
}

/* ligne animée sous le titre */
.cta h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, transparent, #8B1E1E, transparent);
  animation: ctaLine 2s infinite;
}

/* animation identique style site */
@keyframes ctaLine {
  0% { width: 0; opacity: 0; }
  50% { width: 80px; opacity: 1; }
  100% { width: 0; opacity: 0; }
}

/* ================= CTA ALIGNEMENT ================= */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px; /* donne de l’air et pousse le bouton vers le bas */
  text-align: center;
}

.cta-btn {
  margin-top: 25px; /* espace entre titre et bouton */
}

/* ================= FOOTER ================= */

.footer {
  background: #ffffff;
  color: #222;
  padding: 80px 20px 20px;
  border-top: 1px solid rgba(139,30,30,0.1);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* TITRES */
.footer-box h2,
.footer-box h3 {
  color: #8B1E1E;
  font-size: 18px;
  margin-bottom: 15px;
  position: relative;
}

/* petite ligne animée */
.footer-box h2::after,
.footer-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: #8B1E1E;
  animation: footerLine 2s infinite;
}

@keyframes footerLine {
  0% { width: 0; opacity: 0; }
  50% { width: 40px; opacity: 1; }
  100% { width: 0; opacity: 0; }
}

/* TEXTE */
.footer-box p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

/* LISTES */
.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #222;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  color: #8B1E1E;
}

/* SOCIAL */
.socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(139,30,30,0.08);
  color: #8B1E1E;
  transition: 0.3s;
}

.socials a:hover {
  background: #8B1E1E;
  color: white;
  transform: translateY(-3px);
}

/* NEWSLETTER */
.newsletter {
  display: flex;
}

.newsletter input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 25px 0 0 25px;
}

.newsletter button {
  padding: 10px 15px;
  border: none;
  background: #8B1E1E;
  color: white;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  opacity: 0.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter input,
  .newsletter button {
    border-radius: 25px;
    width: 100%;
  }

  .newsletter button {
    margin-top: 10px;
  }
} 

/* ================= MOBILE NAV FIX ================= */

@media (max-width: 1280px) {

  .burger {
    display: block;
    cursor: pointer;
    z-index: 1100;
  }

  nav {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 85px);
    background: #fff;
    transition: 0.3s ease;
    padding: 20px;
    z-index: 1000;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }
}

/* ================= SERVICES RESPONSIVE FIX ================= */

@media (max-width: 1024px) {
  .services .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services .grid {
    grid-template-columns: 1fr;
  }
}

/* BURGER AU-DESSUS */
.burger {
  display: none;
  font-size: 26px;
  color: #8B1E1E;
  cursor: pointer;
  z-index: 2000;
}

/* MOBILE MENU */
@media (max-width: 1280px) {

  .burger {
    display: block;
  }

  nav {
    position: fixed;
    top: 85px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 85px);
    background: #fff;
    transition: 0.3s ease;
    padding: 20px;
    z-index: 1500;
    pointer-events: none; /* 👈 important */
  }

  nav.active {
    right: 0;
    pointer-events: auto; /* 👈 important */
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer-box .logo {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

