/*
Theme Name: Frelon37
Theme URI: https://frelon37.fr
Author: Frelon37
Author URI: https://frelon37.fr
Description: Thème WordPress pour Frelon37 – lutte contre les nids de frelons asiatiques et autres nuisibles.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frelon37
*/

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
}
/* ------FONTS-------- */
@font-face {
    font-family: "Futura";
    src:
        url('fonts/futura.ttf');
}
@font-face {
    font-family: "Futura_Bold";
    src:
        url('fonts/futura_bold.otf');
}

@font-face {
    font-family: "Futura_Condensed";
    src:
        url('fonts/futura-condensed-pt-medium-589e44ed1e3a5.otf');
}


h1 {
    font-family: "Futura";
    font-weight: 600;
    font-size: 20px;
    text-align: center;
}

h2 {
    font-family: "Futura_Bold";
    font-weight: 600;
    font-size: 25px;
    text-align: center;
}

h3 {
    font-family: "Futura";
    font-weight: 900;
    font-size: 17px;
}
p.card-text {
    font-family: "Futura";
    font-size: 12px;
}



/* ------BUTTONS------- */
.button {
    background-color: var(--white);
    border-radius: 20px;
    color: rgb(0, 0, 0);
    border: none;
    padding: 8px 10px;
    font-size: 12px;
    cursor: pointer;
    font-family: "Futura";
    padding-inline: 20px;
padding-block: 10px;
}

.button:hover {
    background-color: var(--noir);
    color: var(--white);
}

.button-jeune {
    background-color: var(--jeune);
    color: var(--noir);
    text-align: center;
}
.button-jeune:hover {
    background-color: var(--noir);
    color: var(--white);
}

.btn-wrap {
    position: relative;
    display: inline-block;
}

.btn-numero {
    background-color: #434343;
    color: var(--white);
    font-size: 26px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    transition: transform 0.4s ease;
}

.tri {
    position: absolute;
    transition: transform 0.4s ease;
}

.tri-1 {
    top: -14px;
    right: -6px;
}

.tri-2 {
    top: -4px;
    right: -27px;
}

.tri-3 {
    top: 20px;
    right: -23px;
}

.btn-wrap:hover .tri-1 {
    transform: translate(10px, -10px);
}

.btn-wrap:hover .tri-2 {
    transform: translate(17px, -10px);
}

.btn-wrap:hover .tri-3 {
    transform: translate(20px, 0px);
}

.btn-wrap:hover .btn-numero {
    transform: scale(1.1);
}
.btn-wrap a:hover {
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: var(--jeune);
    
}

/* ------COLORS-------- */
:root {
    --noir: black;
    --white: white;
    --jeune: #FBB216;
    --jeune_fonce: #FB8C16;
    --bacground: #F3F3F3;
}

/* ------ICONES-------- */

/* ------GENERAL-------- */

body {
    font-family: "Futura";
    background: var(--bacground);
    color: var(--noir);
}

.container {
    max-width: 300px;
    margin-inline: auto;
}
.deux_collones{
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
/* ------HEADER---------- */
nav.access-links {
    position: absolute;
    left: -99999px;
    max-width: max-content;
    z-index: 20;
    top: 20px;
}

nav.access-links:focus-within {
    left: 0;
}

header {
    background-color: var(--jeune);    
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-block: 5px;
}
.logo_header{
    display: none;
}

.nav {
  display: none;
}

.nav.open {
  display: block;
}

.nav-menu li {
  position: relative;
}



/* .sub-menu li:hover {
  background-color: var(--jeune);
} */
.header.sticky .sub-menu{
    background-color: var(--bacground);
}
.burger {
  display: block;
  padding: 0;
  margin: 0;
  cursor: pointer;
height: 45 px;
width: 45px;
background-color: transparent;
border: none;
}
.cta-header {
    display: block;
}
.appel-header {
    display: block;
}
.appel-header-sticky {
    display: none;
}
.nav.open{
    position: absolute;
    top: 53px;
    left: 0;
    right: 0;
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    padding-block: 10px;
    height: auto;
    z-index: 10;
    padding-inline: 35px;
    padding-bottom: 35px;
}

.nav.open ul.nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 35px;    
    font-size: 24px;
}


.sub-menu {
  max-height: 0;
  overflow: hidden;
  display: flex;
    flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
gap: 24px;
    transition: max-height 0.3s ease;

  position: absolute;
  left: 0;
  top: 100%;
  min-width: max-content;
  white-space: nowrap;
  /* background-color: var(--jeune); */
  /* padding-inline: 10px; */
}
.sub-menu.open{
    margin-top: 14px;
}

