/* ===========================
   RÈLES GLOBALES
   =========================== */

/*animation des éléments*/
a, a:hover, a svg, a:hover svg{
    -webkit-transition-property: all !important;
    -o-transition-property: all !important;
    transition-property: all !important;
    -webkit-transition-duration: 0.2s!important;
    -o-transition-duration: 0.2s!important;
    transition-duration: 0.2s!important;
    -webkit-transition-timing-function: gentle !important;
    -o-transition-timing-function: gentle !important;
    transition-timing-function: gentle !important;
}

/*Couleurs*/

:root {
    --orange: #E04D2D;
    --orange-transp: rgba(224, 77, 45, 0.20);
    --blanc:  #FFFFFF;
    --blanc-transp:  rgba(255, 255, 255, 0.30);
    --noir:   #373737;
    --gris:   #F8F9FA;
    --marron: #603F36;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px; /* pilules/cercles */
}

body{color: var(--noir);}

.bg_orange{background-color: var(--orange);}
.bg_grey{background-color: var(--gris);}
.bg_blanc{background-color: var(--blanc);}

.txt_orange{color: var(--orange);}
.txt_blanc{color: var(--blanc);}

.shadow_light{box-shadow: 0 20px 60px 0 rgba(0, 0, 0, 0.08);}

/*Polices*/

body{font-family: "Roboto", sans-serif;}
h2{font-size: 2.5rem;line-height: 2.5rem;}
h3{font-weight: normal;}
.tomarik{font-family: 'Tomarik Brush';font-weight: lighter;}
@font-face {
    font-family: 'Tomarik Brush';
    src: url('fonts/Tomarik-Brush.eot');
    src: url('fonts/Tomarik-Brush.eot?#iefix') format('embedded-opentype'),
        url('fonts/Tomarik-Brush.woff2') format('woff2'),
        url('fonts/Tomarik-Brush.woff') format('woff'),
        url('fonts/Tomarik-Brush.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.has-text-centered { text-align: center; }
.has-text-left { text-align: left; }

/*A type Boutons*/
.bouton{
    display:inline-block;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(55, 55, 55, 0.20);
    border-bottom: 2px solid rgba(55, 55, 55, 0.20);
    padding: 17px 25px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

.bouton::after {
    content: '›';
    margin-left: 8px;
}

.bouton:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

.bouton_blanc{
    background-color: var(--blanc);
    color: var(--orange);
}

.bouton_orange{
    background-color: var(--orange);
    color: var(--blanc);
}

/*Listes*/
ul.liststylebullet{
    list-style: inherit!important;
    padding-left: 20px;
}

/*Hashtag*/
i.hashtag svg{
    width: 20px;
    fill: currentColor;
    display: inline;
    margin-right: 10px;
}

/* Marges et Gap */
.paddingtopbottom100{
    padding-top: 100px;
    padding-bottom: 100px;
}

.padding40{
    padding: 40px;
}

.gapM{gap: 30px!important;}

/* Soulignements */
.souligne_orange_transp{
    background: linear-gradient(transparent 50%, var(--orange-transp) 50%);
    display: inline;
}

.souligne_blanc_transp{
    background: linear-gradient(transparent 50%, var(--blanc-transp) 50%);
    display: inline;
}

.souligne_orange{
    background: linear-gradient(transparent 50%, var(--orange) 50%);
    display: inline;
}

/* Wave divider */
.grey_wave{fill: var(--gris);}
.orange_wave{fill: var(--orange);}
.white_wave{fill: var(--blanc);}

.divider-wrap {
  width: 100%;
  height: 60px;
  overflow: hidden;
}
.divider-wrap svg {
  width: 100%;
  height: 100%;
}

.topwavedivider, .bottomwavedivider{
    width: 100%;
    position: absolute;
} 
.topwavedivider{
    rotate: 180deg;
    top: -1px;
}

.bottomwavedivider{
    width: 100%;
    bottom: 0;
}

/* Autres */
.relative{position: relative;}

/* ===========================
   TOPBAR
   =========================== */
.topbar{
    position: relative;
    z-index: 1;
}

.topbar .container{
    min-height: 40px;
    color: var(--blanc);
    gap: 1em;
    font-size: 0.9rem;
}

.topbar a svg {
    fill: var(--blanc);
    width: 18px;
    height: 18px;
    display: block;
}

.topbar a:hover svg {
    opacity: 0.7;
    transform: scale(1.2);
}

.blocs_argu_container{
    width: 100%;
}

/* ===========================
   HEADER
   =========================== */
header{
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 80px 0 rgba(0, 0, 0, 0.10);
}

header > .columns{
    min-height: 70px;
    padding: 0 1em;
    max-width: 1400px;
    margin: auto;
}

.header_logo{
    width: 120px;
}

nav.menu ul{
    display: flex;
    gap: 1.5em;
}

nav.menu ul li a{
    display: block;
    font-weight: 600;
}

nav .menu_bouton{
    display:inline-block;
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15);
    font-weight: 700;
    background-color: var(--orange);
    color: var(--blanc);
}

nav .menu_bouton:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width:1200px) {
    .menu .menu_item{
        font-size: 0.9rem;
    }
    nav.menu ul{
    gap: 0.8em;
    }
    nav .menu_bouton{
    padding: 5px 10px;
    font-size: 0.9rem;
    }
    nav .menu_bouton span{
    display: none;
    }
    .header_logo{
    width: 100px;
    }
}

/* ===========================
   BURGER & MENU MOBILE
   =========================== */

/* Burger — caché par défaut (desktop) */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 6px;
    flex-shrink: 0;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--noir);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

