/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Bouton formulaire de contact */
div.wpcf7 .main-form button[type="submit"] {
	background-color: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
	color: white;
}

div.wpcf7 .main-form button[type="submit"]:hover {
	background-color: transparent;
	color: var(--e-global-color-primary);
}

/** Livraison **/
/* tiret jaune */
.mw-slider-pre-title {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mw-slider-pre-title::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: var( --e-global-color-secondary );
    flex-shrink: 0;
}

.mw-slider-title {
    line-height: initial;
}


.hdr-flottant {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    animation: hdr-flottant-blanc linear both;
    animation-timeline: scroll(root);
    animation-range: 0 120px;
}

@keyframes hdr-flottant-blanc {
    to {
        background-color: #FFFFFF;
        background-image: none;
        box-shadow: 0 6px 24px rgba(18,33,26,.08);
        border-bottom-color: transparent;
    }
}


@media (max-width: 767px) {
    body.admin-bar .hdr-flottant { top: 46px; }
	
	.hdr-flottant {
		margin: 0 !important;
		transform: none !important;
		width: 100%;
		max-width: 100%;
		position: relative;
	}


}


.ico8 {
    border: solid 1px;
    border-radius: 20px;
    padding: 7px;
}

.titre {
    color: #F6B829;
}

.surligne {
    text-decoration: underline 5px;
}


[class*="mega-wooplee"]:has(> .mega-wooplee-title) {
	background-color: #FFF;
  width: 80% ;
  align-self: center ;
  transform: translateY(-90px); 
  border-radius: 20px;
  position: relative;
  z-index: 2;
	text-align: center;
	align-items: center;
}

.lien-footer {
	font-weight: 900;
	color: #e61e6e !important;
}

.lien-footer:hover {
  text-decoration: underline;
}
/* FORM */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

.formulaire-contact {
  --texte: #0B3761;
  --fond: #F2F6FA;
  --creme: #FFF9ED;
  --champ: #FFFFFF;
  --bordure: #B9CADC;
  --bordure-hover: #7F9AB8;
  font-family: 'Quicksand', sans-serif;
  color: var(--texte);
}

.formulaire-contact input[type="text"],
.formulaire-contact input[type="email"],
.formulaire-contact input[type="tel"],
.formulaire-contact select,
.formulaire-contact textarea {
  width: 100%;
  box-sizing: border-box;
  font: 500 16px/1.4 'Quicksand', sans-serif;
  color: var(--texte);
  background: var(--champ);
  border: 1.5px solid var(--bordure);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(11, 55, 97, .06);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.formulaire-contact textarea { min-height: 150px; resize: vertical; }

.formulaire-contact input[type="text"]:hover,
.formulaire-contact input[type="email"]:hover,
.formulaire-contact input[type="tel"]:hover,
.formulaire-contact select:hover,
.formulaire-contact textarea:hover {
  border-color: var(--bordure-hover);
}

.formulaire-contact input:focus,
.formulaire-contact select:focus,
.formulaire-contact textarea:focus {
  background: #fff;
  border-color: var(--texte);
  box-shadow: 0 0 0 4px rgba(11, 55, 97, .12);
}
.formulaire-contact ::placeholder { color: var(--texte); opacity: .55; }

.formulaire-contact label {
  display: block;
  font: 700 14px/1.3 'Quicksand', sans-serif;
  color: var(--texte);
  margin: 0 0 8px;
}
.formulaire-contact .wpcf7-form-control-wrap { 
	display: block;
}

.formulaire-contact select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3761' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.formulaire-contact .colonnes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  margin-bottom: 22px;
}
.formulaire-contact .pleine-largeur { grid-column: 1 / -1; }


.formulaire-contact .wpcf7-list-item { margin: 0; }

.formulaire-contact .note-formulaire {
  font: 500 13px/1.5 'Quicksand', sans-serif;
  color: var(--texte);
  opacity: .8;
  margin: 12px 0 22px;
}

