@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

/* Makes sizing simpler */
*,
*::before,
*::after{
    box-sizing: border-box;
}

/* STYLE SECTION */
* {
    font-family: 'Urbanist', Segoe UI, Arial, Helvetica, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}
:root{
    --PUVBleuPale : #006680ff;
    --PUVBleu : #004455ff;
    --PUVBleuFonce : #00222bff;
    --PUVOrangePale : #ffa348ff;
    --PUVOrange : #ff7800ff;
    --PUVOrangeFonce : #e66100ff;
    --PUVVertPale : #2ec27eff;
    --PUVVert : #26a269ff;
    --PUVVertFonce : #11694fff;
    --PUVBlanc:#fff;
    --PUVGrisPale: #f6f5f4ff;
    --PUVGris : #c0bfbcff;
    --PUVGrisFonce : #999999ff;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}
html {
    hanging-punctuation: first last;
}

/* Remove default spacing */
/* Force styling of type through  */
body {
    background-color: white;
    min-height: 100svh;
    scroll-behavior: smooth;
}
/* Responsibe images/video */
/* pour image en lowres style="background-image:url(LIEN DE LA PHOTO)" Insérer dans l'img du HTML*/
img, picture, svg, video, iframe{
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: 0.75rem;
    display: block;
}
/* STYLE DE TEXTE */
h1, h2, h3, h4, h5, h6{
    text-wrap: balance;
}
.PUV-txt-orange{
    color: var(--PUVOrange);
}
.PUV-txt-vert{
    color: var(--PUVVert);
}
.PUV-txt-blanc{
    color: var(--PUVBlanc);
}
.PUV-txt-bleu{
    color: var(--PUVBleu);
}

h1 {
    font-size: 3em; /* 40px/16=2.5em */
    /* font-size: 2.5em; */ /* 40px/16=2.5em */
    font-weight: 800;
}
h2 {
    font-size: 2em; /* 30px/16=1.875em */
    font-weight:700;
}
h3 {
    font-size: 1.65em;
    font-weight:600;
}
h4 {
    font-size: 1.5em;
    font-weight:500;
}
h5 {
    /* font-size: ; */
}
h6 {
    /* font-size: ; */
}

/* Pour une lecture plus facile */  
p {
    font-size: 1.275em; /* 14px/16=0.875em */
    /* color: #000; */
    /* max-width: 75ch;  */
    text-wrap: pretty;
    line-height: 1.5;
}
br{
    line-height: 2;
}
.txt-align-center{
    text-align: center;
}
.txt-align-justify{
    text-align: justify;
}
.txt-list li{
    list-style-type: disc;
    list-style-position: outside;
    line-height: 2;
    font-size: 1.15em;
    text-align: start;
    align-content: start;
    margin-left: 3rem;
    padding-left: 0.5rem;
}
.txt-list ol{
    line-height: 2;
    text-align: start;
    align-content: start;
    padding-left: 1.5rem;
    font-weight: 500;
    font-size: 1.15em;
}
a{
    text-decoration: none;
}

.PUV-bg-orange{
    background-color: var(--PUVOrange);
}
.PUV-bg-bleu{
    background-color: var(--PUVBleu);
}
.PUV-bg-vert{
    background-color: var(--PUVVert);
}
.PUV-bg-blanc{
    background-color: var(--PUVBlanc);
}

button{
    border: transparent solid 2px;
}

.PUV-btn-center{
    margin-inline: auto;
}

/* Boutton Vert Fonce */
.PUV-btn-VertFonce{
    /* border: .125em solid var(--PUVBlanc);   */
    display: block;
    background-color: var(--PUVVertFonce);
    padding: .5em 3em;
    border-radius: 0.35rem;
    font-weight: 600;
    color: var(--PUVBlanc);
    font-size: 1.2rem;
    text-align: center;
    width: fit-content;
}
.PUV-btn-VertFonce:hover{
    color: var(--PUVBlanc);
    background-color: var(--PUVVertPale);
    cursor: pointer;
    transition-duration: 150ms;
}
.PUV-btn-VertFonce:active{
    background-color: var(--PUVBleu);
    transition-duration: 150ms;
}

/* Boutton Orange */
.PUV-btn-Orange{
    /* border: .125em solid var(--PUVBlanc);   */
    display: block;
    background-color: var(--PUVOrange);
    padding: .5em 3em;
    border-radius: 0.35rem;
    font-weight: 600;
    color: var(--PUVBlanc);
    font-size: 1.2rem;
    text-align: center;
    width: fit-content;
}
.PUV-btn-Orange:hover{
    color: var(--PUVBlanc);
    background-color: var(--PUVOrangePale);
    cursor: pointer;
    transition-duration: 150ms;
}
.PUV-btn-Orange:active{
    background-color: var(--PUVBleu);
    transition-duration: 150ms;
}

/* Boutton Bleu */
.PUV-btn-Bleu{
    /* border: .125em solid var(--PUVBlanc);   */
    display: block;
    background-color: var(--PUVBleu);
    padding: .5em 3em;
    border-radius: 0.35rem;
    font-weight: 600;
    color: var(--PUVBlanc);
    font-size: 1.2rem;
    text-align: center;
    width: fit-content;
}
.PUV-btn-Bleu:hover{
    color: var(--PUVBlanc);
    background-color: var(--PUVBleuPale);
    cursor: pointer;
    transition-duration: 150ms;
}
.PUV-btn-Bleu:active{
    background-color: var(--PUVBleuFonce);
    transition-duration: 150ms;
}

/* Navigation et en-tête */
/* Menu boutton */
#menu-btn{
    display: none;
}

