@charset "utf-8";
/* CSS Document */

/* Reset des règles par défaut */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    font: inherit;
    vertical-align: baseline;
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

input {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    font: inherit;
    vertical-align: baseline;
}

textarea,
input {
    font-family: inherit;
    font-size: inherit;
}

/* Règles globales */

@font-face {
    font-family: "DM-Sans";
    font-weight: 400;
    src: url("../fonts/DMSans-Regular.ttf") format("TrueType");
}

@font-face {
    font-family: "DM-Sans";
    font-weight: 700;
    src: url("../fonts/DMSans-Bold.ttf") format("TrueType");
}

@font-face {
    font-family: "DM-Sans";
    font-weight: 900;
    src: url("../fonts/DMSans-Black.ttf") format("TrueType");
}

@font-face {
    font-family: "DM-Sans";
    font-weight: 100;
    src: url("../fonts/DMSans-Thin.ttf") format("TrueType");
}

body {
    font-family: DM-sans;
    --color1: #faf7ff;
    --color1: #fff;
    --color2: #2a2a2a;
    --color3: #252c74;
    --color3: #404a5e;
    --color4: #070f24;
    --color5: #eb9336;
    color: var(--color2);
    background: var(--color1);
}

@media (max-width: 599px) {
    body {
        font-size: .9rem;
    }
}

h1 {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2.5rem;
}

h2 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.5rem;
}

p {
    line-height: 1.5rem;
}

a {
    color: var(--color2);
    transition: 300ms;
}

a:visited {
    color: var(--color2);
}

a:hover {
    color: var(--color5);
}

a:active {
    color: var(--color5);
}

button {
    transition: 300ms;
}

.standard>div {
    width: min(1200px, 90%);
    margin: auto;
}

.sombre {
    color: var(--color1);
    background: var(--color2);
}

.rouge {
    color: var(--color1);
    background: var(--color3);
}

/* NAV */

