:root
{
    --page-background: #ffffff;  
    --main-title: #DDE7EC;
    --section-background: #E4F1FA;
    --section-title: #1F1F1F;
    --button: #DDE7EC;
     --button-gradient-glass: linear-gradient(
    135deg,
    rgba(221, 231, 236, 0.85) 0%,
    rgba(243, 248, 251, 0.95) 50%,
    rgba(221, 231, 236, 0.85) 100%
  );
    --buttonHover: #DDE7EC;
    --CTA: #1DA0F9AA;
    --CTAHover: #1DA0F9; 
    --highlight-light: #ACFDA4; 
      --highlight-gradient-animated: linear-gradient(
    135deg,
    #acfda4 0%,
    #c9fcb9 25%,
    #e6fddd 50%,
    #c9fcb9 75%,
    #acfda4 100%
  );
    --highlight-dark: #19547C;
    --navlink-hover: #19547C;
    --menu-hover: #19547C; 
    --CTA-click: #1DA0F9;
    --link: #19547C; 
    --icon:#02022B;
    --text-light: #DDE7EC;
    --text-dark: #02022B;
    --cardBackground : #19547C;
    --cardBackgroundGradient: linear-gradient(135deg, #153B5C 0%, #19547C 50%, #1F5F8C 100%);
    --primary: #19547C;
    --primaryLight: #DDE7EC;
    --secondary: #02022B;
    --secondaryLight: #DDE7EC;
    --headerColor: #1F1F1F;
    --bodyTextColor: #1F1F1F;
    --bodyTextColorWhite: #1F1F1F;
    /* 13px - 16px */
    --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
    /* 31px - 49px */
    --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --bodyFontSize: 1rem;
    /* 60px - 100px top and bottom */
    --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
    font-size: 16px;

    @media only screen and (min-width: 1024px) 
    {
      font-size: 18px;
    }

    @media only screen and (min-width: 2000px) 
    {
      font-size: 20px;
    }


}

/* ---------------------------------- Fonts --------------------------------- */

@font-face 
{
    font-family: "DM-Sans";
    src: url("/assets/fonts/DMSans-VariableFont_opsz,wght.woff2") format("woff2");
    font-display: swap;
}

@font-face 
{
    font-family: "Open-Sans";
    src: url("/assets/fonts/OpenSans-VariableFont_wdth,wght.woff2") format("woff2");
    font-display: swap;
}

/* --------------------------------- Global --------------------------------- */

body {
    margin: 0;
    padding: 0;
}

html, body {
  overflow-x: hidden;
}

h1, h2, h3, h4, a, .cs-title, .cs-text, .cs-topper, .cs-li-link, address
{
  font-family: Open-Sans, sans-serif;
}

p, li, label
{
  font-family: DM-Sans, sans-serif;
}

.hero-title 
{
  color: var(--text-light);
  font-weight: 400;
  font-size: 1.1rem;
  margin-top: 8px;
}

h1
{
  color: var(--main-title);
  font-weight: 500;
  font-size: 2rem;
  margin-top: 72px;
}

h2 
{
  color: var(--section-title); 
  font-weight: 500;
}

h3
{
  color: var(--text-dark); 
  font-size: 1.5rem;
  margin: 0;
}

h4
{
  color: var(--text-dark); 
  font-size: 1rem;
  margin: 0;
}


.hero-title strong
{
  color: var(--highlight-light);
}

.link, .footer-link
{
  text-decoration: none;
  color: var(--CTA);
  font-weight: bold;
}

.CTA::before, button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: transform 0.6s ease;
  filter: blur(10px); /* rend les bords plus doux */
}

.CTA, button {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--bodyTextColor);
  font-weight: bold;
  padding: 8px 24px;
  background: var(--CTA); /* léger fond semi-transparent */
  border-radius: 8px;
  backdrop-filter: blur(8px); /* effet flou */
  -webkit-backdrop-filter: blur(6px); /* compatibilité Safari */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
              rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2); 
  transition: all 0.3s ease;
  transform: translateZ(0);
}


