/* Variables de couleur */
:root {
  --jaune: #f3c300;
  --brun: #efe8cc;
  --noir: #1c1c1c;
  --blanc: #ffffff;
  --font-main: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Reset de base */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--noir);
  background-color: var(--blanc);
}

/* Liens */
a {
  color: var(--jaune);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container général du header */
.site-header {
  background-color: var(--jaune); /* Jaune guêpe en fond */
  color: var(--noir);             /* Texte en noir sur fond jaune */
  position: relative;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.logo {
  flex: 0 0 auto; /* Empêche de prendre tout l'espace */
}

.logo img {
  height: 80px;
  max-width: 150px; /* Empêche de s'étirer trop */
  width: auto;
  padding: 10px;
}

/* Nav centré */
.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--noir);
  font-weight: bold;
  font-size: 18px;
}

/* Actions à droite */
.right-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--noir);
  color: var(--jaune);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.call-button:hover {
  background-color: var(--brun);
}

.call-button a {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.icon-phone {
  width: 32px;
  height: 32px;
}

.btn-text {
margin-left: 10px;
}

/* Mobile : cacher le texte, garder l’icône */
@media (max-width: 480px) {
  header .btn-text {
    display: none;
  }

  .call-button {
    justify-content: center;
    padding: 0.8rem;
    width: 50px;
    height: 50px;
  }

  .icon-phone {
    width: 24px;
    height: 24px;
  }
}

/* Burger */
.burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--noir);
  cursor: pointer;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--jaune);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 1000;
    justify-content: flex-start;
  }

  .main-nav.active {
    max-height: 200px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
    align-items: flex-start;
  }

  .main-nav ul li a {
    text-align: left;
    width: 100%;
    display: block;
  }

  .main-nav ul li {
      width: 100%;
  }

  .right-actions {
    gap: 10px;
  }

  .burger {
    display: block;
  }

  .burger.active {
    color: var(--brun);
  }

  /* Le bouton call reste à côté du burger */
  .call-button {
    margin: 0;
  }
}