nav {
    position: fixed;
    z-index: 10;
    top: 0;
    width: 100%;
    background-color: var(--color1);
    color: var(--color2);
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

nav>div:first-child {
    width: min(1200px, 90%);
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

nav>div:first-child>div {
    padding: 10px 0;
}

nav>div:first-child>div>a>svg {
    width: 1rem;
    position: relative;
    top: .2rem;
    margin-right: .5rem;
}

nav>div:last-child {
    width: min(1200px, 90%);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

nav>div:last-child>div:first-child {
    width: 35px;
    height: 35px;
}

nav>div:last-child>div:first-child>a {
    width: 100%;
    height: 100%;
}

nav>div:last-child>div:first-child>a>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

nav>div:last-child>div:nth-child(3) {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav>div:last-child>div:nth-child(3)>div {
    position: relative;
    padding: 10px;
}

nav>div:last-child>div:nth-child(3)>div::before {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    background-color: var(--color5);
}

nav>div:last-child>div:nth-child(3)>div:not(:last-child)::before {
    transform: scaleY(0);
    transition: 300ms;
}

nav>div:last-child>div:nth-child(3)>div:hover::before {
    transform: scaleY(1);
}

nav>div:last-child>div:nth-child(3)>div>a {
    padding: 10px 0;
    position: relative;
}

nav>div:last-child>div:nth-child(3)>div:hover>a,
nav>div:last-child>div:nth-child(3)>div:last-child>a {
    color: var(--color1);
}

@media (min-width: 1200px) {
    nav>div:last-child>div:first-child {
        position: relative;
        transform: scale(2);
        top: -22px;
        left: 18px;
    }
    nav>div:last-child>div:nth-child(2) {
        display: none;
    }
}

@media (max-width: 1200px) {
    nav>div:first-child {
        position: absolute;
        width: fit-content;
        margin-left: calc(5% + 55px + 1rem);
        background-color: transparent;
        gap: 1rem;
    }
    nav>div:first-child>div {
        padding: 0;
        margin-top: 11px;
    }
    nav>div:first-child>div>a>svg {
        border: 1px solid var(--color2);
        border-radius: 5px;
        padding: 5px;
        width: 2rem;
        top: 0rem;
        margin-right: 0;
    }
    nav>div:first-child>div>a:hover>svg,
    nav>div:first-child>div>a:active>svg {
        border: 1px solid var(--color5);
    }
    nav>div:first-child>div>a>span {
        display: none;
    }
    nav>div:last-child {
        flex-wrap: wrap;
        gap: 0;
    }
    nav>div:last-child>div:first-child {
        width: 55px;
        height: 55px;
        margin: 5px 0;
    }
    nav>div:last-child>div:nth-child(3) {
        max-height: 0;
        flex: 95%;
        transition: 600ms;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    nav.active>div:last-child>div:nth-child(3) {
        max-height: 300px;
    }
    nav>div:last-child>div:nth-child(3)>div {
        flex: 95%;
        text-align: center;
    }
    nav>div:last-child>div:nth-child(3)>div:last-child {
        margin-bottom: .5rem;
        ;
    }
}

.hamburger {
    background: transparent;
    border: 1px solid var(--button-color, var(--color2));
    fill: var(--button-color, var(--color2));
    cursor: pointer;
    padding: 0;
    line-height: 0;
    margin-top: 1px;
    border-radius: 5px;
}

.hamburger .line {
    transition: y 150ms ease-in 150ms, rotate 150ms ease-in, opacity 0ms 150ms;
    transform-origin: center;
}

.hamburger[aria-expanded="true"] .line {
    transition: y 150ms ease-in, rotate 150ms ease-in 150ms, opacity 0ms 150ms;
}

.hamburger[aria-expanded="true"] :is(.top,
.bottom) {
    y: 45px;
}

.hamburger[aria-expanded="true"] .top {
    rotate: 45deg;
}

.hamburger[aria-expanded="true"] .bottom {
    rotate: -45deg;
}

.hamburger[aria-expanded="true"] .middle {
    opacity: 0;
}

/* HEADER */

header {
    width: 100%;
    min-height: 100vh;
    background: var(--color2);
    background-size: cover;
    background-position: 0% 50%;
    animation: backgroundTranslate 15s ease-in-out infinite;
    position: relative;
    display: flex;
    align-items: center;
}

@keyframes backgroundTranslate {
    0%,
    10%,
    90%,
    100% {
        background-position: 0% 50%;
    }
    40%,
    60% {
        background-position: 100% 50%;
    }
}

@media (min-width: 2000px) {
    header {
        background-image: url("../images/header4k.jpg");
    }
}

@media (min-width: 1200px) {
    header {
        background-image: url("../images/header1080p.jpg");
    }
}

@media (min-width: 700px) and (max-width: 1199px) {
    header {
        background-image: url("../images/header540p.jpg");
    }
    @keyframes backgroundTranslate {
        0%,
        10%,
        90%,
        100% {
            background-position: 30% 50%;
        }
        40%,
        60% {
            background-position: 70% 50%;
        }
    }
}

@media (max-width: 699px) {
    header {
        background-image: url("../images/headerSmartphone.jpg");
    }
    @keyframes backgroundTranslate {
        0%,
        10%,
        90%,
        100% {
            background-position: 40% 50%;
        }
        40%,
        60% {
            background-position: 100% 50%;
        }
    }
}

header>div:nth-child(1) {
    padding-left: 15vw;
    padding-bottom: .5rem;
    border-bottom: 5px solid transparent;
    animation: border 1s ease-in-out 800ms forwards;
}

@keyframes border {
    0% {
        border-bottom: 5px solid transparent;
    }
    100% {
        border-bottom: 5px solid var(--color1);
    }
}

header>div:nth-child(1)>h2 {
    background-color: var(--color3);
    color: var(--color1);
    width: fit-content;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    opacity: 0;
    animation: opacity 1s ease-in-out forwards;
}

header>div:nth-child(1)>h1 {
    color: var(--color1);
    text-transform: capitalize;
    max-width: 700px;
    font-size: 3.5rem;
    opacity: 0;
    animation: opacity 1s ease-in-out 500ms forwards;
}

@keyframes opacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    header>div:nth-child(1) {
        max-width: 90%;
        text-align: center;
        padding-left: 0;
        margin: auto;
    }
    header>div:nth-child(1)>h2 {
        margin: 0 auto 1rem auto;
    }
}

@media (max-width: 600px) {
    header>div:nth-child(1)>h2 {
        font-size: 1.5rem;
    }
    header>div:nth-child(1)>h1 {
        font-size: 2.3rem;
    }
}

header>div:nth-child(2) {
    display: grid;
    place-items: center;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 10%;
    /*background-color: rgba(0, 0, 0, .3);*/
}

header>div:nth-child(2)>div {
    width: fit-content;
    transition: 600ms;
    cursor: pointer;
    overflow: hidden;
    background-color: var(--color3);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header>div:nth-child(2)>div:hover {
    transform: scale(1.2);
}

header>div:nth-child(2)>div>svg {
    display: block;
    width: 5rem;
    opacity: .1;
    fill: var(--color1);
    position: relative;
}

header>div:nth-child(2)>div>svg:first-child {
    top: 1rem;
    animation: ctaOpacity 2s ease-in-out infinite;
}

header>div:nth-child(2)>div>svg:last-child {
    top: -1rem;
    animation: ctaOpacity 2s 0.2s ease-in-out infinite;
}

@keyframes ctaOpacity {
    0%,
    100% {
        opacity: .1;
    }
    20%,
    30% {
        opacity: 1;
    }
}

/* STICKER */

.sticker {
    position: fixed;
    top: 50%;
    right: -20%;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    gap: 1rem;
    background: var(--color5);
    z-index: 5;
    animation: sticker 1s ease-in-out 500ms forwards;
}

@keyframes sticker {
    0% {
        right: -20%;
    }
    100% {
        right: 0%;
    }
}

@media (max-width: 799px) {
    .sticker {
        top: auto;
        bottom: 88px;
    }
}

.sticker svg {
    width: 2rem;
    color: var(--color1);
    cursor: pointer;
    transition: 300ms;
}

.sticker svg:hover {
    transform: scale(1.4);
}

.info-section {
    background-color: #404a5e; /* Açık gri arka plan */
    color: #333;
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .info-box {
    background-color: #ffffff; /* Beyaz kutular */
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    flex: 1 1 300px;
    min-width: 260px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #333;
  }
  
  .info-box:hover {
    transform: translateY(-5px);
  }
  
  /* İkonlar: Emoji yerine SVG/renkli ikon da kullanılabilir */
  .icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #3c4b66; /* Koyu mavi-gri */
  }
  
  h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #222;
  }
  
  p {
    margin: 6px 0;
    line-height: 1.5;
    color: #444;
  }
  
  .info-note {
    margin-top: 10px;
    font-style: italic;
    font-size: 14px;
    color: #777;
  }
  
  /* Google Yorum Kutusu */
  .google-box .google-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .google-box .review-title {
    font-size: 20px;
    font-weight: 600;
    color: #4285F4;
  }
  
  .stars {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fbc02d; /* Sarı yıldız */
  }
  
  .rating {
    display: block;
    font-size: 16px;
    color: #333;
  }
  
  .slogan {
    font-size: 14px;
    font-style: italic;
    color: #666;
    margin: 8px 0;
  }
  
  .review-link {
    display: inline-block;
    margin-top: 10px;
    color: #4285F4;
    text-decoration: none;
    font-weight: bold;
  }
  
  .review-link:hover {
    text-decoration: underline;
  }
  
  /* Responsive Mobil */
  @media (max-width: 768px) {
    .info-container {
      flex-direction: column;
      align-items: center;
    }
  
    .info-box {
      width: 90%;
      max-width: 100%;
    }
  }

  .info-box {
    border-top: 4px solid #eb9336; /* Veya başka bir accent rengi */
  }

/* PRESENTATION */

.s-presentation {
    margin: 8rem 0;
}

.s-presentation>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.s-presentation>div>div {
    flex: 1;
    box-sizing: border-box;
}

.s-presentation>div>div>h2 {
    text-align: center;
    background: var(--color3);
    color: var(--color1);
    padding: 1rem;
    box-shadow: -16px -16px 0px var(--color5);
}

.s-presentation>div>div>p {
    text-align: justify;
}

.s-presentation>div>div>p:not(:last-child) {
    margin-bottom: 1rem;
}

.s-presentation>div>div>p span {
    font-weight: 700;
}

@media (max-width: 1200px) {
    .s-presentation>div {
        flex-direction: column;
        text-align: center;
    }
    .s-presentation>div>div>p {
        text-align: center;
        margin: auto;
    }
}

.s-presentation>div>div:first-child,
.s-presentation>div>div:nth-child(2) {
    opacity: 0;
    transition: 1000ms;
    transition-timing-function: ease-in-out;
}

.s-presentation>div.active>div:nth-child(2) {
    transition-delay: 500ms;
}

.s-presentation>div.active>div:first-child,
.s-presentation>div.active>div:nth-child(2) {
    opacity: 1;
}

/* PRESTATIONS */

.s-presta {
    margin: 8rem 0;
}

.s-presta>div {
    width: min(1600px, 90%);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 999px) {
    .s-presta>div {
        width: 90%;
        flex-direction: column;
        justify-content: center;
    }
}

.s-presta>div>div {
    flex: 1 0 0;
    height: 600px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 999px) {
    .s-presta>div>div {
        flex: 1 0 auto;
    }
}

.s-presta>div>div>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 300ms ease-in-out;
}

.s-presta>div>div:hover>img {
    transform: scale(1.1);
}

.s-presta>div>div>div {
    background-color: rgba(0, 0, 0, .7);
    position: absolute;
    width: 100%;
    height: 200px;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.s-presta>div>div>div>a {
    padding: 2rem;
    color: var(--color1);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.s-presta>div>div>div>a:hover {
    color: var(--color5);
}

/* AVANTAGES */

.s-avantages {
    padding: 8rem 0;
    background-color: var(--color3);
    color: var(--color1);
    overflow: hidden;
}

.s-avantages>div:first-child>h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.s-avantages>div:nth-child(2) {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    font-size: 1.5rem;
}

.s-avantages>div:nth-child(2)>div {
    text-align: center;
}

@media (max-width: 999px) {
    .s-avantages>div:nth-child(2)>div {
        flex: 100%;
    }
    .s-avantages>div:nth-child(2)>div:not(:first-child) {
        margin-top: 4rem;
    }
}

.s-avantages>div:nth-child(2)>div>div:first-child {
    margin-bottom: 1rem;
}

.s-avantages>div:nth-child(2)>div>div>i {
    font-size: 3rem;
}

.card {
    opacity: 0;
}

.card.active {
    animation: bounce-in 1.5s ease-in-out forwards;
}

@media (min-width: 600px) {
    .card:nth-child(2).active {
        animation-delay: 0.5s;
    }
    .card:nth-child(3).active {
        animation-delay: 1s;
    }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(.3) translateY(1000px);
    }
    30% {
        opacity: 1;
        transform: scale(1.5) translateY(0px);
    }
    55% {
        transform: scale(.90);
    }
    70% {
        transform: scale(1.05);
    }
    85% {
        transform: scale(.95);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    @keyframes bounce-in {
        0% {
            opacity: 0;
            transform: scale(.3) translateY(1000px);
        }
        30% {
            opacity: 1;
            transform: scale(1.2) translateY(0px);
        }
        55% {
            transform: scale(.90);
        }
        70% {
            transform: scale(1.05);
        }
        85% {
            transform: scale(.95);
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
}

/* GALERIE */

.s-gallery {
    padding: 8rem 0;
}

.s-gallery>div:first-child {
    width: min(1200px, 90%);
    margin: auto;
}

.s-gallery>div:first-child h2 {
    margin: auto;
    width: fit-content;
    margin-bottom: 6rem;
    background: var(--color3);
    color: var(--color1);
    padding: 1rem 8rem;
    box-shadow: -16px -16px 0px var(--color5);
}

@media (max-width: 599px) {
    .s-gallery>div:first-child h2 {
        text-align: center;
        width: auto;
        padding: 1rem 0;
    }
}

.s-gallery>div:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.s-gallery>div:nth-child(2)>div {
    flex: calc(100%/6 - .5rem);
    height: 300px;
    position: relative;
}

@media (max-width: 1699px) {
    .s-gallery>div:nth-child(2)>div {
        height: 250px;
    }
}

@media (max-width: 1499px) {
    .s-gallery>div:nth-child(2)>div {
        flex: calc(100%/4 - .5rem);
        height: 300px;
    }
}

@media (max-width: 1199px) {
    .s-gallery>div:nth-child(2)>div {
        height: 250px;
    }
}

@media (max-width: 899px) {
    .s-gallery>div:nth-child(2)>div {
        height: 200px;
    }
}

@media (max-width: 749px) {
    .s-gallery>div:nth-child(2)>div {
        flex: calc(100%/3 - .5rem);
        height: 250px;
    }
}

@media (max-width: 649px) {
    .s-gallery>div:nth-child(2)>div {
        height: 150px;
    }
}

@media (max-width: 499px) {
    .s-gallery>div:nth-child(2)>div {
        flex: calc(100%/2 - .5rem);
        height: 200px;
    }
}

.s-gallery>div:nth-child(2)>div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 300ms;
}

.s-gallery>div:nth-child(2)>div img:hover {
    cursor: pointer;
}

.s-gallery>div:nth-child(2)>div::after {
    position: absolute;
    content: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 16 16' ><path fill-rule='evenodd' d='M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z' fill='%23f6f1eb'/><path d='M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z' fill='%23f6f1eb'/><path fill-rule='evenodd' d='M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5z' fill='%23f6f1eb'/></svg>");
    width: 48px;
    height: 48px;
    left: calc(50% - 48px/2);
    top: calc(50% - 48px/2);
    transition: 600ms;
    opacity: 0;
    pointer-events: none;
}

.s-gallery>div:nth-child(2)>div:hover img {
    filter: brightness(30%);
}

.s-gallery>div:nth-child(2)>div:hover::after {
    opacity: 100%;
}

/* GALLERY SCREEN */

#gallery-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(10, 10, 10, 0.9);
    z-index: 10;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

@media (max-width: 799px) {
    #gallery-screen {
        gap: 1rem;
    }
}

#gallery-screen>div:first-child {
    height: 70%;
    max-width: 90%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#gallery-screen>div:first-child>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 150ms;
}

#gallery-screen>div:nth-child(2) {
    height: 10%;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
}

@media (max-width: 799px) {
    #gallery-screen>div:nth-child(2) {
        gap: 1rem;
    }
}

#gallery-screen>div:nth-child(2)>img {
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: 300ms;
}

#gallery-screen>div:nth-child(2)>img:hover {
    filter: contrast(1.5);
}

