/* =========================================================
   LE CARROSSE GOURMAND — FORMULAIRE DE CONTACT
   Réplique du formulaire MetForm (mêmes champs, même grille,
   mêmes couleurs) avec l'esthétique de la section Contact.
   ========================================================= */

/* ---------------------------------------------------------
   POLICE DES EYEBROWS (DynaLight)
   Agrandie de 35 % sur tout le site via size-adjust,
   sans toucher aux tailles définies dans les sections.
   --------------------------------------------------------- */

@font-face {
  font-family: "DynaLight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  size-adjust: 135%;
  src: url("fonts/dynalight-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DynaLight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  size-adjust: 135%;
  src: url("fonts/dynalight-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.cgf,
.cgf *,
.cgf *::before,
.cgf *::after {
  box-sizing: border-box;
}

.cgf {
  --cgf-gold: #CA9200;
  --cgf-gold-dark: #A97800;
  --cgf-green: #003D32;
  --cgf-label: #0D1427;
  --cgf-placeholder: #878991;
  --cgf-error: #FF0000;
  --cgf-indicator: #CCCCCC;

  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cgf .cgf-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0 20px;
}

/* ---------------------------------------------------------
   GRILLE (2 colonnes, comme MetForm)
   --------------------------------------------------------- */

.cgf .cgf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 15px 30px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.cgf .cgf-field {
  position: relative;
  min-width: 0;
  margin: 0;
}

.cgf .cgf-field--vaisselle,
.cgf .cgf-field--nombre_personnes {
  margin-top: 10px;
}

.cgf .cgf-field--message {
  margin-top: 10px;
  margin-bottom: 15px;
}

/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.cgf .cgf-label {
  display: block !important;
  margin: 0 0 7px !important;
  padding: 0 !important;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 21px !important;
  color: var(--cgf-label) !important;
  vertical-align: baseline;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.cgf .cgf-req {
  color: var(--cgf-error);
}

/* ---------------------------------------------------------
   CHAMPS
   --------------------------------------------------------- */

.cgf .cgf-input {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 15px 24px 17px !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
  color: var(--cgf-green) !important;
  background: #FFFFFF !important;
  border: 1px solid var(--cgf-gold) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s ease, box-shadow .3s ease, color .3s ease !important;
}

.cgf .cgf-input:hover {
  color: #000000 !important;
}

.cgf .cgf-input:focus,
.cgf .cgf-input:focus-within,
.cgf .cgf-multi.is-open .cgf-multi__control {
  border-color: var(--cgf-gold) !important;
  box-shadow: 0 0 0 3px rgba(202, 146, 0, .10) !important;
  outline: none !important;
}

.cgf .cgf-input::placeholder {
  color: var(--cgf-placeholder) !important;
  opacity: 1;
}

.cgf .cgf-textarea {
  height: 180px;
  min-height: 120px;
  padding: 15px 24px !important;
  resize: vertical;
}

/* ---------------------------------------------------------
   LISTES DÉROULANTES SIMPLES
   --------------------------------------------------------- */

.cgf .cgf-select-wrap {
  position: relative;
}

.cgf .cgf-select {
  height: 52px;
  padding-right: 64px !important;
  cursor: pointer;
}

.cgf .cgf-select:invalid,
.cgf .cgf-select.is-empty {
  color: var(--cgf-placeholder) !important;
}

.cgf .cgf-select option {
  color: #000000;
  background: #FFFFFF;
}

.cgf .cgf-indicators {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.cgf .cgf-sep {
  align-self: stretch;
  width: 1px;
  margin: 8px 0;
  background: var(--cgf-indicator);
}

.cgf .cgf-chevron {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 8px;
  fill: var(--cgf-indicator);
  transition: fill .2s ease, transform .2s ease;
}

.cgf .cgf-select-wrap:hover .cgf-chevron,
.cgf .cgf-multi__control:hover .cgf-chevron {
  fill: #999999;
}

/* ---------------------------------------------------------
   LISTE À CHOIX MULTIPLES (Activités)
   --------------------------------------------------------- */

.cgf .cgf-multi {
  position: relative;
}

.cgf .cgf-multi__control {
  position: relative;
  display: flex !important;
  align-items: center;
  padding-right: 64px !important;
  cursor: pointer;
  user-select: none;
}

.cgf .cgf-multi__values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.cgf .cgf-multi__placeholder {
  color: var(--cgf-placeholder);
}

.cgf .cgf-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: -3px 0;
  padding: 3px 4px 3px 9px;
  font-size: 13px;
  line-height: 18px;
  color: var(--cgf-green);
  background: rgba(202, 146, 0, .12);
  border-radius: 6px;
}

.cgf .cgf-chip__text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cgf .cgf-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  font-size: 15px;
  line-height: 1;
  color: var(--cgf-green);
  border-radius: 4px;
  cursor: pointer;
}

.cgf .cgf-chip__remove:hover {
  color: #FFFFFF;
  background: var(--cgf-gold);
}

.cgf .cgf-multi.is-open .cgf-chevron {
  transform: rotate(180deg);
}

.cgf .cgf-multi__menu {
  display: block;
  margin-top: 8px;
  padding: 6px 0;
  background: #FFFFFF;
  border: 1px solid rgba(0, 61, 50, .12);
  border-radius: 12px;
}

/* Avec JavaScript : le menu devient un menu déroulant. */
.cgf .cgf-form.cgf-js .cgf-multi__menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  max-height: 290px;
  overflow-y: auto;
  box-shadow: 0 14px 34px rgba(0, 61, 50, .14);
}

.cgf .cgf-form.cgf-js .cgf-multi.is-open .cgf-multi__menu {
  display: block;
}

.cgf .cgf-multi__option {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 10px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #000000;
  cursor: pointer;
  transition: background .2s ease;
}

.cgf .cgf-multi__option:hover,
.cgf .cgf-multi__option:focus-within {
  background: rgba(202, 146, 0, .08);
}

.cgf .cgf-multi__option input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--cgf-gold);
  cursor: pointer;
}

