/* cmsms stylesheet: styles modified: vendredi 30 janvier 2026 18:46:56 */
* { 
  margin:0; 
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Inter";
  src: url('../../fonts/inter/Inter.woff2') format('woff2'),
       url('../../fonts/inter/Inter.woff') format('woff');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, /* Latin-1 */
                 U+0030-0039, /* chiffres */
                 U+0020-002F; /* ponctuation basique */
}

@font-face {
  font-family: "RobotoSlab";
  src: url('../../fonts/roboto_slab/RobotoSlab-VariableFont.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, /* Latin-1 */
                 U+0030-0039, /* chiffres */
                 U+0020-002F; /* ponctuation basique */
}


/*** Couleurs etc. ***/
:root {
  --bleu: #0018ff;
  --blanc: #ffffff;
  --noir: #000000;
  --vert: #6ad277;
  --rose: #ff2b7b;
  --choco: #7e4013;
  --gris: #8f8581;
  --gris-clair: #f7f4f4;
  --rose-clair: #fad5e3;
  --vert-clair: #d1ebe2;
  --bleu-clair: #ccd1ff; //3a54a5
  --choco-clair: #bfa089;

  --gras: 500;
  --demigras: 400;
  --light: 300;
  --light200: 200;

}

.blanc { color:var(--blanc) }
.noir { color:var(--noir) }
.bleu { color: var(--bleu) }
.vert { color: var(--vert) }
.rose { color: var(--rose) }

.fd-bleu { background-color: var(--bleu) }
.fd-vert { background-color: var(--vert) }
.fd-rose { background-color: var(--rose) }
.fd-gris { background-color: var(--gris) }
.fd-choco { background-color: var(--choco) }
.fd-gris-clair { background-color: var(--gris-clair) }
.fd-bleu-clair { background-color: var(--bleu-clair) }
.fd-vert-clair { background-color: var(--vert-clair) }
.fd-rose-clair { background-color: var(--rose-clair) }
.fd-choco-clair { background-color: var(--choco-clair) }

/*** Typos ***/
h1 { font-weight: 200; font-size: clamp(2rem, 2.5dvw, 4rem); padding: 0 0 1rem 0 }
.txtSeul h1 { font-size: clamp(2rem, 2.5dvw, 3rem); padding:0 }
h2 { font-weight:normal; font-size: clamp(1.4rem, 1.5dvw, 2.5rem); padding: 0 0 1.2rem 0; line-height: 1.2; }
#content h2 { font-family: "RobotoSlab"; } 
h3 { font-weight:normal; font-size: clamp(1.3rem, 2dvw, 2rem); padding: 0 0 2rem 0 }
#actualités .autresReali { font-size: clamp(1.2rem, 1.3dvw, 2rem); text-align: left; padding-top: 2rem }
.detail h3 { font-weight:normal; font-size: clamp(1.3rem, 1dvw, 2rem); padding:0 0 1rem 0 }
p { font-size:1.2rem; line-height: 1.5; font-weight: var(--light); padding: 0 0 0.7rem 0; }
#content li { font-size:1.2rem; line-height: 1.5; font-weight: var(--light); padding: 0 0 0.4rem 0.1rem; margin-left:1.2rem; list-style-type: square;}
#content li::marker { color: var(--bleu) }
a { color: var(--bleu); text-decoration:none }
a.category-name { color:#000 }
a.category-name:hover { font-weight: bolder } /* corriger déplacement */
.chiave, .robotoS {
   font-family: "RobotoSlab", sans-serif;
   font-weight: 400;
   font-style: normal;
}
.gras, strong { font-weight: var(--gras) }
.demigras { font-weight: var(--demigras) }
.light { font-weight: var(--light200) }

.bouton { 
  display: flex;
  width: min-content;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  line-height: normal;
  padding: 0;
  margin: 0;
  min-width: 6rem;
 }

.flex { display: flex }

.bouton a { padding: 0.8rem; color:#fff }
.bouton a:hover { color: var(--rose-clair) }

.simple { background-color: var(--bleu); border-radius:0.2rem }

.double {
   background: transparent url(../../uploads/images/design/btn-double.svg) center no-repeat;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-color: var(--bleu) var(--gris-clair);
  scrollbar-width: thin;
  font-family: "Inter", sans-serif;
}

#header {
  /* position:fixed; */
  position: sticky;
  top:0;
  z-index:5;
  padding: 2rem;
  display: flex;
  width:100dvw;
  align-items: center;
  justify-content: space-between;
}

#logo {
  width: 100%;
  max-width: 10dvw;
  height:auto
}

img { 
   display:block;
}

figure {
  width: 100%;
  height: 100%;
}

figcaption { display: none }

/**** Hero ****/

#hero img {
   object-fit: cover;
   width:100%;
   height:100%
}