#gallery-screen>svg {
    position: fixed;
    cursor: pointer;
    color: white;
    background: transparent;
    --size: 24px;
    width: var(--size);
    height: var(--size);
    transition: 150ms;
    padding: 1rem;
}

#gallery-screen>svg:hover {
    transform: scale(1.1);
}

#gallery-screen>svg[data-function=close] {
    top: 15px;
    right: 15px;
}

#gallery-screen>svg[data-function=update] {
    top: calc((100% - (70% + 2rem + 10%)) / 2 + 35% - (var(--size) + 1rem) / 2);
    /* marge d'en haut (soit la totalité de la page moins le contenu central puis divisé par deux) + moitié de la hauteur de l'image */
}

@media (max-width: 799px) {
    #gallery-screen>svg[data-function=update] {
        display: none;
    }
}

#gallery-screen>svg[data-direction=prev] {
    left: calc(10% - var(--size) / 2);
}

#gallery-screen>svg[data-direction=next] {
    right: calc(10% - var(--size) / 2);
}

/* FOURNISSEURS */

.s-fournisseurs {
    padding: 8rem 0;
    background-color: var(--color1);
    color: var(--color2);
}

.s-fournisseurs h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.s-fournisseurs>div>div {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 1199px) {
    .s-fournisseurs>div>div {
        gap: 10px;
    }
}

