/*
Theme Name: RB-Climatisation
Theme URI: 
Author: RB Climatisation
Author URI: 
Description: RB Climatisation
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rb-climatisation
Tags: 
*/

/* Partie fullwidth */
.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: clamp(10px, 5vw, 40px);
  padding-right: clamp(10px, 5vw, 40px);
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/* Hover menu / Btn */
.wp-block-navigation-item a.wp-block-navigation-item__content:hover {
  font-weight: bold;
}

.wp-block-button__link:hover {
  background-color: #2e6fa3 !important;
}

/* Grille service */
.services-section {
  padding: 90px 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
    align-items:  /* ← ajouter cette ligne */
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.service-card ul {
  padding-left: 18px;
}

.service-card li {
  margin-bottom: 6px;
}

.service-card.is-layout-flow {
  margin-block-start: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Formulaire  */
/* Container */
.wp-block-contact-form-7-contact-form-selector {
  max-width: 400px;
  margin: 10px auto;
  padding: 25px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
}

/* Labels */
.wpcf7-form label {
  display: block;
  font-weight: 500;
  color: #ffffff;
}

/* Inputs + textarea */
.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
  margin-top: 3px;
}

/* Focus effect */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #00c3ff;
  background: rgba(255,255,255,0.15);
}

/* Spacing */
.wpcf7-form p {
  margin-bottom: 20px;
}

/* Button */
.wpcf7-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #00c3ff, #007adf);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Button hover */
.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Placeholder */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 600px) {
  .wp-block-contact-form-7-contact-form-selector {
    padding: 20px;
  }
}

/* Fix global */
.wp-block-contact-form-7-contact-form-selector *,
.wp-block-contact-form-7-contact-form-selector *::before,
.wp-block-contact-form-7-contact-form-selector *::after {
  box-sizing: border-box;
}

/* Supprime les décalages CF7 */
.wpcf7-form p {
  margin: 0 0 20px 0;
}

/* Inputs bien alignés */
.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  display: block;
}

/* Option propre : limite largeur interne */
.wpcf7-form {
  width: 100%;
}

.wpcf7-response-output{
  color: white;
}

/* Titre tagline */
.header-title-stack {
  gap: 0;
}

/* Centrer colonne group */
.col-centered > * {
  text-align: center;
}
