/* Couleurs */
:root {
  --sable: #f4f1ec;
  --noir-chaud: #1c1a19;
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

#presentation {
  scroll-margin-top: 150px; /* ajuste à la hauteur de ton header ou bannière */
}

#services {
  scroll-margin-top: 150px;
}

#travaux {
	scroll-margin-top: 90px;
}

@media (max-width: 768px) {
	
	#presentation {
	scroll-margin-top: 80px;
	}
	
	#services{
	scroll-margin-top: 110px;
	}
	
	#travaux {
	scroll-margin-top: 20px;

	}

}

body {
  
  font-family: 'Comfortaa', sans-serif;
  background: var(--sable);
  color: var(--noir-chaud);
}

@media (min-width: 1366px) {
h1 {
	font-size: 2.8rem;
}

h2 {
	font-size: 2.5rem;
}

p{
	font-size: 1.1rem;
}
	
}

/* =========================
   HEADER & NAV DE BASE
   ========================= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--sable);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px 0px 50px 0px;
  z-index: 100;
}

.header.scrolled {
  border-bottom: 1px solid rgba(28, 26, 25, 0.3);
  transition: border-bottom 0.3s ease;
}

/* =========================
   LOGO — VERSION VARIABLES
   ========================= */

/* Valeurs par défaut (desktop) */
:root{
  --logo-start-h: 400px;   /* taille de départ (logo centré) */
  --logo-final-h: 180px;   /* taille finale */
  --logo-final-top: 20px;  /* position finale */
  --logo-final-left: 40px;
  --logo-final-margin: -30px 0 0 0;
}

/* État initial (centré) + transitions */
.logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* anime TOUT ensemble pour éviter le “sursaut” */
  transition: top 3s cubic-bezier(.22,1,.36,1),
              left 3s cubic-bezier(.22,1,.36,1),
              transform 3s cubic-bezier(.22,1,.36,1);
  will-change: top, left, transform;
}

.logo img {
  height: var(--logo-start-h);
  width: auto;
  transition: height 2.2s cubic-bezier(.22,1,.36,1),
              margin 2.2s cubic-bezier(.22,1,.36,1);
}

/* État final après intro (ou directement sur pages sans intro) */
body.nav-ready .logo,
html.no-intro body .logo{
  top: var(--logo-final-top);
  left: var(--logo-final-left);
  transform: translate(0%, 0%);
}
body.nav-ready .logo img,
html.no-intro body .logo img{
  height: var(--logo-final-h);
  margin: var(--logo-final-margin);
}

/* Pas d’anim sur les pages “no-intro” */
html.no-intro .logo,
html.no-intro .logo img{
  transition: none !important;
}

/* =========================
   MENU / NAV
   ========================= */

.nav {
  margin-left: auto; /* pousse le menu à droite */
  display: flex;
  margin-right: 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
body.nav-ready .nav {
  opacity: 1;
  pointer-events: auto;
}

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 30px 10px 0px 0px;
}
.nav__list li a {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--noir-chaud);
  padding: 10px 10px; 
  border-radius: 10px; 
  transition: background 0.3s ease, color 0.3s ease;
}
.nav__list li a:hover {
  background-color: var(--noir-chaud);
  color: var(--sable);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto;
  margin-right: 20px;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--noir-chaud);
  margin: 4px 0;
  transition: 0.4s;
  border-radius: 2px;
}

/* =========================
   TITRE / HERO
   ========================= */

.title {
  text-align: center;
  padding-top: 200px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}
.title h1 {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--noir-chaud);
  margin: 20px 0px -20px 0px ;
  line-height: 2;
}
.title h1 .highlight {
  display: inline-block;
  background-color: var(--noir-chaud);
  color: var(--sable);
  padding: 0px 10px;
  border-radius: 10px;
}

/* =========================
   BLACK BANNER + FEATURES
   ========================= */

.black-banner {
  background-color: var(--noir-chaud);
  height: 450px; /* ajuste à ton goût */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  clip-path: polygon(0% 30%, 100% 10%, 100% 100%, 0% 100%);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}
body.page-ready .title,
body.page-ready .black-banner{
  opacity: 1;
  transform: translateY(0);
}

.features {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap; /* Pour que ça passe bien sur mobile */
  max-width: 1200px; /* largeur max pour éviter que ça parte trop loin */
  width: 100%;
  margin: 0 auto; /* centre le conteneur */
  margin-bottom: -70px;
  gap: 50px; /* espace entre colonnes */
}
.feature {
  flex: 1 1 200px; /* Largeur minimale et flexible */
  text-align: center;
  color: var(--sable); /* Texte sable sur fond noir-chaud */
}
.feature img {
  width: 150px; /* Taille de ton pictogramme */
  height: auto;
  margin-bottom: 10px;
}
.feature h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Comfortaa', sans-serif;
}
.feature p {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 300;
  font-family: 'Comfortaa', sans-serif;
}

/* =========================
   MEDIA QUERIES
   ========================= */

/* Mobile ≤ 767px */
@media (max-width: 767px) {

  /* on ne touche qu'aux variables du logo */
  :root{
    --logo-start-h: 220px;
    --logo-final-h: 90px;
    --logo-final-top: 20px;
    --logo-final-left: 30px;
    --logo-final-margin: -10px -30px 0 0;
  }

  .header { padding-bottom: 30px; }

  .title h1 {
    font-size: 1.8rem;
    margin-bottom: -200px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(22, 20, 18, 0.95);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100vw);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    right: unset;
    left: 0;
  }
  .nav.active { transform: translateX(0); }

  .nav__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  .nav .nav__list li a{
    font-size: 1.8rem;
    color: var(--sable);
    text-decoration: none;
    transition: text-decoration 0.3s;
    font-family: "Comfortaa", sans-serif;
  }

  .hamburger {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    padding: 20px 10px 0 10px;
    display: flex;
    z-index: 1001;
  }
  .hamburger span { background-color: var(--noir-chaud); border-radius: 2px; }
  .hamburger.toggle span { background-color: var(--sable); }
  body.nav-ready .hamburger { opacity: 1; pointer-events: auto; }
  .hamburger.toggle span:nth-child(1) { transform: rotate(45deg) translate(10px, 5px); border-radius: 2px; }
  .hamburger.toggle span:nth-child(2) { opacity: 0; }
  .hamburger.toggle span:nth-child(3) { transform: rotate(-45deg) translate(10px, -6px); border-radius: 2px; }

  .black-banner {
    height: 1500px;
    clip-path: polygon(0% 30%, 100% 20%, 100% 100%, 0% 100%);
    width: 100%;
  }

  .features {
    flex-direction: column;
    margin-top: -150px;
    align-items: center;
    gap: 10px;
    padding-top: 400px;
  }
  .feature { max-width: 300px; }
  .feature img { width: 140px; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: 0.9rem; line-height: 1.4; }
}

/* 768px “pile” */
@media (width: 768px) {

  /* variables logo */
  :root{
    --logo-start-h: 300px;
    --logo-final-h: 120px;
    --logo-final-margin: -5px -20px 0 0;
  }

  .nav__list {
    gap: 1.15rem;
    padding: 30px 5px 0 0;
    margin-right: -30px;
  }
  .nav__list li a { font-size: 1rem; }

  .title h1 { font-size: 2.2rem; margin-bottom: -300px; }

  .black-banner {
    height: 2100px;
    clip-path: polygon(0% 30%, 100% 20%, 100% 100%, 0% 100%);
  }
  .features {
    flex-direction: column;
    margin-top: 80px;
    margin-bottom: 20px;
    align-items: center;
    gap: 50px;
    padding: 400px 20px 0 0;
  }
  .feature { max-width: 300px; }
  .feature img { width: 160px; }
  .feature h3 { font-size: 1.3rem; }
  .feature p { font-size: 1.1rem; line-height: 1.4; }

  /* Hamburger animation */
  .hamburger.toggle span:nth-child(1) { transform: rotate(45deg) translate(10px, 5px); border-radius: 2px; }
  .hamburger.toggle span:nth-child(2) { opacity: 0; }
  .hamburger.toggle span:nth-child(3) { transform: rotate(-45deg) translate(10px, -5px); border-radius: 2px; }
}