.s-fournisseurs>div>div>div {
    width: 200px;
    height: 200px;
}

@media (max-width: 1199px) {
    .s-fournisseurs>div>div>div {
        width: 150px;
        height: 150px;
    }
}

.s-fournisseurs>div>div>div>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTACT */

.s-contact {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--color5);
    color: var(--color1);
}

.s-contact h2 {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.s-contact h2 svg {
    width: 5rem;
    fill: var(--color1);
    animation: ampoule 2s ease-in-out infinite;
}

@keyframes ampoule {
    0%,
    30%,
    70%,
    100% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
}

.s-contact p {
    margin: 2rem 0 4rem 0;
}

.s-contact>div>div:last-child {
    transition: 600ms;
}

.s-contact>div>div:last-child:hover {
    transform: scale(1.2);
}

.s-contact a {
    border: 1px solid var(--color1);
    color: var(--color1);
    padding: 1rem;
    border-radius: 20px;
}

/* FOOTER */

footer {
    background-color: var(--color3);
    color: var(--color1);
}

footer a {
    color: var(--color1);
}

footer>div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 0;
}

@media (max-width: 799px) {
    footer>div:first-child {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

footer>div:first-child>div>div {
    padding: .5rem 0;
}

footer>div:first-child>div:nth-child(1)>div:first-child,
footer>div:first-child>div:nth-child(2)>div:first-child {
    text-transform: uppercase;
}

footer>div:first-child>div:last-child>div {
    text-align: center;
}

footer>div:first-child>div>div>div.logo {
    width: 130px;
    height: 130px;
    margin: auto;
    margin-bottom: 1rem;
}

footer>div:first-child>div>div>div.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

footer>div:first-child>div>div>div:last-child {
    text-transform: uppercase;
}

footer>div:last-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 .5rem 0;
    font-size: .9rem;
}

footer>div:last-child>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: .5rem 0;
}