.hero {
  position:relative;
  display: grid;
  z-index:1;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  top: -10vh;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.frise {
   width:100dvw;
   background: var(--gris-clair) url(../../uploads/images/design/trame-blanc.svg) top center repeat-x;
   background-attachment:fixed;
   height:30dvh;
   position:absolute;
}

.hero-bg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   height: 100dvh;
   background-size: 80%;
   background-position: center;
   background: var(--gris-clair) url(../../uploads/images/design/trame-blanc.svg) 0 0 repeat;
   mask-size: 10%;
   mask-position:center;
   mask-repeat: repeat;
   transition: mask-size 1s ease-out;
   /* will-change: transform; */
   z-index: -1;
}

.hero-content {
   padding:3rem
}

.hero-content p {
   font-size:10rem;
   line-height:1.2
}

.video-background {
  position: absolute;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}


/*** Hero Text ***/
.text-container {
   width: 100%;
   height: auto;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: start;
   padding: 2rem;
   position: relative;
}

        .animated-text {
            font-size: clamp(2rem, 5dvw, 10rem);
            margin: 0;
            transition: transform 0.1s ease-out;
            white-space: nowrap;
        }

        .line1 {
            /* transform: translateX(-50px); */
            opacity: 1;
        }

        .line2 {
            /* transform: translateX(50px); */
            opacity: 1;
        }

        .line3 {
            /* transform: translateX(-50px); */
            opacity: 1;
        }

        .fade-in {
            opacity: 1 !important;
            transition: opacity 0.6s ease-in-out, transform 0.1s ease-out;
        }


#content {
   position: relative;
   display:grid;
   padding:10rem 3rem 3rem 3rem;
   width:100%;
   max-width:60dvw;
   margin:0 auto;
   z-index: 2;
}

.home #content { padding-top:0 }

#content .detail img { width:100%; height:100%; object-fit:cover } 

/*** Actus Home ***/

#actualités { 
  display: grid;
  height: auto;
  position: relative;
  /* margin-bottom: 3rem; */
}
#actualités h3 { font-size:1.1rem; text-align:center }


#actus {
   position: relative;
   display:grid;
   grid-gap: 1rem;
   padding:0;
   width:100%;
   max-width:60dvw;
   margin:0 auto 2rem auto;
   z-index: 2;
}

#actus article { 
   position:relative;
   will-change: clip-path;
   transform: translateZ(0); /* Force GPU compositing */
   backface-visibility: hidden; /* Évite les scintillements */
}

#actus article.imgOk {
   aspect-ratio: 1;
   margin:auto
}

#actus article:hover .descriptif { opacity:1 }

#actus div {
   width:100%;
   height:100%;
   transition: opacity 0.6s ease-in-out;
}

#content #actus {
  max-width: 100%;
  width: 100%;
  grid-template-columns: 1fr;
  padding:0
}

#categos { padding-bottom: 2rem }

.couv, .video, .visu img {
   object-fit: cover;
   width:100%;
   height:100%
}

.services .visu { max-height:45dvh; aspect-ratio: 1; }
.services .grille { align-items:center; margin-bottom:2rem }
.services .grille div:nth-child(even) { justify-self: end }
.services .grille div:nth-child(odd) { justify-self: start }
.agence .grille { margin-bottom:2rem }
.agence .grille img { margin:auto }

