* {
  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;
}
.specialiste-eau {
  font-size: 1.4em;
  font-weight: 600;
  color: #00bfff;
  margin-top: 15px;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.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: 350px;
  max-width: 350px;
  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;
}
/* Bloc texte FR */
.switch-fr {
  margin-top: 1rem;
}

/* Bouton vers le site français */
.switch-fr a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 2px solid #ffffff;
  border-radius: 999px; /* effet pill */
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

/* Effet hover : inversion */
.switch-fr a:hover {
  background-color: #ffffff78;
}

.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;
}

/* Encadré alerte paiement */
.alert-box {
  margin: 15px auto 30px;
  padding: 14px 16px;
  background: rgba(60, 35, 10, 0.65);
  color: #f7e9d3;
  border-left: 5px solid #d8a85e;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 750px;
  font-size: 1.05rem;
  line-height: 1.5;
}
.alert-box .alert-emoji {
  font-weight: 700;
  margin-right: 6px;
}

/* Empiler les tableaux (au cas où un style global les mettrait côte à côte) */
#tarifs-page .tarif-container {
  display: block !important;
  width: 100%;
  margin: 0 auto 28px;
  clear: both;
}
#tarifs-page .tarif-container .tarif-table {
  width: 100%;
  float: none;
}

/* Titres des tableaux (captions) */
.tarif-table caption {
  caption-side: top; /* au cas où un style le met en bas */
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 8px 8px 0 0;
  background: rgba(80, 50, 25, 0.45);
  color: #f7e9d3 !important; /* texte clair prioritaire */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
.tarif-table caption * {
  color: inherit !important; /* évite qu’un style interne remette du noir */
}
.caption-title {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}
.caption-note {
  font-size: 0.95rem;
  line-height: 1.4;
  background: rgba(60, 35, 10, 0.6);
  border-left: 4px solid #d8a85e;
  padding: 8px 10px;
  border-radius: 6px;
  text-align: center;
}
#tarifs-page h1 {
  color: #f7e9d3 !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .tarif-table caption {
    font-size: 1.05rem;
    padding: 8px 10px;
  }
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* =========================
   Fond animé : bulles
   ========================= */

.bubble-background {
  position: fixed;
  inset: 0;
  z-index: -1; /* reste derrière le contenu */
  overflow: hidden;
  pointer-events: none; /* ne bloque pas les clics */
}

/* Une bulle */
.bubble {
  position: absolute;
  bottom: -120px; /* démarre sous le bas de l'écran */
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); /* léger voile blanc */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  animation-name: bubble-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Animation : montée vers le haut */
@keyframes bubble-rise {
  0% {
    transform: translate3d(var(--x-offset, 0), 0, 0) scale(var(--scale, 1));
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--x-offset, 0), -130vh, 0) scale(var(--scale, 1));
    opacity: 0;
  }
}