@media (max-width: 799px) {
    footer>div:last-child {
        flex-direction: column;
        gap: 2rem;
    }
    footer>div:last-child>div:first-child {
        flex-direction: column;
    }
}

footer svg {
    width: 1.2rem;
    fill: var(--color1);
    position: relative;
    top: .1rem;
    transition: 300ms;
}

footer>div>div>div:hover svg {
    fill: var(--color5);
}

.s-final {
    background: var(--color4);
    color: var(--color1);
}

.s-final a {
    color: var(--color1);
}

.s-final a:hover {
    color: var(--color2);
}

.s-final>div {
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding: .3rem 0;
}

@media (max-width: 699px) {
    .s-final>div {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: .5rem 0;
    }
}

/* HEADER AUTRES PAGES */

.s-intro {
    min-height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color3);
    color: var(--color1);
}

.s-intro h1 {
    padding-top: 5rem;
    font-size: 3rem;
}

@media (max-width: 799px) {
    .s-intro h1 {
        font-size: 2rem;
        text-align: center;
        padding-top: 4rem;
    }
}

.s-intro-diagonal {
    margin: 80px 0 2rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color3);
    color: var(--color1);
}

@media (max-width: 599px) {
    .s-intro-diagonal {
        margin: 65px 0 4rem 0;
    }
}

