/*!
Theme Name: Thème Wordpress
Theme URI: http://underscores.me/
Author: Paul ROGER
Author URI: https://www.paulrogerdev.fr
Description: Thème WP
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: theme-wordpress
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Thème Wordpress is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
:root {
  --maxwidth: 920px;
  --maxwidth2: 1080px;
  --maxwidth3: 1140px;
  --maxwidth4: 1300px;
  --maxwidth5: 1600px;
  --font1: 'Poppins', sans-serif;
  --baseFontSize: 10px;
  --remFontSize: 1.8rem;
  --fontRatio: 1.2;
  --fontSize300: calc(var(--remFontSize) / var(--fontRatio)); /* 12px */
  --fontSize400: var(--remFontSize); /* 16px */
  --fontSize500: calc(var(--fontSize400) * var(--fontRatio)); /* 21px */
  --fontSize600: calc(var(--fontSize500) * var(--fontRatio)); /* 28px */
  --fontSize700: calc(var(--fontSize600) * var(--fontRatio)); /* 37px */
  --fontSize800: calc(var(--fontSize700) * var(--fontRatio)); /* 49px */
  --fontSize900: calc(var(--fontSize800) * var(--fontRatio)); /* 65px */
  --fontSize1000: calc(var(--fontSize900) * var(--fontRatio)); /* 86px */
  --black: #000;
  --black2: #00151D;
  --white: #fff;
  --beige: #C8BAAE;
  --beigeLight: #F0ECE7;
  --expoInOut: cubic-bezier(.8,-0.05,.2,1.05);
}

@media (max-width: 1680px) {
  :root {
    --maxwidth5: calc(100vw - 80px);
  }
}

@media (max-width: 1380px) {
  :root {
    --maxwidth4: calc(100% - 80px);
  }
}

@media (max-width: 1220px) {
  :root {
    --maxwidth3: calc(100% - 80px);
  }
}

@media (max-width: 1161px) {
  :root {
    --maxwidth2: calc(100% - 80px);
  }
}

@media (max-width: 1001px) {
  :root {
    --maxwidth: calc(100% - 80px);
  }
}

@media (max-width: 800px) {
  :root {
    --maxwidth: calc(100% - 40px);
    --maxwidth2: calc(100% - 40px);
    --maxwidth3: calc(100% - 40px);
    --maxwidth4: calc(100% - 40px);
    --maxwidth5: calc(100% - 40px);
  }
}

@media (max-width: 1440px) {
  :root {
    --baseFontSize: 9px;
    --fontSize1000: var(--fontSize900);
  }
}

@media (max-width: 800px) {
  :root {
    --baseFontSize: 8px;
    --fontSize1000: var(--fontSize800);
    --fontSize900: var(--fontSize800);
  }
}

@media (max-width: 400px) {
  :root {
    --fontSize1000: var(--fontSize700);
    --fontSize900: var(--fontSize700);
    --fontSize800: var(--fontSize700);
  }
}


* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  overflow: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
  font-size: var(--baseFontSize);
}

body {
  position: relative;
  font-family: var(--font1);
  font-size: var(--fontSize400);
  color: var(--black);
  margin: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

#page {
  min-height: calc(100vh - 200px);
  justify-content: space-between;
}

.main {
  width: 100%;
  max-width: var(--maxwidth5);
}

h1 {
  font-size: var(--fontSize700);
  font-weight: 600;
}
h2 {
  font-size: var(--fontSize700);
  font-weight: 600;
}
h3 {
  font-size: var(--fontSize600);
  font-weight: 600;
}
h4 {
  font-size: var(--fontSize500);
  font-weight: 600;
}
h5 {
  font-size: var(--fontSize400);
  font-weight: 600;
}
h1, h2, h3, h4, h5 {
  width: 100%;
}

strong {
  font-weight: 600;
}

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

main ul {
  width: 100%;
  padding-left: 3rem;
  box-sizing: border-box;
}

