/*
Theme Name: Minimiser Theme
Author: BIM DIGITAL
Description: The most minimalist Wordpress theme compatible with Elementor
Requires at least: WordPress 5.0
Version: 1.0
*/

/* General */

body {
  margin: 0 !important;
}

img {
  width: auto;
  height: auto;
}

p {
}

h1 {
}

h2 {
}

h3 {
}

body.single-post {
    background-color: #F3F5F8;
}

.kl-accordion-faq{
	position: relative;
}
.kl-accordion-faq .e-n-accordion-item .elementor-image-box-img{
	display: none;
}

.kl-add-img-accordion img{
	border-radius: 16px !important;
	width: 100%;
	height: 650px !important;
	object-fit: cover;
	margin-top: 0;
}
.e-n-accordion-item-title-header:after{
	width: 100% !important;
}

  /* --- Style du conteneur et du bouton --- */
  .rdv-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Montserrat', sans-serif; /* À adapter selon votre thème */
	width: fit-content;
  }

  .rdv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #0b2359; /* Bleu foncé */
    padding: 15px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 22px;
    transition: transform 0.3 ease-in-out, box-shadow 0.3s ease-in-out;
  }

  .rdv-button:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #0b2359; 
  }

  .rdv-btn-subtext {
    margin-top: 6px;
    color: #ffffff;
    font-size: 16px;
  }

  /* --- Animation des ondes sonores (CSS) --- */
  .css-soundwave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px; /* Espace entre les barres */
    height: 24px;
    margin-right: 14px;
  }

  .css-soundwave .bar {
    width: 3px; /* Épaisseur des barres */
    background-color: #0b2359; /* Couleur des barres, identique au texte */
    border-radius: 50px;
    animation: soundwave-bounce 1s ease-in-out infinite;
  }

  /* Hauteurs initiales et délais d'animation pour créer l'effet d'onde */
  .css-soundwave .bar1 { height: 8px; animation-delay: 0.0s; }
  .css-soundwave .bar2 { height: 16px; animation-delay: 0.2s; }
  .css-soundwave .bar3 { height: 24px; animation-delay: 0.4s; } /* La plus grande au centre */
  .css-soundwave .bar4 { height: 16px; animation-delay: 0.6s; }
  .css-soundwave .bar5 { height: 8px; animation-delay: 0.8s; }

  /* L'animation qui fait grandir et rétrécir les barres */
  @keyframes soundwave-bounce {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); } /* Taille minimale au cours de l'animation */
  }

  /* L'animation qui change la couleur d'arrière plan du bouton */

a.rdv-button {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
}

.rdv-btn-container.center {
    width: 100%;
}

span.css-soundwave, span.rdv-btn-text {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease-in-out;
}

a.rdv-button::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #3d7fe2;
    z-index: 1;
    transition: height 0.3s ease-in-out;
}

a.rdv-button:hover::before {
    height: 100%;
}

a.rdv-button:hover {
    color: #fff;
}

a.rdv-button:hover .css-soundwave .bar {
    background-color: #fff;
}

a.rdv-button.blue {
    background-color: #0b2359;
    color: #fff;
}

a.rdv-button.blue .css-soundwave .bar {
    background-color: #fff;
}

a.rdv-button.blue::before {
    background-color: #fff;
    color: #3d7fe2;
}

a.rdv-button.blue:hover .css-soundwave .bar {
    background-color: #0b2359;
}

a.rdv-button.blue:hover {
    color: #0b2359;
}

.rdv-btn-subtext.blue {
    color: #0b2359;
} 

nav.elementor-pagination {
    margin-top: 70px;
}

.page-numbers {
    font-weight: 600;
    font-size: 20px;
    color: #3D7FE2;
}

span.page-numbers.current {
    background-color: #3D7FE2;
    padding: 15px 20px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
}

/* ------------------------- Single Post ------------------------- */

	body.single-post {
		background-color: #F3F5F8;
	}

	.img-une-sp .elementor-widget-image {
		aspect-ratio: 4 / 3;
		overflow: hidden;
	}

	.img-une-sp img {
		width: 100%;
		height: 100% !important;
		object-fit: cover;
		border-radius: 16px !important;
	}

.single-post .kl-header-main {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
	background-color: #0b2359 !important;
}

.single-post .logo-header-main .elementor-widget {
    margin-top: 0px !important;
}

.single-post .logo-header-main img {
    max-width: 150px;
    margin-top: -15px;
}

.img-auth-sp {
    width: fit-content !important;
}

.single-post .elementor-widget-theme-post-content {
    color: #222222;
    line-height: 1.5;
}

.cat-sp {
    width: fit-content;
    text-transform: uppercase;
}


/* -------------------------------------------------------------
Tout sauf Mobile
-------------------------------------------------------------- */

@media (min-width: 768px) {
}


/* -------------------------------------------------------------
Little Mobile
-------------------------------------------------------------- */

@media (max-width: 425px) {
}

/* -------------------------------------------------------------
Mobile
-------------------------------------------------------------- */

@media (max-width: 767.98px) {
	
	.kl-accordion-faq .e-n-accordion-item .elementor-image-box-img{
		display: block;
	}
	
	.kl-accordion-faq .elementor-image-box-wrapper{
		display: flex;
		flex-direction: column-reverse;
	}
	
	.kl-accordion-faq .e-n-accordion-item .elementor-image-box-img img{
		margin-top: 30px !important;
	}
	
	.home .kl-hero {
		background-image: url(https://otolab.fr/wp-content/uploads/2026/05/fond-hero-mobile-scaled.webp) !important;
		background-size: 110% !important;
		background-position: bottom center !important;
		padding-bottom: 500px !important;
	}
	

span.rdv-btn-text {
    font-size: 16px;
}
	
    header.elementor-location-header {
        background: transparent !important;
    }
	
}

/* -------------------------------------------------------------
Tablette
-------------------------------------------------------------- */

@media (min-width: 769px) and (max-width: 992px) {
}

/* -------------------------------------------------------------
Laptop
-------------------------------------------------------------- */

@media (min-width: 993px) and (max-width: 1200px) {
}

/* -------------------------------------------------------------
Desktop
-------------------------------------------------------------- */

@media (min-width: 1201px) {
}
