/* GLOBAL */
:root {
  --primary-color: #2c7138;
  --background-color: #faf5e7;
}


html {
    scroll-behavior: smooth;
}

body {
    margin:0;
    font-family: "Fira Sans", serif;
    font-weight: 300;
    font-style: normal;
}

.page {
    min-height: 100%;
}

.bold-word {
    font-weight: bold;
}

.orange-white {
    background-color: var(--background-color);
}

.inner-container {
    max-width: 78.5em;
    margin: 0 auto;
    display: flex;
}

/* BARRE DE NAVIGATION */

.no-style-list {
    list-style: none;
}

.contact-button {
    padding: 1.5% 2%;
    border-radius: 1rem;
    background-color: var(--primary-color);
    border: none;
}

.outter-menu-top-out-header .contact-button li a {
    color: white;
}

.nav-title a {
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    font-size: 23px;
    display: inline-block;
    padding-top: 4px;
}

.outter-menu-top-in-header {
    position:fixed;
    width:100%;
    display: flex;
    justify-content: center;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5)
}

.outter-menu-top-in-header a {
    color: white;
}

.outter-menu-top-out-header {
    position:fixed;
    width:100%;
    display: flex;
    justify-content: center;
    z-index: 2;
    background-color: white;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1);
}

.outter-menu-top-out-header a {
    color: black;
}

.outter-menu-top-out-header .burger-menu span {
    background-color: black;
}

.outter-menu-current {
    position:fixed;
    width:100%;
    background-color: white;
    position: absolute;
    display: flex;
    justify-content: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .15);
}


.main-nav-title a {
    font-family: "Bonheur Royale", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 85px;
    text-decoration: none;
}

@media (max-width: 510px) {
.main-nav-title a {
    font-family: "Bonheur Royale", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(50px, 17.5vw, 85px);
    text-decoration: none;
}
}

.full-menu {
    width: 90%;
    margin: 0;
    padding: 0.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    top: 2%;
    right: 1%;
    width: 75px;
    height: 75px;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.burger-menu-span-over-white {
    background-color:black;
}

.span-over-black {
    background-color:white;
}

@media (max-width: 1325px) {
    .burger-menu {
        display: flex;
    }
}

@media (max-width: 500px) {
    .burger-menu {
        height: clamp(50px, 17.5vw, 100px);
        width: clamp(50px, 17.5vw, 75px);
    }

    .burger-menu {
        top: 1%;
    }
}

.burger-menu span {
    height: clamp(4px, 5%, 10px);
    width: clamp(35px, 55%, 50px);
    border-radius: 25px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
    z-index: 5;
}

.burger-menu span:nth-child(1) {
    top: clamp(2px, 32%, 100%);
}
.burger-menu span:nth-child(3) {
    top: clamp(2px, 68%, 100%);
}

.burger-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.burger-menu.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (min-width: 451px) {
    .off-screen-menu {
        background-color: #2c7138;
        width: 320px;         
        height: 100vh;          
        position: fixed;        
        top: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        justify-content: space-around;
        text-align: center;
        gap: 15%;
        padding-top: 47.5px;

        font-size: 3rem;
        overflow-y: auto; 

        transform: translateX(100%); 
        transition: transform 0.3s ease;
        z-index: 3;
    }

    .off-screen-menu a {
        color: white;
        display: flex;
        align-items: center;
        justify-content: end;
        padding: 15% 0;
    }

    .contact-button-offscreen-menu-div {
        position: relative;
        width: 100%;
    }

    .contact-button-offscreen-menu-div::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        
        width: 80%;
        height: 2px;
        background-color: white;
        border-radius: 2px;
    }

    .contact-button-offscreen-menu {
        padding-right: 20% !important;
    }

    
    .off-screen-menu.active {
       transform: translateX(0);
    }

    .side-menu-list {
    list-style: none;
    padding-right: 20%;
}
}

