body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  background: #f7f7fa;
  color: #222;
  min-height: 100vh;
}

.navbar {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; padding: 1.5rem 3rem; box-shadow: 0 2px 16px #e5393522;
  position: sticky; top: 0; z-index: 100;
}
.navbar .logo img { height: 48px; }
.navbar ul { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.navbar li { list-style: none; }
.navbar a { color: #e53935; text-decoration: none; font-weight: 500; font-size: 1.1rem; transition: color 0.2s; }
.navbar a:hover, .navbar a.active { color: #b71c1c; }
.navbar a.cta { margin-left: 2rem; }

.cta {
  background: linear-gradient(90deg, #e53935 60%, #ff1744 100%);
  color: #fff; padding: 0.8em 2em; border-radius: 32px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 16px #e5393533;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  letter-spacing: 1px;
  display: inline-block;
}

.navbar a.cta, .btn-devis {
  background: #fff !important;
  color: #e53935 !important;
  border: 3px solid #e53935 !important;
  box-shadow: 0 4px 16px #e5393533;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.8em 2em;
}

.navbar a.cta:hover, .btn-devis:hover {
  background: #e53935 !important;
  color: #fff !important;
  border: 3px solid #e53935 !important;
}

.cta:hover {
  background: linear-gradient(90deg, #ff1744 0%, #e53935 100%);
  box-shadow: 0 8px 32px #e5393555;
  transform: translateY(-2px) scale(1.04);
}

.hero {
  text-align: center; padding: 7rem 2rem 5rem 2rem; background: linear-gradient(120deg, #fff 60%, #ffeaea 100%);
  color: #b71c1c;
}
.hero h1 { font-size: 3rem; margin-bottom: 1.2rem; font-weight: 700; letter-spacing: 2px; }
.hero p { font-size: 1.4rem; margin-bottom: 2.5rem; color: #333; }

.cards {
  display: flex; gap: 2.5rem; justify-content: center; margin: 3rem 0; flex-wrap: wrap;
}
.card {
  background: #fff; padding: 0 0 2rem 0; border-radius: 1.5rem;
  box-shadow: 0 8px 32px #e5393522, 0 1.5px 8px #0001;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 270px; max-width: 350px; flex: 1 1 270px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 2rem;
  overflow: hidden;
}
.card img {
  width: 100%;
  max-width: 350px;
  height: 210px;
  object-fit: cover;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px #e5393522;
}
.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 48px #e5393555, 0 2px 12px #0002;
}
.card div { font-size: 1.15rem; font-weight: 600; margin-top: 0.5rem; color: #e53935; }

section { margin-bottom: 4rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; font-weight: 700; color: #e53935; letter-spacing: 1px; }
h3 { font-size: 1.2rem; margin-bottom: 1rem; color: #e53935; }

a { color: #e53935; transition: color 0.2s; }
a:hover { text-decoration: underline; color: #b71c1c; }

footer {
  background: #fff; text-align: center; padding: 2.5rem 0; margin-top: 4rem; font-size: 1.1rem; color: #b71c1c;
  border-top: 1px solid #e5393533;
}

form input, form textarea {
  width: 100%; max-width: 400px; margin-bottom: 1.2rem; padding: 1em;
  border-radius: 10px; border: 1.5px solid #e5393533; background: #f7f7fa; color: #222;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px #e5393522;
}
form button.cta { width: auto; margin-top: 1rem; }

@media (max-width: 1100px) {
  .cards { flex-direction: column; align-items: center; }
  .navbar ul { gap: 1.2rem; }
  .navbar { padding: 1rem 1rem; }
}

@media (max-width: 700px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 4rem 1rem 2rem 1rem; }
  .navbar { flex-direction: column; gap: 1rem; }
  .navbar ul { flex-direction: column; gap: 0.7rem; }
  .cards { gap: 1.2rem; }
  .card img { height: 160px; }
}

@media (max-width: 500px) {
  body {
    font-size: 0.98rem;
    padding: 0;
  }
  .navbar {
    padding: 0.5rem 0.2rem;
    gap: 0.5rem;
  }
  .navbar .logo img {
    height: 36px;
  }
  .navbar ul {
    gap: 0.3rem;
  }
  .navbar a, .navbar a.cta, .btn-devis {
    font-size: 0.98rem;
    padding: 0.6em 1.2em;
    margin-left: 0;
  }
  .socials-header {
    margin-left: 0.5rem;
    gap: 0.5rem;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
  .hero p {
    font-size: 1.05rem;
  }
  .card {
    min-width: 180px;
    max-width: 98vw;
    padding: 0 0 1rem 0;
  }
  .card img {
    height: 100px;
  }
  .about-card {
    padding: 1.2rem 0.5rem 1rem 0.5rem !important;
    max-width: 98vw !important;
  }
  section, .services, .about-values {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
  }
  form input, form textarea {
    font-size: 1rem;
    padding: 0.7em;
  }
  footer {
    font-size: 0.98rem;
    padding: 1.2rem 0;
  }
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
} 