/*!
Theme Name: lp-cocoon
Theme URI: 
Author: Julien Pasini
Author URI: https://www.devjulien.ovh/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lp-cocoon
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

lp-cocoon is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/* =========================
   POPPINS – REGULAR
========================= */
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================
   POPPINS – ITALIC
========================= */
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* =========================
   POPPINS – MEDIUM
========================= */
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* =========================
   POPPINS – SEMIBOLD
========================= */
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* =========================
   POPPINS – BOLD
========================= */
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================
   POPPINS – EXTRABOLD
========================= */
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* =========================
   POPPINS – BLACK
========================= */
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noe Display';
  src: url('fonts/NoeDisplay-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	font: normal normal normal 1rem / 2 Poppins;
	max-width:1440px;
	margin:0 auto;

}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
    background:#FCF6F3;
}

header.site-header {
    background: url("img/hero.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 500px;

    display: flex;
    justify-content: center; /* centre horizontalement le contenu */
    position: relative;
}

.header-left {
    position: absolute;
    left: 20px; /* espace depuis la gauche */
    top: 50%;
    transform: translateY(-50%); /* centre verticalement */
}

.header-center {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* aligné en haut */
}

.header-right {
    position: absolute;
    top: 20px;
    right: 50px;
}

.header-logo-container{
	padding-top:20px;
}

.header-logo-container svg {
    max-width: 200px;
    height: auto;
}

.header-sub-logo-container{
	padding-left:60px;
}

.header-sub-logo-container svg {
    max-width: 630px; /* ajuster selon la taille voulue */
    height: auto;
}

.footer{
    background: linear-gradient(90deg, #ff7d00, #ff4600);
    min-height: 464px;
    padding: 40px 64px 0 64px;
    position: relative;
    z-index: 0;
}

.branding__logo-mobile {
    display: none;
}

.text-blue-medium
 {
    color: #003d9f;
}

a {
    text-decoration: inherit;
}

.img-fluid--f img, .svg-block svg {
    display: block;
    height: auto;
    width: 100%;
}

@media (min-width: 768px) {
    footer .footer-image {
        background: url("img/logo-filigrane-footer.png");
        bottom: 0;
        height: 424px;
        position: absolute;
        right: 0;
        width: 559px;
        z-index: 0;
    }
}

@media (min-width: 768px) {
    footer .footer-filigrane {
        position: relative;
        z-index: 1;
    }
}

.text-white {
    color: #fff;
    color: var(--color-white);
}
.max-w-site {
    margin-left: auto;
    margin-right: auto;
    max-width: 1440px;
}

.flex {
    display: flex;
}

.w-full {
    width: 100%;
}

.wrapper-footer>div>div>div>ul {
    display: flex;
    justify-content: space-between;
}

menu, ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hover\:underline:hover
 {
    text-decoration-line: underline;
}

.wrapper-footer>div>div>div>ul>li {
    padding: 16px;
}

.btn--cta:not(:has(.nav-main .level-2)) {
    transition: all .2s ease-in-out;
}

.bg-orange-gradient, .bg-transparent-gradient {
    background: linear-gradient(90deg, #ff7d00, #ff4600);
}

.gap-\[8px\] {
    gap: 8px;
}
.flex-row-reverse {
    flex-direction: row-reverse;
}
.z-50 {
    z-index: 50;
}
.top-\[90\%\] {
    top: 90%;
}
.right-\[24px\] {
    right: 24px;
}
.fixed {
    position: fixed;
}
.btn--icon-only {
    //height: 2.5rem;
    justify-content: flex-end;
    overflow: hidden;
    padding: 1rem .5rem;
    white-space: nowrap;
    //width: 2.5rem;
}
.btn--cta {
    --color-button: #fff;
    --bg-button: var(--color-orange-c);
    align-items: center;
    background-color: var(--bg-button);
    border-radius: 24px;
    color: var(--color-button);
    display: flex;
    justify-content: center;
    padding: 7px 12px;
}
.text-button-1 {
    font: normal normal 600 .875rem / 1.7143 Poppins;
}

.wrapper-footer span, .wrapper-footer p, .wrapper-footer a, .wrapper-footer li{
	color:#ffffff;
}

.wrapper-footer>div>div>div>ul>li>button {
    cursor: none;
    font-family: Poppins;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    padding-bottom: 16px;
    pointer-events: none;
    border:0;
    text-align: left;
}
[role=button], button {
    cursor: pointer;
}
[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}
button, select {
    text-transform: none;
}
button, input, optgroup, select, textarea {
    font-feature-settings: inherit;
    color: inherit;
    font-family: inherit;
    font-size: 100%;
    font-variation-settings: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
}

.wrapper-footer>div>div>div>ul>li ul>li {
    font-size: 16px;
    font-weight: 600;
    line-height: 34px;
    padding-bottom: 16px;
}

.h-full {
    height: 100%;
}

.mt-\[28px\] {
    margin-top: 28px;
}

.justify-between
 {
    justify-content: space-between;
}

.flex {
    display: flex;
}
.sub-footer {
    bottom: 40px;
    position: relative;
    width: 100%;
}

.text-center {
    text-align: center;
}

.items-center {
    align-items: center;
}
.flex-col {
    flex-direction: column;
}

.mb-\[24px\] {
    margin-bottom: 24px;
}
.text-footer-legal {
    font: normal normal 500 .75rem / 2 Poppins;
}
blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
    margin: 0;
}

p{
    color:#282828;
    font-size:16px;
    line-height:25px;
    font-family: Poppins;
    font-weight:400;
}
p strong{
    color:#282828;
    font-size:16px;
    line-height:25px;
}

/*
.home p{
    color:#282828;
    font-size:16px;
    line-height:35px;
    font-family: Poppins;
    font-weight:400;
}
*/
strong{
    font-family: Poppins;
    font-weight:700;
}
/*
.home p strong{
    color:#282828;
    font-size:16px;
    line-height:35px;
}*/

h1{
    font-family: Noe Display;
    color:#282828;
    line-height:50px;
    font-size:36px;
    text-align:center !important;
}

h2{
     font-family: Noe Display;
    font-weight:900;
    font-size:27px;
    line-height:40px;
    color:#282828;
}

h3{
    font-family: Noe Display;
    font-weight:900;
    font-size:20px;
    line-height:31px;
    color:#282828;
}

.small-title{
    font-family: Noe Display;
    font-weight:900;
    font-size:26px;
    line-height:31px;
    color:#282828;
}

h4{
    font-family: Noe Display;
    font-weight:900;
    font-size:25px;
    line-height:40px;
    color:#282828;
}

i{
    font-style: italic;
}

.wp-block-button a{
    background: linear-gradient(90deg, #ff7d00, #ff4600);
    font-family: Poppins;
    font-weight:700;
    font-size:16px;
    line-height:16px;
    color:#ffffff;
}

.wp-block-group{padding:50px 100px;}
.wp-block-group.no-padding{padding:0;}

nav.main-navigation{
    width:100%;
    background:#FCF6F3;
    padding:40px 0 40px 0;
}

nav.main-navigation .menu{
    display:flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.main-navigation .menu li{
    background:#FD6E11;
    border-radius:20px;
    padding:7px 10px;
}

nav.main-navigation .menu li a{
    color:#FFFFFF;
    font-family: Poppins;
    font-weight:700;
    font-size:16px;
    line-height:16px;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content:center;
    padding:5px 0;
}

nav.main-navigation .menu li.current-menu-item, nav.main-navigation .menu li:hover{
    background:#DCD2EB;
}

nav.main-navigation .menu li.current-menu-item > a, nav.main-navigation .menu li:hover > a{
    color:#000000;
}

.menu-header li{
    background:#FD6E11;
    border-radius:20px;
    padding:7px 10px;
}

.menu-header li a{
    color:#FFFFFF;
    font-family: Poppins;
    font-weight:700;
    font-size:16px;
    line-height:16px;
}

.menu-header li.current-menu-item, .menu-header li:hover{
    background:#DCD2EB;
}

.menu-header li.current-menu-item > a, .menu-header li:hover > a{
    color:#000000;
}

.menu-header li.current-menu-item > a, .menu-header li:hover .lien_tel svg path{
    fill:#000000;
}

.bloc-avis{
    padding:100px;
}

.bloc-avis h2{
    font-weight:700;
    font-size:27px;
}

.video {
  position: relative;
  display: inline-block;
}

.video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/bt-play.svg") no-repeat center;
  background-size: 50px auto;
  pointer-events: none;
}

.next a{
  position: relative;
  padding-left: 43px;
}

.next a::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("img/bt-next.svg") no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.btn-slider{
    padding:8px;
    color:#000000;
    border:1px solid #ff6e00;
    border-radius:100px;
    background:transparent;
}

.btn-slider:hover{
    background:linear-gradient(90deg, #ff7d00, #ff4600);
    color:#ffffff;
}

.btn-slider:hover > path{
    fill:#ffffff;
}

.slider__controls__btn:disabled{
    pointer-events:none;
}

.slider__controls__btn:disabled .btn-slider{
    border-color:rgb(40, 40, 40);
}

.video-list__slider__indicators__buttons{
    display:flex;
    gap:20px;
}

.video-list__slider__indicators__steps{
    background:#ffdccd;
    height:8px;
    border-radius:2px;
}

.video-list__slider__indicators__steps span{
    background:#ff6e00;
    border-radius:2px;
}

.video-list__slider__dk{
    margin-left:115px;
}

.video-list__slider__indicators{
    width:70%;
    margin:0 auto;
    margin-top:30px;
}

.video-list__videos__video__image{
  height: 385px;
}

.video-list__videos__video__image > .img__wrapper{
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.video-list__videos__video__image > .img__wrapper > .img__background{
  display: none;
}

.video-list__videos__video__image > .img__wrapper .img__content{
    height:100%;
}

.video-list__videos__video__image > .img__wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.text-heading-3{
    margin-top:25px;
    color:#282828;
    font-family: Noe Display;
    font-weight:900;
    font-size:22px;
    line-height:28px;
    display:inline-block;
}

@media (max-width: 1100px) {
    nav.main-navigation .menu{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        text-align: center;
        width: 80%;
        margin: 0 auto;
    }

    header.site-header{
        justify-content: flex-start;
    }

    .header-center{
        margin-left:30px;
    }
}

@media (max-width: 900px) {
    .wrapper-footer>div>div>div>ul{
        flex-direction:column;
    }
}

@media (max-width: 768px) {

    body{
        width:100%;
    }

    .wp-block-columns {
        max-width:100% !important;
    }

    .wp-block-group{
        padding:20px 20px;
    }

    .bloc-avis{
        padding:20px;
    }

    .header-sub-logo-container svg{
        width:260px;
    }

    .header-left{
        top:80%;
        left:0;
    }

    .header-left img{
        width: 80% !important;
    }

    header.site-header{
        justify-content: center;
    }

    .header-right{
        //display: none;
    }

    header.site-header {
        background-position-x: -500px;
    }

    #guide1 .wp-block-columns, #guide3 .wp-block-columns, #guide5 .wp-block-columns{
        flex-direction: column-reverse;
    }

    .txt-accueil{
        padding:0 !important;
    }

    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
        padding:10px;
    }
}

@media (max-width: 450px) {
    header.site-header {
        background-position-x: -830px;
    }
}

.video-lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.9);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.video-lightbox iframe{
    width:90%;
    max-width:900px;
    height:506px;
}

.video-lightbox.active{
    display:flex;
}

body.no-scroll{
    overflow:hidden;
}

.image-cocoon{
    width: 60%;
}

#podcast-modal{
    display: none;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
}

.modal-content {
    max-width: 600px;
    margin: 10% auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    border: 0;
}

body.modal-open {
    overflow: hidden;
}

.align-right img{
    float: right;
}

.lien_tel svg{
    vertical-align: middle;
}

.bt-phone{
    position: fixed;
    top:130px;
    right:0;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    z-index: 10000;
}

.bt-phone span{
    display: block;
    line-height: 23px;
}

.lien_tel{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wp-block-embed.wp-embed-aspect-9-16 {
  aspect-ratio: 9 / 16;
}

.wp-block-embed.wp-embed-aspect-9-16 iframe {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
}

figure.wp-block-image img{
    object-fit: cover;
}

.page-404{padding:20px 10px;text-align:center;}