.button {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--CTA);
  font-weight: bold;
  padding: 8px 24px;
  border-radius: 8px;

  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
              rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  text-align: center;
  border: 2px solid var(--CTA); 
  transition: all 0.3s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.CTA-text {
  position: relative;
  z-index: 2;
}

.CTA:hover, button:hover {
  background: rgb(135, 206, 250); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px) scale(1.02);
}

.button:hover
{
  background: rgba(135, 206, 250, 0.9); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px) scale(1.02);
  color: var(--text-dark);
}

.CTA:hover::before, button:hover::before {
  transform: translateX(100%) rotate(25deg);
}

.section-title
{
  text-align: center;
}

.section-title h2 {
  margin-bottom: 16px;
}

.strong-blue 
{
  color: var(--highlight-dark); 
}


/* ------------------------------- Codestitch ------------------------------- */

*, *:before, *:after {
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
}
.cs-topper {
    font-size: var(--topperFontSize);
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
}

.cs-title {
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 43.75rem;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
}

.cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    max-width: 40.625rem;
    margin: 0;
    color: var(--bodyTextColor);
}

/* ------------------------------- Navigation ------------------------------- */

/*-- -------------------------- -->
<---     Mobile Navigation      -->
<--- -------------------------- -*/
/* Mobile - 1350px */
@media only screen and (max-width: 1440px) {
  body.cs-open {
    overflow: hidden;
  }
  body.scroll #cs-navigation {
    width: 100%;
    max-width: 100%;
    top: 0;
  }
  body.scroll #cs-navigation:before {
    border-radius: 0;
  }
  body.scroll #cs-navigation .cs-ul-wrapper {
    top: 100%;
  }
  #cs-navigation {
    width: 94%;
    max-width: 80rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    /* 12px - 24px */
    padding: clamp(0.75rem, 2vw, 1.5rem);
    /* 12px - 24px */
    border-radius: clamp(0.75rem, 2vw, 1.5rem);
    position: fixed;
    top: 2rem;
    left: 50%;
    z-index: 10000;
    transform: translateX(-50%);
    transition: top 0.3s, border-radius 0.3s, width 0.3s, max-width 0.3s;
  }
  #cs-navigation:before {
    /* background color */
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    opacity: 1;
    /* 12px - 24px */
    border-radius: clamp(0.75rem, 2vw, 1.5rem);
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.2s, border-radius 0.3s ease-in-out;
  }
  #cs-navigation.cs-active:before {
    transform: translateX(-50%) scale(1.03);
  }
  #cs-navigation.cs-active .cs-toggle {
    transform: rotate(180deg);
  }
  #cs-navigation.cs-active .cs-ul-wrapper {
    transform: scaleY(1);
    transition-delay: 0.15s;
  }
  #cs-navigation.cs-active .cs-li {
    opacity: 1;
    transform: translateY(0);
  }
  #cs-navigation .cs-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
  }
