/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: GPL + ThemeForest License
Template: dt-the7
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* -----------------------------------------------------------
   FORMULAIRES CONTACT FORM 7 — DESIGN QUETZAL
----------------------------------------------------------- */

/* Police globale */
.wpcf7 form {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

/* Grille 2 colonnes */
.wpcf7 form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

/* Ligne pleine largeur */
.wpcf7 form .form-row {
  display: flex;
  flex-direction: column;
}

.wpcf7 form .form-row--full {
  grid-column: 1 / -1;
}

/* Labels */
.wpcf7 form .form-row label {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
  color: #fdf5e3;
}

/* Saut de ligne après label pleine largeur */
.wpcf7 form .form-row.form-row--full > label {
  display: block;
  margin-bottom: 14px;
}

/* Champs */
.wpcf7 form input,
.wpcf7 form select,
.wpcf7 form textarea {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #B2B2B2;
  border-radius: 16px;
  background: #fff;
  color: #0a0a0a;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}

.wpcf7 form textarea {
  min-height: 120px;
}

/* Focus */
.wpcf7 form input:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus {
  border-color: #ef7c11;
  box-shadow: 0 0 0 3px rgba(239,124,17,0.15);
  outline: none;
}

/* Bouton */
.wpcf7 form .btn-devis {
  background: #EF7C11;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 15px;
  width: 100%;
  height: 70px;
  margin: 10px 0;
  padding: 0 14px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .06s ease, filter .2s ease;
}

.wpcf7 form .btn-devis:hover {
  filter: brightness(.96);
}

.wpcf7 form .btn-devis:active {
  transform: translateY(1px);
}

/* -----------------------------------------------------------
   CHECKBOXES — DESIGN QUETZAL
----------------------------------------------------------- */

.wpcf7 form .form-row .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  width: 100%;
}

.wpcf7 form .form-row .wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  width: 100%;
}

.wpcf7 form .form-row .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  accent-color: #ef7c11;
  cursor: pointer;
  margin: 0 !important;
  padding: 0;
}

.wpcf7 form .form-row .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 400 !important;
  font-size: 15px;
  color: #fdf5e3;
  cursor: pointer;
  line-height: 1.4;
}

/* -----------------------------------------------------------
   RESPONSIVE MOBILE (max-width: 768px)
   — Formulaire en 1 colonne
----------------------------------------------------------- */

@media (max-width: 768px) {
  .wpcf7 form .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wpcf7 form .form-row {
    width: 100%;
  }

  .wpcf7 form input,
  .wpcf7 form select,
  .wpcf7 form textarea {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .wpcf7 form .form-row .wpcf7-checkbox .wpcf7-list-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .wpcf7 form .form-row .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
    min-width: 18px !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  .wpcf7 form .form-row .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* -----------------------------------------------------------
   Déplacer le bouton "Remonter en haut" à gauche
----------------------------------------------------------- */

.scroll-top.on,
a.scroll-top.on {
  right: auto !important;
  left: 16px !important;
  bottom: 16px !important;
}

/* -----------------------------------------------------------
   Badge reCAPTCHA : plus petit & plus discret
----------------------------------------------------------- */

.grecaptcha-badge {
  opacity: 0.55;
}