@media (max-width: 450px) {
    .off-screen-menu {
        background-color: #2c7138;
        width: 100vw;
        height: 100vh;
        
        position: fixed;
        top: 0;
        left: 0;

        display: flex;
        flex-direction: column;
        align-items: center;    
        justify-content: center;
        text-align: center;
        
        font-size: 3rem;
        overflow: hidden;
        
        max-height: 0;
        transition: max-height 0.3s ease; 
        z-index: 3;
    }

        .off-screen-menu a {
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10% 0;
    }

    .off-screen-menu.active {
        max-height: 100vh;
    }

    .side-menu-list {
        list-style: none;
        margin: 0;
        padding: 0;   
    }

    .contact-button-offscreen-menu {
        padding-top: 15% !important;
    }

}


.nav-icon {
    width: 15%;
    vertical-align: middle;
    color: white;
    padding: 5px 0 12px 10px;
}

.full-menu-right {
    display: flex;
    justify-content: space-around;
    width: 60%;
    align-items: center;
}

@media (max-width: 1325px) {
    .full-menu-right {
        display: none !important;
    }
}

.full-menu-right li {
    padding:2%;
}

/* HEADER */

.header-photo {
  position: relative;
  background: url(public/original_rogne.webp) center/cover fixed no-repeat;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.header-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.header-photo-title {
    position: absolute;
    transform: translateY(90px);
    font-size: 30px;
    color: white;
    text-shadow: 3px 3px 10px #000;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
}

@media (min-width: 524px) {
    .header-photo-title h1 {
        font-style: italic;
        font-family: "Newsreader", serif;
        margin: 0;
        font-weight: 600;
    }
}

@media (max-width: 525px) {
    .header-photo-title h1 {
        font-style: italic;
        font-family: "Newsreader", serif;
        margin: 0;
        font-weight: 600;
        font-size: clamp(50px, 11.5vw, 2em);
    }
}

.header-photo-title h1::after {
    content: "";
    display: block;
    width: 90%;
    height: 2px;
    background-color: white;
    margin: 3px auto 0;
}

@media (min-width: 524px) {
    .header-photo-title h2, .header-photo-title p {
    margin: 0;
    font-weight: 300;
    font-size: 35px;
    }
}

@media (max-width: 525px) {
    .header-photo-title h2, .header-photo-title p {
    margin: 0;
    font-weight: 300;
    font-size: clamp(22px, 6.5vw, 35px);
    }
}

.header-photo-title p {
    padding-top: 1%;
}

/* SECTION WHAT IS */

#whatIs .inner-container {
    padding-top: 100px;
    padding-bottom:75px;
}

@media (max-width: 1450px) {
    #whatIs .inner-container {
        margin:auto;
        padding-left: 6%;
        padding-right: 6%;
    }
}

@media (max-width: 930px) {
    #whatIs .inner-container {
        display: flex;
        flex-direction: column;
    }
}

.texte-whatIs {
    padding-top:2%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 930px) {
    .texte-whatIs {
        justify-content: center;
    }
}

.texte-whatIs h2 {
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 35px;
    margin-top: 0;
    margin-bottom: 2%;
    padding-bottom: 2%;
    color: var(--primary-color);
}

@media (max-width: 930px) {
    .texte-whatIs h2 {
        text-align: center;
        padding: 0;
        margin-top: 1%;
        font-size: clamp(26px, 6vw, 35px);
    }
}

.texte-whatIs p {
    line-height: 150%;
    font-size: clamp(14px, 3vw, 17px);
    font-weight: 300;
    max-width: 87.5%;
    text-align: justify;
}

@media (max-width: 930px) {
    .texte-whatIs p {
        text-align: justify;
        align-self: center;
    }
}

.whatIs-image-container {
    text-align: center;
    width: fit-content;
}

@media (max-width: 930px) {
    .whatIs-image-container {
        align-self: center;
    }
}

@media (max-width: 499px) {
    .image-porte-rouge {
        height: clamp(300px, 110vw, 550px);
        border-radius: .25rem;
    }
}