ul li {
  font-size: var(--fontSize400);
  font-weight: 300;
  margin-bottom: .4rem;
  line-height: 180%;
}

p {
  font-size: var(--fontSize400);
  font-weight: 300;
  line-height: 180%;
  margin: 2rem 0;
  width: 100%;
}

figure {
  margin: 0;
}

img {
  max-width: 100%;
}

hr {
  width: 63px;
  height: 3px;
  background-color: var(--black2);
  border: none;
  margin: 6px 0 16px 0;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex__col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.links {
  width: 100%;
  justify-content: flex-start;
  flex-flow: wrap;
  gap: 6px;
  margin: 10px 0;
}

.button, a.button, .wp-block-button__link {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 100px;
  background-color: var(--black2);
  color: var(--white);
  font-size: var(--fontSize400);
  font-weight: 700;
  cursor: pointer;
  transition: background-color .5s, color .3s;
}

.acf-block-preview .button, .acf-block-preview a.button {
  border: unset;
}

.button:hover, a.button:hover {
  background-color: var(--beigeLight);
  color: var(--black2);
}

.wp-block-button__link.has-black-background-color:hover,
.wp-block-button__link.has-black2-background-color:hover {
  background-color: var(--beigeLight)!important;
  color: var(--black2)!important;
}

.has-black-color {color: var(--black)!important}
.has-black-background-color {background-color: var(--black)!important}
.has-black2-color {color: var(--black2)!important}
.has-black2-background-color {background-color: var(--black2)!important}
.has-white-color {color: var(--white)!important}
.has-white-background-color {background-color: var(--white)!important}
.has-beige-color {color: var(--beige)!important}
.has-beige-background-color {background-color: var(--beige)!important}
.has-beigeLight-color {color: var(--beigeLight)!important}
.has-beigeLight-background-color {background-color: var(--beigeLight)!important}

.header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  transition: all 0.5s;
}

.header__inner {
  width: 100%;
  max-width: var(--maxwidth5);
  justify-content: space-between;
  padding: 2.5rem 0;
  transition: all 0.5s;
}

.header__logo {
  width: auto;
  height: 60px;
  transition: all 0.5s;
}

.header__logo img {
  width: auto;
  height: 100%;
}

.menu__header {
  transition: all 0.5s;
}

.menu__header__content {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.4rem;
}

.menu__header__content li {
  margin-bottom: 0;
}

.menu__header__content li a {
  display: block;
  min-width: 14rem;
  padding: 1rem 2rem;
  font-size: var(--fontSize400);
  font-weight: 700;
  text-align: center;
  color: var(--white);
  background-color: var(--beige);
  border-radius: 1000px;
  transition: all 0.3s;
}

.menu__header__content li:nth-child(2n + 2) a {
  background-color: var(--black2);
}

.menu__header__content li:last-child a {
  margin-right: 0;
}

.menu__header__content li a:hover {
  color: var(--black2);
  background-color: var(--beigeLight)
}

.menu__header__content li:nth-child(2n + 2) a:hover {
  color: var(--black2);
  background-color: var(--beigeLight);
}

.menu__scroll {
  background-color: var(--white);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  transition: all 0.5s;
}

.menu__scroll .header__inner {
  width: calc(100% - 40px);
  padding: 10px 20px;
}

@media (max-width: 768px) {
  .header__inner, .menu__scroll .header__inner {
    width: 100%;
    padding: 1.5rem 0;
    max-width: calc(100% - 3rem);
  }
}

@media (max-width: 500px) {
  .menu__header__content li a {
    min-width: 8rem;
  }
  .header__inner {
    justify-content: center;
    flex-flow: wrap;
    gap: 1rem;
  }
}

.footer {
  width: 100vw;
  background-color: var(--black2);
}

.footer__inner {
  width: 100%;
  max-width: var(--maxwidth5);
  align-items: flex-end;
  gap: 40px;
  margin: 60px 0 40px 0;
}

