/*
 Theme Name:   Stéphane Delpeyrat Vincent
 Theme URI:    
 Description:  Stéphane Delpeyrat Vincent, Maire de Saint-Médard-en-Jalles, Vice-Président de Bordeaux Métropole
 Author:       Miguel Sanchez
 Author URI:   https://www.laplante.fr
 Template:     hello-elementor
 Version:      1.0.0
*/
[class^="elementor-kit"],
[class*=" elementor-kit"] {
  --e-global-typography-primary-font-family: 'GothamBold', sans-serif; /* pour les headings */
  --e-global-typography-text-font-family: 'GothamMedium', sans-serif;     /* pour les textes */
}
@font-face {
    font-family: 'GothamBold';
    src: url('fonts/GothamBold.eot');
    src: url('fonts/GothamBold.eot') format('embedded-opentype'),
         url('fonts/GothamBold.woff2') format('woff2'),
         url('fonts/GothamBold.woff') format('woff'),
         url('fonts/GothamBold.ttf') format('truetype'),
         url('fonts/GothamBold.svg#GothamBold') format('svg');
}
@font-face {
    font-family: 'GothamBook';
    src: url('fonts/GothamBook.eot');
    src: url('fonts/GothamBook.eot') format('embedded-opentype'),
         url('fonts/GothamBook.woff2') format('woff2'),
         url('fonts/GothamBook.woff') format('woff'),
         url('fonts/GothamBook.ttf') format('truetype'),
         url('fonts/GothamBook.svg#GothamBook') format('svg');
}
@font-face {
    font-family: 'GothamLight';
    src: url('fonts/GothamLight.eot');
    src: url('fonts/GothamLight.eot') format('embedded-opentype'),
         url('fonts/GothamLight.woff2') format('woff2'),
         url('fonts/GothamLight.woff') format('woff'),
         url('fonts/GothamLight.ttf') format('truetype'),
         url('fonts/GothamLight.svg#GothamLight') format('svg');
}
@font-face {
    font-family: 'GothamMedium';
    src: url('fonts/GothamMedium.eot');
    src: url('fonts/GothamMedium.eot') format('embedded-opentype'),
         url('fonts/GothamMedium.woff2') format('woff2'),
         url('fonts/GothamMedium.woff') format('woff'),
         url('fonts/GothamMedium.ttf') format('truetype'),
         url('fonts/GothamMedium.svg#GothamMedium') format('svg');
}
@font-face {
    font-family: 'GothamMediumItalic';
    src: url('fonts/GothamMediumItalic.eot');
    src: url('fonts/GothamMediumItalic.eot') format('embedded-opentype'),
         url('fonts/GothamMediumItalic.woff2') format('woff2'),
         url('fonts/GothamMediumItalic.woff') format('woff'),
         url('fonts/GothamMediumItalic.ttf') format('truetype'),
         url('fonts/GothamMediumItalic.svg#GothamMediumItalic') format('svg');
}
body {
	font-family: 'GothamMedium', Sans-serif;
}
b, strong {
  font-family: 'GothamBold', sans-serif;
  font-weight: bold;
}
/* ===========================
   FORMULAIRE CONTACT FORM 7
   =========================== */

/* Conteneur global */
.cf7-campagne {
  max-width: 600px;
  margin: auto;
  font-family: inherit;
}

/* ====== Gestion des lignes ====== */
.cf7-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.cf7-row span {
  flex: 1;
}

/* Ligne mail */
.wpcf7-form-control-wrap {
  width: 100%;
}

.wpcf7-list-item {
  margin: 0 0 0 0em;
}

/* ====== Champs de saisie ====== */
.cf7-campagne input[type="text"],
.cf7-campagne input[type="email"],
.cf7-campagne input[type="tel"] {
  width: 100%;
  padding: 12px 15px;
  border: none;
  background-color: #ceeae5;   /* gris clair */
  font-size: 15px;
  color: #1f325e;
  border-radius: 0;
  box-sizing: border-box;
}

.cf7-campagne input::placeholder {
  color: #00B3BD; /* vert doux */
}

/* ====== Consentement + Bouton ====== */
.cf7-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* Sur mobile, ça passe en colonne */
  margin-top: 20px;
}

/* Texte + case à cocher */
.cf7-consent {
  display: flex;
  align-items: center;
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.cf7-consent input[type="checkbox"] {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  float: inline-start;
  accent-color: #00B3BD; /* couleur moderne pour la case */
}

/* ====== Bouton ====== */
.cf7-submit input[type="submit"] {
  background-color: #00B3BD;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.3s ease;
  white-space: nowrap; /* évite retour ligne */
}
.cf7-submit {
  display: grid;
}

.cf7-submit input[type="submit"]:hover {
  background-color: #8ab7ac;
}

/* ---------- Formulaire procuration spécifique ---------- */
.cf7-procuration {
  /*max-width: 700px;*/
  margin: 30px auto;
  padding: 25px;
  background-color: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  font-family: Arial, sans-serif;
  color: #333;
}

/* Chaque ligne du formulaire */
.cf7-procuration .cf7-row-procuration {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

/* Labels / titres au-dessus des champs */
.cf7-procuration .cf7-consent-procuration {
  font-weight: 600;
  margin-bottom: 8px;
  color: #075D66;
  font-size: 15px;
}

/* Champs texte, email, téléphone */
.cf7-procuration input[type="text"],
.cf7-procuration input[type="email"],
.cf7-procuration input[type="tel"],
.cf7-procuration textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.cf7-procuration input:focus,
.cf7-procuration textarea:focus {
  border-color: #075D66;
  box-shadow: 0 0 4px rgba(7, 93, 102, 0.3);
}

/* Radios */
.cf7-procuration .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf7-procuration .wpcf7-radio label {
  display: contents;
  align-items: center;
  font-size: 14px;
  gap: 10px;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.cf7-procuration .wpcf7-radio input[type="radio"] {
  margin-right: 8px;
}

.cf7-procuration .wpcf7-radio input[type="radio"]:checked + span {
  background-color: #075D66;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
}

/* Consentement */
.cf7-procuration .cf7-footer .cf7-consent-procuration {
  font-size: 13px;
  color: #555;
  margin-bottom: 15px;
}

/* Bouton Envoyer */
.cf7-procuration .cf7-submit-procuration input[type="submit"] {
  background-color: #075D66;
  color: #fff;
  padding: 12px 25px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  width: 100%;
}

.cf7-procuration .cf7-submit-procuration input[type="submit"]:hover {
  background-color: #054754;
  transform: translateY(-2px);
}
/* Style pour le bouton "Effacer" des radios */
.cf7-procuration .reset-radio {
    display: none; /* caché par défaut */
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #075D66;
    background-color: #f1f1f1;
    border: 1px solid #075D66;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    max-width: 100px;
}

.cf7-procuration .reset-radio:hover {
    background-color: #075D66;
    color: #fff;
    border-color: #075D66;
}
.texte-intro {
  height: 565px;
}
/* Responsive : colonnes uniques sur mobile */
@media (max-width: 1024px) {
  #menu-item-29 {
    display: none;
  }
  .texte-intro {
    height: auto;
   }
}
@media (max-width: 768px) {
  .cf7-procuration {
    padding: 20px 15px;
  }
}
/* ====== Responsive  formulaire ====== */
@media (max-width: 600px) {
  .cf7-row {
    flex-direction: column;
  }

  .cf7-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cf7-submit {
    width: 100%;
  }

  .cf7-submit input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}