/* 768–932 landscape (petites tablettes paysage) */
@media (min-width: 768px) and (max-width: 932px) and (orientation: landscape) {

  /* variables logo */
  :root{
    --logo-final-h: 100px;
    --logo-final-margin: -10px -30px 0 0;
  }

  .header { padding-bottom: 30px; }
  .title h1 { font-size: 1.8rem; margin-bottom: -200px; }

  .nav {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(22, 20, 18, 0.95);
    display: flex; justify-content: center; align-items: center;
    transform: translateX(100vw);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }
  .nav.active { transform: translateX(0); }

  .nav__list {
    display: flex; flex-direction: column; gap: 2rem;
    list-style: none; padding: 0; margin: 0; text-align: center;
  }
  .nav .nav__list li a{
    font-size: 2rem; color: var(--sable);
    text-decoration: none; transition: text-decoration 0.3s;
    font-family: "Comfortaa", sans-serif;
  }

  .hamburger {
    opacity: 0; pointer-events: none; transition: opacity 0.6s ease;
    padding: 20px 10px 10px 10px; display: flex; z-index: 1001;
  }
  .hamburger span { background-color: var(--noir-chaud); border-radius: 2px; }
  .hamburger.toggle span { background-color: var(--sable); }
  body.nav-ready .hamburger { opacity: 1; pointer-events: auto; }
  .hamburger.toggle span:nth-child(1) { transform: rotate(45deg) translate(10px, 5px); border-radius: 2px; }
  .hamburger.toggle span:nth-child(2) { opacity: 0; }
  .hamburger.toggle span:nth-child(3) { transform: rotate(-45deg) translate(10px, -6px); border-radius: 2px; }

  .black-banner { height: 450vh; clip-path: polygon(0% 30%, 100% 20%, 100% 100%, 0% 100%); }

  .features { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
  .feature { flex: 1 1 calc(50% - 40px); max-width: calc(50% - 40px); text-align: center; }
  .feature img { width: 140px; margin-bottom: 8px; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: 0.9rem; line-height: 1.4; }
}

/* Tablette portrait 769–1280 */
@media screen and (min-width: 769px) and (max-width: 1280px) and (orientation: portrait) {

  /* variables logo */
  :root{
    --logo-start-h: 350px;
    --logo-final-h: 130px;
    --logo-final-margin: -10px -70px 0 -10px;
  }

  .nav__list {
    gap: 1rem;
    padding: 30px 5px 0 0;
    margin-right: -30px;
  }
  .nav__list li a { font-size: 1.15rem; }
    
  .title { padding-top: 220px; }

  .title h1 { margin-top: 0px; margin-bottom: 30px; font-size: 2.8rem; }

  .black-banner {
    height: 1000px;
    padding-top: 60px;
    clip-path: polygon(0% 20%, 100% 5%, 100% 100%, 0% 100%);
  }

  .features {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 20px; margin-top: 20px;
  }
  .feature { flex: 1 1 calc(50% - 40px); max-width: calc(50% - 40px); text-align: center; }
  .feature img { width: 150px; }
  .feature h3 { font-size: 1.3rem; }
  .feature p { font-size: 1.1rem; padding: 20px; }
}

/* Tablette paysage 769–1280 (grand paysage) */
@media screen and (min-width: 769px) and (max-width: 1280px) and (orientation: landscape) {

  .title h1 { margin-top: 60px; margin-bottom: 70px; font-size: 2.8rem; }

  .black-banner {
    height: 900px;
    padding-top: 60px;
    clip-path: polygon(0% 20%, 100% 5%, 100% 100%, 0% 100%);
  }

  .features {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 40px; margin-top: 10px;
  }
  .feature { flex: 1 1 calc(50% - 40px); max-width: calc(50% - 40px); text-align: center; }
  .feature h3 { font-size: 1.3rem; }
  .feature p { font-size: 1.1rem; padding-right: 20px; padding-left: 20px; }
}

/* iOS tap highlight (grey flash) */
.hamburger,
.nav__list a,
button,
a {
  -webkit-tap-highlight-color: transparent; /* iOS */
}

/* Avoid a dark focus ring on tap, but keep keyboard focus visible */
.hamburger:focus { outline: none; }
.hamburger:focus-visible { outline: 2px solid #1c1a19; border-radius: 10px; }

/* Optional: prevent accidental text selection while tapping the menu */
.hamburger,
.nav__list a {
  -webkit-user-select: none;
  user-select: none;
}


/* SECTION PRESENTATION */
.presentation {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  min-height: 400px;
}

.presentation-container {
  display: flex;
  width: 100%;
}

.presentation-image {
	flex: 1;
}

.presentation-image img {
  width: 100%;
  height: 101%;
  object-fit: cover;
  display: block;
}

.presentation-text {
  flex: 0.8;
  padding: 60px;
}

.presentation-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: 'Comfortaa', sans-serif;
}

.presentation-text p {
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Comfortaa', sans-serif;
}

/* MOBILE PRESENTATION */
@media (max-width: 768px) {
	
  .presentation-container {
    flex-direction: column;
  }
	
	
  .presentation-text {
	 max-width: 100%;
	 padding: 40px;
	}
	
	.presentation-image{
	  flex: none;
	  width: 100%;
	  overflow: hidden;
	  height: auto;
		
	}
	
	.presentation-image img{
	  width: 101%;
	  height: 101%;
	  object-fit: cover;
	  display: block;
	}
		
  .presentation-text h2 {
	font-size: 1.8rem;
    text-align: center;
  }
  .presentation-text p {
	font-size: 0.9rem;
    text-align: center;
  }
	
	.presentation-text h3{
	  text-align: center;
	}
	
}

@media (max-width: 932px) and (orientation: landscape) {
    
    .presentation-container {
    flex-direction: column;
  }
	
	
  .presentation-text {
	 max-width: 100%;
	 margin: 0 40px 0px;
	}
	
	.presentation-image{
	  flex: none;
	  width: 100%;
	  overflow: hidden;
	  height: auto;
		
	}
	
	.presentation-image img{
	  width: 102%;
	  height: 100%;
	  object-fit: cover;
	  display: block;
	  margin-left: -1%;
	}
		
  .presentation-text h2 {
	font-size: 1.8rem;
    text-align: center;
  }
  .presentation-text p {
	font-size: 0.9rem;
    text-align: center;
  }
	
	.presentation-text h3{
	  text-align: center;
	}
	
}

@media screen and (min-width: 769px) and (max-width: 1280px) and (orientation: portrait) {
	
	 .presentation-container {
    flex-direction: column;
  }
	
	
  .presentation-text {
	 max-width: 100%;
	 padding: 50px;
	}
	
	.presentation-image{
	  flex: none;
	  width: 100%;
	  overflow: hidden;
	  height: auto;
		
	}
	
	.presentation-image img{
	  width: 102%;
	  height: 100%;
	  object-fit: cover;
	  display: block;
	  margin-left: -1%;
	}
		
  .presentation-text h2 {
	font-size: 2.2rem;
    text-align: center;
  }
  .presentation-text p {
	font-size: 1.1rem;
    text-align: center;
  }
	
	.presentation-text h3{
	  text-align: center;
	}
}

@media screen and (min-width: 769px) and (max-width: 1280px) and (orientation: landscape) {
	
	.presentation {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: auto;
  min-height: 400px;
}

.presentation-container {
  display: flex;
  width: 100%;
}

.presentation-image {
	flex: 1;
}

.presentation-image img {
  width: 101%;
  height: 101%;
  object-fit: cover;
  display: block;
}

.presentation-text {
  flex: 0.8;
  padding: 40px;
}
	
.presentation-text h2 {
	font-size: 2.2rem;

  }
  .presentation-text p {
	font-size: 1.1rem;

  }
	
}


/* SECTION TRAVAUX */

.black-bannerwork {
  background-color: var(--noir-chaud);
  height: 700px; /* ajuste à ton goût */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  clip-path: polygon(0% 100%, 0% 0%, 600% 100%, 100% 100%);
}

.travaux-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.travaux-container h2 {
  color: var(--sable);
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-family: 'Comfortaa', sans-serif;
}

.travaux-gallery {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.travail {
  width: 300px;
}

.travail img {
  background-color: var(--sable);
  width: auto;
  border-radius: 10px;
}

.travail a{
	text-decoration: none;
}

.travail p {
  font-size: 1.1rem;
  color: var(--sable);
  margin-top: 10px;
  font-family: 'comfortaa', sans-serif;
  line-height: 1.3;
}

.voir-plus {
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 20px;
  color: var(--sable);
  border: 2px solid var(--sable);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.voir-plus:hover {
  color: var(--noir-chaud);
  background: var(--sable);
}

/* MOBILE TRAVAUX */
@media (max-width: 768px) {
	 
  .black-bannerwork {
	height: 1050px;
    clip-path: polygon(0% 100%, 0% 0%, 1000% 100%, 100% 100%);
	}
    
	
  .travaux-container h2{
	font-size: 1.8rem;
	}
	
  .travaux-gallery {
	flex-direction: column;
	align-items: center;
    gap: 30px;
	}
	
	.travail img {
		width: 80%;
	}
	
	.travail p {
		font-size: 0.9rem;
	}
	
	.voir-plus {
		font-size: 0.9rem;
	}
}

@media (max-width: 932px) and (orientation: landscape) {
    
    .black-bannerwork {
	height: 1150px;
    clip-path: polygon(0% 100%, 0% 0%, 1000% 100%, 100% 100%);
	}
    
	
  .travaux-container h2{
	font-size: 1.8rem;
	}
	
  .travaux-gallery {
	flex-direction: column;
	align-items: center;
    gap: 30px;
	}
	
	.travail img {
		width: 80%;
	}
	
	.travail p {
		font-size: 0.9rem;
	}
	
	.voir-plus {
		font-size: 0.9rem;
	}
    
}

@media screen and (min-width: 769px) and (max-width: 1280px) and (orientation: portrait) {
	
	.black-bannerwork {
		height: 1400px;
     clip-path: polygon(0% 100%, 0% 0%, 1000% 100%, 100% 100%);
	}

	
	.travaux-gallery {
	flex-direction: column;
	align-items: center;
    gap: 40px;
	}
	
	.travaux-container h2{
	font-size: 2.2rem;
	}
	
	.travaux-container p{
		margin-top: 20px;
		font-size: 1.1rem;
	}
	
	.travaux-container a{
		margin-top: 30px;
		font-size: 1.1rem;
	}
	
}

@media screen and (min-width: 769px) and (max-width: 1180px) and (orientation: landscape) {
	
	
	.travaux-gallery {
		gap : 40px;
	}
	
	.travaux-container h2{
	font-size: 2.2rem;
	}
	
	.travaux-container p{
		margin-top: 20px;
		font-size: 1.1rem;
	}
	
	.travaux-container a{
		font-size: 1.1rem;
	}
}

/* SECTION CONTACT CTA */
.contact-call {
  padding: 100px 20px;
  text-align: center;
  background: var(--sable);
}

.contact-call h2 {
  font-size: 2.7rem;
  margin-bottom: 20px;
  font-family: 'Comfortaa', sans-serif;
}

.contact-call p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-family: 'Comfortaa', sans-serif;
}

.cta-contact {
  font-size: 1.1rem;
  display: inline-block;
  background: var(--noir-chaud);
  color: var(--sable);
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-contact:hover {
  background: #333;
}

/*Contact mobile*/

@media (max-width: 768px) {
  .contact-call h2 {
	font-size: 1.8rem;
	}
	
	.contact-call p{
		font-size: 0.9rem;
	}
	
	.contact-call a{
		font-size: 0.9rem;
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
	
	.contact-call h2 {
	font-size: 2.2rem;
	}
	
	.contact-call p{
		font-size: 1.1rem;
	}
	
	.contact-call a{
		font-size: 1.1rem;
	}
	
}

@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
	
	.contact-call h2 {
	font-size: 2.2rem;
	}
	
	.contact-call p{
		font-size: 1.1rem;
	}
	
	.contact-call a{
		font-size: 1.1rem;
	}
}


/* === CONTENEUR PRINCIPAL === */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 50px;
  flex-wrap: wrap; /* au cas où */
}

/* === COLONNE DROITE === */
.contact-right {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centre le titre et le formulaire */
}

.contact-right h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: 'Comfortaa', sans-serif;
  color: var(--noir-chaud);
  text-align: center; /* Centre le titre */
}

/* === COLONNE GAUCHE === */
.contact-left {
  flex: 1;
  color: var(--noir-chaud);
  font-family: 'Comfortaa', sans-serif;
  margin-top: 250px; /* descend plus bas */
  padding-right: 60px;
  line-height: 1.5;
}

.contact-left p{
	font-size: 1.1rem;
}

.after{
  display: inline-block; /* ou block si tu veux une vraie ligne */
  margin-top: 30px;
}

/* === FORMULAIRE === */
.contact-form {
  background-color: var(--noir-chaud);
  border-radius: 20px;
  padding: 30px;
  box-sizing: border-box;
  width: 100%;
}

/* === CONTENU FORMULAIRE === */
.contact-form .row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .input-group {
  color: var(--sable);
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 15px;
}

.contact-form label {
  color: var(--sable);
  margin-bottom: 15px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

.contact-form label .sub{
    font-size : 0.8rem;
}

.contact-form input,
.contact-form textarea {
  background-color: var(--sable);
  color: var(--noir-chaud);
  padding: 12px;
  border: 1px solid var(--sable);
  border-radius: 10px;
  font-family: 'Comfortaa', sans-serif;
  box-sizing: border-box;
  font-size: 1.1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {     
  background-color: var(--noir-chaud);
  color: var(--sable);
  padding: 12px 20px;
  border: solid var(--sable) 1px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  margin-top: 20px;
  width: fit-content;
  font-family: 'Comfortaa', sans-serif;
  transition: background 0.3s ease;
}

.input-group.input-file input[type="file"] {
  display: none;
}

.input-group.input-file {
  align-items: flex-start;
  margin-top: 20px;

}

.custom-file-upload {
  display: inline-block;
  width: auto;
  max-width: 100%;
  background-color: var(--sable);
  font-family: 'Comfortaa', sans-serif;
  padding: 10px 10px;
  margin: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  color: var(--noir-chaud) !important;
  border: 1px solid transparent;
}

.contact-form label.custom-file-upload {
  font-weight: 400;
  font-size: 1rem;
}

.custom-file-upload:hover {
  color: var(--sable) !important;
  background-color: var(--noir-chaud);
  border: solid var(--sable) 1px;
}

.contact-form button:hover {
  background-color: var(--sable);
  color: var(--noir-chaud);
}

#file-chosen {
  font-size: 0.9rem;
  margin-top: 20px;
  margin-bottom: -10px;
  font-weight: 300;
}

.contact-form .remove-file{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border: 1px solid currentColor;
  border-radius: 4px;        /* petit carré arrondi */
  background: transparent;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  color: var(--sable);        /* couleur normale */
}

.contact-form .remove-file:hover {
  color: var(--noir-chaud);
}

/* Devient visible seulement quand un fichier est sélectionné */
.input-group.input-file.has-file .remove-file{
  display: inline-flex;
}

/* === SECTION GÉNÉRALE === */
.contact-section {
  padding-top: 150px;
  padding-bottom: 100px;
  min-height: calc(100vh - 150px);
  box-sizing: border-box;
}

/* ===== Validation "comme packs" ===== */

/* Quand le form a été soumis au moins une fois et qu'un champ est invalide,
   on colore le label correspondant. */
.contact-form.was-validated .input-group.invalid > label {
  color: #e86a6a; /* rouge doux lisible */
}

/* Optionnel : mini aide sous le champ si tu ajoutes .help dans ton HTML */
.contact-form.was-validated .input-group.invalid .help {
  color: #e86a6a;
  font-size: 0.9em;
  margin-top: 6px;
}

/* Focus accessible (même style que tes autres forms) */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--sable);
  outline-offset: 2px;
  box-shadow: none;
  border-color: var(--sable);
}