.aspect1 { aspect-ratio:1 }

.descriptif {
   display:grid;
   padding: 2rem 3rem;
   opacity:0;
   position: absolute;
   top:0;
   left:0;
   width:100%;
   height:100%;
   align-content:center;
   text-align:center;
}

.descriptif a { color: var(--noir) }
.descriptif.fd-gris a { color: var(--blanc) }
.descriptif h3 { padding:0 }
.descriptif h2 { font-size: clamp(1rem, 1dvw, 1.5rem); padding-bottom:0.5rem }
.descriptif p { font-size: clamp(0.9rem, 1dvw, 1.5rem) }


.descriptif p { 
   font-family: "RobotoSlab", serif; 
   line-height:1.4;
   font-weight: 200;
   padding:0
}

.txtSeul {
  min-height: 20dvh;
  display: grid;
  justify-content: center;
  align-content: center;
  padding: 3rem clamp(3rem, 2dvw, 15rem);
}

.txtSeul:nth-child(2) {
  padding: 3rem clamp(3rem, 2dvw, 10rem);
}

#actus article.animArticle1, .disque { /* disque */
   clip-path: circle(50%);
   transform: scale(1);
   transform-origin: center;
}

#actus article.animArticle2,
#actus article.animArticle5,
.coinsArrondis  { /* coins arrondis */
   clip-path: inset(0 0 round 1rem);
}

#actus article.animArticle4,
.demiCercleGauche { /* demi cercle gauche */ 
   clip-path: inset(0 0 0 0 round 50% 0 0 50%);
   aspect-ratio: 1;
}

.situation { 
   clip-path: inset(0 0 round 50% 0 0 50%);
   background-color: var(--vert-clair);
}

.situation img { width:100%; height:100%; aspect-ratio:1  } 

#actus article.animArticle6,
.demiCercleDroite { /* demi cercle droite */
  clip-path: inset(0 0 0 0 round 0 50% 50% 0);
  aspect-ratio: 1;
}

@keyframes animActu1 { /* anim disque */
   0% { transform: scale(0.5); }
   50% { transform: scale(0.75); }
   100% { transform: scale(1); }
}

@keyframes animActu2 { /* anim coins arrondis */
   0% { clip-path: inset(0 0 round 0); }
   50% { clip-path: inset(0 0 round 0.5rem); }
   100% { clip-path: inset(0 0 round 1rem); }
}

@keyframes animActu3 {
   0% { clip-path: inset(0% 0% 0%); }
   50% { clip-path: inset(0.5rem 0.5rem 0.5rem); }
   100% { clip-path: inset(1rem 1rem 1rem); }
}

@keyframes animActu4 {
   0% { clip-path: inset(0% 0% round 0 0 0 0); }
   50% { clip-path: inset(0 0 0 0 round 25% 0 0 25%); }
   100% { clip-path: inset(0 0 0 0 round 50% 0 0 50%); }
}

@keyframes animActu5 {
   0% { clip-path: inset(0% 0% round 0 0 0 0); }
   50% { clip-path: inset(0 0 0 0 round 0 25% 25% 0); }
   100% { clip-path: inset(0 0 0 0 round 0 50% 50% 0); }
}

.animArticle1.animate {
   animation: animActu1 1s ease-out
}

.animArticle2.animate {
   animation: animActu2 1s ease-out
}

.animArticle4.animate {
   animation: animActu4 1s ease-out
}

.animArticle5.animate {
   animation: animActu2 1s ease-out
}

.animArticle6.animate {
   animation: animActu5 1s ease-out
}

.animate-on-scroll {
   opacity:0;
   transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
   opacity: 1;
}

.slide-up {
   transform: translateY(150px);
   }

.slide-up.animate {
   transform: translateY(0);
}

.slide-right {
   transform: translateX(150px);
   }


#categories ul { margin:0; padding:0 }
#categories li { display:inline-block; list-style-type:none; margin:0; padding:0 2rem 0 0 }
#categories li a { letter-spacing: 0.024rem }
#categories li a:hover { letter-spacing: 0.01rem }



