body.page-id-3155 .wpforms-container {
    --wpforms-button-background-color: #FFFFFF !important;
    --wpforms-button-text-color: #07192C !important;
}

body.page-id-3155 div.wpforms-container-full button.wpforms-submit,
body.page-id-3155 div.wpforms-container-full button[type="submit"] {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: #07192C !important;
    border: 0 !important;
    border-radius: 8px !important;
}

body.page-id-3155 div.wpforms-container-full button.wpforms-submit:hover,
body.page-id-3155 div.wpforms-container-full button[type="submit"]:hover {
    background: #E6EEF7 !important;
    color: #07192C !important;
}

/* Bouton WPForms blanc - Rodbuilding971 */
body.page-id-3155 .wpforms-container-full {
  --wpforms-button-background-color: #FFFFFF !important;
  --wpforms-button-text-color: #07192C !important;
}

body.page-id-3155 .wpforms-container-full
button.wpforms-submit {
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: #07192C !important;
  border-radius: 8px !important;
}

/* Rodbuilding971 - Bouton Envoyer */
body.page-id-3155 #wpforms-submit-4103 {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: #07192C !important;
    border: none !important;
    border-radius: 8px !important;
}

/* Survol du bouton */
body.page-id-3155 #wpforms-submit-4103:hover {
    background: #E6EEF7 !important;
    color: #07192C !important;
}


/* Bouton au survol et au clic */
body.page-id-3155 #wpforms-submit-4103:hover,
body.page-id-3155 #wpforms-submit-4103:active,
body.page-id-3155 #wpforms-submit-4103:focus {
    background: #07192C !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 8px !important;
}
@media screen and (max-width: 767px) {
  .formulaire-contact971 .wpforms-field input[type="text"],
  .formulaire-contact971 .wpforms-field input[type="email"],
  .formulaire-contact971 .wpforms-field input[type="tel"] {
    height: 32px !important;
    min-height: 32px !important;
    padding: 4px 8px !important;
    box-sizing: border-box !important;
  }
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   RODBUILDING971 - DESIGN PROFESSIONNEL
   ASTRA + ELEMENTOR
========================================== */

:root {
  --rb-navy: #101c32;
  --rb-blue: #12327c;
  --rb-text: #303b4b;
  --rb-muted: #667085;
  --rb-radius: 12px;
}

/* 1. STRUCTURE GENERALE */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  background: #fff;
  color: var(--rb-text);
}

/* Largeur de lecture des sections */

body.home .entry-content
.elementor > .e-con {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 32px;
}

/* 2. TYPOGRAPHIE */

body.home .elementor-widget-heading h1 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--rb-navy);
}

body.home .elementor-widget-heading h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.4px;
  color: var(--rb-navy);
}

body.home .elementor-widget-heading h3 {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.35;
  color: var(--rb-navy);
}

/* Paragraphes plus lisibles */

body.home .elementor-widget-text-editor {
  font-size: 17px;
  line-height: 1.8;
  color: var(--rb-text);
}

body.home .elementor-widget-text-editor p {
  margin-bottom: 14px;
}

body.home
.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

/* 3. ESPACEMENTS REGULIERS */

/* Titres */

body.home .elementor-widget-heading {
  margin-bottom: 16px;
}

/* Textes */

body.home .elementor-widget-text-editor {
  margin-bottom: 22px;
}

/* Images */

body.home .elementor-widget-image {
  margin-bottom: 24px;
}

/* 4. IMAGES */

body.home .elementor-widget-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: var(--rb-radius);
}

/* Galerie uniforme :
   classe à placer sur les widgets Image */

body.home .rb-galerie img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--rb-radius);
  box-shadow: 0 8px 25px rgba(16,28,50,.12);
}

/* 5. BOUTONS */

body.home .elementor-widget-button
.elementor-button {
  background: var(--rb-navy);
  color: #fff;
  border: 2px solid var(--rb-navy);
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease;
}

body.home .elementor-widget-button
.elementor-button:hover,
body.home .elementor-widget-button
.elementor-button:focus {
  background: #fff;
  color: var(--rb-navy);
  transform: translateY(-2px);
}

/* 6. VIDEOS */

body.home .elementor-widget-video
.elementor-wrapper {
  max-width: 1100px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--rb-radius);
}

body.home .elementor-widget-video video,
body.home .elementor-widget-video iframe {
  display: block;
  max-width: 100%;
}

/* 7. EN-TETE ASTRA */

#masthead {
  position: relative;
  z-index: 100;
  background: #fff;
}

#masthead .main-header-menu a {
  font-size: 16px;
  font-weight: 500;
}

#masthead .main-header-menu a:hover {
  color: var(--rb-blue);
}

/* 8. PIED DE PAGE */

.site-footer {
  background: #080f1c;
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #b7c8f4;
}

/* ==========================================
   TABLETTE
========================================== */

@media (min-width: 768px)
and (max-width: 1024px) {

  body.home .entry-content
  .elementor > .e-con {
    padding-inline: 24px;
  }

  body.home .rb-galerie img {
    height: 260px;
  }

  body.home .elementor-widget-text-editor {
    font-size: 16px;
    line-height: 1.75;
  }
}

/* ==========================================
   SMARTPHONE
========================================== */

