/* --------- Default -------- */

:root {
    --principale: #0D1D2C;
    --secondaire: #FFD166;
    --background: #F6FAFE;
    --accent: #EF6547;
    --accent2: #BBC8C0;
    --shadow: -5px 5px 0px var(--accent);
    --transition: all 0.25s ease;
}

::selection {
    background-color: var(--secondaire);
    color: var(--principale);
}

* {
    font-family: 'Blinker';
}

h1 {
    color: var(--principale);
    margin: 0;
    padding: 0;
    font-size: clamp(2rem, 6vw, 78px);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;

}

h2 {
    color: var(--principale);
    margin: 0;
    padding: 0;
    font-size: clamp(2.2rem, 6vw, 78px);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}
h3 {
    color: var(--background);
    background-color: var(--accent);
    width: fit-content;
    margin: 0;
    padding: 0px 5px;
    font-size: clamp(1.1rem, 2vw, 28px);
    font-weight: 400;
    text-align: center;
    text-transform: none;
}
h4 {
    margin: 0;
    padding: 0;
    font-size: clamp(1.2rem, 2vw, 28px);
    font-weight: 600;
    color: var(--accent2);
}
h5 {
    margin: 0;
    padding: 0;
    font-size: clamp(1.1rem, 1.8vw, 24px);
    font-weight: 600;
    color: var(--accent);
}
h6 {
    margin: 0;
    padding: 0;
    font-size: clamp(1.2rem, 2.5vw, 32px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--background);
}

ul {
    margin: 10px;
}

p, li {
    font-size: clamp(1rem, 1.8vw, 22px);
    font-weight: 500;
    margin: 0;
    padding: 0;
    color: var(--background);
}

a#no_style {
    all: unset;
    cursor: pointer;
    display: flex;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
}


a, button {
    all: unset;
    font-size: clamp(1rem, 1.8vw, 22px);
    font-weight: 600;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 3vw, 30px);
    margin: 0;
    text-align: center;
    color: var(--background);
    background-color: var(--accent);
    border: 4px solid var(--background);
    outline: 4px solid var(--accent);
    border-radius: 100px;
    transition: var(--transition) ;
    cursor: pointer;
}
a:hover, button:hover {
    border: 4px solid var(--accent);
    outline: 4px solid var(--background);
    background-color: var(--background);
    color: var(--accent);
}

a#link {
    all: unset;
    font-size: clamp(1rem, 1.8vw, 22px);
    font-weight: 600;
    color: var(--background);
    transition: var(--transition);
    cursor: pointer;
}
a#link:hover {
    color: var(--secondaire)
}

a#icon {
    padding: 10px 10px;
    color: var(--accent);
    background-color: var(--background);
    border: 2px solid var(--accent);
    outline: 3px solid var(--background);
}
a#icon:hover {
    border: 2px solid var(--background);
    outline: 3px solid var(--accent);
    background-color: var(--background);
    color: var(--accent);
}


i {
    color: var(--accent);
}


.footer-content > hr {
    color: var(--secondaire);
    background-color: var(--secondaire);
    border: none;
    height: 2px;
    width: 70%;
    max-width: 500px;

    margin: 0;
    padding: 0;
    transform: rotate(0deg);
    opacity: 50%;
}

/* ---------- CONTAINER ----------- */

html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#section {
    width: 100%;
    padding: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.presentation_content, .installation_content, .contact_content, .tarifs_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 150px;
    width: 90%;
    max-width: 1200px;
}

/* --------- HEADER ------------ */

.header {
    background-image: url(/images/Header.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: #ef664750;
    display: flex;
    padding: 0 !important;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.header_content {
    width: 100%;
    height: 100%;
    background-color: var(--principale);
    clip-path: polygon(0 0, 60% 0, 50% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_content .left {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 70vh;
}

.header_content .left > div {
    width: 100%;
}

.header_content .CTA {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 25px;
}

.slogan h3 {
    color: var(--secondaire);
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.slogan img {
    width: 100%;
    max-width: 40vw;
}

.header_content .right {
    height: 100vh;
    width: 50%;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    background-color: #EF654780;
}

.header_content .right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: overlay;
}

.header_content .horaires-contact, .horaires-contact > div {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 0px;
}

.reseaux {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: flex-start;
    gap: 20px;
}

/* -------  title_container ---------- */

.title_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}


/* --------- PRESENTATION ---------------- */

.presentation-bloc {
    background-color: var(--accent);
    border: 5px solid var(--background);
    outline: 5px solid var(--accent);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 80px;
    gap: 20px;
    position: relative;
    max-width: 800px;
}

.presentation-bloc img {
    bottom: 0;
    position: absolute;
    left: 30px;
    object-fit: contain;
}

.presentation-bloc p {
    width: 70%;
    z-index: 1;
}


/* ----------- INSTALLATIONS ------------ */

.installation-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 800px;
}

#grid-bloc {
    display: flex;
    flex-direction: row;
    justify-content: inherit;
    align-items: center;
    gap: 50px;
}

#grid-bloc .text, #grid-bloc .image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    width: 60%;
}