/* ---------------------------------------------------------
   ERREURS
   --------------------------------------------------------- */

.cgf .cgf-field.has-error .cgf-input {
  border-color: var(--cgf-error) !important;
}

.cgf .cgf-error {
  display: block;
  margin-top: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--cgf-error);
}

.cgf .cgf-error[hidden] {
  display: none;
}

/* ---------------------------------------------------------
   MESSAGES (succès / erreur)
   --------------------------------------------------------- */

.cgf .cgf-response-zone:empty {
  display: none;
}

.cgf .cgf-response {
  margin: 0 0 20px;
  padding: 14px 18px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 12px;
}

.cgf .cgf-response--success {
  color: var(--cgf-green);
  background: #EEF5F2;
  border: 1px solid rgba(0, 61, 50, .25);
}

.cgf .cgf-response--error {
  color: #B00000;
  background: #FFF4F4;
  border: 1px solid rgba(255, 0, 0, .3);
}

/* ---------------------------------------------------------
   BOUTON
   --------------------------------------------------------- */

.cgf .cgf-actions {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 12px;
}

.cgf .cgf-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 17px 28px 16px !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 11px !important;
  color: #FFFFFF !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  background: var(--cgf-gold) !important;
  border: 1px solid var(--cgf-gold) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease !important;
}

.cgf .cgf-btn:hover,
.cgf .cgf-btn:focus-visible {
  color: #FFFFFF !important;
  background: #000000 !important;
  border-color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .14) !important;
}

.cgf .cgf-btn:focus {
  outline: none;
}

.cgf .cgf-btn:focus-visible {
  outline: 2px solid var(--cgf-gold);
  outline-offset: 3px;
}

.cgf .cgf-btn[disabled] {
  cursor: wait;
  opacity: .75;
  transform: none;
}

.cgf .cgf-btn.is-loading .cgf-btn__label::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: cgf-spin .8s linear infinite;
}

@keyframes cgf-spin {
  to { transform: rotate(360deg); }
}

/* ---------------------------------------------------------
   ANTI-SPAM (champ invisible)
   --------------------------------------------------------- */

.cgf .cgf-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media screen and (max-width: 1024px) {
  .cgf .cgf-form {
    padding: 33px 15px 35px;
  }
}

@media screen and (max-width: 767px) {
  .cgf .cgf-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cgf .cgf-input,
  .cgf .cgf-btn,
  .cgf .cgf-chevron {
    transition: none !important;
  }
  .cgf .cgf-btn:hover {
    transform: none;
  }
}


/* =========================================================
   SECTION CONTACT COMPLÈTE — shortcode [carrosse_contact]
   (même CSS que la section HTML de la page Contact)
   ========================================================= */

#cgg-contact-stable {
  --cgg-gold: #CA9200;
  --cgg-green: #003D32;
  --cgg-text: #4F5B57;
  --cgg-light: #F7F7F4;
  --cgg-white: #FFFFFF;

  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 110px 24px;
  background: #FFFFFF !important;
  color: #4F5B57;
  overflow: visible;
  box-sizing: border-box;
}

#cgg-contact-stable *,
#cgg-contact-stable *::before,
#cgg-contact-stable *::after {
  box-sizing: border-box;
}

#cgg-contact-stable .cgg-container {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 80px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

#cgg-contact-stable .cgg-content {
  width: 100%;
  min-width: 0;
  padding-top: 15px;
}

#cgg-contact-stable .cgg-eyebrow {
  display: block;
  margin: 0 0 14px;
  font-family: "DynaLight", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .04em;
  color: #CA9200 !important;
}

#cgg-contact-stable .cgg-title {
  display: block;
  margin: 0 0 22px;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.15;
  color: #003D32 !important;
}

#cgg-contact-stable .cgg-description {
  max-width: 560px;
  margin: 0 0 38px;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: #4F5B57 !important;
}