@media (max-width: 767px) {

  body.home .entry-content
  .elementor > .e-con {
    padding-inline: 18px;
  }

  body.home .elementor-widget-heading h1 {
    font-size: 30px;
    line-height: 1.22;
    letter-spacing: -0.3px;
  }

  body.home .elementor-widget-heading h2 {
    font-size: 25px;
    line-height: 1.3;
  }

  body.home .elementor-widget-heading h3 {
    font-size: 21px;
  }

  body.home .elementor-widget-text-editor {
    font-size: 16px;
    line-height: 1.7;
  }

  body.home .elementor-widget-heading {
    margin-bottom: 12px;
  }

  body.home .elementor-widget-text-editor {
    margin-bottom: 18px;
  }

  body.home .elementor-widget-image {
    margin-bottom: 20px;
  }

  body.home .rb-galerie img {
    height: 240px;
  }

  body.home .elementor-widget-button
  .elementor-button {
    font-size: 15px;
    padding: 13px 20px;
  }

  #masthead {
    z-index: 100;
  }
}

/* Accessibilite : moins d'animations */

@media (prefers-reduced-motion: reduce) {
  body.home .elementor-button {
    transition: none;
  }
}


/* RODBUILDING971 - BOUTON CONTACT */

.elementor-widget-button .elementor-button {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 15px;
    transition: all 0.3s ease;
}

/* AU SURVOL */

.elementor-widget-button .elementor-button:hover,
.elementor-widget-button .elementor-button:focus-visible {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
}

/* COULEUR DU TEXTE */

.elementor-widget-button .elementor-button:hover
.elementor-button-text,
.elementor-widget-button .elementor-button:focus-visible
.elementor-button-text {
    color: #000000 !important;
}
/* Rétablir le footer Astra sur mobile */
@media (max-width: 767px) {

  #colophon,
  .site-footer,
  .site-footer-primary-section-1,
  .site-footer-primary-section-2,
  .site-footer-below-section-1 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }

  .site-footer {
    background-color: #071426;
  }

  .site-footer,
  .site-footer p,
  .site-footer a,
  .site-footer .ast-footer-copyright {
    color: #ffffff !important;
  }
}
/* RODBUILDING971 - FORMULAIRE PREMIUM */

/* Conteneur */
.wpforms-container {
    max-width: 650px !important;
    margin: 0 auto !important;
}

/* Champs */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container select {
    height: 36px !important;
    min-height: 36px !important;
    padding: 5px 12px !important;
    background: #fff !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

/* Zone message */
.wpforms-container textarea {
    height: 90px !important;
    min-height: 90px !important;
    padding: 10px 12px !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* Espacement */
.wpforms-container .wpforms-field {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* Titres des champs */
.wpforms-container .wpforms-field-label {
    color: #142C4D !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

/* Champ sélectionné */
.wpforms-container input:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus {
    border-color: #142C4D !important;
    outline: 1px solid #142C4D !important;
    box-shadow: none !important;
}

/* Bouton envoyer */
.wpforms-container button[type="submit"] {
    background: #142C4D !important;
    color: #fff !important;
    border: 2px solid #142C4D !important;
    border-radius: 4px !important;
    padding: 11px 28px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

/* Survol du bouton */
.wpforms-container button[type="submit"]:hover {
    background: #fff !important;
    color: #FFFFFF !important;
    border-color: #004FC4 !important;
}

/* Version smartphone */
@media (max-width: 767px) {
    .wpforms-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .wpforms-container input[type="text"],
    .wpforms-container input[type="email"],
    .wpforms-container input[type="tel"],
    .wpforms-container input[type="number"],
    .wpforms-container select {
        height: 44px !important;
        min-height: 44px !important;
        font-size: 16px !important;
    }

    .wpforms-container textarea {
        height: 100px !important;
        font-size: 16px !important;
    }

    .wpforms-container button[type="submit"] {
        width: 100% !important;
    }
}
/* Titres des champs WPForms en blanc */
.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field-description,
.wpforms-container legend {
    color: #FFFFFF !important;
}



/* RODBUILDING971 - BOUTONS */

/* Apparence normale */
.bouton-contact .elementor-button,
.bouton-services .elementor-button {
    background-color: #4169E1 !important;
    color: #FFFFFF !important;
    border: 2px solid #4169E1 !important;
    border-radius: 15px !important;
    transition: all 0.3s ease !important;
}

/* Texte et icônes */
.bouton-contact .elementor-button-text,
.bouton-services .elementor-button-text {
    color: #FFFFFF !important;
}

/* Survol et focus */
.bouton-contact .elementor-button:hover,
.bouton-contact .elementor-button:focus-visible,
.bouton-services .elementor-button:hover,
.bouton-services .elementor-button:focus-visible {
    background-color: #FFFFFF !important;
    color: #4169E1 !important;
    border-color: #4169E1 !important;
}

/* Texte au survol */
.bouton-contact .elementor-button:hover .elementor-button-text,
.bouton-contact .elementor-button:focus-visible .elementor-button-text,
.bouton-services .elementor-button:hover .elementor-button-text,
.bouton-services .elementor-button:focus-visible .elementor-button-text {
    color: #4169E1 !important;
}

round-size: cover;
        background-attachment: hone */
@media (max-width: 768px) {
    .parallax-rod {
        min-height: 320px;
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
    }
}