.menu-item.open > .sub-menu {
  max-height: 500px;
}

nav a:hover {
    color: #4E4E4E;
    text-decoration: none;
}
.nav{
    position: relative;
}
.fermer{
    display: none;
}
.open .fermer{
    display: block;
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: transparent;
    border: none;
}
.open .sub-menu{
    position: inherit;
}

.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
}
.menu-item-has-children.open > a::after {
  transform: rotate(-135deg);
}

/* ------FOOTER---------- */
footer {
    background-color: #3C3C3C;
    color: var(--white);
    padding-block: 20px;

}

.container .footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 64px;
}


.logo-noir {
    width: 90px;
    height: auto;
}
footer h2{
    font-family: "Futura_Bold", sans-serif;
    font-size: 14px;
    text-align: left;
}
footer p, footer a {
    color: #d7d7d7;
}
footer a:hover {
    color: var(--jeune);    
}
.footer-links{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
}

/* ------HERO---------- */
#hero {

    position: relative;
    /* height: 100vh; */
}

#hero .logo {
    width: 175px;
    height: auto;
}

#hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-block: 50px;
}

#hero .container p {
    font-size: 17px;
    opacity: 0.3;
}

#hero .hero-svg {
    position: absolute;
    bottom: -110px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

/* ------prez_services 1---------- */
.services-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    justify-items: center;
    align-items: start;
    gap: 30px;
}
.services-list h3{
    font-family: "Futura_Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 26px;
}
.services-list .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 50px;
    text-align: center;
}
.services-list .service-item img {
    width: 90px;
    height: auto;
}

/* ------avantages---------- */
#avantages {
    
    position: relative;
    padding-bottom: 50px;
}
#avantages::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /* background-color: #E7E7E7; */
    background-size: cover;
    background-position: center;
    z-index: -10;

}
#avantages .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.advantages-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-top: 50px;
    
}

.advantage-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* ------agir---------- */
#agir {
    padding-block: 50px;
    position: relative;
    overflow: hidden;
}

.arrier-agir {
    position: absolute;
    top: 237px;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}
#agir .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    
}
.frelon-img {
    width: 330px;
    height: auto;
}
#agir .container ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
}

#agir .container ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 75vw;
}

#agir .container h3 {
    color: var(--white);
    text-align: center;
}

#agir .container ul li img {
    width: 60px;
    height: auto;
}

/* ------piqure---------- */

#piqure {
    padding-block: 50px;
    position: relative;
    background-color: var(--bacground);
}

#piqure img {
    margin-top: 30px;
    margin-bottom: -50px;
      width: 100vw;
  margin-left: calc(50% - 50vw);
}

.conceilles {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}

.conceilles li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    /* width: 75vw; */

}

.conceilles li svg {
    width: 33px;
    height: 33px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* ------nos_services---------- */

#nos_services {
    padding-block: 50px;
    position: relative;
    background-color: var(--jeune);
}
#nos_services .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.services-list-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;

}

.card-service {
    overflow: hidden;
    width: 90vw;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    border-radius: 22px;
    background-color: var(--white);
    transition: all 0.3s ease;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-service:hover {
      box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  transform: translateY(-5px);
}

.card-service.active {
    padding-top: 10px;
    transform: translateY(5px);
    position: relative;
}

.text-condensed {
    font-family: "Futura_Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 28px;
}

.image-principale {
    /* width: 100%; */
    height: 260px;
    object-fit: cover;
      transition: 
    max-height 0.4s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
  
}

.titre {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-inline: 20px;
    width: 100%;
}
.text{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.text h3{
    margin-bottom: -8px;
}

.flesh {
    width: 59px;
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--jeune);
    border-radius: 60px;
}

.active .flesh {
    display: none;
}
.flesh:hover {
    background-color: var(--noir);
}
.flesh:hover svg path{
    stroke: var(--white);
}

.active .image-principale {
    /* display: none; */
      max-height: 0;
  opacity: 0;
  margin: 0;

}



.title {
    font-family: 'futura_bold', sans-serif;
}

.description {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px 20px;
    padding-inline: 20px;
    /* row / column */
}
.description p, .description .title {
    font-size: 14px;
    line-height: 19px;
}
.petit-text {
    font-size: 9px;
    color: #A1A1A1;
    width: 100px;
}
button.flesh-arrier{
    background-color: #CECECE;
width: 59px;
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 60px;
}

button.flesh-arrier svg{
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
button.flesh-arrier:hover{
    background-color: #a3a3a3;
}


.active .active-card{
position: absolute;
bottom: 12px;
right: 0;
left: 0;
}
.container-text{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: fit-content;
}

/* ------securite---------- */
#securite {
    background-color: var(--white);
}

#securite .container {
    position: relative;
}