.footer__col {
  width: 33.33%;
}

.footer__content {
  gap: 10px;
  color: var(--white);
  font-weight: 300;
  align-items: flex-start;
}

.footer__content h3 {
  width: auto;
  font-size: var(--fontSize500);
  font-weight: 500;
  margin: 0;
  padding: 0 0 2rem 0;
  border-bottom: 3px solid var(--beige);
}

.footer__logo {
  max-width: 350px;
}

.footer__menu {
  margin: 0 0 1.6rem 0;
}

.footer__menu__content {
  gap: 20px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__menu__content li {
  width: 100%;
}

.footer__menu__content li:last-of-type:after {
  display: none;
}

.footer__menu__content li a {
  width: 100%;
  font-size: var(--fontSize500);
  font-weight: 500;
  color: var(--white);
}

.footer__mentions {
  width: 100%;
  max-width: var(--maxwidth2);
  flex-flow: wrap;
  gap: 10px;
  padding: 10px 0;
}

.footer__mentions a,
.footer__mentions div {
  color: var(--white);
}

.footer__mentions a::after,
.footer__mentions div::after {
  content: '|';
  display: inline-block;
  margin-left: 10px;
}

.footer__mentions a:last-child::after,
.footer__mentions div:last-child::after {
  display: none;
}

@media (max-width: 1160px) {
  .footer__inner {
    margin: 60px 0;
    flex-flow: wrap;
    gap: 40px;
    justify-content: flex-end;
  }
  .footer__col {
    width: calc(50% - 20px);
  }
  .footer__inner .footer__col:last-child {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer__inner {
    justify-content: center;
    width: var(--maxwidth);
    max-width: 600px;
  }
  .footer__content, .footer__menu {
    width: 100%;
    align-items: flex-start;
  }
  .footer__logo {
    align-self: flex-start;
  }
  .footer__mentions a::after,
  .footer__mentions div::after {
    display: none;
  }
  .footer__mentions {
    width: calc(100% - 40px);
    max-width: 600px;
    justify-content: flex-start;
  }
}

.intro {
  position: relative;
  width: 100vw;
  min-height: calc(100vh - 110px);
  align-items: center;
  margin-top: 110px;
}

.introVideo {
  min-height: unset;
  aspect-ratio: 16/9;
}

.acf-block-preview .intro {
  z-index: 2;
}

.intro__bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.intro__bg img,
.intro__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro__bg__overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

.intro__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxwidth5);
  color: var(--white);
  padding: 4.5rem 0 6rem 0;
}

.intro__logos {
  width: 100%;
  justify-content: space-between;
}

.intro__logo {
  position: relative;
  z-index: 1000;
  max-width: 40%;
}

.intro__logos div {
  font-size: calc(var(--fontSize1000) * 2);
  font-weight: 600;
  color: var(--beigeLight);
  opacity: 0.8;
}

.intro__inner a.button {
  font-size: var(--fontSize400);
  margin-top: 40px;
}

@media (max-width: 768px) {
  .intro {
    margin-top: 84px;
  }
  .intro__inner {
    padding: 12rem 0 6rem 0;
  }
  .intro__logos {
    flex-direction: column;
  }
  .intro__logo {
    width: 80%;
    max-width: 400px;
  }
  .intro__logos div {
    transform: rotate(90deg);
  }
}

@media (max-width: 485px) {
  .intro {
    margin-top: 133px;
  }
}

.wp-block-spacer {
  background-color: transparent
}

.block-editor-block-list__block.wp-block-spacer {
  background-color: rgba(0,0,0,0.05);
}

.error-404, .searchPage {
  margin-top: 100px;
  min-height: calc(70vh - 100px);
}

.bandeau {
  position: relative;
  display: flex;
  width: 100vw;
  height: 170px;
  margin-bottom: 20px;
}

.bandeau img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.error-404 h1.page-title {
  text-align: center;
}

.wp-block-cover {
  width: 100%;
}