/*** Grilles ***/

.grille { display:grid }

.goutt1 { grid-gap: 1rem }
.goutt2 { grid-gap: 2rem }
.goutt4 { grid-gap: 4rem }

.cols-2 {
   grid-template-columns: repeat(2, minmax(0, 1fr))
}

.cols-2-1t2t {
   grid-template-columns: minmax(0, 1fr) minmax(0, 2fr)
}

.cols-2-2t1t {
   grid-template-columns: minmax(0, 2fr) minmax(0, 1fr)
}

.cols-3 {
   grid-template-columns: repeat(3, minmax(0, 1fr))
}

.cols-4 {
   grid-template-columns: repeat(4, minmax(0, 1fr))
}

.retour { 
   display:inline-block;
   padding:3rem 0 
}

/*** Tpls détail réali ***/

.gabarit1 {
   display: grid; 
   grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
   grid-auto-rows:auto;
   grid-template-areas: 
    "Texte1 Texte1 Image1 Image1"
    "Texte2 Texte2 Image2 Image2"
    "Texte2 Texte2 Image3 Image3"
    "Image4 Image4 Image5 Image5"
    "Image6 Image6 Image6 Image6"
    "Image7 Image7 Image8 Image8";
}

.gabarit1 div:first-child { grid-area: Texte1; align-content: end; }
.gabarit1 div:nth-child(3) { grid-area: Image1; }
.gabarit1 div:nth-child(2) { grid-area: Texte2; }
.gabarit1 div:nth-child(4) { grid-area: Image2; }
.gabarit1 div:nth-child(5) { grid-area: Image3; align-self: end; }
.gabarit1 div:nth-child(6) { grid-area: Image4; }
.gabarit1 div:nth-child(7) { grid-area: Image5; }
.gabarit1 div:nth-child(8) { grid-area: Image6; }
.gabarit1 div:nth-child(9) { grid-area: Image7; }
.gabarit1 div:nth-child(10) { grid-area: Image8; }

.gabarit1 div:nth-child(6) div,
.gabarit1 div:nth-child(7) div,
.gabarit1 div:nth-child(8) div,
.gabarit1 div:nth-child(9) div,
.gabarit1 div:nth-child(10) div { height:100% }



.gabarit2 {
   display: grid; 
   grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
   grid-auto-rows:auto;
   grid-template-areas: 
    "Texte1 Image1 Image1 Image1"
    "Image2 Image2 Image3 Image3"
    "Texte2 Texte2 Texte2 Texte2"
    "Image4 Image4 Image5 Image5"
    "Image6 Image6 Image6 Image6"
    "Image7 Image7 Image8 Image8";
}

.gabarit2 div:first-child { grid-area: Texte1; align-content: end; }
.gabarit2 div:nth-child(3) { grid-area: Image1; }
.gabarit2 div:nth-child(2) { grid-area: Texte2; column-count:2; column-gap: 4rem; }
.gabarit2 div:nth-child(4) { grid-area: Image2; }
.gabarit2 div:nth-child(5) { grid-area: Image3; }
.gabarit2 div:nth-child(6) { grid-area: Image4; }
.gabarit2 div:nth-child(7) { grid-area: Image5; }
.gabarit2 div:nth-child(8) { grid-area: Image6; }
.gabarit2 div:nth-child(9) { grid-area: Image7; }
.gabarit2 div:nth-child(10) { grid-area: Image8; }

.gabarit2 div:nth-child(4) div,
.gabarit2 div:nth-child(5) div,
.gabarit2 div:nth-child(6) div,
.gabarit2 div:nth-child(7) div,
.gabarit2 div:nth-child(8) div { height:100% }

.gabarit3 {
   display: grid; 
   grid-template-columns: 1fr 1fr 1fr 1fr;
   grid-auto-rows:auto;
   grid-template-areas: 
    "Texte1 Image1 Image1 Image1"
    "Image2 Image2 Image3 Image3"
    "Texte2 Texte2 Texte2 Texte2"
    "Image4 Image4 Image4 Image4"
    "Image5 Image5 Image6 Image6"
    "Image7 Image7 Image8 Image8";
}