.hero {
  background-image: url('../assets/backgrounds/hero-background.webp');
  background-size: cover;
  background-position: center;
  color: var(--blanc);
  text-align: center;
  padding: 50px 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-buttons a {
  display: inline-block;
  margin: 0 10px;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 1rem;
}

.btn-primary {
  background-color: var(--jaune);
  color: var(--noir);
}

.btn-secondary {
  background-color: var(--noir);
  color: var(--jaune);
}

.hero-buttons a {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.hero-icon {
  width: 32px;
  height: 32px;
}

.styled-list li {
  background-color: rgba(255, 215, 0, 0.1);
  border-left: 4px solid #FFD700;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  transition: background-color 0.3s ease;
  position: relative;
}

.styled-list li:hover {
  background-color: rgba(255, 215, 0, 0.2);
}

.styled-list li::before {
  content: "✔️";
  margin-right: 0.6em;
  color: #FFD700;
  font-size: 1.2em;
}

.styled-list {
  list-style: none;
  padding: 0;
  margin: 0;
}



.about-contact-layout {
  padding: 100px 20px;
  background-color: var(--brun);
  color: var(--noir);
  text-align: left;
  font-family: var(--font-main);
}

.split-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-contact-layout p {
  font-size: 18px;
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-contact-layout p strong {
  color: var(--noir);
  font-weight: 600;
}

.about-contact-layout p u {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-side img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Responsive 2 colonnes pour écran large */
@media (min-width: 992px) {
  .split-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .about {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .about h2,
  .contact-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 4px solid var(--jaune);
    /*display: inline-block;*/
    padding-bottom: 8px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}


.about, .contact-form {
  flex: 1 1 450px;
}

.about h2,
.contact-form h2 {
  font-size: 28px;
  margin-bottom: 20px;
  border-bottom: 4px solid var(--jaune);
  /*display: inline-block;*/
  padding-bottom: 8px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.note {
  font-size: 0.9rem;
  color: #4b4436;
  background-color: #f9f9f9;
  border-left: 4px solid var(--jaune);
  padding: 0.8em 1em;
  margin-top: 2em;
  margin-bottom: 1em;
  border-radius: 4px;
  font-style: italic;
}

.service-block {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Conteneur principal */
.contact-form {
  background-color: #f9f9f9;
  padding: 0.5rem 2rem 2rem 2rem;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  max-width: 450px;
  margin: 0 auto;
  font-family: 'Segoe UI', sans-serif;
}

/* Titres */
.contact-form h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  border-bottom: 0;
}

/* Éléments du formulaire */
.contact-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  font-weight: bold;
  color: #34495e;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #2980b9;
  outline: none;
}

.optional {
  font-style: italic;
  color: gray;
}

/* Groupe radio */
.contact-form fieldset {
  margin-top: 1.5rem;
  border: none;
}

.contact-form legend {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #34495e;
}

.contact-form input[type="radio"] {
  margin-right: 0.5rem;
}

.radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* espace entre les options */
}

.radio-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem; /* espace entre le bouton radio et le texte */
}

/* Bouton d’envoi */
.contact-form button {
  margin-top: 1.5rem;
  background-color: var(--jaune)/*#2980b9*/;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/*.contact-form button:hover {
  background-color: var(--jaune)/*#3498db*//*;
}*/

.contact-form button:hover {
  filter: brightness(0.9);
  transform: scale(1.02);
}

/* Disposition en colonnes pour les champs groupés */
.form-row {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.form-col {
  flex: 1;
}

/* Responsive design */
@media (min-width: 1024px) {
  #contact {
    display: block;
    padding-left: 2rem;
  }
}

/* Version mobile : passer en 2 colonnes */
@media (max-width: 480px) {
  .radio-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0rem; /* moins d'espace en mobile */
    margin-top: 0;
  }

  .form-col {
    margin-top: 0; /* Assure qu’aucune marge supplémentaire ne s’ajoute */
  }
}

.contact-info {
  font-size: 16px;
  color: #333;
  background-color: #f9f9f9;
  border-left: 4px solid var(--jaune);
  padding: 12px 20px;
  margin-top: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  max-width: 1200px;
  margin: 20px auto;
}

.contact-info p {
  text-align: center;
}
.contact-info a {
  text-decoration: none;
  font-weight: bold;
}

.anti-bot {
  display: none;
}
style="display:none;"

/*.contact-info a:hover {
  text-decoration: underline;
}*/


/* 🌟 Conteneur principal de la section */
.nos-services-full {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

/* 🧩 Titre de la section */
.nos-services-full h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 600;
}

/* 🗂️ Grille des services */
.service-group {
  display: grid;
  grid-template-columns: 1fr; /* 1 colonne mobile */
  gap: 24px;
}

/* 📱 Tablette : 2 colonnes */
@media (min-width: 768px) {
  .service-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 🖥️ Desktop : 3 colonnes */
@media (min-width: 1024px) {
  .service-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 🧱 Style de chaque bloc de service */
.service-block {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

/* ✨ Animation au survol */
.service-block:hover {
  transform: translateY(-4px);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .service-block:nth-child(9) {
    grid-column: 1 / span 2;
    justify-self: center;
    max-width: 50%;
  }
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-icon {
  width: 64px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}

.service-header h3 {
  margin: 0;
  font-size: 1.2rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .service-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* FAQ */

.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

/* Titre de la question */
.faq-item h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--noir);
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 5px 0;
}

.faq-item h3:hover {
  background-color: #eaeaea;
}

.faq-item {
  background-color: var(--brun);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-family: var(--font-main);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Classe active ajoutée via JS */
.faq-item.active p {
  max-height: 500px;
  padding-top: 10px;
  padding-bottom: 15px;
}

/* Symbole + / - à droite */
.faq-toggle {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--jaune);
  transition: transform 0.6s ease;
}

/* Réponse masquée par défaut */
.faq-item .answer {
  display: none;
  margin-top: 10px;
  color: var(--noir);
  font-size: 0.95em;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

/* Réponse visible quand active */
.faq-item.active .answer {
  display: block;
  max-height: 500px; /* suffisamment large pour le contenu */
  opacity: 1;
}

/* Quand active : effet de rotation multiple */
.faq-item.active .faq-toggle {
  transform: rotate(720deg); /* 2 tours complets */
}


/* --- Zone d'intervention --- */

.zones-intervention {
  padding: 60px 20px;
  background: #f9f9f9;
}

.zones-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.zones-text {
  flex: 1 1 55%;
}

.zones-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

.zones-text p,
.zones-text ul {
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
}

.zones-text ul {
  margin: 15px 0;
  padding-left: 20px;
}

.zones-image {
  flex: 1 1 40%;
  text-align: center;
}

.zones-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* --- Footer --- */

.site-footer {
  background-color: var(--noir);
  color: var(--brun);
  font-family: var(--font-main);
  padding: 20px 10px;
  text-align: center;
}

.footer-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.footer-line {
  width: 20%; /* ou 15%, selon le rendu */
  min-width: 40px;
  max-width: 400px;
  height: 4px;
  background-color: var(--jaune);
}

.footer-logo img {
  height: 100px;
}

.footer-social {
  display: flex;
  justify-content: center; /* centrer horizontalement */
  gap: 16px; /* espacement entre les icônes */
  margin: 10px 0; /* espace au-dessus et en dessous */
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* taille cercle cliquable */
  height: 32px;
  background-color: transparent; /* pas de fond, tes icônes en ont déjà un */
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social a img {
  width: 32px; /* taille réelle de l’icône */
  height: 32px;
}

.footer-social a:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.footer-links a {
  color: var(--jaune);
  text-decoration: none;
  font-size: 1.2em;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-divider {
  height: 1px;
  width: 100%;
  background-color: var(--brun);
  margin: 10px 0;
}

.footer-meta {
  font-size: 0.8em;
  color: var(--brun);
}


/* ===== Mentions légales ===== */

.legal {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: var(--brun);      /* fond doux */
  color: var(--noir);                 /* texte sombre */
  font-family: var(--font-main);
  line-height: 1.6;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--jaune);                /* accent jaune */
  border-bottom: 2px solid var(--jaune);
  padding-bottom: 0.5rem;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--noir);
}

.legal p {
  margin-bottom: 1rem;
}

.legal strong {
  color: var(--noir);
}

@media (max-width: 600px) {
  .legal {
    padding: 1rem;
  }

  .legal h1 {
    font-size: 1.6rem;
  }

  .legal h2 {
    font-size: 1.2rem;
  }
}