/* Astérisque auto pour les champs requis (pas besoin de modifier le HTML) */
.contact-form .input-group:has(> input[required]) > label::after,
.contact-form .input-group:has(> textarea[required]) > label::after {
  content: " *";
  color: var(--sable);
  font-weight: 700;
}

/* Honeypot anti-bot (invisible) */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

#file-error {
  color: #e86a6a;
  display: none;
}

#file-error.active {
  display: block;
}

/* Style spécifique au bouton croix (remove-file) */
.contact-form .remove-file {
  all: unset;                 /* reset complet pour ne pas hériter */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border: 1px solid currentColor;
  border-radius: 4px;         /* carré arrondi */
  background: transparent;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  text-align: center;
}

/* Force la taille/espacement du message fichier */
.input-group.input-file #file-error{
  display: block;        /* on rend visible même sans .active */
  font-size: 0.9rem;       /* ou 1.05rem / 1.1rem si tu veux plus gros */
  line-height: 1.35;
}


/* === RESPONSIVE === */
@media (max-width: 768px) {
	
  .contact-container {
    display: flex;
	flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: -30px auto 0;
    box-sizing: border-box;
    padding: 0 15px; /* plus de décalage */
	align-items: center;
  }

  .contact-section {
    padding-top: 180px;
    min-height: calc(100vh - 180px);
  }

  .contact-right {
	order: 1;
    width: 100%;
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    width: 100%;
    padding: 20px; /* interne au formulaire */
    box-sizing: border-box;
  }

  .contact-right h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .contact-left {
	order: 2;
    margin: 30px auto 0 auto;
    text-align: center;
    padding: 0 20px; /* respirer */
  }

  .contact-left p {
    font-size: 0.9rem;
  }
	
 .contact-form label {
		font-size: 0.9rem;
		margin-bottom: 10px;
		
	}
    
    .contact-form label .sub{
    font-size : 0.7rem;
}
	
   .contact-form label.custom-file-upload{
	font-size: 0.8rem;
	}
	
	.contact-form button {
	font-size: 0.9rem;
	}
	
	.contact-form input,
  .contact-form textarea {
    font-size: 0.9rem; /* Plus petit texte dans les champs */
  }
	  .contact-form .row {
    flex-direction: column;
    gap: 0; /* pas de gap horizontal */
  }
	
	#file-chosen{
		font-size: 0.8rem;
	}
    
    .input-group.input-file #file-error{
  display: block;        /* on rend visible même sans .active */
  font-size: 0.8rem;       /* ou 1.05rem / 1.1rem si tu veux plus gros */
  line-height: 1.35;
}
    
}

@media screen and (min-width: 769px) and (max-width: 1280px) and (orientation: portrait) {
	
	.contact-container {
    display: flex;
	flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: -30px auto 0;
    box-sizing: border-box;
    padding: 0 15px; /* plus de décalage */
	align-items: center;
  }

  .contact-section {
    padding-top: 180px;
    min-height: calc(100vh - 180px);
  }

  .contact-right {
	order: 1;
    width: 100%;
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    width: 100%;
    padding: 20px; /* interne au formulaire */
    box-sizing: border-box;
  }

  .contact-right h2 {
    font-size: 2.2rem;
    text-align: center;
	margin-bottom: 50px;
  }

  .contact-left {
	order: 2;
    margin: 30px auto 0 auto;
    text-align: center;
    padding: 0 20px; /* respirer */
  }

  .contact-left p {
    font-size: 1.1rem;
  }
	
 .contact-form label {
		font-size: 1.1rem;
		margin-bottom: 10px;
		
	}
    
    .contact-form label .sub{
    font-size : 0.8rem;
}
	
   .contact-form label.custom-file-upload{
	font-size: 1rem;
	}
	
	.contact-form button {
	font-size: 1.1rem;
	}
	
	.contact-form input,
  .contact-form textarea {
    font-size: 1.1rem; /* Plus petit texte dans les champs */
  }
	  .contact-form .row {
    flex-direction: column;
    gap: 0; /* pas de gap horizontal */
  }
	
	#file-chosen{
		font-size: 1rem;
	}
    
    .input-group.input-file #file-error{
  display: block;        /* on rend visible même sans .active */
  font-size: 1rem;       /* ou 1.05rem / 1.1rem si tu veux plus gros */
  line-height: 1.35;
    }
    
	
}

/* SECTION FAQ */
.faq {
  max-width: 1000px;
  margin: 150px auto 150px 100px; /* espace avec le header fixé */
  padding: 50px 0 0 0;
  text-align: left;
}

.faq h2 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--noir-chaud);
}

.faq-question {
  cursor: pointer;
  position: relative;
  padding: 20px 40px 20px 0;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.1rem;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  margin: 0 0 20px;
  padding: 0 0 0 0;
  font-family: 'Comfortaa', sans-serif;
  line-height: 1.5;
}

.faq-answer.open {
  /* rien ici, géré par le JS */
}

@media (max-width: 767px) {

.faq {
  max-width: 400px;
  margin: 100px 30px 150px 30px; /* espace avec le header fixé */
  padding: 30px 0 0 0;
  text-align: left; 
	
	}
	
.faq h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
	
}
	
.faq h3{
  font-size: 1rem;		
	}
	
.faq-answer p{
  font-size: 0.9rem;
	}
	
}

@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: portrait) {
	
.faq {
  max-width: 600px;
  margin: 150px 60px 150px 60px; /* espace avec le header fixé */
  padding: 30px 0 0 0;
  text-align: left; 
	
	}
	
.faq h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
	
}
	
.faq h3{
  font-size: 1.3rem;		
	}
	
.faq-answer p{
  font-size: 1.1rem;
	}
	
}
	

@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: landscape) {
	
	.faq {
  max-width: 800px;
  margin: 150px 60px 150px 80px; /* espace avec le header fixé */
  padding: 30px 0 0 0;
  text-align: left; 
	
	}
	
.faq h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
	
}
	
.faq h3{
  font-size: 1.3rem;		
	}
	
.faq-answer p{
  font-size: 1.1rem;
	}
	
}

.cgv{
  max-width: 1000px;
  margin: auto auto 100px 100px; /* espace avec le header fixé */
  padding: 50px 0 0 0;
  text-align: left;
}

.cgv h1{
  padding-top: 140px;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: left;
  line-height: 1.5;
}

.cgv h2{
   font-size: 1.8rem;
   padding-top: 20px;
}

.cgv p {
	font-size: 1.1rem;
}

.cgv li{
	font-size: 1.1rem;
	line-height: 25px;
}

.download-link {
  display: inline-block;
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 20px 40px;
  background: var(--noir-chaud);
  color: var(--sable);
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.1rem;
}

.download-link:hover {
  background: #444;
}

@media (max-width: 767px) {

  .cgv {
  max-width: 400px;
  margin: -45px 30px 40px 30px; /* espace avec le header fixé */
  padding: 30px 0 0 0;
  text-align: left; 
}
	
  .cgv h1 {
    font-size: 1.8rem;
  }

  .cgv h2 {
    font-size: 1.2rem;
  }

  .cgv p{
	 
	 font-size: 0.9rem;
	}
	
	.cgv li {
		font-size: 0.9rem;
	}

  .download-link {
	display: inline-block;
	width: auto;
	font-size: 0.9rem;
    text-align: center;
	padding: 20px;
	margin-top: 40px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: portrait) {
	
	.cgv {
  max-width: 600px;
  margin: 10px 30px 50px 60px; /* espace avec le header fixé */
  padding: 30px 0 0 0;
  text-align: left; 
}
	
  .cgv h1 {
   font-size: 2.2rem;

  }

  .cgv h2 {
    font-size: 1.3rem;
  }

  .cgv p{
	 
	 font-size: 1.1rem;
	}
	
	.cgv li {
		font-size: 1.1rem;
	}

  .download-link {
	display: inline-block;
	width: auto;
	font-size: 0.9rem;
    text-align: center;
	padding: 20px;
	margin-top: 40px;
  }
	
}

@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: landscape) {
	
	.cgv {
  max-width: 1000px;
  margin: 10px 30px 50px 60px; /* espace avec le header fixé */
  padding: 30px 0 0 0;
  text-align: left; 
}
	
  .cgv h1 {
   font-size: 2.2rem;

  }

  .cgv h2 {
    font-size: 1.3rem;
  }

  .cgv p{
	 
	 font-size: 1.1rem;
	}
	
	.cgv li {
		font-size: 1.1rem;
	}

  .download-link {
	display: inline-block;
	width: auto;
	font-size: 1.1rem;
    text-align: center;
	padding: 20px;
	margin-top: 50px;
  }
	
}