.gabarit3 div:first-child { grid-area: Texte1; align-content: end; }
.gabarit3 div:nth-child(3) { grid-area: Image1; }
.gabarit3 div:nth-child(2) { grid-area: Texte2; column-count:2; column-gap: 4rem; }
.gabarit3 div:nth-child(4) { grid-area: Image2; }
.gabarit3 div:nth-child(5) { grid-area: Image3; }
.gabarit3 div:nth-child(6) { grid-area: Image4; }
.gabarit3 div:nth-child(7) { grid-area: Image5; }
.gabarit3 div:nth-child(8) { grid-area: Image6; }
.gabarit3 div:nth-child(9) { grid-area: Image7; }
.gabarit3 div:nth-child(10) { grid-area: Image8; }

.gabarit3 div:nth-child(3) div,
.gabarit3 div:nth-child(4) div,
.gabarit3 div:nth-child(5) div { height:100% }


/**** Menu ****/
/* Bouton hamburger */
.hamburger {
   display: flex;
   flex-direction: column;
   cursor: pointer;
   padding: 10px;
   z-index: 1002;
   position: relative;
}

.hamburger b { display: none }

.hamburger span {
   width: 30px;
   height: 3px;
   background-color: var(--bleu);
   margin: 3px 0;
   transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   border-radius: 2px;
   transform-origin: center;
}

        /* Animation du bouton hamburger */
        .menu-toggle:checked + .hamburger span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .menu-toggle:checked + .hamburger span:nth-child(2) {
            opacity: 0;
            transform: scale(0);
        }

        .menu-toggle:checked + .hamburger span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Cache l'input checkbox */
        .menu-toggle {
            display: none;
        }

/* Menu overlay plein écran */
.menu-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   display: flex;
   padding:4rem;
   align-items: center;
   justify-content: center;
   z-index: 1000;
   opacity: 0;
   visibility: hidden;
   transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   background: var(--gris-clair)url(../../uploads/images/design/trame-menu.svg);
   background-position: 120% 50%;
   background-size: 37%;
   background-repeat: no-repeat;
}

.menu-toggle:checked ~ .menu-overlay {
   opacity: 1;
   visibility: visible;
}

