/*
Theme Name: Neve Child
Theme URI: https://ledouxautoservices.fr/
Description: Thème enfant personnalisé basé sur Neve
Author: Ledoux Auto Services
Author URI: https://ledouxautoservices.fr/
Template: neve
Version: 1.0.0
*/

/* TITRES GÉNÉRAUX DU SITE – Responsive */
h1, h2, h3, h4, h5, h6, p {
  font-family: 'Segoe UI', Roboto, sans-serif;
  color: #1c3f70;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 1.2em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
}
h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 500;
}
p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 400;
  color: #1c3f70;
  text-align: left;
}

/* LISTES UL/OL STYLISÉES */
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  color: #1c3f70;
  font-weight: 500;
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}
li {
  margin-bottom: 6px;
  color: #1c3f70;
  font-weight: 500;
}
ul li::marker {
  color: #4da8ff;
  font-size: 1.1em;
}
ol li::marker {
  color: #4da8ff;
  font-weight: 600;
}

strong, b {
  font-weight: bold;
}

.elementor *, .elementor ::after, .elementor ::before {
  box-sizing: border-box;
}

/* TITRES ELEMENTOR – harmonisation avec les titres globaux */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Segoe UI', Roboto, sans-serif !important;
  color: #1c3f70 !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

.elementor-widget-heading h1.elementor-heading-title {
  font-size: clamp(2rem, 5vw, 3rem) !important;
  font-weight: 700 !important;
}

.elementor-widget-heading h2.elementor-heading-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  font-weight: 600 !important;
}

/* FORMULAIRE CONTACT FORM 7 */
.wpcf7 {
  max-width: 100%;
  display: flex;
  justify-content: center;
  padding: 30px 15px;
}
.wpcf7-form {
  width: 100%;
  max-width: 700px;
  padding: 25px 30px;
  background: #f9f9f9;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 0 12px rgba(0,0,0,0.04);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  background: white;
}
.wpcf7-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 15px;
  color: #222;
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.form-row .form-col {
  flex: 1;
}
.wpcf7-form input[type="submit"] {
  background-color: #1C244B;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-size: 17px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}
.wpcf7-form input[type="submit"]:hover {
  background-color: #47589d;
  color: #fdfdfd;
}
.wpcf7-form input[type="radio"] {
  display: inline-block !important;
  margin-right: 8px;
}
.wpcf7-form .wpcf7-list-item-label {
  font-weight: 500;
  margin-right: 20px;
  color: #333;
  font-size: 15px;
}

/* IMAGES DANS LES BLOCS TEXTE (pages blog, diagnostic, à propos, etc.) */
.blog-content img,
.blog-content-2 img,
.blog-content-3 img,
.entry-content img,
.wp-block-image img,
.elementor-widget-image img,
.apropos-container img,
.photos-reparation-container img {
  display: block;
  margin: 20px auto;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.blog-content img:hover,
.blog-content-2 img:hover,
.blog-content-3 img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .wpcf7-form input,
  .wpcf7-form textarea,
  .wpcf7-form select {
    font-size: 16px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .blog-content img,
  .blog-content-2 img,
  .blog-content-3 img,
  .apropos-container img,
  .photos-reparation-container img,
  .entry-content img,
  .wp-block-image img,
  .elementor-widget-image img {
    max-width: 90% !important;
  }

  .elementor-widget-heading h1.elementor-heading-title {
    font-size: 28px !important;
  }
  .elementor-widget-heading h2.elementor-heading-title {
    font-size: 26px !important;
  }
}

/* STYLE ENFANT ACTIF EN BAS DE PAGE */
body::after {
  content: "Thème enfant actif – Ledoux Auto Services";
  display: block;
  text-align: center;
  font-size: 14px;
  color: #1c3f70;
  margin-top: 30px;
  padding-bottom: 10px;
}

/* LIENS DANS LES BLOCS TEXTE ELEMENTOR */
.elementor-widget-text-editor a,
.elementor-widget-text-editor a:visited,
.elementor-widget-text-editor a:active {
  color: #0c55bc !important;
  font-weight: 600 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.elementor-widget-text-editor a:hover {
  color: #589fe7 !important;
  text-decoration: underline;
}

/* GALERIE D'IMAGES – SECTION À PROPOS */
.apropos-container .garage-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.apropos-container .garage-gallery img {
  max-width: 450px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.apropos-container .garage-gallery img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .apropos-container .garage-gallery img {
    max-width: 100%;
  }
}
.menu-item a.btn-rdv-menu {
  background-color: #1C244B !important; /* Couleur du logo */
  color: #ffffff !important;
  padding: 8px 18px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important; /* Plus de majuscules forcées */
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15) !important;
  transition: all 0.3s ease;
  border: none !important;
}

.menu-item a.btn-rdv-menu:hover {
  background-color: #47589d !important;
  color: #fdfdfd !important;
}