#cs-navigation .cs-logo {
    width: auto;
    max-width: 12.5rem;
    height: 50%;
    margin: 0 auto 0 0;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 10;
  }
  #cs-navigation .cs-logo img {
    width: 100%;
    /* ensures the image never overflows the container. It stays contained within it's width and height and expands to fill it then stops once it reaches an edge */
    object-fit: contain;
  }
  #cs-navigation .cs-toggle {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 0 0 auto;
    background-color: #1a1a1a;
    border: none;
    border-radius: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    transition: transform 0.6s;
  }
  #cs-navigation .cs-nav {
    /* sends it to the right in the 3rd position */
    order: 3;
  }
  #cs-navigation .cs-contact-group {
    display: none;
    position: relative;
    z-index: 10;
  }
  #cs-navigation .cs-phone {
    font-size: 1rem;
    line-height: 1.5em;
    text-decoration: none;
    margin: 0;
    color: var(--headerColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s, color 0.3s;
  }
  #cs-navigation .cs-phone-icon {
    width: 1.5rem;
    height: auto;
    display: block;
  }
  #cs-navigation .cs-social {
    display: none;
  }
  #cs-navigation .cs-active .cs-line1 {
    top: 50%;
    transform: translate(-50%, -50%) rotate(225deg);
  }
  #cs-navigation .cs-active .cs-line2 {
    top: 50%;
    transform: translate(-50%, -50%) translateY(0) rotate(-225deg);
    transform-origin: center;
  }
  #cs-navigation .cs-active .cs-line3 {
    opacity: 0;
    bottom: 100%;
  }
  #cs-navigation .cs-box {
    /* 24px - 28px */
    width: clamp(1.5rem, 2vw, 1.75rem);
    height: 1rem;
    position: relative;
  }
  #cs-navigation .cs-line {
    width: 100%;
    height: 2px;
    background-color: #fafbfc;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #cs-navigation .cs-line1 {
    top: 0;
    transition: transform 0.5s, top 0.3s, left 0.3s;
    animation-duration: 0.7s;
    animation-timing-function: ease;
    animation-direction: normal;
    animation-fill-mode: forwards;
    transform-origin: center;
  }
  #cs-navigation .cs-line2 {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: top 0.3s, left 0.3s, transform 0.5s;
    animation-duration: 0.7s;
    animation-timing-function: ease;
    animation-direction: normal;
    animation-fill-mode: forwards;
  }
  #cs-navigation .cs-line3 {
    bottom: 0;
    transition: bottom 0.3s, opacity 0.3s;
  }
  #cs-navigation .cs-ul-wrapper {
    width: 100%;
    height: auto;
    padding-bottom: 2.4em;
    background-color: #fff;
    border-radius: 0 0 1.5rem 1.5rem;
    position: absolute;
    top: 85%;
    left: 0;
    z-index: -1;
    overflow: hidden;
    transform: scaleY(0);
    transition: transform 0.4s;
    transform-origin: top;
  }
  #cs-navigation .cs-ul {
    width: 100%;
    height: auto;
    max-height: 65vh;
    margin: 0;
    padding: 4rem 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
    overflow: auto;
  }
  #cs-navigation .cs-li {
    text-align: center;
    list-style: none;
    width: 100%;
    margin-right: 0;
    opacity: 0;
    /* transition from these values */
    transform: translateY(-70/16rem);
    transition: transform 0.6s, opacity 0.9s;
  }
  #cs-navigation .cs-li:nth-of-type(1) {
    transition-delay: 0.05s;
  }
  #cs-navigation .cs-li:nth-of-type(2) {
    transition-delay: 0.1s;
  }
  #cs-navigation .cs-li:nth-of-type(3) {
    transition-delay: 0.15s;
  }
  #cs-navigation .cs-li:nth-of-type(4) {
    transition-delay: 0.2s;
  }
  #cs-navigation .cs-li:nth-of-type(5) {
    transition-delay: 0.25s;
  }
  #cs-navigation .cs-li:nth-of-type(6) {
    transition-delay: 0.3s;
  }
  #cs-navigation .cs-li:nth-of-type(7) {
    transition-delay: 0.35s;
  }
  #cs-navigation .cs-li:nth-of-type(8) {
    transition-delay: 0.4s;
  }
  #cs-navigation .cs-li:nth-of-type(9) {
    transition-delay: 0.45s;
  }
  #cs-navigation .cs-li:nth-of-type(10) {
    transition-delay: 0.5s;
  }
  #cs-navigation .cs-li:nth-of-type(11) {
    transition-delay: 0.55s;
  }
  #cs-navigation .cs-li:nth-of-type(12) {
    transition-delay: 0.6s;
  }
  #cs-navigation .cs-li:nth-of-type(13) {
    transition-delay: 0.65s;
  }
  #cs-navigation .cs-li-link {
    /* 16px - 24px */
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.2em;
    text-decoration: none;
    margin: 0;
    color: var(--headerColor);
    display: inline-block;
    position: relative;
  }
  #cs-navigation .cs-li-link.cs-active {
    color: var(--primary);
  }
  #cs-navigation .cs-li-link:hover {
    color: var(--primary);
  }
  #cs-navigation .cs-button-solid {
    display: none;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #cs-navigation .cs-contact-group {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}



