@media (max-width: 768px) {

}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}


@media (max-width: 768px) {
  .form-section,
  .info-section {
    width: 100%;
  }

  input,
  textarea {
    width: 100%;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    width: 100px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .map iframe {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 768px) {
  button {
    width: 100%;
    font-size: 16px;
  }
}

* {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Roboto, sans-serif;
}

/* TOP BAR */
.topbar {
  padding: 8px 20px;
  font-size: 15px;
  background: #e30613;
  color: white;
}

.topbar-right a {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
}

.topbar-right .red {
  color: red;
  font-weight: bold;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: white;
  border-bottom: 1px solid #eee;
}


.search input {
  width: 350px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ddd;
}

.icons {
  display: flex;
  gap: 15px;
  font-size: 13px;
}

/* NAV */
.nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 15px;
  background: #f2f2f2;
  border-bottom: 1px solid #eee;
}

.nav a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
}


.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-text ul {
  list-style: none;
  margin-bottom: 20px;
}

.hero-text li {
  margin-bottom: 10px;
}

.hero-text button {
  padding: 12px 20px;
  background: #e30613;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.hero-text-button button {
  padding: 12px 20px;
  background: #e30613;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* HERO IMAGE */
.hero-image {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mock-image {
  height: 300px;
  background: linear-gradient(135deg, #ddd, #bbb);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #555;
  font-weight: bold;
}



/* FOOTER GLOBAL */
.footer {
  background: #e30613;
  color: white;
}

/* BANDE PAIEMENT */
.footer-payments {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 15px;
  flex-wrap: wrap;
}

.footer-payments img {
  height: 30px;
}

.footer-payments span {
  font-size: 13px;
  color: #333;
}

/* BAS FOOTER */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  flex-wrap: wrap;
}

/* LINKS */
.footer-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  opacity: 1;
}

/* SOCIAL */
.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 12px;
}

/* COPYRIGHT */
.copyright {
  text-align: center;
  padding: 10px;
  font-size: 12px;
}


/* SECTION TITLE */
.categories {
  padding: 50px 30px;
  background: #fff;
}

.categories h2 {
  font-size: 42px;
  margin-bottom: 25px;
  font-weight: bold;
  color: #e30613;
}

/* GRID */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */
.category-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
  cursor: pointer;
}

/* HOVER EFFECT */
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* IMAGE */
.category-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* TEXT */
.category-card h3 {
  font-size: 18px;
  margin: 10px 15px 5px;
}

.category-card p {
  font-size: 13px;
  color: #666;
  margin: 0 15px 15px;
}


body {
  background: #f2f2f2;
}

.about {
  padding: 60px 40px;
}

.container {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

/* Partie gauche */
.left {
  flex: 1;
}

.left h1 {
  color: #e30613;
  font-size: 42px;
  margin-bottom: 20px;
}

.left p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 600px;
}

.btn {
  display: inline-block;
  background: #e30613;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  transition: 0.3s;
}

.btn2 {
  display: inline-block;
  background: #ffffff;
  color: black;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  transition: 0.3s;
}

.btn:hover {
  background: #c00510;
}

/* Partie droite */
.right {
  flex: 1;
  color: white;
  padding: 40px;
  border-radius: 4px;

  background: linear-gradient(#e30613);
}

.right h2 {
  font-size: 42px;
  margin-bottom: 25px;
}

.company {
  font-weight: bold;
  margin-bottom: 10px;
}

.contact {
  margin-top: 20px;
  font-weight: bold;
}


.hero {
  position: relative;
  background: #e30613;
  color: white;
  text-align: center;
  padding: 100px 20px 100px;
  overflow: hidden;
}

/* Effet incliné en bas */
.hero::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: #f2f2f2;
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 60px;
  font-weight: bold;
}

.hero p {
  font-size: 42px;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Boutons */
.btn {
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  transition: 0.3s;
}


.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: #e30613;
}


.loader {
    position: fixed; /* 🔥 important */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 🔥 pleine hauteur écran */
    background: #420004;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 🔥 passe au-dessus de tout */
    transition: opacity 1s ease, visibility 1s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.lettre {
    color: white;
    font-size: 2rem;
    letter-spacing: 15px;
    margin: 250px 0;
    animation: flash 1.2s linear infinite;
}

.lettre:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes flash{
  0% {
    color: #e30613;
    text-shadow: #e30613;
  }
  90% {
    color: #fff;
    text-shadow: none;
  }
  100% {
    color: #e30613;
    text-shadow: 0 0 7px #e30613;
  }
}

.lettre:nth-child(1){
  animation-delay: 0.1s;
}
.lettre:nth-child(2){
  animation-delay: 0.2s;
}
.lettre:nth-child(3){
  animation-delay: 0.3s;
}
.lettre:nth-child(4){
  animation-delay: 0.4s;
}
.lettre:nth-child(5){
  animation-delay: 0.5s;
}
.lettre:nth-child(6){
  animation-delay: 0.6s;
}
.lettre:nth-child(7){
  animation-delay: 0.7s;
}
.lettre:nth-child(8){
  animation-delay: 0.8s;
}
.lettre:nth-child(9){
  animation-delay: 0.9s;
}
.lettre:nth-child(10){
  animation-delay: 1s;
}