.wp-block-cover.alignfull {
  position: relative;
  overflow: visible;
}
.wp-block-cover.alignfull span,
.wp-block-cover.alignfull span + img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .wp-block-cover {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 500px) {
  .wp-block-cover {
    min-height: 300px;
  }
}

:where(.wp-block-columns) {
  margin-bottom: 0;
}

.wp-block-button__link {
  font-weight: 500;
  transition: all 0.3s;
}

.wp-block-button__link.has-white-color:hover {
  background-color: var(--beigeLight)!important;
  color: var(--black2)!important;
}

@media (max-width: 768px) {
  p br {
    display: none;
  }
  .footer__content p br {
    display: block;
  }
}

.steps {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: var(--maxwidth5);
  padding: 200px 0 180px 0;
  margin-top: 20px;
}

.steps__inner {
  width: 100%;
  gap: 40px;
}

.steps__content {
  width: calc(33% - 20px);
}

.steps h1, .steps h2, .steps h3, .steps h4, .steps h5 {
  margin: 0;
}

.steps__images {
  width: calc(67% - 20px);
  align-items: flex-start;
  gap: 2px;
}

.steps__images figure {
  position: relative;
  width: calc(25% - 1.5px);
}

.steps__images figure::after {
  content: ">";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  line-height: 0;
  font-size: var(--fontSize700);
  font-weight: 600;
  color: var(--black2);
  background-color: var(--white);
  border-radius: 100%;
  transform: translate(-50%, -50%);
}

.steps__images figure:last-child::after {
  display: none;
}

.steps__images figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.steps__images figure figcaption {
  position: absolute;
  z-index: -1;
  top: 100%;
  left: 0;
  width: 100%;
  font-size: var(--fontSize400);
  font-weight: 800;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
  margin-top: 10px;
}

@media (max-width: 1380px) {
}

@media (max-width: 1200px) {
  .steps {
    width: 100%;
    max-width: unset;
    padding: 18rem 0 4rem 0;
  }
  .steps__inner {
    align-items: flex-start;
  }
  .steps__images {
    flex-flow: wrap;
  }
  .steps__images figure {
    width: calc(50% - 1.5px);
  }
  .steps__images figure::after {
    display: none;
  }
  .steps__images figure figcaption {
    position: relative;
    z-index: 1;
    top: unset;
    left: unset;
    width: calc(100% - 40px);
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .steps {
    padding: 12rem 0 4rem 0;
  }
  .steps__inner {
    flex-direction: column;
  }
  .steps__content {
    width: 100%;
  }
  .steps__images {
    width: 100%;
    flex-flow: wrap;
  }
  .steps__images figure {
    width: calc(50% - 1.5px);
  }
}

@media (max-width: 400px) {
  .steps__images figure {
    width: 100%;
  }
}

.smoov__sigle__bg {
  overflow: visible!important;
}

.smoov__sigle__bg span.wp-block-cover__background {
  opacity: 0!important;
  background: transparent!important;
  background-color: transparent!important;
}

.smoov__sigle__bg img.wp-block-cover__image-background {
  overflow: visible!important;
  object-fit: contain!important;
}

.smoov__sigle__bg .has-background-dim-10 + img.wp-block-cover__image-background {opacity: 0.1!important;}
.smoov__sigle__bg .has-background-dim-20 + img.wp-block-cover__image-background {opacity: 0.2!important;}
.smoov__sigle__bg .has-background-dim-30 + img.wp-block-cover__image-background {opacity: 0.3!important;}
.smoov__sigle__bg .has-background-dim-40 + img.wp-block-cover__image-background {opacity: 0.4!important;}
.smoov__sigle__bg .has-background-dim-50 + img.wp-block-cover__image-background {opacity: 0.5!important;}
.smoov__sigle__bg .has-background-dim-60 + img.wp-block-cover__image-background {opacity: 0.6!important;}
.smoov__sigle__bg .has-background-dim-70 + img.wp-block-cover__image-background {opacity: 0.7!important;}
.smoov__sigle__bg .has-background-dim-80 + img.wp-block-cover__image-background {opacity: 0.8!important;}
.smoov__sigle__bg .has-background-dim-90 + img.wp-block-cover__image-background {opacity: 0.9!important;}

.smoov__exploded__bg {
  position: relative;
}

.smoov__exploded__bg::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 85%;
  width: 35vw;
  max-width: 380px;
  height: auto;
  aspect-ratio: 149/159;
  background-image: url(assets/chart/smoov-sigle-exploded-2.svg);
  background-size: contain;
  background-position: top right;
  background-repeat: no-repeat;
}