@media (min-width: 1000px) {
    .s-intro-diagonal {
        height: 430px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 1000px) {
    .s-intro-diagonal>div:first-child {
        position: absolute;
        width: 70%;
        height: 100%;
        right: -20%;
        top: 0;
        transform: skew(-35deg, 0deg);
        overflow: hidden;
    }
}

@media (min-width: 1400px) {
    .s-intro-diagonal>div:first-child {
        width: 60%;
        right: -10%;
    }
}

@media (max-width: 999px) {
    .s-intro-diagonal>div:first-child {
        position: relative;
        height: 200px;
    }
}

.s-intro-diagonal>div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

@media (min-width: 1000px) {
    .s-intro-diagonal>div:first-child img {
        transform: skew(35deg, 0deg) translateX(-15%) scale(1.1);
    }
}

.s-intro-diagonal>div:last-child {
    width: min(1200px, 80%);
    position: relative;
    z-index: 2;
}

@media (max-width: 999px) {
    .s-intro-diagonal>div:last-child {
        width: 90%;
        margin: auto;
    }
}

@media (min-width: 1000px) {
    .s-intro-diagonal>div:last-child>div {
        max-width: 40%;
    }
}

@media (max-width: 999px) {
    .s-intro-diagonal>div:last-child>div {
        text-align: center;
        padding: 2rem;
    }
}

.s-intro-diagonal>div:last-child>div>h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color1);
    margin-bottom: 2rem;
}

@media (max-width: 599px) {
    .s-intro-diagonal>div:last-child>div>h1 {
        font-size: 2rem;
    }
}

.s-intro-diagonal>div:last-child>div>p {
    font-size: 1.2rem;
    line-height: 2rem;
    color: var(--color1);
}

/* FORMULAIRE */

.s-formulaire {
    padding: 5rem 0 0 0;
}

.formulaire_wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 20px auto 20px auto;
}

.formulaire_container {
    padding: 30px;
    box-sizing: border-box;
}

.formulaire_container:first-child {
    order: 2;
}

@media (min-width: 992px) {
    .formulaire_container {
        width: 450px;
        text-align: left;
    }
}

@media (max-width: 991px) {
    .formulaire_container {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        text-align: center;
    }
}

.formulaire_container h2 {
    margin: 10px 0 40px 0;
}

.formulaire_container a {
    color: var(--color2);
}

.formulaire_container a:hover {
    color: var(--color5);
}

.formulaire_container:nth-child(1) h2 {
    color: var(--color2);
}

.formulaire_container form div {
    margin-bottom: 1rem;
}

.formulaire_input {
    padding: 10px 0 20px 0;
    width: 100%;
    border-bottom: 1px solid var(--color2);
    border-top: none;
    border-left: none;
    border-right: none;
    color: var(--color2);
    background: transparent;
    outline: none;
    transition: color 0.5s;
    transition: border-bottom 0.5s;
}

.formulaire_input:focus {
    color: var(--color5);
    border-bottom: 1px solid var(--color5);
}

.formulaire_container #consentement {
    width: 1.15em;
    height: 1.15em;
    margin-right: 10px;
    accent-color: var(--color5);
}

#formulaire input[type=submit],
#formulaire button.enablerecaptcha {
    width: 100%;
    background: var(--color3);
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: var(--color1);
    padding: 10px 0 10px 0;
    transition: 0.5s;
}

#formulaire input[type=submit]:hover,
#formulaire button.enablerecaptcha:hover {
    background: var(--color5);
}

#formulaire input[type=submit].active {
    background: var(--color5);
    color: var(--color5);
    cursor: auto;
}

#formulaire p {
    margin-top: 15px;
    text-align: center;
    width: 100%;
    height: 20px;
}

.formulaire_container .form-error {
    color: #911616;
}

.formulaire_container .form-error::placeholder {
    color: var(--color2);
}

.formulaire_container_bg {
    background: var(--color3);
    box-shadow: -16px -16px 0px var(--color5);
}

@media (max-width: 1200px) {
    .formulaire_container_bg {
        box-shadow: 0px -16px 0px var(--color5);
    }
}

.formulaire_container_bg>h2 {
    color: var(--color1);
    opacity: 0.8;
    margin-bottom: 60px;
}

