@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-body: "Barlow", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;
  --padding-base: 17%;
  --padding-base-topbot: 130px;
  --color-text: #282828;
  --color-bg: #fff;
}

@media screen and (max-width: 1280px) {
  :root {
    --padding-base: 5%;
    --padding-base-topbot: 100px;
    --font-size-base: 14px;
  }
}
@media screen and (max-width: 1024px) {
  :root {
    --padding-base: 5%;
    --padding-base-topbot: 80px;
    --font-size-base: 13px;
  }
}
@media screen and (max-width: 768px) {
  :root {
    --padding-base: 30px;
    --padding-base-topbot: 40px;
    --font-size-base: 13px;
  }
}
.color-primary {
  color: #4684c2 !important;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

html:not(.firefox)::-webkit-scrollbar {
  width: 5px;
}
html:not(.firefox)::-webkit-scrollbar-track {
  background: transparent;
}
html:not(.firefox)::-webkit-scrollbar-thumb {
  background: rgb(30, 31, 33);
  border-radius: 10px;
}
html:not(.firefox)::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.8);
}
html:not(.firefox)::-ms-scrollbar {
  width: 5px;
}
html.firefox {
  scrollbar-color: #1e1f21 transparent !important;
  scrollbar-width: thin !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video, button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-family: "Barlow";
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body) !important;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1;
}

p {
  font-size: 1.3em;
  line-height: 1.5;
  margin-bottom: 20px;
}

section ul {
  font-size: 1.3em;
  line-height: 1.5;
}