#securite .image {

    position: relative;
         width: 100vw;
  margin-left: calc(50% - 50vw);
}

#securite .image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, white, transparent);

}

#securite .image img {
    width: 100%;
    height: auto;
}

.securite {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.securite li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    width: 75vw;
    gap: 20px;
}


/* ------secur mob---------- */
#securite .container h2{
    position: absolute;
    left: 0;
    right: 0;
    top: 248px;
    z-index: 10;
}

/* ------avantages_suplim---------- */
#avantages_suplim {
    padding-block: 50px;
    background-color: var(--jeune);
}

.avantages_supplementaires {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.avantages_supplementaires li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 24px;
    align-items: center;
    background-color: #D9D9D9;
    color: var(--noir);
    padding: 20px;
    border-radius: 22px;
    width: 75vw;
}

/* ------avis---------- */
#avis {
    padding-block: 50px;
    position: relative;
}
#avis .container {
overflow: visible;
}

.avis-clients {
  padding: 60px 0;
}

.avis-slider {
  margin-top: 40px;
}

.avis-card {
  background: #FFF1D2;
    border-radius: 22px;
    border: solid 2px var(--jeune);
    /* border-color: var(--jeune); */
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);

}

.avis-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.avis-nom {
  font-weight: 600;
}

.avis-text {
  font-size: 14px;
  line-height: 1.4;
}

.avis-stars {
  display: flex;
  gap: 3px;
}

.star {
  font-size: 16px;
}

.star.filled {
  color: var(--jeune);
}

/* ------form---------- */
#form{
    margin-top: 50px;
}
#form .container h2{
    margin-bottom: 50px;
}

/* --------avantages_suplim------ */
.avantages_suplim .container{
    height: fit-content;
}
/* ------contacts---------- */
#contacts .container h2{
    position: relative;
}
#securite .container h2::after,
#piqure .container h2::after,
#form .container h2::after,
#contacts .container h2::after {
    content: "";
    display: block;
    width: 58px;
    height: 6px;
    background-color: var(--jeune);
    margin: 5px auto 0;
   inset: 0;
}
.image {
     width: 100vw;
  margin-left: calc(50% - 50vw);
}
#contacts .image {
    position: relative;
    z-index: -1;
    margin-top: 50px;
}
#contacts .une{
        border-radius: 22px;
        overflow: hidden;

}

/* #contacts .image::after {
    content: "";
    position: absolute;
    inset: 0;
    
    background-image: linear-gradient(to top, var(--bacground), transparent);

} */

#contacts .image img {
    width: 100%;
    height: auto;
    left: 0;
    right: 0;
   
}
.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start
}
.contacts-list li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;   
    align-items: center;     
    gap: 15px;
}
.horaires{
padding-inline:50px ;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    background-color: #E9E9E9;
    border-radius: 22px;
    margin-block: 20px;
    padding-block: 30px;
}
#contacts .image.une{
    width: 100%;
    height: 224px;
    margin-inline: auto;
    margin-bottom: 24px;
}


/* ------avantages_suplim_2---------- */
.avantages_supplementaire{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
    align-items: center;
margin-bottom: 50px;
}
.avantages_supplementaire li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;    align-items: center;
        background-color: var(--jeune);
    color: var(--noir);
    padding: 20px;
    border-radius: 22px;
    width: 100%;
}
/*================= DESKTOP =============== */



@media (min-width: 1160px) {
    .container {
        max-width: 1318px;
        margin-inline: auto;
    }


/* .deux_collones ul{
    width: 50%;
} */
.image {
     width: 100%;
}
    /* ------FONTS-------- */

h1 {
    font-size: 28px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 22px;
}
p.card-text {
    font-family: "Futura";
    font-size: 16px;
}
.button {
    font-size: 20px;
    border-radius: 60px;
}
/* ------GENERAL-------- */

/* .deux_collones .une, .deux_collones .deux {
    width: 50%;
} */
.deux_collones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
      flex-direction: row;
      align-items: center;
    justify-content: space-between;
}
.image{
        margin-left: 0;
}
    /* ------Header-------- */