/* ===== FOOTER (Grid, propre, responsive) ===== */
.footer {
  background: var(--noir-chaud);
  color: var(--sable);
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* Réseaux | Liens | Logo */
  align-items: center;
  gap: 24px;
}

/* Réseaux à gauche */
.footer-socials {
  display: flex; /* déjà présent, on précise juste la direction */
  flex-direction: column;   /* empile en vertical */
  align-items: flex-start;  /* aligne à gauche du bloc */
  gap: 20px; 
  margin-left: 30px;
}
.footer-socials img {
  width: 30px;
  height: auto;
}

/* Liens au centre */
.footer-nav {
  justify-self: center;
}
.footer-nav ul {
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  position: relative;
  white-space: nowrap;
}
.footer-nav li + li::before {
  content: "•";
  color: var(--sable);
  margin: 0 12px 0 4px;
}
.footer-nav a {
  color: var(--sable);
  text-decoration: none;
  font-family: 'Comfortaa', sans-serif;
}
.footer-nav a:hover {
  text-decoration: underline;
}

/* Logo à droite */
.footer-logo {
  justify-self: end;
}
.footer-logo img {
  height: 170px;
  width: auto;
  display: block;
}

/* Copyright */
.footer-copyright {
  margin: 0;
  margin-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--sable);
}

/* ===== Responsive tablette & mobile ===== */
@media (max-width: 767px) {
  .footer-container {
    grid-template-columns: 1fr;      /* Une seule colonne */
    justify-items: center;           /* Centre tout */
    gap: 20px;
  }

  .footer-socials {
    margin: 0 auto 20px;   /* centre le bloc, enlève le décalage gauche */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .footer-logo {
    justify-self: center;
  }

  /* Liens en colonne centrée */
  .footer-nav ul {
    display: flex;
    flex-direction: column;   /* un en dessous de l’autre */
    align-items: center;      /* centrage horizontal */
    gap: 18px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
    list-style: none;
  }

  .footer-copyright {
    font-size: 0.7rem;
  }
}

/* Footer - version paysage sur mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .footer-nav ul {
    display: flex;
    flex-direction: row;       /* liens en ligne */
    flex-wrap: wrap;           /* si ça déborde, passe à la ligne */
    justify-content: center;   /* centrage horizontal */
    gap: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
  }

  /* Réactive les points de séparation uniquement en horizontal */
  .footer-nav li + li::before {
    content: "•";
    color: var(--sable);
    margin: 0 12px 0 4px;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
    
  .footer-container {
    grid-template-columns: 1fr;      /* Une seule colonne */
    justify-items: center;           /* Centre tout */
    gap: 20px;
  }
  .footer-socials {
    margin: 0 auto 20px;   /* idem : recentre, supprime le margin-left hérité */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  .footer-logo {
    justify-self: center;
  }
  .footer-nav ul {
    flex-wrap: wrap; /* Permet le retour à la ligne propre */
    gap: 20px;
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
    .footer-copyright {
        font-size: 0.9rem;
    }
}

/* Option mobile serré : retirer le séparateur pour éviter la casse */
@media (max-width: 480px) {
  .footer-nav li + li::before {
    content: none;
  }
}
	
/*Page B&P + Fluffy's + Kilian*/
	
.travaux {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.travaux .gallery-section {
  flex: 1;
  padding: 180px 40px 80px;
  text-align: center;
}

.travaux .gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background-color: var(--noir-chaud);
  color: var(--sable);
  display: inline-block;
  padding: 10px;
  border-radius: 10px;
}

.travaux .gallery-section p {
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

.project-title {
	margin-bottom:
		30px;
}

/* Grille d’images */
.gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  justify-items: center;
}


.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 10px;
}

.gallery img:hover {
  transform: scale(1.03);
}

.gallery img.zoomable {
	position: relative;
}

.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* ou 1 / 1 pour carré */
  overflow: hidden;
  border-radius: 8px;
}

.image-wrapper::after {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%) scale(0.95);
  font-size: 2.5rem;
  color: rgba(244, 241, 236, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.image-wrapper:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */

.lightbox-img {
  transition: opacity 0.15s ease-in-out;
}

.lightbox-img.fade-out {
  opacity: 0;
}

.custom-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.custom-lightbox.open {
  display: flex;
}

.custom-lightbox .lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 20px;
}

/* Icônes */
.custom-lightbox .close,
.custom-lightbox .prev,
.custom-lightbox .next {
  position: absolute;
  color: var(--sable); /* sable */
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.custom-lightbox .close:hover,
.custom-lightbox .prev:hover,
.custom-lightbox .next:hover {
  transform: scale(1.2);
}

.custom-lightbox .prev:hover,
.custom-lightbox .next:hover {
  transform: scale(1.2) translateY(-50%);
}

.custom-lightbox .close {
  top: 30px;
  right: 40px;
}

.custom-lightbox .prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.custom-lightbox .next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1366px) {
  .custom-lightbox .prev,
  .custom-lightbox .next {
    display: none !important;
  }
	
}

@media (max-width: 767px) {
	
.travaux .gallery-section {
  flex: 1;
  padding: 120px 40px 80px;
  text-align: center;

}
	
.travaux .gallery-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  background-color: var(--noir-chaud);
  color: var(--sable);
  display: inline-block;
  padding: 10px;
  border-radius: 10px;
}

.travaux .gallery-section p {
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto 40px;
}

.gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;

}	
	
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 8px;
}

.gallery img:hover {
  transform: scale(1.03);
}

.gallery img.zoomable {
	position: relative;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
	
}

}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
		
.travaux .gallery-section {
  flex: 1;
  padding: 180px 40px 80px;
  text-align: center;
}
	
.travaux .gallery-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background-color: var(--noir-chaud);
  color: var(--sable);
  display: inline-block;
  padding: 10px;
  border-radius: 10px;
}

.travaux .gallery-section p {
  font-size: 1.1rem;
  max-width: 400px;
  margin: 0 auto 60px;
}

.gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 40px;
  justify-items: center;
}	
	
.gallery img {
  width: 80%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 10px;
}

.gallery img:hover {
  transform: scale(1.03);
}

.gallery img.zoomable {
	position: relative;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
	
}

}

@media screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
	
.travaux .gallery-section {
  flex: 1;
  padding: 170px 60px 80px;
  text-align: center;
}
	
.travaux .gallery-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background-color: var(--noir-chaud);
  color: var(--sable);
  display: inline-block;
  padding: 10px;
  border-radius: 10px;
}

.travaux .gallery-section p {
  font-size: 1.1rem;
  max-width: 400px;
  margin: 0 auto 60px;
}
	
.gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  justify-items: center;
}
	
.gallery img {
  width: 80%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 10px;
}
	
.image-wrapper {
  position: relative;
  width: 120%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
	
}
	
}

	
/*Projets*/

.gallery.project-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 60px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  
}

/* Lien global (entoure toute la carte projet) */
.project-links {
  color: inherit;
  display: block;
  height: 100%;
}

/* Carte du projet */
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(244, 241, 236, 1);
  padding: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Comfortaa', sans-serif;
  transition: transform 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
}

/* Image du projet */
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

/* Titre du projet */
.project-title {
  margin-top: 12px;
  font-size: 1.3rem;
  font-weight: bold;
  font-family: 'Comfortaa', sans-serif;
  color: var(--noir-chaud);
}

/* Description du projet */
.project-description {
  margin-top: 8px;
  font-size: 1.1rem;
  font-family: 'Comfortaa', sans-serif;
  color: var(--noir-chaud);
}

.project-links *,
.project-links *:hover,
.project-links *:focus,
.project-links *:visited {
  text-decoration: none !important;
}


@media (max-width: 767px) {
	
.travaux .gallery.project-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 60px;
  padding: 40px 20px;
  max-width: 600px;
  }

  .project-card {
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 12px;
  }

  .project-card img {
    height: auto;
    max-height: 200px;
    object-fit: contain;
  }
	
  .image-caption {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}

}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	
.gallery.project-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  gap: 60px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  
}

/* Lien global (entoure toute la carte projet) */
.project-links {
  color: inherit;
  display: block;
  height: 100%;
}

/* Carte du projet */
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(244, 241, 236, 1);
  padding: 60px 20px;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Comfortaa', sans-serif;
  transition: transform 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
}

/* Image du projet */
.project-card img {
  width: 90%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

/* Titre du projet */
.project-title {
  margin-top: 30px;
  font-size: 1.3rem;
  font-weight: bold;
  font-family: 'Comfortaa', sans-serif;
  color: var(--noir-chaud);
}

/* Description du projet */
.project-description {
  margin-top: 8px;
  font-size: 1.1rem;
  font-family: 'Comfortaa', sans-serif;
  color: var(--noir-chaud);
}

.project-links *,
.project-links *:hover,
.project-links *:focus,
.project-links *:visited {
  text-decoration: none !important;
}
	
}

@media screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
	
.gallery.project-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 60px;
  padding: 40px 40px;
  max-width: 1300px;
  margin: 0 auto;
  
}

/* Lien global (entoure toute la carte projet) */
.project-links {
  color: inherit;
  display: block;
  height: 100%;
}

/* Carte du projet */
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(244, 241, 236, 1);
  padding: 40px 20px;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Comfortaa', sans-serif;
  transition: transform 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
}

/* Image du projet */
.project-card img {
  width: 80%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

/* Titre du projet */
.project-title {
  margin-top: 30px;
  font-size: 1.3rem;
  font-weight: bold;
  font-family: 'Comfortaa', sans-serif;
  color: var(--noir-chaud);
}

/* Description du projet */
.project-description {
  margin-top: 8px;
  font-size: 1.1rem;
  font-family: 'Comfortaa', sans-serif;
  color: var(--noir-chaud);
}

.project-links *,
.project-links *:hover,
.project-links *:focus,
.project-links *:visited {
  text-decoration: none !important;
}
	
}