b {
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  background-color: #267ac3;
  color: white;
  font-size: 1em;
  font-weight: 500 !important;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.4s ease-in-out;
}
.btn:hover {
  background-color: #204379;
}
.btn.darker {
  background-color: #204379;
}
.btn.darker:hover {
  background-color: #4684c2 !important;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

body {
  background: url("../../img/background.webp");
  background-size: 250px;
  background-repeat: repeat;
  color: #204379;
}

header {
  display: grid;
  grid-template-columns: 0.4fr 2fr 0.4fr;
  padding: 30px 50px;
  align-items: center;
  position: absolute;
  width: 100%;
  z-index: 1000;
}
@media screen and (max-width: 1024px) {
  header {
    grid-template-columns: 0.6fr 2fr 0.6fr;
    padding: 30px 40px;
  }
}
@media screen and (max-width: 768px) {
  header {
    grid-template-columns: 1fr 1fr;
    padding: 30px;
    align-items: start;
  }
}
header .logo img {
  width: 200px;
}
@media screen and (max-width: 768px) {
  header #main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
  }
}
header #main-nav button {
  background: #fff;
  border: none;
  padding: 5px 10px;
  color: #204379;
  border-radius: 5px;
  font-size: 1.3em;
  font-weight: 600;
  text-transform: uppercase;
  display: none;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  header #main-nav button {
    display: block;
  }
}
header #main-nav button:focus {
  border: none;
}
header #main-nav ul {
  display: flex;
  justify-content: center;
  gap: 90px;
  text-transform: uppercase;
}
@media screen and (max-width: 1280px) {
  header #main-nav ul {
    gap: 80px;
  }
}
@media screen and (max-width: 1024px) {
  header #main-nav ul {
    gap: 60px;
  }
}
@media screen and (max-width: 768px) {
  header #main-nav ul {
    gap: 10px;
    flex-direction: column;
    text-align: right;
    font-size: 1.3em;
  }
}
header #main-nav ul.lang {
  display: none;
}
@media screen and (max-width: 768px) {
  header #main-nav ul.lang {
    display: flex;
    flex-direction: row;
    background: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    gap: 15px;
  }
}
header #main-nav ul.lang a.actif {
  font-weight: 700;
  color: #4684c2;
}
@media screen and (max-width: 768px) {
  header #main-nav ul.nav-princ {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 50px 30px;
    background: #fff;
    text-align: left;
    transform: translateY(100%);
    will-change: transform;
  }
}
header #main-nav ul li:last-of-type {
  display: none;
}
@media screen and (max-width: 768px) {
  header #main-nav ul li:last-of-type {
    display: block;
  }
}
header #main-nav ul li a {
  font-weight: 500;
  position: relative;
}
header #main-nav ul li a:hover:after {
  height: 2px;
}
header #main-nav ul li a:after {
  content: "";
  width: 20%;
  height: 0;
  background: #204379;
  position: absolute;
  bottom: -10px;
  transform: translateY(100%) translateX(-50%);
  left: 50%;
}
@media screen and (max-width: 768px) {
  header #main-nav ul li a:after {
    display: none !important;
  }
}
header .right-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media screen and (max-width: 768px) {
  header .right-nav {
    display: none;
  }
}
header .right-nav ul {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
header .right-nav ul a.actif {
  font-weight: 700;
  color: #4684c2;
}

.header-bloc {
  height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  .header-bloc {
    align-items: flex-end;
    padding-bottom: 50px;
    height: auto;
    padding: 230px 0 30px;
  }
}
.header-bloc .header-content {
  padding-left: var(--padding-base);
  padding-right: var(--padding-base);
  display: flex;
  flex-direction: column;
  text-align: center;
  z-index: 100;
}
@media screen and (max-width: 768px) {
  .header-bloc .header-content {
    text-align: left;
  }
}
.header-bloc .header-content h2 {
  font-weight: 600;
  font-size: 1.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
@media screen and (max-width: 1280px) {
  .header-bloc .header-content h2 {
    font-size: 1em;
  }
}
.header-bloc .header-content h1 {
  font-weight: 500;
  font-size: 4em;
}
@media screen and (max-width: 1280px) {
  .header-bloc .header-content h1 {
    font-size: 3em;
  }
}
.header-bloc .header-content p {
  width: 70%;
  margin: 30px auto 0 auto;
}
@media screen and (max-width: 1280px) {
  .header-bloc .header-content p {
    width: 80%;
    margin: 20px auto 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .header-bloc .header-content p {
    width: 100%;
  }
}
.header-bloc .scroll-bottom {
  position: absolute;
  width: 8px;
  left: 50%;
  bottom: 30px;
  z-index: 110;
  transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
  .header-bloc .scroll-bottom {
    display: none;
  }
}
.header-bloc .header-background {
  background-size: cover;
  background-image: url("../../img/img-header.webp");
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center;
  opacity: 0.25;
  top: 0;
  left: 0;
}
.header-bloc .header-gradient {
  background-image: url("../../img/gradient-header.webp");
  height: 50%;
  left: 0;
  bottom: 0;
  position: absolute;
  width: 100%;
  background-repeat: repeat;
  z-index: 100;
  background-position: bottom;
  background-size: contain;
}

section h2, footer h2 {
  font-size: 2.5em;
  margin-bottom: 50px;
  position: relative;
  z-index: 100;
}
@media screen and (max-width: 1280px) {
  section h2, footer h2 {
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 768px) {
  section h2, footer h2 {
    margin-bottom: 20px;
  }
}

section {
  padding-left: var(--padding-base);
  padding-right: var(--padding-base);
  padding-top: var(--padding-base-topbot);
  padding-bottom: var(--padding-base-topbot);
}
section#a-propos .content {
  display: flex;
  gap: 50px;
}
@media screen and (max-width: 768px) {
  section#a-propos .content {
    flex-direction: column;
    gap: 0;
  }
}
section#a-propos .content .left-content, section#a-propos .content .right-content {
  width: 50%;
}
@media screen and (max-width: 768px) {
  section#a-propos .content .left-content, section#a-propos .content .right-content {
    width: 100%;
  }
}
section#mission {
  background-image: url("../../img/background-blue.webp");
  background-size: 250px;
  background-repeat: repeat;
  color: #fff;
  position: relative;
}
section#mission h3 {
  text-transform: uppercase;
  margin-bottom: 15px;
  z-index: 1000;
  position: relative;
}
section#mission .content {
  display: flex;
  gap: 50px;
  z-index: 10;
  position: relative;
}
@media screen and (max-width: 768px) {
  section#mission .content {
    flex-direction: column;
    gap: 0;
  }
}
section#mission .content .left-content, section#mission .content .right-content {
  width: 50%;
}
@media screen and (max-width: 768px) {
  section#mission .content .left-content, section#mission .content .right-content {
    width: 100%;
  }
}
section#mission .content .left-content img, section#mission .content .right-content img {
  width: 65%;
  display: block;
}
section#mission .content .right-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  section#mission .content .right-content {
    display: none;
  }
}
section#mission .img-mission {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 0;
  width: auto;
  display: block;
}
section#services {
  padding-left: 0;
  padding-right: 0;
}
section#services h3 {
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-left: var(--padding-base);
  padding-right: var(--padding-base);
  z-index: 1000;
  position: relative;
}
section#services .services-tabs {
  padding-left: var(--padding-base);
}
@media screen and (max-width: 768px) {
  section#services .services-tabs {
    padding-right: var(--padding-base);
  }
}
section#services .tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
  margin-top: 50px;
  padding-right: var(--padding-base);
}
@media screen and (max-width: 1280px) {
  section#services .tabs-nav {
    margin-top: 30px;
    margin-bottom: 30px;
    gap: 0;
  }
}
@media screen and (max-width: 768px) {
  section#services .tabs-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
section#services .btn {
  margin-top: 10px;
  display: inline-block;
  background: #204379;
}
section#services .tab-link {
  background: none;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
  font-weight: 500;
  transition: color 0.3s;
  color: #204379;
}
@media screen and (max-width: 1280px) {
  section#services .tab-link {
    padding: 8px 15px;
  }
}
@media screen and (max-width: 768px) {
  section#services .tab-link {
    font-size: 1.1em;
    padding: 10px 15px;
  }
}
section#services .tab-link.active {
  background-color: #267ac3;
  color: white;
  border-radius: 10px;
}
section#services .tabs-content {
  position: relative;
}
section#services .tab-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
@media screen and (max-width: 768px) {
  section#services .tab-pane {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
section#services .tab-pane.active {
  display: grid;
  position: relative;
  opacity: 1;
}
section#services .tab-left {
  padding-right: 15%;
}
@media screen and (max-width: 768px) {
  section#services .tab-left {
    padding-right: 0;
  }
}
section#services .tab-left ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}
section#services .tab-right img {
  width: 100%;
  height: auto;
  display: block;
}
section#projets {
  padding-left: 0;
  padding-right: 0;
}
section#projets .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  padding-left: var(--padding-base);
  padding-right: var(--padding-base);
}
@media screen and (max-width: 768px) {
  section#projets .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
section#projets .head a {
  display: inline-block;
}
section#projets h2 {
  margin-bottom: 0;
}
section#projets h3 {
  text-transform: uppercase;
  margin-bottom: 15px;
  z-index: 1000;
  position: relative;
}
section#projets .bloc-projets {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-left: 40px;
  padding-right: 40px;
}
@media screen and (max-width: 1280px) {
  section#projets .bloc-projets {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media screen and (max-width: 768px) {
  section#projets .bloc-projets {
    grid-template-columns: 1fr;
    padding-left: 30px;
    padding-right: 30px;
  }
}
section#projets .bloc-projets p {
  margin: 0;
}
section#projets .bloc-projets a:hover img {
  transform: scale(1.03);
}
@media screen and (max-width: 768px) {
  section#projets .bloc-projets a:hover img {
    transform: scale(1);
  }
}
section#projets .bloc-projets img {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  transition: all 0.4s ease-in-out;
}

