/*
Theme Name: Tak Design
Theme URI: 
Author: Marc
Author URI: 
Description: child de 2024
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: tak-design
Tags: 
*/


.slide-right{opacity:0;transform:translateX(-60px);transition:all .8s ease-out}
.slide-right.visible{opacity:1;transform:translateX(0)}

.slide-left{opacity:0;transform:translateX(60px);transition:all .8s ease-out}
.slide-left.visible{opacity:1;transform:translateX(0)}

.on_top{
	position:relative;
	z-index:100;
}

.outline_red { outline: 2px dashed red; }

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  .hide-desktop {
    display: block !important;
  }
   .text-mobile-small {
    font-size: 0.9rem !important;
    line-height: 1.4;
  }
  .reverse-mobile {
    flex-direction: column-reverse !important;
  }
  .center-mobile {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
  .full-mobile {
    width: 100% !important;
  }
}

.hide-desktop {
  display: none;
}

footer {
  margin-block-start: 0 !important;
}

.titre_over_video{
  margin-top:-130px !important;
  position: relative;
  z-index: 300;
  height: 130px;
}

.texte-flottant {
    position: sticky;
    top: 100px;
}

.btn-phone .wp-block-button__link::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    background-color: currentColor;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="black" d="M391.1 351.1c-28.7-28.7-57.7-45.7-86.3-17.1l-17.1 17.1c-12.8 12.8-44.8 6.4-102.4-51.2S121.3 210.3 134.1 197.5l17.1-17.1c28.7-28.7 11.5-57.6-17.1-86.3L97.1 57.1c-28.7-28.7-57.6-11.5-86.3 17.1L0 85.1C-11.5 96.6-17.1 112-17.1 128c0 89.6 76.8 217.6 166.4 307.2S367.4 601.6 457 601.6c16 0 31.4-5.6 42.9-17.1l10.9-10.9c28.7-28.7 45.7-57.6 17.1-86.3z"/></svg>') center / contain no-repeat;
}


.header-sticky {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background-color: var(--wp--preset--color--base);
}

body .formlayer-form input[type="text"], .formlayer-form input[type="email"], .formlayer-form input[type="number"], .formlayer-form input[type="tel"], .formlayer-form input[type="date"], .formlayer-form input[type="password"], .formlayer-form input[type="url"], .formlayer-form textarea {
  width: 100%;
  padding: 12px 16px 12px 2px;
  border-top: none;
  border-left: none;
  border-right:none;
  border-bottom: 1.5px solid #292929;
  border-radius: 0px;
  font-size: 15px;
  color: #1d2327;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
body .formlayer-form label{
  display: none;
}

.wp-block-navigation__overlay-container .wp-block-navigation__container.is-vertical>.wp-block-navigation-item {
  border-top: black 1px solid;
  padding:1.2em !important;
}

@media (max-width: 768px) {
footer {
    transform: none !important;
    overflow: visible !important;
    contain: none !important;
  }


  footer .navigation-mobile {
    display: flex !important;
    position: fixed !important;

    bottom: 0 !important;
    width: 100vw !important;
    z-index: 999999 !important;
    background: var(--wp--preset--color--base, #ffffff);
    padding-bottom: env(safe-area-inset-bottom);
  }
  

    body {
        padding-bottom: 60px; /* Ajuste selon la hauteur de ton menu */
    }
}
@media (min-width: 769px) {
    footer .navigation-mobile {
        display: none;
    }
}

.menu-telephone{
  background-color:#007300 !important;
padding:1em !important;
color:white !important;
}

.tak-language-switcher {
    color: rgb(151, 151, 151);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem !important;
}

.tak-language-switcher:hover {
    text-decoration: none;
}