.formulaire_container_bg>div>div a {
    color: var(--color1);
}

.formulaire_container_bg>div>div a:hover {
    color: var(--color5);
}

.formulaire_container_bg>div {
    margin: 40px 0 0 0;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    color: var(--color1);
    opacity: 0.8;
}

.formulaire_container_bg div div {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
}

.formulaire_container_bg span {
    font-weight: bold;
}

.formulaire_container_bg svg {
    height: 24px;
    width: 24px;
    margin-right: 40px;
}

.formulaire_container_bg a,
.formulaire_container_bg a:visited,
.formulaire_container_bg a:hover,
.formulaire_container_bg a:active {
    color: var(--color1);
    text-decoration: none;
}

.s-map>div {
    margin: auto;
    text-align: center;
    padding: 3rem 0 3rem 0;
}

.s-map>div>iframe {
    width: min(1020px, 100%);
    height: 400px;
}

@media (max-width: 599px) {
    .s-map>div {
        padding: 0rem 0 3rem 0;
    }
}

/* PAGES PRESTATIONS */

.s-p-presta {
    padding: 4rem 0;
}

.s-p-presta>div {
    width: min(1600px, 90%);
    margin: auto;
}

.s-p-presta>div:first-child>h2 {
    text-align: center;
    margin-bottom: 4rem;
    background: var(--color3);
    color: var(--color1);
    padding: 1rem;
    box-shadow: -16px -16px 0px var(--color5);
}

.s-p-presta>div:nth-child(2) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 1200px) {
    .s-p-presta>div:nth-child(2) {
        flex-direction: column;
    }
}

.s-p-presta>div:nth-child(2)>div:first-child {
    flex: 1;
    text-align: justify;
}

@media (max-width: 600px) {
    .s-p-presta>div:nth-child(2)>div:first-child {
        text-align: center;
    }
}

.s-p-presta>div:nth-child(2)>div:nth-child(2) {
    flex: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.s-p-presta>div:nth-child(2)>div:nth-child(2)>div {
    flex: 40%;
    height: 250px;
    position: relative;
}

@media (max-width: 600px) {
    .s-p-presta>div:nth-child(2)>div:nth-child(2)>div {
        flex: 80%;
    }
}

.s-p-presta>div:nth-child(2)>div:nth-child(2)>div>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 300ms;
}

.s-p-presta>div:nth-child(2)>div:nth-child(2)>div>img:hover {
    cursor: pointer;
}

.s-p-presta>div:nth-child(2)>div:nth-child(2)>div::after {
    position: absolute;
    content: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 16 16' ><path fill-rule='evenodd' d='M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z' fill='%23f6f1eb'/><path d='M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z' fill='%23f6f1eb'/><path fill-rule='evenodd' d='M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5z' fill='%23f6f1eb'/></svg>");
    width: 48px;
    height: 48px;
    left: calc(50% - 48px/2);
    top: calc(50% - 48px/2);
    transition: 600ms;
    opacity: 0;
    pointer-events: none;
}

.s-p-presta>div:nth-child(2)>div:nth-child(2)>div:hover>img {
    filter: brightness(30%);
}

.s-p-presta>div:nth-child(2)>div:nth-child(2)>div:hover::after {
    opacity: 100%;
}

.s-p-presta>div:nth-child(2)>div:first-child>p:not(:last-child) {
    margin-bottom: 1rem;
}

.s-p-presta>div:nth-child(2)>div:first-child>p>span {
    font-weight: 700;
}

.s-p-presta>div:nth-child(2)>div:first-child>a {
    display: block;
    padding: 1rem;
    width: fit-content;
    border-radius: 15px;
    background: var(--color5);
    cursor: pointer;
    transition: 300ms;
    margin: 2rem auto 0 auto;
    color: var(--color1);
}

@media (max-width: 1200px) {
    .s-p-presta>div:nth-child(2)>div:first-child>a {
        margin: 2rem auto 1rem auto;
    }
}

.s-p-presta>div:nth-child(2)>div:first-child>a:hover {
    background: var(--color2);
}

/* FINITIONS */

.s-finitions {
    padding: 4rem 0;
    ;
}

.s-finitions>h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 4rem;
    font-size: 1.5rem;
}

.s-finitions>div {
    width: min(1200px, 80%);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}