a.cta-header{
background-color: var(--jeune);
padding-inline: 20px;
padding-block: 10px;
} 

    header {
        justify-content: center;
        position: absolute;
    }

  .nav {
    display: flex;
    flex-direction: row;

    font-size: 24px;

}
.nav ul.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 58px;
    position: relative;
}


  .burger {
    display: none;
  }

  .menu {
    display: flex;
    gap: 20px;
  }

  .cta-header {
    display: none;
}
.appel-header {
    display: none;
}


.sub-menu {
    margin-top:18px;
    background-color: var(--jeune);
    
    margin-left: -10px;
}
.sub-menu li{
    padding-inline: 10px;
}

.header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  z-index: 9999;

  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 100px;
}
 .header.sticky a {
     font-size: 15px;
 }
 .header.sticky .logo_header {
     display: block;
     height: 30px;
     width: auto;
     
 }

.header.sticky .cta-header {
    display: block;
}

.header.sticky .appel-header-sticky {
    display: block;
}

.open .sub-menu {   
    position: absolute;
}
.header.sticky .sub-menu{
     margin-top: 9px;
            background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        margin-left: -8px;
        border-radius: 0 0 3px 3px;
}
.header.sticky .sub-menu li {
    padding-inline: 8px;
}


/* --------footer------- */
.logo-noir {
    width: 160px;
    
}

.container .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
   
}
.footer p,.footer h2{
 text-align: left;

}
/* ------HERO---------- */

    .hero-svg {
        display: none;
    }

    #hero {
        background-color: var(--jeune);
        padding-bottom: 100px;
    }

    #hero .container .logo {
        width: 300px;
        height: auto;
    }
#hero .container h1{
    width: 572px;
}
#hero .container{
    padding-top: 108px;
}


.services-list {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    width: 900px;
}

.services-list .service-item {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 112px;
}
.services-list .service-item img {
    width: 100px;
    height: auto;
}
#avantages{
    margin-top: -158px;
}
.advantages-list {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 50px;
    width: 920px;
    text-align: center;
}
/*------------ AGIR --------------*/

#agir .container ul {
    flex-direction: row;
    gap: auto;
    padding-block: 50px;
    align-items: flex-start;
}
.frelon-img {
    width: 545px;
    height: auto;
}
.arrier-agir {
    top: 271px;
}
/* ----------EN CAS DE PIQURE ------------*/

#piqure .deux_collones .une{
order: 2;
}
#piqure .deux_collones .une{
order: 2;
}
#piqure .deux_collones .deux{
order: 1;
}
#piqure img {
    margin-top: 30px;
    margin-bottom: 0px;
    width: 100%;
    margin-left: 0px;
}
#piqure p{
    font-size: 20px;
    font-weight: medium;
}

/*---------- NOS SERVICES --------------*/
.card-service {
    height: 332px;
}
.services-list-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 92px;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
margin-top: 34px;
}
.image-principale {
    width: 100%;
    height: 246px;
}

.description {
   
    grid-template-columns: 124px 1fr;
}
.description p, .description .title {
    line-height: none;
}
/* -------SECURITE-------------*/
#securite{
    padding-top: 50px;
}
#securite .image {
    margin-bottom: 0px;
    width: 437px;
    height: auto;
    margin-left: 0px;
    border-radius: 40px;
    overflow: hidden;
margin-inline: auto;
}
#securite .image::after {    
    display: none; 
}
#securite .deux_collones{
    padding-block: 50px;
}
.card-service {
    width: 492px;
}

#securite .container h2{
    position: static;
}
.securite li {
        width: 100%;
}
.deux_collones{
    width: 100%;
}

.avantages_supplementaires {
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
  
}

/* --------form------------- */
#form .container{
    width: 65%;
}
#form .container p{
    text-align: center;
    font-size: 24px;
}
.wpforms-submit-container{
    text-align: center;
}
#form{
    margin-bottom: 100px;
}

/*----------- CONTACTS ------------*/
#contacts{
    margin-bottom: 50px;
}
#contacts .une::after{
display: none;

}

#contacts .image.une{
        
        height: 474px;
        margin-bottom: 0px;
}
/* #contacts .deux_collones .une img{
height: 100%;
} */

/* --------AVANTAGES SUPPLEMENTAIRES----------- */
.avantages_supplementaire {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}
.avantages_supplementaire li {
    height: 100px;
}
}