/* Navigation du menu */
.menu-nav {
   text-align: left;
   /*transform: translateY(50px);*/
   transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.menu-toggle:checked ~ .menu-overlay .menu-nav {
   /*transform: translateY(0);*/
}
.menu-nav ul {
   list-style: none;
}

.menu-nav li {
   margin: 0;
   opacity: 0;
   transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-nav li:nth-child(odd) {
   transform: translateX(-100px);
}
.menu-nav li:nth-child(even) {
   transform: translateX(100px);
}




        /* Animation en cascade des éléments du menu */
        .menu-toggle:checked ~ .menu-overlay .menu-nav li:nth-child(1) {
            transform: translateX(0);
            opacity: 1;
            transition-delay: 0.3s;
        }

        .menu-toggle:checked ~ .menu-overlay .menu-nav li:nth-child(2) {
            transform: translateX(0);
            opacity: 1;
            transition-delay: 0.4s;
        }

        .menu-toggle:checked ~ .menu-overlay .menu-nav li:nth-child(3) {
            transform: translateX(0);
            opacity: 1;
            transition-delay: 0.5s;
        }

        .menu-toggle:checked ~ .menu-overlay .menu-nav li:nth-child(4) {
            transform: translateX(0);
            opacity: 1;
            transition-delay: 0.6s;
        }

        .menu-toggle:checked ~ .menu-overlay .menu-nav li:nth-child(5) {
            transform: translateX(0);
            opacity: 1;
            transition-delay: 0.7s;
        }

        .menu-toggle:checked ~ .menu-overlay .menu-nav li:nth-child(6) {
            transform: translateX(0);
            opacity: 1;
            transition-delay: 0.8s;
        }

.menu-nav a {
   color: #000;
   text-decoration: none;
   text-transform:uppercase;
   font-size: clamp(3rem,10dvw,7rem);
   font-weight: 600;
   position: relative;
   transition: all 0.3s ease-out;
   display: inline-block;
}

      /* .menu-nav ul li a:hover { font-family: "Garamond", serif; font-style: italic; } */
      .menu-nav ul li:first-child a { font-weight:200 }
      .menu-nav ul li:nth-child(2) a { font-family: "RobotoSlab"; font-weight:500 }
      .menu-nav ul li:nth-child(3) a { font-weight:500 }
      .menu-nav ul li:nth-child(4) a { font-family: "RobotoSlab"; font-weight:400 }
      .menu-nav ul li:nth-child(5) a { font-weight:200 }
      .menu-nav ul li:last-child a { font-weight:200 }

        .menu-nav a:hover {
            /* color: #667eea;
            transform: scale(1.1); */
        }



  /* Effet Hover */
.menu-nav a {
  overflow: hidden;
  position: relative;
  display: inline-block;
}

.menu-nav a::before,
.menu-nav a::after {
 content: '';
  position: absolute;
  width: 100%;
  left: 0;
}
.menu-nav a::before {
  /* background-color: var(--gris);
  height: 2px;
  bottom: 0;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1); */
}
.menu-nav a::after {
  content: attr(data-replace);
  height: 100%;
  top: 0;
  transform-origin: 100% 50%;
  transform: translate3d(200%, 0, 0);
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
  color: var(--bleu);
}

.menu-nav a:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}
.menu-nav a:hover::after {
  transform: translate3d(0, 0, 0);
}

.menu-nav a span {
  display: inline-block;
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.menu-nav a:hover span {
  transform: translate3d(-200%, 0, 0);
}


footer { 
   background-color: var(--gris-clair);
   display: grid;
   padding: 2rem;
   min-height: 19dvh;
   grid-template-columns: 3fr 1fr;
   align-items: center;
 }
footer img { display:grid; justify-self: end; width:100%; height:auto; max-width: 10dvw; transform: rotate(45deg); }

footer > div {
   display:grid;
   grid-template-columns: 1fr 1fr 1fr;
   grid-gap: 2rem;
   margin: 0 auto;
   width:100%
}


footer div div { display:grid; align-content: baseline; }

footer img { justify-content:end }

footer img.animate {
   transform: rotate(0deg);
   transition: transform .8s cubic-bezier(0.76, 0, 0.24, 1);
}

footer p {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.3rem 0;
  margin: 0;
}

footer a { color:#000 }
footer a:hover { color: var(--bleu) }


/*** Contact ***/


fieldset { border: 0}
legend { display: none }


#contact {
   width:100%;
   padding: 6rem 2rem 2rem 2rem;
   background-color: var(--gris-clair)
}

#contact form {
   width:100%;
   max-width:60dvw;
   margin:0 auto
}

.cms_form .contactform fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 3rem;
}

#contact form .row, .cms_form .contactform fieldset {
  display: grid;
  align-content: start;
  grid-gap: 2rem;
}

#contact form div.envoi, .cms_form  .contactform fieldset div.envoi {

}

.cms_form .contactform fieldset div:nth-child(5) {
  grid-row: 1 / span 3;
  grid-column: 2/2;
}

.captcha { margin-top:2rem }

label, input, textarea { font-size:1.2rem; font-weight: 200 }
input, textarea {
  font-family: "Inter", sans-serif;
  /* border: 1px solid var(--gris); */
  padding: 0.5rem;
  border:0;
  border-style: none none solid;
  outline: 0;
}
textarea { height: 100%; }

.input-container {
    width: 100%;
    position: relative;
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 0 2.5rem 2.5rem 0;
    outline: none;
    background-color: #fff;
    transition: 0.3s ease;
    caret-color: var(--bleu); 
}