@media (min-width: 500px) {
    .image-porte-rouge {
        height:550px;
        border-radius: .25rem;
    }
}


/* SECTION FORMATION */

#formation .inner-container {
    padding-top: 75px;
    padding-bottom: 75px;
    max-width: 100%;
}

@media (max-width: 1249px) {
    #formation .inner-container {
        flex-direction: column;
    }
}

#img-formation1 {
    height: 588px;
    float: left;
}

#img-formation2 {
    height: 588px;
    float: right;
}

@media (max-width: 1249px) {
    #img-formation1 {
        height: 100%;
        width: 100%;
    }

    #img-formation2 {
        height: 100%;
        width: 100%;
    }

    .container-formation2 {
        flex-direction: column-reverse !important;
    }
}

@media (min-width: 1250px) {
    .paneled-image {
        margin: 0 auto;
        position: relative;
        width: 58vw;
    }
}

.panel h6 {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 500;
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
}

@media (max-width: 1249px) {
    .panel h6 {
        font-size: clamp(26px, 6vw, 35px);
        margin: 0;
        font-weight: 500;
        font-family: "Newsreader", serif;
        font-optical-sizing: auto;
        text-align: center;
    }
}

@media (max-width: 1249px) {
    .panel p {
        margin-top:1em;
        font-size: clamp(14px, 3vw, 17px);
        margin-bottom: 0;
        text-align: justify;
        font-weight: 325;
        line-height: 25px;
    }

    .formation-list {
        line-height: 25px;
        font-weight: 325;
        font-size: clamp(14px, 3vw, 17px);

    }
}

@media (min-width: 1250px) {
    .panel p {
        margin-top:1em;
        font-size: 17px;
        margin-bottom: 0;
        text-align: justify;
        font-weight: 325;
        line-height: 20px;
    }
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.paneled-image.pull-right .panel {
    right: 0;
}

.paneled-image.pull-left .panel {
    left: 0;
}

.panel {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    display: flex;
    z-index: 1;
}

.panel-left {
    display: flex;
    justify-content: flex-end;
}

.panel-text-right {
    padding: 3.5% 6%;
}

.panel-text-left {
    padding: 3%;
}

@media (min-width: 1250px) {
    .panel-text-right {
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 35px;
        max-width: 425px;
        min-width: 425px;
    }

    .panel-text-left {
        padding-right: 50px;
        padding-left: 50px;
        padding-top: 35px;
        max-width: 425px;
        min-width: 425px;
    }
}

@media (max-width: 1249px) {
    .formation-list {
        display: flex;
        flex-direction: row;
    }

    .formation-list-col1 {
        padding-right: 12%;
        border-right: 1px solid rgba(0, 0, 0, 0.17);
    }

    .formation-list-col2 {
        padding-left: 12%;
    }
}

.image-feuille-right {
    padding-top: 5%;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
}

.image-feuille-left {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-end;
}


#img-feuille1 {
    width: 215px;
    height: 85%;
}

@media (max-width: 1800px) {
    .image-feuille-right {
        display:none;
    }
    .image-feuille-left {
        display:none;
    }
}

#img-feuille2 {
    width: 185px;
    height: 90%;
    padding-left: 10%;
}

/* SECTION SERVICES */

#services {
    padding-top: 75px;
    padding-bottom: 75px;
}

.services-content {
    display: flex;
    flex-direction: column;
    padding-inline: clamp(20px, 5vw, 100px);

}

.cards {
    width: 100%;
    margin: auto;
}

.card {
    height: 600px !important;
    max-width: 385px;
    background-color: var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
    flex: 1; 
}

.card-title {
    padding-top: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color:white;
}

.card-text {
    font-size: clamp(14px, 3vw, 16px) !important;
    color: #555;
    line-height: 1.5;
    flex: 1; 
    color:white;
}

.card-text li:not(:last-child) { 
   margin-bottom: 10px;  
}