@media (max-width: 999px) {
    .s-finitions>div {
        width: 90%;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.s-finitions>div>div {
    flex: 1 0 0;
    height: 300px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 999px) {
    .s-finitions>div>div {
        flex: 30%;
    }
}

@media (max-width: 499px) {
    .s-finitions>div>div {
        flex: 40%;
        height: 250px;
    }
}

.s-finitions>div>div>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 300ms;
}

.s-finitions>div>div:hover>img {
    transform: scale(1.1);
}

.s-finitions>div>div>div {
    background-color: rgba(0, 0, 0, .7);
    position: absolute;
    width: 100%;
    height: 70px;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
    text-align: center;
}

.s-finitions>div>div>div>h3 {
    color: var(--color1);
}

/* PAGES LEGALES */

.policy h2 {
    margin: 50px 0;
    text-transform: uppercase;
}

.policy h3 {
    margin: 30px 0;
    text-transform: uppercase;
}

.policy h4,
.policy h5 {
    margin: 20px 0;
}

.policy a:hover {
    color: var(--color5);
}

.policy>div {
    margin: 50px auto;
}

.policy p,
.policy li {
    text-align: justify;
    margin-bottom: 5px;
}

@media (min-width: 1200px) {
    .policy>div {
        max-width: 1200px;
    }
    .policy .wrapper {
        display: flex;
        column-gap: 50px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .policy .wrapper div:nth-child(1) {
        flex: 1;
    }
    .policy .wrapper div:nth-child(2) {
        flex: 2;
    }
}

@media (max-width: 1199px) {
    .policy>div {
        max-width: 90%;
    }
}

.mentions-legales>div {
    margin: 50px auto;
}

.mentions-legales>div h2 {
    font-weight: 700;
}

@media (min-width: 1200px) {
    .mentions-legales>div {
        max-width: 1200px;
        display: flex;
        justify-content: center;
        column-gap: 100px;
    }
}

@media (max-width: 1199px) {
    .mentions-legales>div {
        max-width: 90%;
        text-align: center;
    }
}

/* BANDEAU COOKIES */

.cookie-bandeau {
    background: var(--color3);
    color: var(--color1);
    position: fixed;
    bottom: 25px;
    width: 100vw;
    z-index: 50;
}

.cookie-bandeau.active {
    display: none;
}

.cookie-bandeau a {
    font-weight: 700;
    color: var(--color1);
}

.cookie-bandeau a:hover {
    color: var(--color2);
}

.cookie-bandeau button {
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px 0 5px;
    background: var(--color1);
    border: 1px solid var(--color1);
    color: var(--color2);
    transition: 0.5s;
}

.cookie-bandeau button:hover {
    background: var(--color3);
    color: var(--color1);
}

.cookie-bandeau>div {
    margin: auto;
    padding: 10px 0;
    width: 80vw;
}

.cookie-bandeau>div>div:nth-child(1) {
    text-align: justify;
}

@media (max-width: 599px) {
    .cookie-bandeau>div>div:nth-child(1) {
        text-align: center;
    }
}

@media (max-width: 1199px) {
    .cookie-bandeau>div>div:nth-child(2) {
        text-align: center;
        margin-top: 15px;
    }
}

@media (min-width: 1200px) {
    .cookie-bandeau>div {
        width: 1200px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        column-gap: 50px;
    }
    .cookie-bandeau>div>div:nth-child(1) {
        flex: 2;
    }
    .cookie-bandeau button {
        margin: 0 0 0 5px;
        padding: 1rem;
    }
}

@media (max-width: 450px) {
    .cookie-bandeau button:last-child {
        margin: 1rem 0;
    }
}

/* PREFERENCES COOKIES */

#cookies-prefs {
    width: 300px;
    margin: 5rem auto;
    padding: 10px;
    text-align: center;
}

#cookies-prefs h2 {
    margin-bottom: 2rem;
}

#cookies-prefs>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
}

#cookies-prefs>div>div:nth-child(1) {
    text-align: left;
}

#cookies-prefs input[type=submit] {
    border: none;
    padding: 15px 32px;
    cursor: pointer;
    margin: 10px;
    transition: 0.5s;
    border-radius: 10px;
    background: var(--color3);
    color: var(--color1);
    font-weight: 700;
    font-size: 1rem;
}

#cookies-prefs input[type=submit]:hover {
    background: var(--color5);
}

#cookies-prefs input[type=submit].active {
    background: var(--color5);
    color: var(--color5);
    cursor: auto;
}

#cookies-prefs .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0;
}

#cookies-prefs .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#cookies-prefs .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

#cookies-prefs .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

#cookies-prefs input:checked+.slider {
    background-color: var(--color5);
}

#cookies-prefs input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

#cookies-prefs .slider.round {
    border-radius: 34px;
}

#cookies-prefs .slider.round:before {
    border-radius: 50%;
}

/* ANCHOR */

span.anchor {
    display: block;
    position: relative;
    top: -55px;
    visibility: hidden;
}