.smoov__exploded__bg::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 85%;
  width: 35vw;
  max-width: 380px;
  height: auto;
  aspect-ratio: 145/115;
  background-image: url(assets/chart/smoov-sigle-exploded-1.svg);
  background-size: contain;
  background-position: bottom left;
  background-repeat: no-repeat;
}

@media (min-width: 1760px) {
  .smoov__exploded__bg::before {
    right: 87%;
  }
  .smoov__exploded__bg::after {
    left: 87%;
  }
}

@media (min-width: 1940px) {
  .smoov__exploded__bg::before {
    right: 72vw;
  }
  .smoov__exploded__bg::after {
    left: 72vw;
  }
}

@media (max-width: 1680px) {
  .smoov__exploded__bg::before {
    right: 80%;
  }
  .smoov__exploded__bg::after {
    left: 80%;
  }  
}

.steps__bg {
  position: absolute;
  z-index: -1;
  top: 20px;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
}

.cattelya__bg2::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 424px;
  max-width: 25vw;
  height: 183px;
  max-height: 50%;
  background-image: url(./assets/chart/fond-cattelya-2.png);
  background-size: contain;
  background-position: top left;
  background-repeat: no-repeat;
}

.reals {
  width: 100vw;
  max-width: var(--maxwidth5);
}

.reals__inner {
  width: 100%;
}

.reals__content {
  width: 100%;
}

.reals__images {
  width: 100vw;
  max-width: 1920px;
  flex-flow: wrap;
}

.reals__images figure {
  width: 20%;
}

.reals__images figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

@media (max-width: 768px) {
  .reals__images figure {
    width: 50%;
  }
  .reals__images figure:last-child {
    width: 100%;
  }
}

.custom__columns .wp-block-column {
  position: relative;
}

.custom__columns .wp-block-column::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background-color: var(--beige);
  transform: scaleY(1);
  transform-origin: bottom;
  transition: all 1.5s var(--expoInOut);
}

.custom__columns .wp-block-column.active::after {
  transform: scaleY(0);
}

.block-editor-block-list__block.custom__columns .wp-block-column::after {
  display: none;
}

@media (max-width: 768px) {
  .custom__columns h3 {
    padding-bottom: 0!important;
  }
}

@media (max-width: 768px) {
  .custom__text p {
    text-align: left;
  }
}

.wp-block-buttons.is-layout-flex {
  justify-content: flex-start;
}

.smoov__columns h2 {
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 2rem;
}

.smoov__columns hr {
  margin-bottom: 3rem;
  margin: auto;
}

.wp-block-image {
  position: relative;
}

.wp-block-image figcaption {
  position: absolute;
  top: 100%;
  left: 50%;
  width: max-content;
  max-width: 100%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  padding: 2rem;
  font-weight: 300;
  line-height: 180%;
}

@media (max-width: 768px) {
  .wp-block-image figcaption {
    position: relative;
    top: unset;
    left: unset;
    width: max-content;
    max-width: 100%;
    transform: unset;
    background-color: var(--white);
    padding: 2rem;
    font-weight: 300;
    line-height: 180%;
  }

  .noPadding__left__right__bottom__mobile {
    padding-left: 0!important;
    padding-right: 0!important;
    padding-bottom: 0!important;
  }
}