.input-container label {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.input-container .input-bg {
    position: absolute;
    inset: -2px;
    z-index: -1;
    transform: scaleX(0);
    transition: 0.3s ease;
}

.input-container input:focus ~ .input-bg,
.input-container textarea:focus ~ .input-bg {
    background: var(--gris);
    transform: scaleX(1);
}

input:user-invalid {
  background-color: #ffe5e5;
}



#demande { grid-column: 1 / span 2 }


#envoyer, .retour, .cms_submit {
  font-size:1.2rem;
  background-color: #fff;
  color:#000;
  padding:1rem;
  margin-top: 2rem;
  border-radius: 0 2.5rem 2.5rem 0;
  transition:0.5s;
  cursor:pointer;
  text-align:left
} 

#envoyer:hover, .cms_submit:hover {
  background-color: var(--vert-clair);
  color: var(--noir)
}

.envoi { text-align:center }


.retour { font-size: 0.8rem; color:var(--bleu); padding:0.5rem }
.retour:hover { background-color:var(--bleu); color:var(--blanc) }


/* Popup */
.modal {
  display: none; position: fixed; z-index: 100;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); justify-content: center; align-items: center;
}
.modal-content {
  background: white; padding: 20px; border-radius: 10px; width: auto; text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

#submitBtn {
  background-color: var(--bleu);
  color: #fff;
  padding: 0.8rem;
  border: 0;
}

#answerInput {
  border: 1px solid #eee;
  width: auto;
}

/**** Mobiles ****/
@media only screen and (min-width:601px) {
  #content, #actus { max-width:75% }
}

@media only screen and (min-width:1400px) {
  #content, #actus { max-width:60% }
}

@media only screen and (max-width: 600px) {
  .menu-overlay { background-position: 50% 125%; background-size: 65% }
  #header { background-color:var(--gris-clair); height:8dvh; padding:1rem }
  #logo { max-width: 100px }
  .frise { height: 20dvh; background-repeat: repeat-y; background-attachment: scroll; }
  #actus { width: 100%; max-width: 100%; grid-template-columns: 1fr; padding: 1rem }
   /* #actus article.imgOk { height:40dvh; width:100% } */
  .grille .visu { order:2 }
  .cols-2 { grid-template-columns: 1fr }
  #content #actus { padding:0 }
  #content { padding: 10rem 1rem 1rem 1rem }
  .hero { height: 40dvh; top:0 }
  .hero-bg { height: 85dvh; background-size:80% }
  .hero-content { padding: 4rem 2rem }
  .hero-content p { font-size: 1.2rem }
  label, input, textarea { font-size:1rem }
  .txtSeul { padding: 3rem clamp(1rem, 8dvw, 3rem) }
  p, #content li {font-size:1rem }
  footer img { max-width: 35dvw }
  #contact { max-width:100%; padding: 0 }
  #contact form {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1rem; 
    grid-gap: 1rem;
    max-width:100%
  }
  .cms_form .contactform fieldset div:nth-child(5) {
    grid-row: unset;
    grid-column: unset;
  }
  #envoyer { font-size:1.2rem }
  #content { max-width:100% }
  .cols-2-1t2t, .cols-2-2t1t, .cms_form .contactform fieldset {
    grid-template-columns: 1fr;
  }

  .gabarit1, .gabarit2, .gabarit3 {
   grid-template-columns: minmax(0, 1fr);
   grid-template-areas: 
    "Texte1" 
    "Image1"
    "Texte2"
    "Image2"
    "Image3"
    "Image4"
    "Image5"
    "Image6"
    "Image7"
    "Image8";
  }

  .gabarit2 div:nth-child(2), .gabarit3 div:nth-child(2) { column-count: auto }

  .goutt4 { grid-gap: 2rem }

  .descriptif { padding:1rem }

   footer > div { grid-template-columns: 1fr }
   footer p { font-size:0.8rem }


}

.mce-container-body iframe { min-height: 40vh; }
.mce-content-body { width:100%; height:auto; min-height:40vh }
.mce-content-body img { width:100%; height:100%; object-fit:cover }
.mce-content-body strong { font-weight:600 }
.mce-content-body li { font-size:1rem; list-style-type: square; padding-left: 1rem; margin-left: 1rem; }
.mce-content-body li::marker { color:var(--bleu) }