/* Page logos flash */

.flash {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flash .gallery-section {
  flex: 1;
  padding: 160px 40px 80px;
  text-align: center;
}

.flash .gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
  background-color: var(--noir-chaud);
  color: var(--sable);
  display: inline-block;
  padding: 10px;
  border-radius: 10px;
}


.flash .gallery .image-block .image-caption {
  width: 100%;
  text-align: center;
}

.flash .gallery .image-block .image-caption .ref {
  margin: 30px auto 20px;
  font-size: 1.1rem;
}

.flash .gallery .image-block .image-caption .desc {
  margin: 0 auto 30px;
  padding: 0 5px;      /* c’est ici que tu ajustes ton padding */
  max-width: 420px;     /* optionnel : limite la largeur du texte */
  font-size: 1.1rem;
  line-height: 1.2;
  height: 110px;
}

.flash .gallery .image-block .image-caption .flash-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: max-content;
  margin: 10px auto 0;
  padding: 20px 35px;
  background: var(--noir-chaud);
  color: var(--sable);
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.flash .image-wrapper img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}


.image-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  height: 90%;
  margin-bottom: 30px;
}

.flash-text {
  max-width: 67%;
  text-align: left;
  margin-left: 30px;
  margin-top: 10px;
  padding-bottom: 50px;
  line-height: 1.2;
}

.flash-text strong {
  display: block;
  margin-bottom: 20px;
}


.flash-info {
  margin-left: 30px;
  margin-top: 60px;
  text-align: left;
  line-height: 1.2;
}

.cta-flash strong {
  display: block;
  margin-bottom: 20px;

}

.cta-flash span {
  max-width: 67%;
  display: block;
  line-height: 1.2;
}

.cta-flash span a {
  color: var(--noir-chaud);
}

.flash-info ul {
  max-width: 67%;
  margin: 20px 0 40px 30px;
  padding: 0;
}

.flash-info li {
  padding-left: 8px;
  margin-bottom: 10px;
}

.flash-info .warning {
  margin-top: 60px;
  max-width: 67%;
  display: block;
  line-height: 1.2;
}

.flash-info .warning strong{
    display:block;
}


/* Lightbox */
.custom-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.custom-lightbox.open {
  display: flex;
}

.custom-lightbox .lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 20px;
}

/* Icônes */
.custom-lightbox .close,
.custom-lightbox .prev,
.custom-lightbox .next {
  position: absolute;
  color: var(--sable); /* sable */
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.custom-lightbox .close:hover,
.custom-lightbox .prev:hover,
.custom-lightbox .next:hover {
  transform: scale(1.2);
}

.custom-lightbox .prev:hover,
.custom-lightbox .next:hover {
  transform: scale(1.2) translateY(-50%);
}

.custom-lightbox .close {
  top: 30px;
  right: 40px;
}

.custom-lightbox .prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.custom-lightbox .next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.flash .image-wrapper img.zoomable {
  transition: opacity 0.7s ease;

}

.flash .image-wrapper img.zoomable.fade-thumb {

  opacity: 0.15;

}

.lightbox-img {
  transition: opacity 0.25s ease;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.lightbox-img.fade-out {
  opacity: 0;
}

p.flash-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;

  width: auto;
  max-width: max-content;

  margin: 36px auto 0;
  padding: 20px 35px;

  background: var(--noir-chaud);
  color: var(--sable);

  border-radius: 20px;

  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

@media (max-width: 767px) {
	
.flash .image-caption {
	 padding-bottom: 30px;
	}
	
.flash .gallery-section {
  flex: 1;
  padding: 120px 40px 80px;
  text-align: center;

}
	
.flash .gallery-section h2 {
  font-size: 1.8rem;
  margin-bottom: 50px;
  background-color: var(--noir-chaud);
  color: var(--sable);
  display: inline-block;
  padding: 10px;
  border-radius: 10px;
}

.flash .gallery-section p {
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto 10px;
}
    
.flash .gallery .image-block .image-caption .desc{
  font-size: 0.9rem;
  height: 60px;

}


.flash .gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;

}	
	
.flash .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 8px;
}

.flash .gallery img:hover {
  transform: scale(1.03);
}

.flash .gallery img.zoomable {
	position: relative;
}

.flash .image-wrapper {
  position: relative;
  width: 110%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
	
}
    
.flash-text {
  font-size: 0.9rem;
  text-align: center;
  margin-top: -10px;
  padding-bottom: 30px;
}

.flash-info {
    max-width: 90%;
    margin: 20px auto 0 auto;
    font-size: 0.9rem;
    text-align: center;
    padding-bottom: 20px;
  }

.flash-info ul {
    max-width: 70%;
    display: inline-block;
    text-align: center;
    margin: 15px auto 40px;
    list-style-position: inside;
    padding: 0;
  }

  .flash-info li {
    margin-bottom: 15px;
  }
    
.flash-info .warning {
  padding-top: 60px;
}

.cta-flash span {
  max-width: 100%;

}
	
.ref{
  font-size: 1.1rem;
  padding-top: 10px;
	}
    
    
body.flash .gallery .image-block .image-caption p.flash-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: auto;
  max-width: max-content;
  padding: 13px 13px;
  background: var(--noir-chaud);
  color: var(--sable);
  border-radius: 11px;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
    
}
    
    
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	
.flash .image-caption {
	 padding-bottom: 20px;
	}
	
.flash .gallery-section {
   flex: 1;
   padding: 180px 40px 80px;
   text-align: center;

}
	
.flash .gallery-section h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  background-color: var(--noir-chaud);
  color: var(--sable);
  display: inline-block;
  padding: 10px;
  margin-bottom: 80px;
  border-radius: 10px;
}

.flash .gallery-section p {
  font-size: 1.1rem;
  max-width: 400px;
  margin: 0 auto 10px;
}

.flash .gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 40px;
  justify-items: center;

}	
	
.flash .gallery img {
  width: 90%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 10px;
}

.flash .gallery img:hover {
  transform: scale(1.03);
}

.flash .gallery img.zoomable {
	position: relative;
}

.flash .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
	
}
    
.flash-text {
  font-size: 1.1rem;
  text-align: center;
  margin-top: -10px;
  padding-bottom: 60px;
}

.flash-info {
    font-size: 1.1rem;
    max-width: 90%;
    margin: 60px auto 0 auto;
    font-size: 0.9rem;
    text-align: center;
    padding-bottom: 20px;
  }

.flash-info ul {
    font-size: 1.1rem;
    max-width: 70%;
    display: inline-block;
    text-align: center;
    margin: 15px auto 40px;
    list-style-position: inside;
    padding: 0;
  }

  .flash-info li {
    margin-bottom: 15px;
  }
    
  .cta-flash span{
    max-width: 100%;

    }
    
.flash-info .warning {
  padding-top: 60px;
}
	
.ref{
  padding-top: 40px;
	}
 
.flash .gallery .image-block .image-caption .desc{
  height: 60px;

}
    
body.flash .gallery .image-block .image-caption p.flash-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;

  width: auto;
  max-width: max-content;

  margin: 60px auto 0;
  padding: 15px 15px;

  background: var(--noir-chaud);
  color: var(--sable);

  border-radius: 11px;

  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}
    
}


@media screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {


.flash .image-caption {
	 padding-bottom: 40px;
	}


.flash .gallery-section {
  flex: 1;
  padding: 160px 40px 80px;
  text-align: center;
}

.flash .gallery-section h2 {
  font-size: 2.2rem;
  margin-bottom: 60px;
  background-color: var(--noir-chaud);
  color: var(--sable);
  display: inline-block;
  padding: 10px;
  border-radius: 10px;
}


.flash .image-caption p {
  margin: 30px auto 30px;
  font-size: 1.1rem;
  width: 100%;
  height: 20px;
}

.flash .gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 0px;
  justify-items: center;
}	
	
.flash .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 10px;
}

.flash .gallery img:hover {
  transform: scale(1.03);
}

.flash .gallery img.zoomable {
	position: relative;
}

.flash .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
	
}
    
.flash-text {
  font-size : 1.1rem;
  max-width: 70%;
  text-align: left;
  margin-left: 30px;
  margin-top: -10px;
  padding-bottom: 60px;
  line-height: 1.2;
}

.flash-text strong {
  display: block;
  margin-bottom: 8px;
  
}


.flash-info {
  font-size: 1.1rem;
  max-width: 70%;
  margin-left: 30px;
  margin-top: 30px;
  text-align: left;
  line-height: 1.2;
}

.cta-flash strong {
  display: block;
  margin-bottom: 8px;
}

.cta-flash span {
  display: block;
}

.cta-flash span a {
  color: var(--noir-chaud);
}

.flash-info ul {
  max-width: 60%;
  margin: 20px 0 40px 30px;
  padding: 0;
}

.flash-info li {
  padding-left: 8px;
  margin-bottom: 10px;
}

.flash-info .warning {
  margin-top: 60px;
}
	
.ref{
  padding-top: 10px;
	}
    
.flash .gallery .image-block .image-caption .desc{
  height: 30px;
}
    
body.flash .gallery .image-block .image-caption p.flash-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;

  width: auto;
  max-width: max-content;

  margin: 60px auto 0;
  padding: 13px 13px;

  background: var(--noir-chaud);
  color: var(--sable);

  border-radius: 11px;

  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}
    
}

.black-banner,
.black-bannerpacks,
.black-bannerwork{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw; /* full-bleed propre */
}


/* ====== INTRO GATE & REVEAL ====== */
body.gate-locked {
  overflow: hidden; /* empêche tout scroll avant l'entrée */
}

/* Tout ce qui doit rester caché tant que l'utilisateur n'a pas "entré" */
body.gate-locked .black-banner,
body.gate-locked .features,
body.gate-locked .presentation,
body.gate-locked .black-bannerpacks,
body.gate-locked .packs-container,
body.gate-locked #packneko,
body.gate-locked #starterpack,
body.gate-locked #packbasic,
body.gate-locked #logoflash,
body.gate-locked .black-bannerwork,
body.gate-locked .travaux-container,
body.gate-locked .contact-call,
body.gate-locked .contact-section,
body.gate-locked .faq,
body.gate-locked .cgv,
body.gate-locked .footer {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

/* Révélation douce après l'entrée */
body.has-entered .black-banner,
body.has-entered .features,
body.has-entered .presentation,
body.has-entered .black-bannerpacks,
body.has-entered .packs-container,
body.has-entered #packneko,
body.has-entered #starterpack,
body.has-entered #packbasic,
body.has-entered #logoflash,
body.has-entered .black-bannerwork,
body.has-entered .travaux-container,
body.has-entered .contact-call,
body.has-entered .contact-section,
body.has-entered .faq,
body.has-entered .cgv,
body.has-entered .footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}