/* Burger animé → croix */
.burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay menu mobile */
.mobile_menu_overlay {
    position: fixed;
    inset: 0;
    background-color: var(--blanc);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile_menu_overlay.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile_menu_nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile_menu_nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    list-style: none;
}

.mobile_menu_nav ul li {
    width: 100%;
    text-align: center;
}

.mobile_menu_item {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--noir);
    padding: 0.75rem 2rem;
    border-bottom: 1px solid rgba(55, 55, 55, 0.08);
    transition: color 0.2s ease !important;
}

.mobile_menu_nav ul li:first-child .mobile_menu_item {
    border-top: 1px solid rgba(55, 55, 55, 0.08);
}

.mobile_menu_item:hover {
    color: var(--orange);
}

/* Affichage mobile ≤ 960px */
@media (max-width: 960px) {
    .burger {
        display: flex;
    }

    nav.menu {
        display: none;
    }

    header > .columns {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }
}

/* ===========================
   HERO
   =========================== */

.hero{
    height: calc(100vh - 110px);
    background-image: url("images/hero.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero .gradient-bg-bottom{
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 48.87%, rgba(0, 0, 0, 0.85) 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero .container {
    height: 100%;
    padding: 1em;
    gap: 1em;
    z-index: 1;
    position: relative;
}

.flex-bottom {
    justify-content: flex-end;
}

.hero .partageonsnosenergies{
    width: 200px;
    position: absolute;
    top: 10%;
    left: 10%;
}

.hero h1{
    font-size: 5rem;
    line-height: 6rem;
}

.hero h1::after{
    content: '';
  display: block;
  width: 76px;
  height: 58px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 75.67 58.01'%3E%3Cpath fill='%23ffffff' d='M24.59,58.01c-1.32,0-2.54-.88-2.9-2.23-.43-1.6.52-3.25,2.12-3.67l48.08-12.87c1.6-.43,3.25.52,3.67,2.12.43,1.6-.52,3.25-2.12,3.67l-48.08,12.87c-.26.07-.52.1-.78.1ZM15.91,47.3c-.94,0-1.87-.44-2.46-1.27-.95-1.35-.63-3.23.73-4.18l20.55-14.46c1.35-.95,3.23-.63,4.18.73.95,1.35.63,3.23-.73,4.18l-20.55,14.46c-.52.37-1.13.55-1.72.55ZM3,38.05c-.64,0-1.29-.21-1.84-.63-1.31-1.02-1.55-2.9-.53-4.21L25.5,1.16c1.02-1.31,2.9-1.55,4.21-.53,1.31,1.02,1.55,2.9.53,4.21L5.37,36.89c-.59.76-1.48,1.16-2.37,1.16Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: -30px;
  right: -50px;
}

.hero h1::before{
    content: '';
  display: block;
  width: 50px;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 75.67 58.01'%3E%3Cpath fill='%23ffffff' d='M24.59,58.01c-1.32,0-2.54-.88-2.9-2.23-.43-1.6.52-3.25,2.12-3.67l48.08-12.87c1.6-.43,3.25.52,3.67,2.12.43,1.6-.52,3.25-2.12,3.67l-48.08,12.87c-.26.07-.52.1-.78.1ZM15.91,47.3c-.94,0-1.87-.44-2.46-1.27-.95-1.35-.63-3.23.73-4.18l20.55-14.46c1.35-.95,3.23-.63,4.18.73.95,1.35.63,3.23-.73,4.18l-20.55,14.46c-.52.37-1.13.55-1.72.55ZM3,38.05c-.64,0-1.29-.21-1.84-.63-1.31-1.02-1.55-2.9-.53-4.21L25.5,1.16c1.02-1.31,2.9-1.55,4.21-.53,1.31,1.02,1.55,2.9.53,4.21L5.37,36.89c-.59.76-1.48,1.16-2.37,1.16Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -10px;
  left: -40px;
  transform: rotate(180deg);
}

.hero h2{
    font-size: 3rem;
    max-width: 700px;
}

.hero em{
    font-size: 0.8rem;
}

.hero .bouton_container{
    margin-top: 1em;
    margin-bottom: 2em;
}

.hero .zwing{
    fill: var(--orange);
    width: 100px;
    position: absolute;
    left: 10%;
    bottom: -3%;
}

@media (max-width:767px) {
    .hero h1{
        font-size: 3rem;
        line-height: 3rem;
    }

    .hero h2{
        font-size: 1.5rem;
        line-height: 1;
        max-width: 400px;
    }
    .hero .partageonsnosenergies{
        width: 150px;
        position: absolute;
        top: 5%;
        left: 10%;
    }
    .hero h1::after{
        width: 50px;
        height: 30px;
        top: -15px;
        right: -30px;
    }
    .hero .zwing{
        width: 70px;
        left: 2%;
        bottom: -5%;
    }
}

/* ===========================
   REJOINDRE
   =========================== */

.bloc_argu{
    padding: 40px;
    gap: 10px;
}

.bloc_argu i svg{
    height: 40px;
    fill: currentColor;
}
.rejoindre .container{
    position: relative;
}

.rejoindre .zwing{
    fill: var(--orange);
    width: 100px;
    position: absolute;
    right: -50px;
    top: 200px;
}

@media (max-width:767px) {
    .rejoindre .zwing{
        width: 70px;
        right: 0px;
        top: 300px;
    }

}

/* ===========================
   CHIFFRES
   =========================== */
.chiffres h4{
    font-size: 3rem;
}

.chiffres i svg{
    width: 50px;
    margin: auto;
}

/* ===========================
   AVANTAGES
   =========================== */
.avantages .bloc_argu{
    position: relative;
}
.avantages .zwing{
    width: 80px;
    position:absolute;
    top: 50px;
}

@media (max-width:992px) {
    .avantages .zwing{
        width: 60px;
        left: -30px;
    }
}

@media (max-width:767px) {
    .avantages .zwing{
        width: 60px;
        left: -30px;
    }
}

/* ===========================
   ACCOMPAGNEMENT
   =========================== */

.accompagnement ul.blocs_tag_container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.accompagnement ul.blocs_tag_container li{
    display: inline-block;
    background-color: var(--gris);
    padding: 1rem 1.25rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(55, 55, 55, 0.07);
}

.accompagnement .bouton_container{
    position: relative;
}

.accompagnement .zwing{
    fill: var(--marron);
    width: 65px;
    position: absolute;
    top: -250px;
    left: -100px;
}

@media (max-width:992px) {
    .accompagnement .zwing{
        left: 100px;
        top: -450px;
    }
}

@media (max-width:767px) {
    .accompagnement .zwing{
        left: 0;
        top: -550px;
    }
}

/* ===========================
   PARCOURS
   =========================== */

.parcours h3{
    font-size: 3.5rem;
}

.parcours h4{
    font-size: 1.2rem;
}

/* ===========================
   LES PLUS
   =========================== */
   
.lesplus ul.blocs_tag_container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.lesplus ul.blocs_tag_container li{
    display: inline-block;
    background-color: var(--blanc);
    padding: 1rem 1.25rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(55, 55, 55, 0.07);
}

.lesplus .container{
    position: relative;
}

.lesplus .zwing{
    fill: var(--blanc);
    width: 170px;
    position: absolute;
    bottom: 500px;
    right: 250px;
}

@media (max-width:992px) {
    .lesplus .zwing{
        bottom: 850px;
        right: 50px;
    }
}

@media (max-width:768px) {
    .lesplus .zwing{
        bottom: 900px;
        right: -30px;
    }
}

/* ===========================
   TEMOIGNAGES
   =========================== */

.temoignages .bloc_temoignage{
    padding: 3em;
}

.temoignages .bloc_temoignage img{
    border-radius: 50%;
    width: 100px;
    margin: 0 auto 1em auto;
}

.temoignages .bloc_temoignage h4{
    font-size: 1.5em;
    line-height: 2rem;
    margin-bottom: 1em;
}

.temoignages .container{
    position: relative;
}

.temoignages .zwing{
    fill: var(--orange);
    width: 130px;
    position: absolute;
    top: -200px;
    right: 350px;
}

@media (max-width:992px) {
    .temoignages .zwing{
        top: -250px;
        right: 150px;
    }
}

@media (max-width:768px) {
    .temoignages .zwing{
        top: -200px;
        right: 150px;
    }
}

/* ===========================
   FOOTER
   =========================== */

footer h4{
    font-size: 1.1rem;
    margin-bottom: 1em;
}

footer .footer_logo{
    max-width: 200px;
}

footer ul li{
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

footer .footer_social_links a svg {
    fill: var(--orange);
    width: 25px;
    height: 25px;
    display: inline-block;
    margin: 1em;
}

footer .footer_social_links a:hover svg {
    transform: scale(1.2);
}

footer .footer_social_links{
    margin-top: 2em;
}

/* ===========================
   BOTTOM BAR
   =========================== */

.bottombar{
    padding: 1.5em;
    font-size: 0.8em;
}

/* ===========================
   MENTIONS LEGALES
   =========================== */
.mentions_legales h1{
    font-size: 3em;
    margin-bottom: 1em;;
}

.mentions_legales h2{
    font-size: 2em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.mentions_legales h3{
    font-size: 1.5em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.mentions_legales ul,
.mentions_legales ol{
    margin-top: 1em;
    margin-bottom: 1em;
    list-style: inherit;
    padding-left: 1em;
}