.indication-services {
    text-align: center;
    font-style: italic;
    padding-top:2%;
}

.comportements-text {
    display: flex;
    flex-direction: row;
}

.card-text ul {
    list-style: none;
    padding: 0;
}

.card-subtext {
    font-size: clamp(12px, 3vw, 14px) !important;
    font-style: italic;
    color: #555;
    margin-bottom: auto;    
    margin-top: 0;
    color:white;
}

.card-subtext::before {
  content: "";
  display: block;
  width: 75%;
  max-width: 235px;
  height: 1px;
  background-color: rgba(0,0,0,0.17);
  margin: 0 auto 12px auto;
  border-radius: 25px;
}

.swiper-slide {
    display: flex !important;  
}

.first-column-comportements {
    padding-right:5% !important;
}

@media (max-width: 1300px) {
  .swiper {
    overflow: visible;
  }
  .swiper-slide {
    width: auto;
  }
}

/* SECTION INDICATIONS */

#indications {
    background: url(public/IMG_20250620_125535.webp);
    background-size: cover;
}

#indications .inner-container {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ARTICLES */

.articles {
    display: flex;
    justify-content: center;
}

.articles-page {
    color: inherit;
    display: block;
    background-color: white;
    line-height: 2.25rem;
    box-shadow: 12px 12px 0px rgb(230 241 134);
    margin: 0 7%;
}

.articles-articles {
    padding: 0 clamp(20px, 5vw, 50px) 20px clamp(20px, 5vw, 50px);
}

.articles-page h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(30px, 6vw, 40px);
    font-weight: 400;
    margin: 23px 0 3% 0;
}

@media (min-width: 690px) {
    .articles-page h2::before,
    .articles-page h2::after {
        display: inline-block;
        content: "";
        border-top: .12rem solid var(--primary-color);
        width: 29%;
        margin: 0 1.5rem;
        transform: translateY(-0.9rem);
    }
}

.articles-page p {
    margin: 0;
    text-align: center;
    padding-bottom: 10px;
    letter-spacing: 1.5px;
    font-size: clamp(16px, 3vw, 20px);
    color: #5C5857;
}

.articles-page a {
    text-decoration: none;
}

#leaf {
    height: 20px;
    width: 12px;
}

/* FOOTER */

footer {
    display: flex;
    background-color: var(--background-color);
    flex-direction: column;
    color: black;
}

footer h6 {
    font-size: clamp(18px, 3vw, 20px);
    margin: 0;
    font-weight: 450;
    letter-spacing: 1.7px;
    color: var(--background-color);
}

.footer-inner-content {
    background-color: var(--primary-color);
}

.title-infos-footer h1 {
    color: var(--background-color);
    text-align: center;
    margin:1%;
    font-family: "Bonheur Royale", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(65px, 10vw, 75px);
}

@media (min-width: 770px) {
    .infos-footer {
        display: flex;
        justify-content: space-around;
        padding: 0 10%;
        padding-bottom: 0.5%;
        line-height: 40px;
        font-size: 17px;
        color: var(--background-color);
        gap: 40px;
    }
}
@media (max-width: 769px) {
    .infos-footer {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 0 10%;
        padding-bottom: 0.5%;
        line-height: 40px;
        font-size: clamp(14px, 3vw, 17px);
        color: var(--background-color);
        gap: 40px;
    }

    .infos-footer p {
        font-weight: 300;
        text-align: center;
    }

    .infos-footer h6 {
        text-align: center;
    }
}

.infos-footer p {
    font-weight: 300;
}

.footer-bottom {
    text-align: center;
    padding: 5px;
}

.tel-icone {
    font-size: clamp(20px, 3vw, 25px);
    padding-right: 5px;
}

.email-icone {
    font-size: clamp(20px, 3vw, 25px);
    padding-right: 5px;
}


.email-container {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-bottom p {
    font-size: clamp(14px, 3vw, 17px);
}