/* ====== STAGGER FEATURES (gauche -> droite) ====== */
.feature {
  opacity: 0;
  transform: translateY(20px);
}

body.features-in .feature {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

/* délais échelonnés (ajuste si tu as + de 4 features) */
body.features-in .feature:nth-child(1) { transition-delay: .15s; }
body.features-in .feature:nth-child(2) { transition-delay: .30s; }
body.features-in .feature:nth-child(3) { transition-delay: .45s; }
body.features-in .feature:nth-child(4) { transition-delay: .60s; }


/*Confidentialité*/

.confidentialite {
  max-width: 1000px;
  margin: auto auto 100px 100px; /* espace avec le header fixé */
  padding: 50px 0 0 0;
  text-align: left;
}

.confidentialite h1{
  padding-top: 140px;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: left;
  line-height: 1.5;
}

.confidentialite h2{
   font-size: 1.8rem;
   padding-top: 20px;
}

.confidentialite p {
	font-size: 1.1rem;
}

.confidentialite li{
	font-size: 1.1rem;
	line-height: 25px;
}

@media (max-width: 767px) {

  .confidentialite {
  max-width: 400px;
  margin: -45px 30px 40px 30px; /* espace avec le header fixé */
  padding: 30px 0 0 0;
  text-align: left; 
}
	
  .confidentialite h1 {
    font-size: 1.8rem;
  }

  .confidentialite h2 {
    font-size: 1.2rem;
  }

  .confidentialite p{
	 
	 font-size: 0.9rem;
	}
	
	.confidentialite li {
		font-size: 0.9rem;
	}
}

@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: portrait) {
	
  .confidentialite {
  max-width: 600px;
  margin: 10px 30px 50px 60px; /* espace avec le header fixé */
  padding: 30px 0 0 0;
  text-align: left; 
}
	
  .confidentialite h1 {
   font-size: 2.2rem;

  }

  .confidentialite h2 {
    font-size: 1.3rem;
  }

  .confidentialite p{
	 
	 font-size: 1.1rem;
	}
	
	.confidentialite li {
		font-size: 1.1rem;
	}
	
}

@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: landscape) {
	
	.confidentialite {
  max-width: 1000px;
  margin: 10px 30px 50px 60px; /* espace avec le header fixé */
  padding: 30px 0 0 0;
  text-align: left; 
}
	
  .confidentialite h1 {
   font-size: 2.2rem;

  }

  .confidentialite h2 {
    font-size: 1.3rem;
  }

  .confidentialite p{
	 
	 font-size: 1.1rem;
	}
	
	.confidentialite li {
		font-size: 1.1rem;
	}
	
}


/*Services*/

.services {
  background-color: var(--noir-chaud);
  color: var(--sable);
  line-height: 1.4;
  font-weight: 300;
  position: relative;
}

.wrap {
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 30px;
}

.services h1 {
  font-size:2.5rem;
  text-align:center;
  padding: 80px 0 30px;
  margin:0;
}

.services h2 {
  position: relative;              /* permet au ::after de se placer */
  font-size: 1.9rem;
  margin: 0 0 40px;
  padding-bottom: 20px;            /* espace entre texte et barre */
}

/* Règle générale : dégradé sable → transparent (gauche → droite) */
.services h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;                       
  width: 100%;                     
  height: 3px;                     
  background: linear-gradient(to right, var(--sable), transparent);
  border-radius: 3px;              
}

.services p {
  font-size:1.1rem;
  margin:0 0 20px;
}

.btn {
  display:inline-block;
  background:var(--sable);
  color:var(--noir-chaud);
  padding:12px 22px;
  margin-top: 30px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  font-size:1rem;
  border:1px solid transparent; /* réserve l’espace pour éviter le "saut" */
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .12s ease;
}

.btn:hover {
  background:var(--noir-chaud);
  color:var(--sable);
  border-color:var(--sable);
}

.pack .btn {
  font-size:1rem;
  padding:12px 22px;
  border-radius:999px;
  text-decoration:none;
  justify-self: start;   
  align-self: end;       
  width: max-content;    
}

.service {
  position:relative;
  padding: 48px 0;
}

.service--offer {
  text-align: left;
  max-width: 1000px;
  margin-left: 50px;
}

/* Packs */
.align-right {
  text-align:right;
  max-width:1000px;
  margin:50px 50px 130px auto;
}

.packs {
  display: grid;
  grid-template-columns: repeat(3, auto); 
  gap: 50px;                                
  justify-content: center;                  
  margin: 0 auto 50px 15px;
}

.pack {
  display:grid;
  grid-template-rows:auto 1fr auto;
  text-align: left;
}

.pack h3 {
  margin:0 0 8px;
  font-size:1.3rem;
}

.pack h3::after {
  content:"";
  display:block;
  width:64px;
  height:3px;
  background:var(--sable);
  margin-top:20px;
  margin-bottom: 20px;
  border-radius:2px;
}

.pack p {
  max-width:36ch;
}

.service--logos {
  text-align: left;
  max-width: 1000px;
  margin-left: 50px;
  padding-bottom: 120px;
}

.sep {
  height: 2px; 
  background: var(--sable); 
  margin: 40px 0; 
  width: 120%;             
  position: relative;
}

.sep--down {
  transform: rotate(2deg);
  transform-origin: left center;
}

.sep--up {
  transform: rotate(-2deg);
  transform-origin: left center;
}

/* ===== SMARTPHONES — PORTRAIT (≤ 600px) ===== */
@media (max-width: 600px) and (orientation: portrait) {
  /* typo */
  .services h1 { font-size: 1.8rem; }
  .services h2 { font-size: 1.4rem; }
  .services h3 { font-size: 1.1rem; }
  .services p  { font-size: 0.9rem; }

  /* tout aligné à gauche */
  .service--offer,
  .service--logos,
  .align-right,
  .services .wrap { text-align: left; max-width: none; margin: 0 0 32px 0;}

  /* packs : 1 colonne, bloc CENTRÉ */
  .packs {
    display: grid;
    grid-template-columns: 1fr;     
    gap: 24px;
    width: min(100%, 360px);        
    margin: 0 auto 40px;            
  }

  /* contenu des cartes centré */
  .pack { text-align: center; grid-template-rows: auto 1fr auto; margin-top: 50px; }
  .pack p { max-width: none; }
  .pack .btn { justify-self: center; align-self: end; font-size: 0.9rem; margin-top: 10px; }
  .pack h3::after { margin: 20px auto; }
}

/* ===== SMARTPHONES — PAYSAGE (≤ 932px) ===== */
@media (max-width: 932px) and (orientation: landscape) {
  /* typo */
  .services h1 { font-size: 1.8rem; }
  .services h2 { font-size: 1.4rem; }
  .services h3 { font-size: 1.1rem; }
  .services p  { font-size: 0.9rem; }

  /* tout aligné à gauche */
  .service--offer,
  .service--logos,
  .align-right,
  .services .wrap { text-align: left; max-width: none; margin: 0 0 32px 0;}

  /* packs : 1 colonne, bloc CENTRÉ */
  .packs {
    display: grid;
    grid-template-columns: 1fr;     
    gap: 24px;
    width: min(100%, 420px);        
    margin: 0 auto 40px;            
  }

  /* contenu des cartes centré */
  .pack { text-align: center; grid-template-rows: auto 1fr auto; margin-top: 50px; }
  .pack p { max-width: none; }
  .pack .btn { justify-self: center; align-self: end; font-size: 0.9rem; margin-top: 10px; }
  .pack h3::after { margin: 20px auto; }
}

/* ===== DESKTOP ONLY (≥ 1025px) — Packs droite → gauche ===== */
@media (min-width: 1025px) {
  .service--packs h2::after {
    background: linear-gradient(to left, var(--sable), transparent);
  }
}


/* ========= TABLETTE — PORTRAIT (601px–1024px) ========= */
@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
  /* Typos tablette */
  .services h1 { font-size: 2.2rem; }
  .services h2 { font-size: 1.8rem; }
  .services h3 { font-size: 1.3rem; }
  .services p  { font-size: 1.1rem; }


  /* Disposition : comme desktop pour les en-têtes
     (Offre/Logos à gauche, Packs à droite) */
  .service--offer,
  .service--logos { text-align: left; max-width: none; margin-left: 24px; }

  .align-right {
    text-align: right;
    max-width: none;
    margin: 0 24px 64px auto; /* pousse le bloc "Packs" à droite */
  }

  .packs {
    display: grid;
    grid-template-columns: 1fr;     
    gap: 24px;
    width: min(100%, 360px);        
    margin: 0 auto 40px;            
  }

  /* contenu des cartes centré */
  .pack { text-align: center; grid-template-rows: auto 1fr auto; margin-top: 50px; }
  .pack p { max-width: none; }
  .pack .btn { justify-self: center; align-self: end; font-size: 0.9rem; margin-top: 10px; }
  .pack h3::after { margin: 20px auto; }

  /* Soulignement : même sens que desktop pour Packs (droite → gauche) */
  .service--packs h2::after {
    background: linear-gradient(to left, var(--sable), transparent);
  }
}

/* ========= TABLETTE — PAYSAGE (769px–1366px) ========= */
@media (min-width: 933px) and (max-width: 1366px) and (orientation: landscape) {
  /* Typos tablette */
  .services h1 { font-size: 2.2rem; }
  .services h2 { font-size: 1.8rem; }
  .services h3 { font-size: 1.3rem; }
  .services p  { font-size: 1.1rem; }

  /* Variables responsives : s’adaptent de l’iPad mini à l’iPad Pro */
  :root{
    /* largeur d’une carte : mini 280px, idéal ~28vw, maxi 340px */
    --pack-col: clamp(280px, 28vw, 340px);

    /* espace entre cartes : mini 20px, idéal ~6vw, maxi 80px */
    --pack-gap: clamp(20px, 6vw, 80px);
  }

  .packs{
    display: grid;
    grid-template-columns: repeat(3, var(--pack-col));          /* colonnes “fixes” mais scalées via clamp */
    gap: var(--pack-gap);
    width: calc(3 * var(--pack-col) + 2 * var(--pack-gap));     /* largeur exacte du bloc */
    margin: 0 auto 50px;                                        /* centre parfaitement le bloc */
    /* pas de justify-content ici : le centrage se fait par width + margin auto */
  }

  .pack{
    display: grid;
    grid-template-rows: auto 1fr auto;
    text-align: left;
    box-sizing: border-box;
  }

  /* Soulignement Packs : desktop-like (droite → gauche) */
  .service--packs h2::after {
    background: linear-gradient(to left, var(--sable), transparent);
  }
}

