/*
Theme Name:   Team Creative
Description:  Theme du site de TC
Author:       Superdev
Template:     hello-elementor
Version:      1.0.0
*/

.bloc-layout-row > * {
  min-width: 0;
}
 
[class*="bloc_image_principale_"] img,
[class*="bloc_image_secondaire_"] img {
  width: 100%;
  height: auto;
  display: block;
}
 
/* ─── MODE : full_image ─── */
.full_image [class*="bloc_image_principale_"] {
  flex: none;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}
.full_image img {
  width: 100%;
  object-fit: cover;
}
 
/* ─── MODE : titre_texte ─── */
.titre_texte [class*="bloc_image_principale_"],
.titre_texte [class*="bloc_image_secondaire_"] {
  display: none;
}
.titre_texte .bloc-layout-row {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 30vh;
}
.titre_texte .bloc-col-texte {
  width: 100%;
}
.titre_texte [class*="bloc_texte_"] {
  max-width: 75%;
}
@media (max-width: 1024px) {
  .titre_texte [class*="bloc_titre_"] h2 {
    max-width: 75%;
  }
  .titre_texte [class*="bloc_texte_"] {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .titre_texte h2,
  .titre_texte p {
    max-width: 100%;
  }
}
 
/* ─── MODE : image_texte ─── */
.image_texte [class*="bloc_image_principale_"],
.image_texte .bloc-col-texte {
  flex: 1 1 50%;
  max-width: 50%;
}
.image_texte img {
  width: 100%;
  object-fit: cover;
}
.image_texte [class*="bloc_image_secondaire_"] {
  width: 100%;
  margin-top: 25px;
}
.image_texte [class*="bloc_image_principale_"]:has(img[src=""]),
.image_texte [class*="bloc_image_principale_"]:has(img[src*="placeholder"]) {
  flex: 0 0 0%;
  max-width: 0;
  overflow: hidden;
}
.image_texte .bloc-col-texte:has(.elementor-heading-title:empty):has(.elementor-widget-text-editor :empty) {
  flex: 0 0 0%;
  max-width: 0;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .image_texte .bloc-layout-row > * {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.image_texte h2 { max-width: 50%; }
.image_texte p  { max-width: 75%; }
@media (max-width: 1024px) {
  .image_texte h2 { max-width: 75%; }
  .image_texte p  { max-width: 100%; }
}
@media (max-width: 767px) {
  .image_texte h2,
  .image_texte p  { max-width: 100%; }
}
 
/* ─── MODE : custom ─── */
.custom [class*="bloc_image_principale_"],
.custom .bloc-col-texte {
  flex: 1 1 50%;
  max-width: 50%;
}
.custom [class*="bloc_image_principale_"]:has(img[src=""]),
.custom [class*="bloc_image_principale_"]:has(img[src*="placeholder"]),
.custom .bloc-col-texte:has(.elementor-heading-title:empty):has(.elementor-widget-text-editor :empty) {
  flex: 0 0 0%;
  max-width: 0;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .custom .bloc-layout-row > * {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.custom p  { max-width: 75%; }
@media (max-width: 1024px) {
  .custom h2 { max-width: 75%; }
  .custom p  { max-width: 100%; }
}
@media (max-width: 767px) {
  .custom h2,
  .custom p  { max-width: 100%; }
}
 
[class*="bloc_texte_"] p {
  max-width: 60rem;
  margin: 0 auto;
}

/* ─── navbar ─── */

.elementor-nav-menu--dropdown.elementor-nav-menu__container {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}