/*
Theme Name: generatepress-child
Description: Thème enfant créé par Éole Digital
Author: Éole Digital
Author URI: 
Template: generatepress 
Version: 0.1.0
*/

/* font headings */
/* poppins-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* font corps de texte QUICKSAND */
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 300;
    src: url('/wp-content/themes/generatepress-child/fonts/quicksand-v36-latin-300.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/generatepress-child/fonts/quicksand-v36-latin-regular.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 500;
    src: url('/wp-content/themes/generatepress-child/fonts/quicksand-v36-latin-500.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/generatepress-child/fonts/quicksand-v36-latin-600.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/generatepress-child/fonts/quicksand-v36-latin-700.woff2') format('woff2');
    font-display: swap;
}
/* Fin Fonts */
  
/* === Ombres Générales === */
.shadow {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.btn-shadow {
    box-shadow: 3px 3px 7px 0px rgba(0, 0, 0, 0.2);
}

.strong-shadow {
		box-shadow: 10px 10px 0px 0px 
rgba(113, 45, 17, 0.95);
}

/* Ombres pour le header et le menu sticky */
.site-header, .sticky-enabled .main-navigation.is_stuck {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

blockquote {
    border-left: 5px solid #D98B78;
}

/* Arrondis sur MetaSlider */
.radius-slider img {
    border-radius: 4px;
}

.menu-toggle {
	background-color : #ffffff !important;
}

/* Cacher certains éléments sur mobile */
@media screen and (max-width: 480px){
    .mobile-display-none {
        display: none !important;
    }
}


/* ============================================
   FORMULAIRE CONTACT - VERSION FDO OPTIMISÉE
   ========================================== */

/* Champs de formulaire : Text, Email, Téléphone, Number, Textarea, Select */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
    color: var(--contrast);
    background-color: var(--base);
    font-size: 1.15rem;
    width: 100%; /* Champs adaptables */
    max-width: 100%; /* Limite la largeur pour éviter des champs trop longs */
    border-radius: 8px;
    padding: 10px; /* Ajoute un padding interne */
    margin-bottom: 5px; /* Ajoute de l'espace entre les champs */
    border: 1px solid var(--cta); /* Une bordure par défaut */
}

/* Survol des champs (exclut le bouton de soumission) */
.form-container input[type="text"]:hover,
.form-container input[type="email"]:hover,
.form-container input[type="tel"]:hover,
.form-container input[type="number"]:hover,
.form-container textarea:hover,
.form-container select:hover {
  border: solid 1px var(--accent); /* Couleur au survol */
}

/* Gestion du textarea */
.form-container textarea {
    height: 15vh; /* Hauteur spécifique pour les textarea */
    width: 100%;
    margin-bottom: 0;
}

.form-container .form-full {
  margin-top: 0; /* Réduit l'espace au-dessus de la div */
}

/* Texte des mentions */
.form-acceptance {
  font-size: 1rem; /* Ajuste la taille du texte */
  margin-top: 15px;
}

/* Bouton d'envoi */
.wpcf7-submit {
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
    margin-top: 2vh;
    padding: 11px 20px; /* Ajuste la taille du bouton */
    background-color: var(--cta); /* Couleur du bouton */
    color: var(--base); /* Couleur du texte du bouton */
    cursor: pointer;
}

.wpcf7-submit:hover {
    background-color: var(--base); /* Couleur de fond au survol */
    color: var(--cta); /* Couleur du texte au survol (facultatif) */
}

/* Table (pour aligner les champs dans la structure actuelle) */
.wpcf7-form table {
    width: 100%; /* Force la largeur des tableaux */
    table-layout: fixed; /* Évite les débordements */
    border: none;
    margin-bottom: 0;
}
.wpcf7-form table, tr, td {
    border: none; /* Retire toutes les bordures */
}

/* Checkbox */
.form-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Espace entre les options de la checkbox */
}

/* Fichiers */
.wpcf7-form input[type="file"] {
    word-break: break-word; /* Évite que les noms de fichiers dépassent */
    margin-bottom: 10px;
}

/* Gestion des colonnes (Flexbox) */
.form-grid {
    display: flex;
    gap: 10px;
}
.form-col {
    flex: 1; /* Colonne responsive : prend 50% de l'espace */
}
.form-full {
    width: 100%; /* Colonne pleine largeur */
}


@media screen and (max-width: 600px) {
  .form-container {
      padding: 0 5px; /* Ajoute un padding interne pour éviter les débordements */
      overflow-x: hidden; /* Empêche tout débordement horizontal */
  }

  .form-grid {
      flex-direction: column; /* Passe les colonnes en mode vertical */
  }

  .form-full {
      width: 100%;
      max-width: 100%; /* Empêche les débordements */
      margin: 0; /* Supprime les marges éventuelles */
      padding: 0; /* Supprime les paddings éventuels */
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="number"],
  .wpcf7-form textarea,
  .wpcf7-form select {
      width: 100%; /* Champs adaptatifs à la largeur de l'écran */
      max-width: 100%; /* Évite les restrictions de largeur */
      box-sizing: border-box; /* Inclut les paddings et bordures dans la largeur */
  }

  .wpcf7-form textarea {
      margin-bottom: 10px; /* Réduit l'espace sous le textarea */
  }

  .wpcf7-form-control-wrap {
      display: block;
      width: 100%; /* Assure que le wrapper suit également la largeur */
  }
}

/* Fin du formulaire contact optimisé */

/* arrondis metaslider */
.radius-slider img{
	border-radius: 4px;
}


@media screen and (max-width: 480px){
.mobile-display-none{
		display:none !important;
	}
}

/* FIL D'ARIANE */
.yoast-breadcrumb {
    font-size: 14px;
    color: #555;
    margin-top: 3px;
	margin-left: 30px;
}

.yoast-breadcrumb a {
    color: #2C6E6F;
    text-decoration: none;
}

.yoast-breadcrumb a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .yoast-breadcrumb {
        margin-left: 10px;
    }
}