/* ================================
   Animations section "Services"
   (services + packs + séparateurs)
   ================================ */

/* Actif seulement si <body> a .js-anim (évite le FOUC) */
.js-anim #services .service,
.js-anim #services .packs .pack,
.js-anim #services .sep {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

/* État initial (léger décalage Y) */
.js-anim #services .service,
.js-anim #services .packs .pack {
  transform: translateY(24px);
}

/* Séparateurs : on garde leur rotation mais on ajoute un petit translateY initial */
.js-anim #services .sep.sep--down { transform: translateY(16px) rotate(2deg); }
.js-anim #services .sep.sep--up   { transform: translateY(16px) rotate(-2deg); }

/* État visible */
#services .service.is-visible,
#services .packs .pack.is-visible {
  opacity: 1;
  transform: none;
}

/* Séparateurs visibles : on retire juste le translateY, on garde la rotation */
#services .sep.sep--down.is-visible { opacity: 1; transform: rotate(2deg); }
#services .sep.sep--up.is-visible   { opacity: 1; transform: rotate(-2deg); }

/* Stagger (décalages visuels) pour les 3 cartes de packs */
#services .packs.is-visible .pack:nth-child(1) { transition-delay: .05s; }
#services .packs.is-visible .pack:nth-child(2) { transition-delay: .20s; }
#services .packs.is-visible .pack:nth-child(3) { transition-delay: .35s; }

/* Accessibilité : si l’utilisateur préfère moins d’animations, on désactive tout */
@media (prefers-reduced-motion: reduce) {
  .js-anim #services .service,
  .js-anim #services .packs .pack,
  .js-anim #services .sep {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/*formulaire de pack*/

/* ===== Pack Neko — mise en page de la page ===== */
.page{
  max-width: 980px;
  margin: 240px auto 80px;
  padding: 0 18px;
  line-height: 1.4;
}
.page h2{ font-size: 2.7rem; margin: 0 0 50px; }
.page h3{ font-size: 1.7rem; margin: 26px 0 20px; }
.page p{ font-size: 1.1rem }
.page li{ font-size: 1.1rem }
.contact-form .form-note {font-size: 0.8rem; color: var(--sable); opacity: .85; margin: 10px 0 10px;}
.contact-form .bouton { font-size: 1.1rem;   /* la taille que tu veux */ }


.page .lead{ max-width: 70ch; margin: 0 0 50px; }
.page .lead.lead--wide{ max-width: 75ch; margin: 0 0 50px;}
.page .list{ margin: 8px 0 50px 18px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder { font-size: 1rem;   /* ajuste la taille */}

/* Si ton header est fixed/sticky, décale le contenu : */
/* :root { --header-h: 100px; }  <-- ajuste si besoin */
/* .page { padding-top: calc(var(--header-h) + 20px); } */

/* ===== Grille des supports & options ===== */
.supports-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 20px;
}
.supports-options{
  grid-template-columns: repeat(2, 1fr);
}
.row--top{ margin-top: 10px; }

.contact-form label{
    margin-bottom: 20px;
}

/* Sous-texte léger dans label */
.contact-form .sub{ font-weight: 400; opacity: .8; }

/* ===== Checkboxes rondes (dans .contact-form) ===== */
.contact-form .ck{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sable);
  font-size: 1rem;
}

.contact-form .ck input{
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--sable);
  background: transparent;
  display: inline-grid;
  place-content: center;
  margin: 0;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-form .ck input:checked{
  background: var(--sable);
  border-color: var(--sable);
  box-shadow: 0 0 0 3px rgba(0,0,0,.25) inset;
}
.contact-form .ck input:focus-visible{
  outline: 2px solid var(--sable);
  outline-offset: 2px;
}

/* ===== Bouton de téléchargement sous le formulaire ===== */
.download-wrap{ margin: 22px 0; }

.btn.btn--download{
  background-color: var(--noir-chaud);
  color: var(--sable);
  border: 2px solid var(--noir-chaud);
  font-size: 1.1rem !important;
}

.btn.btn--download:hover{
  background-color: transparent;
  color: var(--noir-chaud);
  border-color: var(--noir-chaud);
}

/* ===== Honeypot anti-bot (caché) ===== */
.hp{
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form.was-validated .input-group.invalid > label {
  color: #e86a6a; /* rouge doux lisible sur fond noir */
}

/* Option : petit message sous un champ invalide (si tu ajoutes .help sous l’input) */
.contact-form.was-validated .input-group.invalid .help {
  color: #e86a6a;
  font-size: 0.9em;
  margin-top: 6px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--sable);
  outline-offset: 2px;
  box-shadow: none;
  border-color: var(--sable);
}

/* Ajoute * rouge après le label si l'input suivant est [required] */
.contact-form .input-group:has(> input[required]) > label::after,
.contact-form .input-group:has(> textarea[required]) > label::after {
  content: " *";
  color: var(--sable);
  font-weight: 700;
}

/* Pointeur en main sur les labels cliquables */
.supports-grid label,
.supports-options label,
.supports-grid input[type="checkbox"],
.supports-options input[type="checkbox"] {
  cursor: pointer;
}

/* =======================================================
   PACK NEKO — FORMULAIRE : responsive comme "Services"
   Breakpoints : 
   - Mobile portrait ≤600px
   - Mobile paysage ≤932px
   - Tablette portrait 601–1024px
   - Tablette paysage 933–1366px
   ======================================================= */


/* ========== MOBILE — PORTRAIT (≤ 600px) ========== */
@media (max-width: 600px) and (orientation: portrait) {
    
    .page h2{ font-size: 1.8rem; margin: -80px 0 50px; }
    .page h3{ font-size: 1.3rem; margin: 26px 0 20px; }
    .page p{ font-size: 0.9rem }
    .page li{ font-size: 0.9rem }
    .input-group label{ font-size: 1rem}
    .contact-form .bouton { font-size: 0.9rem;   /* la taille que tu veux */ }
    .btn.btn--download{ font-size: 0.9rem !important;}
    .contact-form .form-note {font-size: 0.6rem; color: var(--sable); opacity: .85; margin: 20px 0 10px;}
    
    .contact-form input,
    .contact-form textarea,
    .supports-grid label span,
    .supports-options label span { font-size: 0.9rem;   /* même base partout */}
    
    .contact-form input::placeholder,
    .contact-form textarea::placeholder { font-size: 0.9rem;   /* ajuste la taille */}
    
    .page h2,
    .page h3,
    .page p.lead,
    .page ul.list,
    .download-wrap{
    max-width: 560px;    /* comme ton form en portrait tablette */
    margin-inline: auto;
    padding-inline: 20px;
  }
    
    .page ul.list{
        padding-left: 40px;
    }

    
  /* Plus d’air sur les côtés (page + form) */
  .page { padding-inline: 24px; }
  .contact-form { 
    max-width: 560px;           /* réduit un peu la largeur */
    margin-inline: auto; 
    padding: 20px;              /* déjà cohérent avec ton contact */
  }

  /* 1 colonne propre + espacement uniforme entre champs */
  .contact-form .row {
    flex-direction: column;
    gap: 16px;                  /* remplace les margins "aléatoires" */
    margin-bottom: 16px;        /* même espace entre les lignes */
  }
  .contact-form .input-group {
    margin-bottom: 0;           /* on neutralise l'ancien margin-bottom */
  }
  .contact-form .input-group + .input-group {
    margin-top: 0;              /* pas d'empilement supplémentaire */
  }

  /* Grille supports en 1 colonne */
  .supports-grid { grid-template-columns: 1fr; gap: 10px 0; }
  .supports-options { grid-template-columns: 1fr; }
}

/* ========== MOBILE — PAYSAGE (≤ 932px) ========== */
@media (max-width: 932px) and (orientation: landscape) {
    
    .page h2{ font-size: 1.8rem; margin: -80px 0 50px; }
    .page h3{ font-size: 1.3rem; margin: 26px 0 20px; }
    .page p{ font-size: 0.9rem }
    .page li{ font-size: 0.9rem }
    .input-group label{ font-size: 1rem}
    .contact-form .bouton { font-size: 0.9rem;   /* la taille que tu veux */ }
    .btn.btn--download{ font-size: 0.9rem !important;}
    .contact-form .form-note {font-size: 0.6rem; color: var(--sable); opacity: .85; margin: 20px 0 10px;}

    
    .contact-form input,
    .contact-form textarea,
    .supports-grid label span,
    .supports-options label span { font-size: 0.9rem;   /* même base partout */}
    
    .contact-form input::placeholder,
    .contact-form textarea::placeholder { font-size: 0.9rem;   /* ajuste la taille */}
    
    .page h2,
    .page h3,
    .page p.lead,
    .page ul.list,
    .download-wrap{
    max-width: 640px;    /* comme ton form en portrait tablette */
    margin-inline: auto;
    padding-inline: 20px;
  }
    
    .page ul.list{
        padding-left: 50px;
    }
    
  .page { padding-inline: 28px; }
  .contact-form { 
    max-width: 640px; 
    margin-inline: auto; 
    padding: 20px;
  }

  .contact-form .row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }
  .contact-form .input-group { margin-bottom: 0; }
  .contact-form .input-group + .input-group { margin-top: 0; }

  .supports-grid { grid-template-columns: 1fr; gap: 10px 0; }
  .supports-options { grid-template-columns: 1fr; }
    
}

/* ========== TABLETTE — PORTRAIT (601–1024px) ========== */
@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
    
    .page h2{ font-size: 2.2rem; margin: -20px 0 50px; }
    .page h3{ font-size: 1.6rem; margin: 26px 0 20px; }
    .page p{ font-size: 1rem }
    .page li{ font-size: 1rem }
    .input-group label{ font-size: 1.1rem}
    .contact-form .bouton { font-size: 1rem;   /* la taille que tu veux */ }
    .btn.btn--download{ font-size: 1rem !important;}
    .contact-form .form-note {font-size: 0.8rem; color: var(--sable); opacity: .85; margin: 20px 0 10px;}

    
    .contact-form input,
    .contact-form textarea,
    .supports-grid label span,
    .supports-options label span { font-size: 1rem;   /* même base partout */}
    
    .contact-form input::placeholder,
    .contact-form textarea::placeholder { font-size: 1rem;   /* ajuste la taille */}
    
    .page h2,
    .page h3,
    .page p.lead,
    .page ul.list,
    .download-wrap{
    max-width: 720px;    /* comme ton form en portrait tablette */
    margin-inline: auto;
    padding-inline: 20px;
  }
    
   .page ul.list {
   padding-left: 60px;   /* décale les puces et le texte */
}
    
  .page { padding-inline: 32px; }
  .contact-form { 
    max-width: 720px;           /* un peu plus large qu’en mobile */
    margin-inline: auto; 
    padding: 24px;
  }

  /* 1 colonne propre + espaces réguliers */
  .contact-form .row {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
  }
  .contact-form .input-group { margin-bottom: 0; }

  /* Supports : 2 colonnes lisibles */
  .supports-grid { grid-template-columns: repeat(2, 1fr); gap: 10px 16px; }
  .supports-options { grid-template-columns: 1fr; }
        
}

