/*
Theme Name:  De Vert et d'Ô — Enfant
Template:    devertetdo
Version:     1.0.0
Author:      De Nos Jours
Text Domain: devertetdo-child
*/

/* — Page Entreprises : témoignages — */
.dvo-temoignages .swiper-wrapper{align-items:stretch!important}
.dvo-temoignages .swiper-slide{height:auto!important;display:flex!important;flex-direction:column}
.dvo-temoignages .swiper-slide .e-con,
.dvo-temoignages .swiper-slide .e-con-inner{flex:1 1 auto;display:flex;flex-direction:column}
.dvo-temoignages .swiper-slide .elementor-widget:last-child{margin-top:auto!important;padding-top:24px}

.dvo-lien .elementor-button .elementor-button-icon svg{width:1.65em!important;height:auto!important}

/* — Page Entreprises : saisons — */
@media (min-width:1025px){
  .dvo-saison-texte p{min-height:5lh}
}

/* — Newsletter — */
.dvo-newsletter{
  --nl-fond-bouton:#9c9080;
  --nl-fond-bouton-survol:#8a7f70;
  --nl-texte:#1d1b19;
  --nl-indicatif:#9a9a9a;
}

/* Ligne : champ + bouton collés */
.dvo-newsletter .elementor-form-fields-wrapper{display:flex;flex-wrap:nowrap;margin:0!important}
.dvo-newsletter .elementor-field-group{margin:0!important;padding:0!important}

/* Bloc blanc : libellé au-dessus, champ dessous */
.dvo-newsletter .elementor-field-type-email{
  flex:1 1 auto;min-width:0;overflow:hidden;
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:center;row-gap:.25rem;
  background:#fff;padding:1.25rem 1.5rem!important;
}
.dvo-newsletter .elementor-field-type-email > *{grid-column:1!important;width:100%!important;max-width:none!important}
.dvo-newsletter .elementor-field-type-email label{
  width:auto!important;margin:0 0 .25rem!important;padding:0!important;
  font-size:.75rem;font-weight:600;line-height:1.3;color:var(--nl-texte);
}
.dvo-newsletter .elementor-field-type-email input{
  width:100%!important;min-height:0;padding:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
  font-size:1rem;color:var(--nl-texte);
}
.dvo-newsletter .elementor-field-type-email input::placeholder{color:var(--nl-indicatif);opacity:1}

/* Bouton */
.dvo-newsletter .e-form__buttons{flex:0 0 auto;display:flex;width:auto!important}
.dvo-newsletter .elementor-button{
  align-self:stretch;padding:0 1.75rem;border:0;border-radius:0!important;
  background:var(--nl-fond-bouton)!important;color:#fff!important;
  font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  transition:background .2s;
}
.dvo-newsletter .elementor-button:hover,
.dvo-newsletter .elementor-button:focus-visible{background:var(--nl-fond-bouton-survol)!important}

/* Mobile : bouton sous le champ */
@media (max-width:767px){
  .dvo-newsletter .elementor-form-fields-wrapper{flex-wrap:wrap}
  .dvo-newsletter .elementor-field-group{flex:1 1 100%;width:100%!important}
  .dvo-newsletter .elementor-button{width:100%;padding:1.1rem}
}

/* — Page Entreprises : Le lieu / La table — */
@media (min-width:1025px){
  .dvo-trio :is(h1,h2,h3,h4,h5,h6).elementor-heading-title{min-height:3lh}
}
.dvo-trio,
.dvo-trio > .e-con-inner{align-items:stretch!important}
.dvo-trio .e-con,
.dvo-trio .e-con > .e-con-inner{display:flex;flex-direction:column}
.dvo-trio .e-con > .e-con-inner{flex:1 1 auto}
.dvo-trio .e-con .elementor-widget:last-child{margin-top:auto!important;padding-top:2.5rem}}

/* — Page Entreprises : visionneuse vidéo au format vertical — */
.page-id-4535 .elementor-lightbox .elementor-video-container{
  --video-aspect-ratio:0.5625;
  width:auto!important;height:auto!important;
}
.page-id-4535 .elementor-lightbox .elementor-video-container > div{
  width:auto!important;height:auto!important;display:flex;justify-content:center;
}
.page-id-4535 .elementor-lightbox .elementor-video-container iframe{
  aspect-ratio:9/16!important;
  height:min(85vh,85svh)!important;width:auto!important;max-width:92vw;
  margin:auto;display:block;background:transparent!important;
}

@media (min-width:1025px){
  .dvo-saison-titre .elementor-heading-title{min-height:2lh}
}