#cgg-contact-stable .cgg-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#cgg-contact-stable .cgg-detail {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 17px 20px;
  background: #F7F7F4 !important;
  border: 1px solid rgba(0, 61, 50, .07);
  border-radius: 17px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

#cgg-contact-stable .cgg-detail:hover {
  transform: translateX(5px);
  border-color: rgba(202, 146, 0, .35);
  box-shadow: 0 12px 30px rgba(0, 61, 50, .07);
}

#cgg-contact-stable .cgg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: rgba(202, 146, 0, .10) !important;
  border: 1px solid rgba(202, 146, 0, .18);
  border-radius: 14px;
  color: #CA9200 !important;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}

#cgg-contact-stable .cgg-icon svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  stroke: currentColor !important;
  fill: none !important;
  color: inherit !important;
}

#cgg-contact-stable .cgg-detail:hover .cgg-icon {
  background: #CA9200 !important;
  color: #FFFFFF !important;
  transform: scale(1.06);
}

#cgg-contact-stable .cgg-detail-content {
  flex: 1 1 auto;
  min-width: 0;
}

#cgg-contact-stable .cgg-detail-label {
  display: block;
  margin-bottom: 3px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7A8581 !important;
}

#cgg-contact-stable .cgg-detail-value {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #003D32 !important;
  text-decoration: none !important;
  transition: color .3s ease;
}

#cgg-contact-stable .cgg-detail-value:visited,
#cgg-contact-stable .cgg-detail-value:focus,
#cgg-contact-stable .cgg-detail-value:active {
  color: #003D32 !important;
}

#cgg-contact-stable .cgg-detail a.cgg-detail-value:hover {
  color: #CA9200 !important;
}

#cgg-contact-stable .cgg-form-card {
  position: relative;
  display: block !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 42px;
  background: #F7F7F4 !important;
  border: 1px solid rgba(0, 61, 50, .08);
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(0, 61, 50, .07);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  overflow: visible;
  transition: box-shadow .4s ease, border-color .4s ease;
}

#cgg-contact-stable .cgg-form-card:hover {
  border-color: rgba(202, 146, 0, .20);
  box-shadow: 0 24px 60px rgba(0, 61, 50, .10);
}

#cgg-contact-stable .cgg-form-heading {
  display: block;
  margin: 0 0 28px;
}

#cgg-contact-stable .cgg-form-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: "DynaLight", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .04em;
  color: #CA9200 !important;
}

#cgg-contact-stable .cgg-form-title {
  display: block;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.25;
  color: #003D32 !important;
}

#cgg-contact-stable .cgg-metform {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

@media screen and (max-width: 1024px) {
  #cgg-contact-stable {
    padding: 90px 24px;
  }
  #cgg-contact-stable .cgg-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
    max-width: 800px;
  }
  #cgg-contact-stable .cgg-content {
    padding-top: 0;
  }
  #cgg-contact-stable .cgg-description {
    max-width: 700px;
  }
}

@media screen and (max-width: 767px) {
  #cgg-contact-stable {
    padding: 72px 18px;
  }
  #cgg-contact-stable .cgg-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }
  #cgg-contact-stable .cgg-eyebrow {
    margin-bottom: 12px;
    font-size: 15px;
  }
  #cgg-contact-stable .cgg-title {
    margin-bottom: 17px;
    font-size: clamp(31px, 8.5vw, 39px);
    line-height: 1.18;
  }
  #cgg-contact-stable .cgg-description {
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.75;
  }
  #cgg-contact-stable .cgg-details {
    gap: 10px;
  }
  #cgg-contact-stable .cgg-detail {
    gap: 14px;
    padding: 14px 15px;
    border-radius: 15px;
  }
  #cgg-contact-stable .cgg-icon {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 12px;
  }
  #cgg-contact-stable .cgg-detail-label {
    font-size: 11px;
  }
  #cgg-contact-stable .cgg-detail-value {
    font-size: 13px;
  }
  #cgg-contact-stable .cgg-form-card {
    padding: 25px 18px;
    border-radius: 21px;
  }
  #cgg-contact-stable .cgg-form-heading {
    margin-bottom: 23px;
  }
  #cgg-contact-stable .cgg-form-eyebrow {
    font-size: 14px;
  }
  #cgg-contact-stable .cgg-form-title {
    font-size: 23px;
  }
}

@media screen and (max-width: 380px) {
  #cgg-contact-stable {
    padding: 60px 14px;
  }
  #cgg-contact-stable .cgg-container {
    gap: 35px;
  }
  #cgg-contact-stable .cgg-form-card {
    padding: 22px 14px;
    border-radius: 18px;
  }
  #cgg-contact-stable .cgg-title {
    font-size: 30px;
  }
  #cgg-contact-stable .cgg-form-title {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cgg-contact-stable .cgg-detail,
  #cgg-contact-stable .cgg-icon,
  #cgg-contact-stable .cgg-form-card {
    transition: none !important;
  }
}