.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 80px;
}
.hamRotate.active {
    transform: rotate(45deg);
}
.line {
    fill:none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke:var(--PUVBlanc);
    stroke-width:5.5;
    stroke-linecap:round;
}
.ham .top {
    stroke-dasharray: 40 160;
}
.ham .middle {
    stroke-dasharray: 40 142;
    transform-origin: 50%;
    transition: transform 400ms;
}
.ham .bottom {
    stroke-dasharray: 40 85;
    transform-origin: 50%;
    transition: transform 400ms, stroke-dashoffset 400ms;
}
.ham.active .top {
    stroke-dashoffset: -64px;
}
.ham.active .middle {
    //stroke-dashoffset: -20px;
    transform: rotate(90deg);
}
.ham.active .bottom {
    stroke-dashoffset: -64px;
}

/* La barre de navigation */
header label{
    cursor: pointer;
    display: none;
}

.nav-logo {
    height: 3.5rem;
}

/* Valider si fixed est bon sinon relative */
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0rem 2.5rem;
    background-color: var(--PUVVert);
    /* box-shadow: 0 5px 10px rgba(0,0,0,.25); */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    width: 100%;
}
header .nav-bar ul{
    list-style: none;
}
header .nav-bar ul li{
    position: relative;
    float:left;
}
header .nav-bar ul li a{
    font-size: 1.2rem;
    padding: 1.5rem 1rem;
    color: var(--PUVGrisPale);
    display: block;
    border-bottom: thick solid transparent;
}
header .nav-bar ul li ul{
    position: absolute;
    /* left: 0; */
    background: var(--PUVGrisPale);
    display: none;
}
header .nav-bar ul li ul li a{
    color: var(--PUVBleu);
    border-left: thick solid transparent;
    border-bottom: none;
    width: 17rem;
}
header .nav-bar ul li ul li{
    border-bottom: 1px solid rgba(0,0,0,.1);
}
header .nav-bar ul li:last-child{
    border-bottom: none;
}
header .nav-bar ul li ul li ul{
    /* left:auto;
    top: 0; */
}
header .nav-bar ul li:focus-within > ul, header .nav-bar ul li:hover > ul{
    display: initial;
}
header .nav-bar ul li a.active{
    border-bottom: thick solid var(--PUVOrange);
    font-weight: 600;
}
header .nav-bar ul li a:hover{
    color: var(--PUVBleu);
    border-bottom: thick solid var(--PUVBleu);
    transition-duration: 175ms;
    -webkit-transition: all .4s cubic-bezier(.35, 1, .33, 1);
    transition: all .4s cubic-bezier(.35, 1, .33, 1);
}
header .nav-bar ul li ul li a.active{
    border-left: thick solid var(--PUVOrange);
    border-bottom: none;
    font-weight: 600;
}
header .nav-bar ul li ul li a:hover{
    color: var(--PUVBleu);
    border-left: thick solid var(--PUVBleu);
    border-bottom: none;
    transition-duration: 175ms;
    -webkit-transition: all .4s cubic-bezier(.35, 1, .33, 1);
    transition: all .4s cubic-bezier(.35, 1, .33, 1);
}