/*-- -------------------------- -->
<---     Navigation Dropdown    -->
<--- -------------------------- -*/

#cs-navigation .cs-drop-icon, #cs-navigation .cs-subdrop-icon {
  width: 0.9375rem;
  height: auto;
  position: absolute;
  top: 50%;
  right: -1.25rem;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
}

#cs-navigation .cs-subdrop.cs-subdrop-active .cs-subdrop-icon, 
#cs-navigation .cs-dropdown.cs-active .cs-drop-icon {
  transform: translateY(-50%) rotate(180deg);
}

/* Mobile - 1350px */
@media only screen and (max-width: 1440px) {
  #cs-navigation .cs-li {
    text-align: center;
    width: 100%;
    display: block;
  }
  #cs-navigation .cs-dropdown {
    color: var(--bodyTextColorWhite);
    position: relative;
  }
  #cs-navigation .cs-dropdown.cs-active .cs-drop-ul {
    height: auto;
    margin: 0.75rem 0 0 0;
    padding: 0.75rem 0;
    opacity: 1;
    visibility: visible;
  }
  #cs-navigation .cs-dropdown.cs-active .cs-drop-link {
    opacity: 1;
  }
  #cs-navigation .cs-dropdown .cs-li-link {
    position: relative;
    transition: opacity 0.3s;
  }


  #cs-navigation .cs-drop-ul {
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    background-color: var(--primary);
    opacity: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    transition: padding 0.3s, margin 0.3s, height 0.3s, opacity 0.3s, visibility 0.3s;
  }
  #cs-navigation .cs-drop-li {
    list-style: none;
  }
  #cs-navigation .cs-li-link.cs-drop-link {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    color: #fff;
  }

  
.cs-drop-wrapper {
  position: relative;
}

.cs-subdrop-ul {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    padding-left: 0;
  }

.cs-subdrop-ul li 
{
  padding: 8px 0;
}

  .cs-subdrop.cs-subdrop-active .cs-subdrop-ul {
    opacity: 1;
    visibility: visible;
    max-height: 1000px; /* suffisamment grand pour tout afficher */
  }
}


