* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #000000;
  color: #ffffff;
  padding-top: 100px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
  border-bottom: 1px solid #ffffff;
}

.header-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-section.left {
  justify-content: flex-start;
}
.header-section.right {
  justify-content: flex-end;
}
.titre-site {
  font-size: 1.2em;
  font-weight: bold;
  color: white;
}
.logo-center {
  height: 60px;
}

.menu-lien {
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  background-clip: text;
  transition: opacity 0.2s ease;
}

.menu-lien:hover {
  opacity: 0.7;
}
.logo-fixed {
  height: 60px;
  margin-right: 20px;
}

h1 {
  font-size: 1.8em;
  color: #003366;
}

main {
  padding: 40px 20px;
  text-align: center;
}

.intro {
  background: none;
  text-align: center;
  padding: 60px 20px;
}

.intro h2 {
  font-size: 3em;
  margin-bottom: 10px;
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.intro p {
  font-size: 2em;
  font-weight: 400;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

footer {
  background: #003366;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

/* CATEGORIES */
.categorie {
  margin: 60px 0;
  padding: 20px;
  background: linear-gradient(135deg, #8b0000, #ff8c42);
  border-radius: 10px;
}

.categorie-titre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.categorie-titre img {
  height: 40px;
}

.categorie h2 {
  color: #0077cc;
  font-size: 1.5em;
}

/* CAROUSEL */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 3 / 2;
  margin: auto;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-track img {
  flex: 0 0 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* FLÈCHES */
button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 119, 204, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 2;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}
.presentation {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.presentation h2 {
  color: #0077cc;
  margin-bottom: 15px;
  font-size: 1.8em;
}

.presentation p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}
.devis-btn {
  margin-left: auto;
}

.devis-btn img {
  height: 40px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.devis-btn img:hover {
  transform: scale(1.1);
}
.devis-texte {
  margin-left: auto;
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.2;
  text-align: right;
  padding: 5px 10px;
  background: linear-gradient(90deg, #555fd6, #003366);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.devis-texte:hover {
  transform: scale(1.05);
}
.formulaire-devis {
  max-width: 600px;
  margin: 80px auto;
  padding: 20px;
}

.formulaire-devis h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff; /* blanc pur */
  font-size: 2em;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

form label {
  display: block;
  margin-bottom: 20px;
  font-weight: bold;
  color: #cccccc;
  font-size: 1.1em;
  text-align: left;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid #555;
  background-color: #111111;
  color: #ffffff;
  font-size: 1em;
}
input::placeholder,
textarea::placeholder {
  color: #999999;
}
button {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

button:hover {
  background-color: #cccccc;
  transform: scale(1.03);
}
.presentation h2,
.categorie h2 {
  color: #ffffff;
  font-size: 1.8em;
}

.presentation p,
.intro p,
.categorie p {
  font-size: 1.1em;
  line-height: 1.6;
  background: linear-gradient(90deg, #ffffff, #eeeeee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-seul {
  text-align: center;
  margin: 40px 0;
}

.logo-seul img {
  height: 200px;
  max-width: 200px;
  opacity: 0.9;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  transition: transform 0.3s ease;
}
.logo-seul img:hover {
  transform: scale(1.2);
}
.confirmation-message {
  display: none;
  margin-top: 30px;
  padding: 15px;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid #00ff88;
  color: #00ff88;
  font-weight: bold;
  border-radius: 6px;
  animation: fadeInZoom 0.5s ease;
}

@keyframes fadeInZoom {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.avis-google {
  margin: 60px auto;
  padding: 30px 20px;
  background-color: #ffffff;
  color: #003366;
  border-radius: 10px;
  max-width: 1000px;
  text-align: center;
}

.avis-google h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #4285f4;
}

.avis-carousel {
  position: relative;
  overflow: hidden;
}

.avis-track {
  display: flex;
  transition: transform 0.7s ease;
  animation: fadeInSlide 0.7s ease;
}

.avis-group {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  min-width: 100%;
}

.avis {
  background: #f8f9fa;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  flex: 1;
  min-width: 0;
  transition: transform 0.4s;
}

.avis:hover {
  transform: scale(1.03);
}

.avis h3 {
  font-size: 1.1em;
  margin-bottom: 5px;
  color: #333;
}

.etoiles {
  color: #ffa500;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.avis p {
  font-size: 0.95em;
  color: #444;
}

.avis-prev,
.avis-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #4285f4;
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.avis-prev {
  left: 10px;
}

.avis-next {
  right: 10px;
}

.btn-avis {
  display: inline-block;
  margin-top: 25px;
  background: #4285f4;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-avis:hover {
  background: #3367d6;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