/* Section HERO */
.welcome-hero{
    height: 100vh;
    height: 100svh;
    background-color: var(--PUVGrisFonce);
    background-image: url("/images/Hero/hero-entree.jpg");
    background-size: cover;
    background-position: center;
    background-blend-mode:multiply;
    /* height: calc(100vh - 76px); */
    /* height: calc(100svh - 76px); */
    /* background-image: url("/images/Hero/DSC06737.JPG"); */
    /* background-image: url("/images/Hero/Photo_1.JPG"); */
    /* transform: translateY(76px); */
}

/* Hero paramètres des autres pages */
.service-hero, .service-hero-amen-pays, .service-hero-entr-pays, .service-hero-prod-pep, .realisation-hero, .realisation-hero-entree, .realisation-hero-vivant, .contact-hero, .confidentiality-hero{
    height: calc(50vh + 76px);
    height: calc(50svh + 76px);
    background-color: var(--PUVGrisFonce);
    background-size: cover;
    background-position: center;
    background-blend-mode:multiply;  
}
.service-hero, .service-hero-amen-pays, .service-hero-entr-pays, .service-hero-prod-pep, .realisation-hero, .realisation-hero-entree, .realisation-hero-vivant, .contact-hero, .confidentiality-hero .hero-container .hero-container-txt{
    transform: translateY(38px);
}
.under-conception-hero{
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content:center;
    text-align: center;
}

/* Hero service */
.service-hero{
    background-image: url("/images/Hero/hero-services.jpg");
}
.service-hero-amen-pays{
    background-image: url("/images/Hero/hero-amen-pays.jpg");
}
.service-hero-entr-pays{
    background-image: url("/images/Hero/hero-entr-pays.jpg");
}
.service-hero-prod-pep{
    background-image: url("/images/Hero/hero-prod-pep.jpg");
}


/* Hero réalisation */
.realisation-hero{
    background-image: url("/images/Hero/hero-realisation.jpg");
}
.realisation-hero-entree{
    background-image: url("/images/Hero/hero-entree.jpg");
}
.realisation-hero-vivant{
    background-image: url("/images/Hero/hero-trav-arr-viv-apres.jpg");
}
/* Hero Nous joindre */
.contact-hero{
    background-image: url("/images/Hero/hero-nous-joindre.jpg");
}

/* Hero container */
.hero-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content:center;
    text-align: center;
    padding-left: 3rem;
    padding-right: 3rem;
    backdrop-filter: blur(1px);
}
.hero-container-txt{
    font-size: 2em;
}

/* Contenu */
.content-txt-title{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 2rem;
    /* width: min(90%, 80rem); */
    /* padding-left: 5%; */
    /* padding-right: 5%; */
    margin-inline: auto;
    justify-content:center;
    text-align:center;
}
 .content-txt{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1rem;
    /* justify-content:center; */
    text-align:start;
}

/* Section layout */
.content-img {
    margin-inline: auto;
    max-inline-size: 100%;
}
.content-img img{
    /* max-width: 400px; */
    /* max-inline-size: 100%; */
    border-radius: 1.5rem;
    /* max-width: 100%; */
    height: 40vh;
    /* width: 35vw; */
    object-fit: cover;
    aspect-ratio: 3/2;
}
.content-img-plan{
    margin-inline: auto;
    max-inline-size: 100%;
}
.content-img-plan img{
    max-width: 100%;
    /* max-inline-size: auto; */
    border-radius: 1.5rem;
    object-fit: scale-down;
    height: 70vh;
}
.content-map {
    margin-inline: auto;
    max-inline-size: 100%;
}
.content-map iframe{
    min-height: 50vh;
    /* aspect-ratio: 1/1; */
    aspect-ratio: 3/2;
    max-inline-size: 100%;
    border: 0px;
    border-radius: 1.5rem;
    /* pointer-events: none; */
}
.content-prod-pep {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 2rem;
    width: min(90%, 80rem);
    /* padding-left: 5%; */
    /* padding-right: 5%; */
    margin-inline: auto;
    justify-content:center;
    text-align:center;
}
.content-prod-pep iframe{
    /* max-width: 100%; */
    /* aspect-ratio: 3/2; */
    max-inline-size: 100%;
    border: 0px;
    border-radius: 1.5rem;
    /* pointer-events: none; */
    margin-inline: auto;
    max-inline-size: 100%;
    gap: 5rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding-top: 5rem;
    gap: 2rem;
    width: min(90%, 80rem);
    height: 50vh;
    /* padding-left: 5%; */
    /* padding-right: 5%; */
    margin-inline: auto;
    justify-content:center;
    text-align:center;
}