footer {
  padding-left: var(--padding-base);
}
@media screen and (max-width: 768px) {
  footer {
    padding-right: var(--padding-base);
  }
}
footer img {
  width: 200px;
}
@media screen and (max-width: 768px) {
  footer small {
    display: none;
  }
}
footer .footer-content {
  margin: 80px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    align-items: flex-start;
    margin: 40px 0;
  }
}
footer .footer-content .left-content {
  padding-right: 10%;
  width: 50%;
}
@media screen and (max-width: 768px) {
  footer .footer-content .left-content {
    width: 100%;
    padding-right: 0;
  }
}
footer .footer-content .left-content p {
  font-size: 180%;
  line-height: 1.3;
  padding-right: 20%;
  margin-bottom: 90px;
}
@media screen and (max-width: 768px) {
  footer .footer-content .left-content p {
    margin-bottom: 30px;
    padding-right: 0;
  }
}
footer .footer-content .right-content {
  background-image: url("../../img/background-blue.webp");
  background-size: 250px;
  background-repeat: repeat;
  color: #fff;
  padding: 60px 80px;
  width: 50%;
}
@media screen and (max-width: 768px) {
  footer .footer-content .right-content {
    width: 100%;
    padding: 40px 40px;
  }
}
footer .footer-content .right-content p {
  margin: 0;
}
footer .footer-content .right-content a {
  transition: all 0.3s ease-in-out;
}
footer .footer-content .right-content a:hover {
  color: #4684c2;
}