.formulaire-contact .wpcf7-submit {
  -webkit-appearance: none;
  cursor: pointer;
  border: 0;
  background: var(--e-global-color-primary);
  color: white;
  font: 700 15px/1 'Quicksand', sans-serif;
  padding: 17px 30px;
  border-radius: 20px 6px 20px 6px;
  transition: transform .2s, box-shadow .2s;
	width: 100%;
}
.formulaire-contact .wpcf7-submit:hover { 
	background: var(
    --e-global-color-secondary)

}

.formulaire-contact .wpcf7-submit:focus-visible { 
	outline: 3px solid #F4A81D; 
	outline-offset: 3px; 
}

.formulaire-contact .wpcf7-not-valid { 
	border-color: #b3261e; 
	background: #fff; 
}

.formulaire-contact .wpcf7-not-valid-tip { 
	color: #b3261e; 
	font-size: 13px; 
	font-weight: 600; 
	margin-top: 6px; 
}

.formulaire-contact .wpcf7-response-output {
  border: 0 !important;
  background: var(--creme);
  color: var(--texte);
  border-radius: 14px;
  padding: 14px 18px !important;
  margin: 18px 0 0 !important;
  font: 600 14.5px/1.5 'Quicksand', sans-serif;
}


@media (max-width: 767px) {
  .formulaire-contact .colonnes { grid-template-columns: minmax(0, 1fr); }
}


/* CORRECTION MENU BURGER EN FRONT-OFFICE */

/* Ne pas appliquer la correction dans l'éditeur Elementor */
body:not(.elementor-editor-active)
.elementor-widget-container:has(
    .nav-widget[data-active-layout="burger"]
) {
    transform: none !important;
}

/* Panneau burger pleine largeur, hors éditeur Elementor */
body:not(.elementor-editor-active)
.nav-widget[data-active-layout="burger"][data-burger-panel-layout="below_nav"]
.nav-widget__panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
}


/** Article **/
.pa-article {
  --pa-stroke: #dbe7f3;
  line-height: 1.75;
  max-width: 1340px;
  margin-inline: auto;
	font-family: "Quicksand", Sans-serif;
}
.pa-article p { 
	margin-block: 0 1.1em;
}

.pa-article .pa-lead { 
	font-size: clamp(1.08rem, 1.6vw, 1.22rem); 
	line-height: 1.8; 
	margin-bottom: 28px; 
}

.pa-article h2, .pa-article h3 { 
	color: var(--e-global-color-primary); 
	line-height: 1.25; 
	font-weight: 750; 
}

.pa-article > h2 { 
	font-size: clamp(1.55rem, 2.5vw, 1.95rem); 
	margin-top: 40px; 
	margin-bottom: 16px; 
}
.pa-article > h3 { 
	font-size: 1.25rem; 
	margin-top: 24px; 
	margin-bottom: 12px; 
}

.pa-article :is(h2,h3)[id] { 
	scroll-margin-top: 115px; 
}

.pa-article .pa-accent { 
	color: var(--e-global-color-secondary); 
}

.pa-article .pa-toc {
  background: #f7fafd; 
	border: 1px solid var(--pa-stroke);
  border-radius: 18px; 
	padding: 24px 30px; 
	margin: 28px 0 38px;
}
.pa-article .pa-toc h2 { 
	font-size: 1.45rem; 
	margin: 0 0 12px; 
}

.pa-article .pa-toc ul { 
	margin: 0; 
	padding-left: 22px; 
}

.pa-article .pa-toc li { 
	padding: 3px 0; 
}

.pa-article .pa-highlight {
  background: var(--e-global-color-dc89eba); border-left: 5px solid var(--e-global-color-secondary);
  border-radius: 20px; 
	padding: 30px 34px;
  margin: 42px 0 26px;
}
.pa-article .pa-highlight h2 { 
	font-size: 1.75rem; 
	margin: 0 0 14px; 
	color: var(--e-global-color-secondary); 
}

.pa-article .pa-highlight p:last-child { 
	margin-bottom: 0; 
}

.pa-article .pa-faq {
  background: var(--e-global-color-00396d4); 	
	border-radius: 22px;
  padding: 34px 36px; 
	margin: 30px 0 44px;
}

.pa-article .pa-faq h2 { 
	font-size: 1.75rem; 
	margin: 0 0 20px; 
	color: var(---e-global-color-primary); 
}