/* Center - txt */
.section-txt-center-layout {
    display: flex;
    flex-direction: column;
    display: grid;
    /* grid-auto-flow: column; */
    /* grid-column: auto; */
    width: min(90%, 80rem);
    margin-inline: auto;
    gap: 2rem;
}

/* Left - txt - img */
.section-txt-left-layout {
    display: grid;
    width: min(90%, 80rem);
    grid-auto-flow: column;
    margin-inline: auto;
    gap: 2rem;
    grid-template-areas:'one two';
}
.section-txt-left-layout :nth-child(1){
    grid-area: one;
}
.section-txt-left-layout :nth-child(2){
    grid-area: two;
}
/* Right - txt - img */
.section-txt-right-layout {
    display: grid;
    width: min(90%, 80rem);
    grid-auto-flow: column;
    margin-inline: auto;
    gap: 2rem;
    grid-template-areas:'two one';
}
.section-txt-right-layout :nth-child(1){
    grid-area: one;
}
.section-txt-right-layout :nth-child(2){
    grid-area: two;
}

/* 3 card contents block - txt - img */
.section-card-layout >*{
    /* flex: 1 1 300px; */
}
.section-card-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, auto));
    /* grid-template-columns: repeat(auto-fill, minmax(285px, auto)); */
    margin-inline: auto;
    gap: 5rem;
    width: min(80%, 80rem);
    /* text-align:start; */
}
.card-img-txt{
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* flex-direction: column; */
    display: grid;
    /* grid-template-rows: 30rem; */
    /* grid-auto-rows: minmax(100px, auto); */
    gap: 2rem;
    /* margin-bottom: 20rem; */
    justify-content: center;
    align-content: start;
    /* text-align: center; */
    /* align-items: stretch; */
}
.section-container{
    padding-top: 7rem;
    padding-bottom: 7rem;
}