/* ========== TABLETTE — PAYSAGE (933–1366px) ========== */
@media (min-width: 933px) and (max-width: 1366px) and (orientation: landscape) {
    
    .page h2{ font-size: 2.2rem; margin: -20px 0 50px; }
    .page h3{ font-size: 1.6rem; margin: 26px 0 20px; }
    .page p{ font-size: 1rem }
    .page li{ font-size: 1rem }
    .input-group label{ font-size: 1.1rem}
    .contact-form .bouton { font-size: 1rem;   /* la taille que tu veux */ }
    .btn.btn--download{ font-size: 1rem !important;}
    .contact-form .form-note {font-size: 0.8rem; color: var(--sable); opacity: .85; margin: 20px 0 10px;}

    
    .contact-form input,
    .contact-form textarea,
    .supports-grid label span,
    .supports-options label span { font-size: 1rem;   /* même base partout */}
    
    .contact-form input::placeholder,
    .contact-form textarea::placeholder { font-size: 1rem;   /* ajuste la taille */}
    
  .page { padding-inline: 32px; }
  .contact-form { 
    max-width: 860px;           /* réduit légèrement pour “donner de l’air” */
    margin-inline: auto; 
    padding: 24px;
  }
    
  .page h2,
  .page h3,
  .page p.lead,
  .page ul.list,
  .download-wrap{
    max-width: 860px;    /* comme ton form en paysage tablette */
    margin-inline: auto;
    padding-inline: 24px;
  }
    
    .page ul.list {
  padding-left: 80px;   /* décale les puces et le texte */
}

  /* On garde 2 colonnes quand c’est logique, 
     mais on uniformise les espaces verticaux entre lignes */
  .contact-form .row {
    gap: 20px;                  /* horizontal */
    margin-bottom: 18px;        /* vertical régulier entre .row */
  }
  .contact-form .input-group { margin-bottom: 0; }

  /* Supports : 3 colonnes confort */
  .supports-grid { grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }
  .supports-options { grid-template-columns: repeat(2, 1fr); }
     
    
}


/* ====== PROCESSUS ====== */
.processus {
  padding: 80px 50px;               /* air autour */
}

.processus .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* Titre */
.processus h2 {
  font-size: 2.7rem;             /* desktop par défaut */
  margin: 0 0 40px;
}

/* Grille 2×2 par défaut (desktop/tablette/mobile paysage) */
.processus .steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 64px 72px;                /* lignes / colonnes */
  align-items: start;
  justify-items: center;
}

/* Carte / étape */
.processus .step {
  max-width: 480px;
}

.processus .step__icon {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.processus .step__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Sous-titre + texte */
.processus .step h3 {
  font-size: 1.7rem;             /* desktop/tablette */
  margin: 20px 0 30px;
  line-height: 1.25;
}
.processus .step h3 span {
  font-weight: 700;
}
.processus .step p {
  font-size: 1.1rem;             /* desktop/tablette */
  line-height: 1.5;
  max-width: 36ch;
  margin: 0 auto;
}

/* Processus – état initial + transition */
.processus .step {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0ms);  /* décalage injecté en JS */
  will-change: opacity, transform;
}

/* État visible */
.processus .step.is-visible {
  opacity: 1;
  transform: none;
}

/* Option : petit “pop” de l’icône */
.processus .step__icon { transform: scale(.96); transition: transform .6s ease; }
.processus .step.is-visible .step__icon { transform: scale(1); }

/* Accessibilité : pas d’anim si préférence réduite */
@media (prefers-reduced-motion: reduce) {
  .processus .step,
  .processus .step__icon {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Desktop : 4 colonnes sur une ligne */
@media (min-width: 1200px) {
  .processus .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ====== RESPONSIVE ====== */

/* iPhone SE & petits écrans en paysage */
@media (max-width: 700px) and (orientation: landscape) {
  .processus { padding: 60px 16px; }
  .processus .wrap { padding: 0 12px; }

  .processus .steps{
    /* colonnes plus étroites + bloc centré */
    --col: min(44vw, 300px);   /* ≈ 44% de la largeur écran, max 300px */
    --gap: 24px;

    grid-template-columns: repeat(2, var(--col));
    gap: 32px var(--gap);

    width: calc(2 * var(--col) + var(--gap)); /* largeur exacte du bloc 2 colonnes */
    margin-inline: auto;                       /* centre la grille */
    justify-items: center;
  }

  .processus .step{ max-width: var(--col); }
  .processus .step__icon{ width: 72px; height: 72px; }

  /* tailles mobiles (tu les avais déjà mais je les remets ici pour ce breakpoint) */
  .processus h2 { font-size: 1.8rem; }
  .processus .step h3 { font-size: 1.4rem; }
  .processus .step p  { font-size: 0.9rem; }
}


/* Mobile : tailles de police (portrait & paysage) */
@media (max-width: 932px) {
  .processus h2 { font-size: 1.8rem; }
  .processus .step h3 { font-size: 1.4rem; }
  .processus .step p { font-size: 0.9rem; }
  .processus .step__icon { width: 90px; height: 90px; }
}



/* Mobile PORTRAIT : une seule colonne (les 4 blocs empilés) */
@media (max-width: 600px) and (orientation: portrait) {
  .processus .steps {
    grid-template-columns: 1fr;  /* 1 colonne */
    gap: 48px;
  }
}

/* Tablettes (portrait & paysage) : police demandée */
@media (min-width: 769px) and (max-width: 1366px) {
  .processus h2 { font-size: 2.2rem; }
  .processus .step h3 { font-size: 1.8rem; } /* identique desktop */
  .processus .step p { font-size: 1.1rem; }  /* identique desktop */
}



/* === NO-INTRO (minimal, ne touche ni tailles ni positions) === */
/* Coupe les transitions/animations quand l’intro ne doit pas jouer */
html.no-intro .logo,
html.no-intro .logo img,
html.no-intro .nav,
html.no-intro .title,
html.no-intro .black-banner {
  transition: none !important;
  animation: none !important;
}

/* Rend la nav et le hero visibles tout de suite */
html.no-intro body .nav {
  opacity: 1 !important;
  pointer-events: auto !important;
}

html.no-intro body .title,
html.no-intro body .black-banner {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* Style page erreur pour ta version actuelle */
body.page-merci main{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:80vh;text-align:center;padding:2rem;
  font-family:'Comfortaa',sans-serif;color:var(--noir-chaud);background:var(--sable);
}
body.page-merci h1{font-size:3rem;margin-bottom:1rem;}
body.page-merci p{font-size:1.2rem;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto;}
body.page-merci a.btn{
  display:inline-block;margin:.5rem;padding:.8rem 1.5rem;font-size:1rem;border-radius:10px;
  text-decoration:none;background:var(--noir-chaud);color:var(--sable);transition:background .3s;
}
body.page-merci a.btn:hover{background:#000;}



/* === Bandeau cookies === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -220px;               /* caché hors écran au départ */
  background: var(--noir-chaud);
  color: var(--sable);
  padding: 16px 20px;
  z-index: 3000;                /* au-dessus de tout */
  box-shadow: 0 -2px 6px rgba(0,0,0,0.35);
  border-top: 2px solid var(--sable);  /* contraste demandé */
  font-family: 'Comfortaa', sans-serif;
  opacity: 0;
  transition: bottom .6s ease, opacity .6s ease;
}

.cookie-banner.show {
  bottom: 0;                    /* remonte à l’écran */
  opacity: 1;
}

.cookie-banner__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.cookie-banner__link {
  color: var(--sable);
  text-decoration: underline;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

.cookie-btn {
  background: var(--sable);
  color: var(--noir-chaud);
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: 'Comfortaa', sans-serif;
  transition: filter .2s ease;
}
.cookie-btn:hover { filter: brightness(0.95); }

/* petit ajustement mobile */
@media (max-width: 560px) {
  .cookie-banner__text { font-size: 0.9rem; }
}

/* ===== PAGE COOKIES ===== */
.cookies {
  max-width: 1000px;
  margin: auto auto 100px 100px; /* espace avec le header fixé */
  padding: 50px 0 0 0;
  text-align: left;
}

.cookies h1 {
  padding-top: 140px;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: left;
  line-height: 1.5;
}

.cookies h2 {
  font-size: 1.8rem;
  padding-top: 20px;
}

.cookies p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cookies li {
  font-size: 1.1rem;
  line-height: 25px;
}

.cookies a {
  color: var(--noir-chaud);
  text-decoration: underline;
}

.cookies a:hover {
  opacity: 0.8; /* petit effet au survol */
}

/* ===== Responsive : mobile ===== */
@media (max-width: 767px) {
  .cookies {
    max-width: 400px;
    margin: -45px 30px 40px 30px;
    padding: 30px 0 0 0;
    text-align: left;
  }

  .cookies h1 {
    font-size: 1.8rem;
  }

  .cookies h2 {
    font-size: 1.2rem;
  }

  .cookies p,
  .cookies li {
    font-size: 0.9rem;
  }
}

/* ===== Responsive : tablette portrait ===== */
@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: portrait) {
  .cookies {
    max-width: 600px;
    margin: 10px 30px 50px 60px;
    padding: 30px 0 0 0;
    text-align: left;
  }

  .cookies h1 {
    font-size: 2.2rem;
  }

  .cookies h2 {
    font-size: 1.3rem;
  }

  .cookies p,
  .cookies li {
    font-size: 1.1rem;
  }
}

/* ===== Responsive : tablette paysage ===== */
@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: landscape) {
  .cookies {
    max-width: 1000px;
    margin: 10px 30px 50px 60px;
    padding: 30px 0 0 0;
    text-align: left;
  }

  .cookies h1 {
    font-size: 2.2rem;
  }

  .cookies h2 {
    font-size: 1.3rem;
  }

  .cookies p,
  .cookies li {
    font-size: 1.1rem;
  }
}