.pa-article .pa-faq .wp-block-details {
  background: #fff; 
	border: 1px solid var(--pa-stroke);
  border-radius: 15px; 
	padding: 0; 
	margin: 0 0 10px;
  overflow: hidden;
}

.pa-article .pa-faq .wp-block-details:last-child { 
	margin-bottom: 0; 
}

.pa-article .pa-faq .wp-block-details summary {
  color: var(--e-global-color-primary);
	font-weight: 700; 
	cursor: pointer;
  padding: 17px 55px 17px 18px; 
	list-style: none;
  position: relative; 
	line-height: 1.5;
}

.pa-article .pa-faq .wp-block-details summary::-webkit-details-marker { 	
	display: none; 
}

.pa-article .pa-faq .wp-block-details summary::after {
  content: '+'; 
	position: absolute; 
	right: 16px; 
	top: 50%;
  transform: translateY(-50%); 
	border-radius: 50%;
  width: 24px; 
	height: 24px; 
	background: var(--e-global-color-primary);
  color: #fff; 
	display: grid; 
	place-items: center;
  font-size: 19px; 
	font-weight: 500; 
	line-height: 1;
}

.pa-article .pa-faq .wp-block-details[open] summary::after {
  content: '−'; 
	background: var(--e-global-color-secondary);
}
.pa-article .pa-faq .wp-block-details summary:focus-visible { 
	outline: 3px solid var(--e-global-color-secondary); 
	outline-offset: -3px; 
}

.pa-article .pa-faq .wp-block-details > :not(summary) {
  margin-left: 18px; 
	margin-right: 18px;
}

.pa-article .pa-faq .wp-block-details > :last-child { 
	margin-bottom: 18px; 
}

main.post {
	max-width: 1340px !important;
	margin-top: 6rem;

}

main.post h1 {
	font-family: "Quicksand", Sans-serif;
	font-size: 3rem;
  font-weight: 600;
	color: var(--e-global-color-primary);
	max-width: 1340px !important;
}

@media (max-width: 767px) {
	main.post,
  .pa-article {
    margin-left: 1rem;
    margin-right: 1rem;
  }
	
	main.post {
		margin-top: 1rem;
	}

  main.post h1 {
    font-size: 2rem;
		margin: 1rem; 
  }
	.pa-article .pa-toc { 
		padding: 20px; 
	}
  .pa-article .pa-highlight { 
		padding: 23px 22px; 
	}
	
  .pa-article .pa-faq { 
		padding: 24px 18px; 
		border-radius: 18px; 
	}
  .pa-article .pa-faq h2, .pa-article .pa-highlight h2, .pa-article h2 { 
		font-size: 1.5rem; 
	}
	
	.pa-article h3 {
		font-size: 1.2rem;
	}
	
  .pa-article .pa-faq .wp-block-details summary { 
		font-size: .94rem; 
	}
	
	.pa-featured-image {
        margin: 24px 0 30px;
        border-radius: 14px;
    }
}

.pa-featured-image {
    width: 100%;
    margin: 30px 0 36px;
    overflow: hidden;
    border-radius: 20px;
}

.pa-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/** FAQ **/
.bloc-faq .elementor-tab-title {
	border-radius: 20px;
}

.bloc-faq .elementor-widget-accordion .elementor-accordion {
	display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-hidden {
	display: none;
}

@media(max-width: 767px){
	.btn-hidden{
		display: block;
	}

	
	.btn-rdv, .btn-contact {
		width: 100%;
	}
	
	.btn-rdv .nav-widget__link-row{
		background: var(--e-global-color-primary) !important;
		justify-content: center !important;
		border-radius: 20px 6px !important;
		padding: 10px !important;
	}
	
	.btn-contact .nav-widget__link-row {
		border: 2px solid var(--e-global-color-primary) !important;
		margin-top: 20px !important;
		justify-content: center !important;
		border-radius: 20px 6px !important;
		padding: 10px !important;
	}
	
	.btn-rdv .nav-widget__link-row a {
		color: white !important;
	}

#nav-widget-dc0c13b .nav-widget__list {
    flex: 1;
}

#nav-widget-dc0c13b .btn-rdv {
    margin-top: auto !important;
}
}
	


  