/* Nous joindre */
.contact-link:hover{
    text-decoration:underline;
}
/* Pied de page */
footer{
    background-color:var(--PUVGrisPale);
    /* border-top: thick solid  var(--PUVVert); */
    /* margin-top: 1rem; */
    /* padding-top: 1rem; */
    /* background-image: linear-gradient(180deg, var(--PUVBleuPale), var(--PUVBleu)); */
}
.footer-grid{
    display: grid;
    gap: 1.5rem;
    /* row-gap: 1.5rem; */
    grid-template-areas: 
    'one none'
    'two three'
    /* 'two three four' */
    ;
    margin-inline: auto;
    width: min(90%, 80rem);
    padding-block: 0.75rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.footer-grid :nth-child(1){
    grid-area: one;
}
.footer-grid :nth-child(2){
    grid-area: two;
}
.footer-grid :nth-child(3){
    grid-area: three;
}
.footer-grid :nth-child(4){
    grid-area: four;
}
.footer-grid div{
    /* background-color: var(--PUVBlanc); */
    /* border-radius: .5rem; */
    color: var(--PUVBleu);
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
}
.footer-logo{
    display: flex;
}
.footer-logo-img{
    height: 150px;
}
.footer-container{
    display: flex;
    flex-direction: column;
}
.footer-container h2{
    color: var(--PUVOrange);
    padding-bottom: .5rem;
}
.footer-container div h3{
    color: var(--PUVBleu);
    font-size: 1.5em;
}
.footer-container div{
    padding-left: 1.5rem;
    padding-block: .75rem;
    font-size: 1.65em;
    font-weight:500;
}
.footer-container li{
    margin-left: 3.5rem;
    padding-left: 1.5rem;
    line-height: 2;
    font-size: 1.65em;
    font-weight:500;
}
/* .footer-grid .label-wrapper input {
    width: 100%;
    height: 45px;
    margin: 0 16px 20px 0;
    padding: 0 0 0 1rem;
    display: block;
    border: 1px solid #a7a7a7;
    border-radius: 5px;
} */
.supfooter{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    background-color: var(--PUVBleu);
    padding-block: 1.5rem;
    font-size: 0.8rem;
}
.supfooter div{
    margin: 0.5rem;
    color: var(--PUVBlanc);
}
.supfooter div a{
    margin: 0.5rem;
    color: var(--PUVBlanc);
}
.supfooter div a:hover{
    text-decoration:underline;
}
.copyright span p{
    font-size: 0.80rem;
}
/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 1200px) {
    header label{
        display: initial;
    }
    header .nav-bar{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--PUVGrisPale);
        display: none;
    }
    header .nav-bar ul li{
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,.1);
    }
    header .nav-bar ul li:last-child{
        border-bottom: none;
    }
    .nav-last-child{
        /* box-shadow: 0 5px 10px rgba(0,0,0,.25); */
    }
    header .nav-bar ul li a{
        color: var(--PUVBleu);
    }
    header .nav-bar ul li ul{
        position:relative;
        width: 100%;
    }
    header .nav-bar ul li ul li{
        background: var(--PUVBlanc);
    }
    header .nav-bar ul li ul li a{
        transform: translateX(1rem);
        width: 100%;
    }
    header .nav-bar ul li:focus-within > ul, header .nav-bar ul li > ul{
    display: initial;
    }
    header .nav-bar ul li ul li ul{
        width: 100%;
        left: 0;
    }
    #menu-btn:checked ~ .nav-bar{
        display: initial;
    }
    header div.btn-app-nous{
        display: none;
    }
    .section-card-layout {
        width: min(75%, 70rem);
    }
    .footer-grid{
        width: min(75%, 70rem);
        grid-template-areas:
        'one one'
        'two three'
        'four four'
        ;
    }
}
/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 992px) {
    .service-hero, .service-hero-amen-pays, .service-hero-entr-pays, .service-hero-prod-pep, .realisation-hero, .realisation-hero-entree, .realisation-hero-vivant, .contact-hero, .confidentiality-hero{
        height: calc(25vh + 76px);
        height: calc(25svh + 76px);
    }
    .hero-container-txt{
        font-size: 1.5em;
    }
    .section-txt-left-layout {
        width: min(75%, 70rem);
        grid-template-areas:
        'two'
        'one'
        ;
    }
    .section-txt-right-layout {
        width: min(75%, 70rem);
        grid-template-areas:
        'two'
        'one'
        ;
    }
    .section-txt-center-layout {
        width: min(75%, 70rem);
    }
    /* .section-card-layout {
        grid-template-areas:
        'one'
        'two'
        'three'
        ;
    } */
    .footer-grid{
        grid-template-areas:
        'one'
        'two'
        'three'
        'four'
        ;
    }
 }
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.25em;
    }
    h2 {
        font-size: 1.7em;
    }
    header .nav-bar ul li a{
    padding: 1rem 1rem;
    }
}
@media screen and (max-width: 576px) {
    .hero-container-txt{
        font-size: 1.3em;
    }
    h1 {
        font-size: 1.85em; 
    }
    h2 {
        font-size: 1.45em;
    }
    h3 {
        font-size: 1.35em;
    }
    h4 {
        font-size: 1em;
    }
    
    /* Pour une lecture plus facile */  
    p {
        font-size: 1em;
    }
    .txt-list{ 
        font-size: 1em;
    }
    
    .nav-logo {
        height: 2.5rem;
    }
    .ham {
        width: 70px;
    }

    .section-card-layout {
        display: grid;
        grid-template-columns: none;
        /* grid-template-columns: repeat(auto-fill, minmax(285px, auto)); */
        margin-inline: auto;
        gap: 5rem;
        width: min(80%, 80rem);
        /* text-align:start; */
    }

    .footer-container h2{
        font-size: 1.35em;
    }
    .footer-container div{
        font-size: 1.15em;
    }
    .footer-container li{
        font-size: 1.15em;
    }

    /* Boutton Vert Fonce */
    .PUV-btn-VertFonce{
        padding: .5em 1.25em;
    }
    .footer-logo{
        margin-inline: auto;
    }
    .footer-logo img{
        height: 95px;
    }
}
@media (prefers-reduced-motion : no-preference) {
    :has(:target){
        scroll-behavior: smooth;
        scroll-padding-top: 3rem;
    }
}