/* Desktop - 1350px */
@media only screen and (min-width: 1440px) {



  #cs-navigation .cs-dropdown {
    position: relative;
  }
  #cs-navigation .cs-dropdown:hover {
    cursor: pointer;
  }
  #cs-navigation .cs-dropdown:hover .cs-drop-ul {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
  }
  #cs-navigation .cs-dropdown:hover .cs-drop-li {
    opacity: 1;
    transform: translateY(0);
  }
  #cs-navigation .cs-drop-icon, #cs-navigation .cs-subdrop-icon {
    width: 0.9375rem;
    height: auto;
    display: inline-block;
  }

  #cs-navigation .cs-subdrop-icon
  {
    right:0;
    transform: translateY(-50%) rotate(-90deg);
  }

  #cs-navigation .cs-drop-ul {
    min-width: 12.5rem;
    margin: 0;
    padding: 0;
    background-color: #fff;
    box-shadow: inset rgba(149, 157, 165, 0.1) 0px 8px 10px;
    opacity: 0;
    border-bottom: 5px solid var(--primary);
    visibility: hidden;
    /* if you have 8 or more links in your dropdown nav, uncomment the columns property to make the list into 2 even columns. Change it to 3 or 4 if you need extra columns. Then remove the transition delays on the cs-drop-li so they don't have weird scattered animations */
    position: absolute;
    top: 100%;
    z-index: -100;
    transform: scaleY(0);
    transition: transform 0.3s, visibility 0.3s, opacity 0.3s;
    transform-origin: top;
  }
  #cs-navigation .cs-drop-li {
    font-size: 1rem;
    text-decoration: none;
    list-style: none;
    width: 100%;
    height: auto;
    opacity: 0;
    display: block;
    transform: translateY(-0.625rem);
    transition: opacity 0.6s, transform 0.6s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(1) {
    transition-delay: 0.05s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(2) {
    transition-delay: 0.1s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(3) {
    transition-delay: 0.15s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(4) {
    transition-delay: 0.2s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(5) {
    transition-delay: 0.25s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(6) {
    transition-delay: 0.3s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(7) {
    transition-delay: 0.35s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(8) {
    transition-delay: 0.4s;
  }
  #cs-navigation .cs-drop-li:nth-of-type(9) {
    transition-delay: 0.45s;
  }
  #cs-navigation .cs-li-link.cs-drop-link {
    font-size: 1rem;
    line-height: 1.5em;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    padding: 0.75rem;
    color: var(--headerColor);
    display: block;
    transition: color 0.3s, background-color 0.3s;
  }
  #cs-navigation .cs-li-link.cs-drop-link:hover {
    color: var(--bodyTextColorWhite);
    background-color: var(--highlight-light);
  }
  #cs-navigation .cs-li-link.cs-drop-link:before {
    display: none;
  }

.cs-dropdown {
  position: relative;
}

.cs-subdrop-ul {
  position: absolute;
  top: 0%;
  left: 100%;
  background-color: #fff;
  min-width: 12rem;
  border-radius: 0 0 1rem 1rem;
  box-shadow: rgba(0, 0, 0, 0.05) 0 8px 24px;
  opacity: 0;
  visibility: hidden;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  padding-left: 0;
}

.cs-drop-wrapper:hover .cs-subdrop-ul {
  opacity: 1;
  visibility: visible;
  transform: scaleX(1);
  pointer-events: auto;
}

}
/*-- -------------------------- -->
<---     Desktop Navigation     -->
<--- -------------------------- -*/
/* Small Desktop - 1350px */
@media only screen and (min-width: 1440px) {
  body.scroll #cs-navigation {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    top: 0;
  }
  #cs-navigation {
    width: 100%;
    height: 6rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    /* 12px - 24px */
    padding: clamp(0.75rem, 2vw, 1.5rem) 0;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    /* 12px - 24px */
    display: flex;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 10000;
    transform: translateX(-50%);
    transition: top 0.3s, border-radius 0.3s, width 0.3s, max-width 0.3s;
  }
  #cs-navigation .cs-container {
    width: 100%;
    height: 100%;
    max-width: 1920px;
    margin: auto;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    padding: 0 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
  }
  #cs-navigation .cs-toggle {
    display: none;
  }
  #cs-navigation .cs-logo {
    width: auto;
    max-width: 12.5rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 10;
  }
  #cs-navigation .cs-logo img {
    width: 100%;

    /* ensures the image never overflows the container. It stays contained within it's width and height and expands to fill it then stops once it reaches an edge */
    object-fit: contain;
  }
  #cs-navigation .cs-contact-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    position: absolute;
    right: 32px;
  }
  #cs-navigation .cs-phone {
    font-size: 1rem;
    line-height: 1.5em;
    text-decoration: none;
    margin: 0;
    color: var(--headerColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s, color 0.3s;
  }
  #cs-navigation .cs-phone-icon {
    width: 1.5rem;
    height: auto;
    display: block;
  }
  #cs-navigation .cs-social {
    height: 2rem;
    opacity: 1;
    display: none;
    visibility: visible;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s, visibility 0.3s, height 0.3s;
  }
  #cs-navigation .cs-social-link {
    text-decoration: none;
    width: 2rem;
    height: 2rem;
    background-color: #f7f7f7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
  }
  #cs-navigation .cs-social-link:hover {
    background-color: var(--primary);
  }
  #cs-navigation .cs-social-link:hover .cs-social-icon {
    opacity: 1;
    filter: grayscale(1) brightness(10000%);
  }
  #cs-navigation .cs-social-icon {
    width: 0.75rem;
    height: auto;
    opacity: 0.6;
    display: block;
    transition: opacity 0.3s;
  }
  #cs-navigation .cs-ul-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    /* absolutely positioned to be dead center */
  }
  #cs-navigation .cs-ul {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* 20px - 36px */
    gap: 64px;
  }
  #cs-navigation .cs-li {
    list-style: none;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    /* prevent flexbox from squishing it */
    flex: none;
  }
  #cs-navigation .cs-li-link {
    font-size: 1rem;
    line-height: 1.5em;
    text-decoration: none;
    margin: 0;
    color: var(--headerColor);
    display: block;
    position: relative;
    transition: color 0.3s;
  }
  #cs-navigation .cs-li-link:hover {
    color: var(--primary);
  }
  #cs-navigation .cs-li-link.cs-active {
    color: var(--primary);
  }
  #cs-navigation .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    /* 46px - 56px */
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-align: center;
    text-decoration: none;
    min-width: 9.375rem;
    margin: 0;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    padding: 0 2rem;
    color: #fff;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }
  #cs-navigation .cs-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: #fff;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #cs-navigation .cs-button-solid:hover {
    color: #1a1a1a;
  }
  #cs-navigation .cs-button-solid:hover:before {
    width: 100%;
  }
}
/* Large Desktop - 1400px */
@media only screen and (min-width: 1400px) {
  #cs-navigation .cs-social {
    display: flex;
  }
}