#grid-bloc .text p {
    color: var(--principale);
}

#grid-bloc.second {
    flex-direction: row-reverse;
}
#grid-bloc .image {
    background-color: #EF654780;
    width: 300px;
    height: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
}
#grid-bloc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: luminosity;
}

/* -------------------- TARIFS ------------------- */

.card_container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

#price_card {
    background-color: var(--principale);
    border: 5px solid var(--background);
    outline: 5px solid var(--principale);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 30%;
    gap: 25px;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#price_card h4 {
    color: var(--background);
    background-color: var(--accent);
    width: fit-content;
    text-align: center;
    padding: 0px 5px;
}

#price_card span {
    font-size: 18px;
    opacity: 0.8;
    padding-left: 5px;
}

#price_card ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    gap: 15px;
}


/* -------------------- CONTACT ------------------- */

.contact {
    background-color: var(--principale);
}
.contact h2 {
    color: var(--background);
}

.form_container {
    max-width: 700px;
}
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 50px;
}

.name_champs {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: stretch;
    gap: 25px;
}

label {
    color: var(--accent2);
    font-size: 18px;
    padding-bottom: 5px;
}

.champs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
}

input, textarea {
    border-radius: 20px;
    padding: 20px;
    font-size: clamp(1rem, 1.8vw, 22px);
    font-weight: 500;
    margin: 0;
    color: var(--principale);
    border: 3px solid var(--principale);
    outline: 3px solid var(--background);
    transition: var(--transition);
}

input:focus, textarea:focus {
    border: 3px solid var(--accent);
    outline: 3px solid var(--background);
}

.rgpd label {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    padding: 0px 20px;
    gap: 25px;
    color: var(--background);
}
.rgpd input {
    all: unset;
    height: 20px;
    width: 20px;
    min-height: 20px;
    min-width: 20px;
    border-radius: 20px;
    background-color: var(--background);
    outline: 3px solid var(--background);
    border: 3px solid var(--principale);
    transition: var(--transition);
}

.rgpd input:hover {
    background-color: var(--background);
    border: 3px solid var(--accent);
}

.rgpd input:checked {
    background-color: var(--accent);
    border: 3px solid var(--accent);
}

/* -------------- FOOTER ----------------- */

footer {
    background-color: var(--principale);
    width: 100%;
    padding: 50px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 90%;
}

.footer-content .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.footer-content .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 50px;
}
.footer-content .slogan {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}
.footer-content .mentions {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 25px;
}

.footer-content .mentions a#link {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

/* -------- MENTIONS LEGALES ------------ */

.mentions-legales_content {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    gap: 100px;
    max-width: 80vw;
}

.group-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    max-width: 800px;
    width: 100%;
}

.group-text .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.mentions-legales_content p {
    color: var(--principale);
}


/* ------------------------------------- RESPONSIVE ------------------------------------ */

/*  RESPONSIVE TABLETTE */

@media only screen and (max-width: 850px) {

.presentation_content, .installation_content, .contact_content, .tarifs_content {
    gap: 80px;
}
#section {
    padding: 100px;
}

.header {
    padding-bottom: 200px !important;
    background-size: 250%;
    background-position: bottom;
}

.header_content .left {
    width: 80%;
    height: auto;
    padding: 100px 0px 250px 0px;
    gap: 50px;
}
.slogan img {
    max-width: 75vw;
}

.header_content {
    clip-path: polygon(0 0, 100% 0, 100% 73%, 0 83%);
    flex-direction: column;
}

.presentation-bloc {
    padding: 3rem 2rem;
    align-items: center;
}
.presentation-bloc p {
    width: 100%;
}

.presentation-bloc img {
    opacity: 0.2;
    height: 100%;
}

#grid-bloc, #grid-bloc.second {
    flex-direction: column-reverse;
    gap: 25px;
    width: 100%;
}
#grid-bloc .image {
    width: 100%;
    height: 150px;
    aspect-ratio: 2 / 1;
}
#grid-bloc .text {
    width: 100%;
}

.card_container {
    flex-wrap: wrap;
}
#price_card {
    width: 100%;
    padding: 30px 20px;
}

.form_container {
    max-width: 80vw;
}
.name_champs {
    flex-direction: column;
}
.rgpd label {
    max-width: 70vw;
    align-items: center;
    padding: 0;
}


.footer-content {
    flex-direction: column;
    gap: 50px;
}
.footer-content .right{
    align-items: center;
    justify-content: center;
}
.footer-content .slogan {
    align-items: center;
    justify-content: center;
}
.footer-content .slogan img {
    max-width: 70vw;
}
.footer-content .mentions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



}




/* Erreur 404 */

.error_container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    gap: 50px;
}

.error_container .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0px;
}

.error_container h1 {
    font-size: clamp(6rem, 15vw, 146px);
    font-weight: 800;
}