/* ------------------------------ Hero section ------------------------------ */

.hero 
{
  width: 100%;
  height: 600px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: 600px; 
  left: 0;
  width: 100%;
  height: 20px; 
  background-image: url('/images/separator.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; 
  z-index: 2; 
  pointer-events: none; 
}

.hero-overlay
{
 position: absolute;
 height: 600px;
 left: 0px;
 width: clamp(100%, 80vw, 66vw);
 transition: width 0.1s ease-out;
 background: linear-gradient(135deg, #010111, #0B0B46);
 opacity: 0.95;
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px); 
 border: 1px solid rgba(255, 255, 255, 0.15);
 box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.2),  
    inset 0 -2px 4px rgba(0, 0, 0, 0.2),       
    0 8px 16px rgba(0, 0, 0, 0.2);    
 animation: gradientShift 8s ease infinite;
 background-size: 400% 400%;
 overflow: hidden; 
 z-index: 0;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 200%;
  background-position: -100% 0%;
  animation: fixedLightSweep 20s ease-in-out infinite;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.hero-content
{
  z-index: 2;
  padding: 0 32px;

  display: flex;
  flex-flow: column nowrap;
  gap: 32px;
}


.hero-buttons
{
  display: flex;
  width: 100%;
  gap: 32px;
  justify-content: center;
}

@keyframes fixedLightSweep {
  0% {
    background-position: -100% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: -100% 0%;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media only screen and (max-width: 450px)
{
  .hero 
  {
    background-image: url('images/index/hero-small.webp');
  }

  .hero-overlay
  {
    width: 100%;
  }
}

@media only screen and (min-width: 1350px)
{
  .hero-overlay
  {
    width: 66.7vw;
  }

  .hero
  {
    justify-content: flex-start;
  }

  .hero-content
  {
    margin-left: 20%;
    width: 500px;
  }

  .hero-buttons
  {
    gap: 64px;
  }

}

@media only screen and (max-width: 1900px)
{
  .hero 
  {
    background-image: url('images/index/hero-med.webp');
  }
}


@media only screen and (min-width: 1901px)
{
  .hero 
  {
    background-image: url('images/index/hero-large.webp');
  }

  .hero-content
  {
    width: 700px;
    margin-top: 50px;
  }
}

/* --------------------------- Specialties section -------------------------- */

.specialties 
{
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 64px 0 96px 0;
  position: relative;

}

.specialties-wrapper 
{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 64px;
  text-align: center;
}

.specialty-button {
  perspective: 1000px;
  width: 230px;
  height: 160px;
  text-decoration: none;
  font-family: Open-Sans, sans-serif;
  font-weight: bold;
  color: var(--text-dark);
  border-radius: 8px;
  background-color: transparent;
}

.button-inner {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.specialty-button:hover .button-inner {
  transform: rotateY(180deg);
}

.button-front,
.button-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  backface-visibility: hidden;
  background-color: var(--button);
  color: var(--text-dark);
}

.button-front {
  background: var(--button-gradient-glass);
  color: var(--text-dark);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4), /* lumière intérieure douce */
    0 7px 29px rgba(100, 100, 111, 0.2);      /* ombre externe */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.button-back {
  background: var(--highlight-gradient-animated);
  background-size: 300% 300%;
  animation: gradientFlow 8s ease-in-out infinite;
  color: var(--text-dark);
  transform: rotateY(180deg);
  border-radius: 8px;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ------------------------------ Team section ------------------------------ */

.team
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 88px;
  padding: 64px;
  background-color: var(--section-background);
}

.employee-picture
{
  width: 300px;
  height: 300px;
  border-radius: 100%;
  filter: drop-shadow(0px 50px 80px rgba(50, 50, 93, 0.25))
        drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.3));

}

.employee-wrapper
{
  display: flex;
  flex-flow: row wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

.employee-wrapper:nth-child(odd)
{

  flex-direction: row-reverse;
}

.employee-profile
{
  display: flex;
  flex-flow: column nowrap;
  padding: 40px 24px;
  max-width: 800px;
  background: var(--cardBackgroundGradient); 
  border-radius: 8px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  background: linear-gradient(135deg, #f8fbfd, #eef9f5);
  border-left: 4px solid #19547C;
  box-shadow: 0 10px 30px rgba(25, 84, 124, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.employee-profile:hover
{
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}


.employee-occupation
{
  text-transform: uppercase;
  font-weight: 600;
  color: var(--highlight-dark);
  padding: 0;
}

.employee-description
{
  color: var(--text-dark); 
  margin-top: 8px;
  padding: 0;
}

.employee-description br
{
  line-height: 2.5;
}

/* ------------------------------- Our values ------------------------------- */

.our-values
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 88px;
  padding: 64px;
}

.tagline
{
  text-transform: uppercase;
  font-weight: bold;
  color: var(--text-dark); 
  letter-spacing: 4%;
  margin-top: 0;
}

.our-values-content
{
  display: flex;
  flex-flow: row;
  flex-wrap: wrap-reverse;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.our-values-text
{
  max-width: 751px;
}

picture img
{
  display: block;
  width: 80%;
  max-width: 700px;
  border-radius: 8px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin: auto;
}

/* ---------------------------------- Price --------------------------------- */

.price
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 64px;
  background-color: var(--section-background); 
}

.price-content
{
  display: flex;
  flex-flow: row;
  flex-wrap: wrap-reverse;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.price-text
{
  max-width: 751px;
}

/* ------------------------------ Testimonials ------------------------------ */

.testimonials
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 88px;
  padding: 64px 0 96px 0;
  position: relative;
  overflow: hidden; 
}

.testimonials-wrapper
{
  display: flex;
  flex-flow: row wrap;
  gap: 32px;
  justify-content: center;
}

.testimonial
{
  width: 360px;
  padding: 40px 64px;
  background: var(--cardBackgroundGradient); 
  border-radius: 8px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: glassGradientMove 10s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover
{
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}


.quote-blue 
{
 position: absolute;
 top: 20px;
 left: 40px;
}

.quote-white
{
  position: absolute;
  bottom: 2px;
  right: 20px;
}

.testimonial-text
{
  font-style: italic;
}

.testimonial-text, .testimonial-author
{
  
  color: var(--text-light); 
  margin-top: 24px;
  padding: 0;
}

.testimonial-author
{
  font-size: 1.2rem;
  font-weight: bold;
}

section:last-of-type::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px; 
  background-image: url('/images/separator-footer.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; 
  z-index: 2; 
  pointer-events: none; 
}

/* --------------------------------- Footer --------------------------------- */

.footer-content {
  position: relative;
  transition: width 0.1s ease-out;
  background: linear-gradient(135deg, #0B0B46, #090932, #010111);
  z-index: 0;
  padding: 64px 0;
  overflow: hidden;

  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.footer-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(135deg, #0B0B46, #090932, #010111),
      url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMCcgaGVpZ2h0PScxMCc+PHJlY3Qgd2lkdGg9JzEwJyBoZWlnaHQ9JzEwJyBmaWxsPSIjZmZmIiBvcGFjaXR5PScwLjAyJy8+PC9zdmc+');
  background-size: 100% 100%, 300px 300px;
  background-blend-mode: overlay;
  opacity: 0.95;
  z-index: -1;
  pointer-events: none;
}

.footer-left {
  max-width: 500px;
  display: flex;
  flex-flow: column nowrap;
  gap: 24px;
  align-items: center;
    padding: 0 16px;
}

.footer-left .CTA
{
  width: 256px;
}

.footer-text, address
{
  color: var(--main-title);
  font-weight: 500;
  font-size: 1.1rem;
}

address 
{
  font-style: normal;
}

.footer-text strong
{
  color: var(--highlight-light);
}

.footer-right
{
  max-width: 500px;
  display: flex;
  flex-flow: column nowrap;
  gap: 24px;
  align-items: center;
}

.footer-social-icons
{
  display: flex;
  flex-flow: row nowrap;
  gap: 16px;
}

.footer-right .button
{
  width: 128px;
}

.footer-navbar
{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  padding-top: 16px;
}

.footer-infos
{
  text-align: center;
  font-size: 0.5rem;
}

.footer-link
{
  color: var(--bodyTextColor); 
  margin: 16px;
}

/* ----------------------------- Interior pages ----------------------------- */

.hero-small
{
  width: 100%;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0B0B46, #090932, #010111);
}

.hero-small::after {
  content: "";
  position: absolute;
  top: 450px; 
  left: 0;
  width: 100%;
  height: 20px; 
  background-image: url('/images/separator.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; 
  z-index: 2; 
  pointer-events: none; 
}

.hero-small .hero-title
{
  text-align: center;
  max-width: 500px;
  margin-top: 40px;
}

.section-interior:nth-child(even)
{
  background: var(--section-background);
}

.section-interior
{
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 64px;
  padding: 64px 24px;
}

.section-interior .CTA
{
  padding: 32px;
  max-width: 500px;
}

.section-interior.appointment
{
  gap: 32px;
}

.section-interior-content
{
  display: flex;
  flex-flow: row wrap;
  flex-wrap: wrap-reverse;
  gap: 40px;
  justify-content: center;
  align-items: center;
 
}

.section-interior-text-wrapper
{
  max-width: 500px;
}


/* --------------------------------- Contact -------------------------------- */

.contact-form
{
  display: flex;
  flex-flow: column nowrap;
  gap: 8px;
}

input
{
    height: 32px;
}

input, textarea
{
  border-radius: 8px;
  border: 1px solid var(--highlight-dark);
      font-family: Open-Sans, sans-serif;

}

#rdv-wrapper
{
  display: flex;
  flex-flow: column nowrap;
}









