style.css

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 40px 20px;
    color: #333;
    overflow-x:hidden;
}

body {
 .hero{
  width:100%;
  overflow:hidden;
}

  .hero::before{
  filter: contrast(1.05) saturate(0.9);
  animation: heroZoom 14s ease forwards;
}
}
@media (max-width: 768px) {
  .hero::before {
    transform: scale(1);
    background-position: center top;
  }
}

:root{
  --bg:#b4a799;
  --surface:#221a14;
  --text:#f5f1e8;
  --muted:#ffffff;
  --line:rgba(255,255,255,0.07);
  --accent:#c0aa90;
  --max-width:1450px;

 


--accent:#c0aa90;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
  line-height:1.7;
}



/* =========================
   TYPOGRAPHY PREMIUM RESET
========================= */

h1,h2,h3{
  font-family:'Cormorant Garamond',serif;
  font-weight:200;
  letter-spacing:-0.02em;
}

p{
  font-family:'Cormorant Garamond',serif;
  color:var(--muted);

}

/* =========================
   CONTAINER
========================= */

.container{
  width:min(92%, var(--max-width));
  margin:auto;
}

/* =========================
   SECTIONS (IMPORTANT RENDU LUXE)
========================= */

.section{
  padding:160px 0;
  position:relative;
}

/* ligne très fine type editorial */
.section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:var(--line);
}

/* =========================
   EYEBROW
========================= */
.section{
  --align-eyebrow: left;
}
.eyebrow{
  display:inline-block;

  padding:0;

  background:none;
  border:none;
  box-shadow:none;

  font-size:1 rem;
  font-weight:700;

  letter-spacing:0.35em;
  text-transform:uppercase;

  color:#322b1c;

  position:relative;

  margin-bottom:40px;
}
.eyebrow::after{
  content:"";

  position:absolute;

  left:0;
  bottom:-12px;

  width:150px;
  height:2px;

  background:
  linear-gradient(
    120deg,
    #ffffff,
    transparent
  );
}
/* =========================
   HERO (gros upgrade visuel)
========================= */
.hero::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      to bottom,
      rgba(23,17,13,0.20),
      rgba(23,17,13,0.60),
      rgba(15,10,8,0.92)
    ),
    url('assets/carrelage/hero3.webp');

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  filter:
    contrast(1.04)
    brightness(0.88)
    saturate(0.92);

  transform:scale(0.8);

  animation:heroZoom 14s ease forwards;
}

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

body{
  position:relative;
}

section{
  overflow:hidden;
}

.hero{
  overflow:hidden;
}

.hero{
  width:100%;
  overflow:hidden;
}

.hero {
  padding-top: 140px;
}

.hero{
  min-height:100vh;
  display:flex;
  align-items:stretch;;
  position:relative;
}

.hero-content{
  position:relative;
  z-index:2;
  padding-bottom:120px;

  display:flex;
  flex-direction:column;
  gap:28px;
  max-width:900px;
}

/* BOutons page d'accueuil plus petit sur mobile */

@keyframes heroZoom{
  from{
    transform:scale(1.08);
  }
  to{
    transform:scale(1);
  }
}

/* Forcer une ligne sur Desktop pour avoir boutons plus petits et alignés */
 .hero-buttons .btn {
    flex: 1 1 100%;
    font-size: 13px;
    padding: 12px;
  }

 @media (max-width: 768px) {
  .hero-buttons {
    display: flex;
    flex-wrap: nowrap;
  }

  .hero-buttons .btn {
    flex: 1;
    margin-right: 10px;
  }

  .hero-buttons .btn:last-child {
    margin-right: 0;
  }
}


/*===============================================*/

.title{
  font-size:clamp(3.2rem,8vw,7.4rem);
  line-height:0.95;
  max-width:1100px;
}

.hero p{
  margin-top:34px;
  max-width:650px;
  color:rgba(255,255,255,0.72);
}

/* =========================
   BUTTONS (plus luxe)
========================= */

.btn {
  padding: 16px 30px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: 0.4s ease;
  display: inline-block;
  text-decoration: none;
}

/* bouton secondaire (par défaut) */
.btn:not(.btn-primary) {
  background: transparent;
  color: var(--text);
}

/* bouton principal */
.btn-primary {
  background: #ffffff;
  color: var(--bg);
  border: 1px solid #ffffff;
}

/* hover commun */
.btn:hover {
  transform: translateY(-2px);
}

/* hover spécifique primaire */
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* =========================
   MANIFESTO (plus éditorial)
========================= */




/* =========================
   SERVICES (plus architecture)
========================= */
@media (max-width: 768px){

  .services-grid{
    grid-template-columns: 1fr !important;
  }

}

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

*{
  box-sizing:border-box;
}

.service{
  position:relative;
  overflow:hidden;
  padding:40px;
  display:flex;
  gap:30px;
  border:1px solid rgba(255,255,255,0.06);
  background:linear-gradient(145deg, #1a1410, #15100c);
}

.service::before{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0.85; /* ↑ plus dense */
  filter:brightness(0.40) contrast(1.1) saturate(0.9);
  z-index:0;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:50px;
}

.service{
  background:linear-gradient(145deg, #161616, #121212);
  border:1px solid rgba(140, 97, 97, 0.06);
  padding:46px;
  min-height:340px;
  transition:0.6s ease;
  border-radius: 15px;
  overflow:hidden;
}

.service:hover{
  transform:translateY(-8px);
  border-color:rgba(255,255,255,0.14);
}

.service h3{
  font-size:2.6rem;
  margin-bottom:18px;
}
.service::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,0.10),
    rgba(0,0,0,0.2)
  );
  z-index:1;
}
.service > div{
  position:relative;
  z-index:2;
}
.service:nth-child(1)::before{
  background-image:url('assets/carrelage/depose.jpg');
}

.service:nth-child(2)::before{
  background-image:url('assets/carrelage/ragreage.jpg');
}

.service:nth-child(3)::before{
  background-image:url('assets/carrelage/pose-carrelage.jpg');
}

.service:nth-child(4)::before{
  background-image:url('assets/carrelage/pose-meubles.jpg');
}

/* CONTENT */
.gallery-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72),
    rgba(0,0,0,0)
  );
  color: white;
}

/* TITLES */
.gallery-content h3 {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 500;
}

.gallery-content p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
}

/* =========================
   RÉALISATIONS (SLIDER PROPRE)
========================= */
.gallery-wrapper {
  position: relative;
}

/* TRACK */
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

/* ITEMS */
.gallery-item {
  flex: 0 0 calc(25% - 15px);
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #111;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}
@media (max-width:768px){

  .portfolio-section{
    width:100%;
    padding:40px 0;
  }

  .gallery-wrapper{
    width:100%;
    overflow:hidden;
  }

 @media (max-width: 768px){

  .gallery-track{
    padding: 0;
    gap: 0;
  }

  .gallery-item{
    flex: 0 0 100%;
    aspect-ratio: 3 / 4.2;
    border-radius: 18px;
  }

}

}


/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: .3s ease;
  pointer-events: none;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay span {
  color: white;
  border: 1px solid white;
  padding: 12px 18px;
  text-transform: uppercase;
  font-size: .8rem;
}

/* NAV FLÈCHES */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: white;
  font-size: 26px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(10px);
  transition: .25s ease;
}

.gallery-nav.prev { left: -25px; }
.gallery-nav.next { right: -25px; }

.gallery-nav:hover {
  background: rgba(0,0,0,.65);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .gallery-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .gallery-item {
    flex: 0 0 100%;
  }

  .gallery-nav.prev { left: 10px; }
  .gallery-nav.next { right: 10px; }
}
@media (max-width:768px){

  .portfolio-section{
    width:96%;
    padding-left:0;
    padding-right:0;
  }

  .gallery-wrapper{
    width:100%;
    margin:0 auto;
  }

}

.portfolio-section h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 15px;
}

.portfolio-section .subtitle {
  text-align: center;
  margin-bottom: 60px;
  color: var(--muted);
}

/* =========================
   SLIDER STRUCTURE
========================= */

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}



/* =========================
   OVERLAY
========================= */

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: .3s ease;
  pointer-events: none;
}



.overlay span {
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 18px;
  text-transform: uppercase;
  font-size: .8rem;
}

/* =========================
   NAVIGATION FLÈCHES SLIDER
========================= */


/* =========================
   LIGHTBOX FULLSCREEN
========================= */

#lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
  z-index: 99999;
}

#lightbox.active {
  opacity: 1;
  visibility: visible;
}

#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0,0,0,.55);
  opacity: 0;
  transform: scale(.95);
  transition: opacity .35s ease, transform .35s ease;
}

#lightbox.active img {
  opacity: 1;
  transform: scale(1);
}

/* FLÈCHES LIGHTBOX */

#lightbox .prev,
#lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: white;
  font-size: 28px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: .25s ease;
}

#lightbox .prev { left: 30px; }
#lightbox .next { right: 30px; }

#lightbox .prev:hover,
#lightbox .next:hover {
  background: rgba(255,255,255,.22);
}

/* CAPTION */

.lightbox-caption {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  text-align: center;
  max-width: 90%;
}

/* MOBILE LIGHTBOX */

@media (max-width: 768px) {
  #lightbox .prev,
  #lightbox .next {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  #lightbox .prev { left: 15px; }
  #lightbox .next { right: 15px; }

  .lightbox-caption {
    font-size: .8rem;
  }
}


/* =========================
   PROCESS (plus design studio)
========================= */

.process-item{
  display:grid;
  grid-template-columns:120px 1fr 1fr;
  gap:50px;
  padding-bottom:50px;
  border-bottom:1px solid var(--line);
}

.process-step{
  color:var(--muted);
}

@media (max-width:768px){

  .process-item{
    grid-template-columns:50px 1fr;
    gap:15px;
  }

  .process-item p{
    grid-column:2;
  }

}

/* =========================
   CTA (très premium)
========================= */

.cta .eyebrow{
  width:100%;
  display:block;
  text-align:left;
  align-self:stretch;
}

.cta{
  text-align:center;
}

.cta h2{
  font-size:40px;
  line-height:1.2;
  margin-bottom:40px;
}

.cta .hero-buttons{
  margin-bottom:20px;
}

.contact-form{
  margin-top:20px;
}

.contact-form .form-row{
  margin-bottom:22px;
}

.cta .container{
  display:flex;
  flex-direction:column;
  gap:24px;
}

@media (max-width:768px){

  .cta h2{
    font-size:32px;
  }

  .cta .hero-buttons{
    margin-bottom:50px;
  }

}
.contact-wrapper{
  margin-top:60px;
}
/* =========================
   ANIMATION (plus fluide)
========================= */

.fade-up{
  opacity:0;
  transform:translateY(50px);
  transition:1.2s cubic-bezier(.2,.8,.2,1);
}

.fade-up.visible{
  opacity:1;
  transform:translateY(0);
}

/* =======================
   NAVBAR BASE (STICKY)
======================= */

.nav{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(14,14,14,0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* container */
.nav-inner{
  width: min(94%, var(--max-width));
  margin: auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =======================
   LOGO
======================= */

.logo{
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

/* =======================
   MENU DESKTOP
======================= */

.nav-links{
  display: flex;
  gap: 42px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a{
  position: relative;
  transition: 0.4s ease;
  color: inherit;
  text-decoration: none;
}

.nav-links a::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:0;
  width:0%;
  height:1px;
  background:var(--text);
  transition:0.4s ease;
}

.nav-links a:hover{
  color: var(--text);
}

.nav-links a:hover::after{
  width: 100%;
}

/* =======================
   BURGER (hidden desktop)
======================= */

.burger{
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

/* =======================
   MOBILE
======================= */

@media (max-width: 768px){

  /* burger visible */
  .burger{
    display: block;
  }

  /* logo plus petit */
  .logo{
    font-size: 1.4rem;
  }

  /* menu caché par défaut */
  .nav-links{
    display: none;
    position: absolute;
    top: 92px;
    right: 20px;
    flex-direction: column;
    gap: 14px;
    background: rgba(14,14,14,0.95);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
  }

  /* menu ouvert */
  .nav-links.active{
    display: flex;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 18px;
}

input, select, textarea {
  
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 18px;
  outline: none;
  transition: border 0.2s ease;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #999;
}

textarea {
  resize: vertical;
  min-height: 160px;
  padding: 18px 20px;
}

button {
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

button:hover {
  opacity: 0.85;
}

/* =========================
   LIGHTBOX
========================= */

#lightbox{
  position:fixed;
  inset:0;

  display:flex;
  justify-content:center;
  align-items:center;

  background:rgba(0,0,0,0.95);

  opacity:0;
  visibility:hidden;

  transition:opacity .35s ease;

  z-index:99999;
}

#lightbox.active{
  opacity:1;
  visibility:visible;
}

/* =========================
   IMAGE
========================= */

#lightbox img{
  max-width:90vw;
  max-height:85vh;

  object-fit:contain;

  border-radius:12px;

  box-shadow:
    0 25px 80px rgba(0,0,0,.55);

  opacity:0;
  transform:scale(.95);

  transition:
    opacity .35s ease,
    transform .35s ease;
}

#lightbox.active img{
  opacity:1;
  transform:scale(1);
}

/* =========================
   FLÈCHES
========================= */

#lightbox .prev,
#lightbox .next{

  position:absolute;
  top:50%;

  transform:translateY(-50%);

  width:60px;
  height:60px;

  border:none;
  border-radius:50%;

  cursor:pointer;

  color:white;
  font-size:28px;

  background:rgba(255,255,255,.12);

  backdrop-filter:blur(10px);

  transition:.25s ease;
}

#lightbox .prev{
  left:30px;
}

#lightbox .next{
  right:30px;
}

#lightbox .prev:hover,
#lightbox .next:hover{
  background:rgba(255,255,255,.22);
}

/* =========================
   LÉGENDE
========================= */

.lightbox-caption{

  position:absolute;

  bottom:35px;
  left:50%;

  transform:translateX(-50%);

  color:white;

  font-size:.9rem;
  letter-spacing:.08em;
  text-transform:uppercase;

  padding:12px 18px;

  border-radius:999px;

  border:1px solid rgba(255,255,255,.18);

  background:rgba(255,255,255,.08);

  backdrop-filter:blur(12px);

  text-align:center;

  max-width:90%;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  #lightbox .prev,
  #lightbox .next{
    width:50px;
    height:50px;
    font-size:22px;
  }

  #lightbox .prev{
    left:15px;
  }

  #lightbox .next{
    right:15px;
  }

  .lightbox-caption{
    width:90%;
    font-size:.8rem;
  }

}

/*==================
ajout temportaire 
==================*/

#contact{
    display:block !important;
}

#contact .container{
    display:block !important;
}

.contact-wrapper{
    display:block !important;
}

.cta,
.cta .container,
.contact-wrapper{
    display:block !important;
    width:100% !important;
}

/* =========================
   LINKS
========================= */

a,
a:visited,
a:hover,
a:active{
  color:var(--text);
  text-decoration:none;
}

.cookie-banner {
  position: fixed;
  bottom: 15px; /* mobile */
  left: 50%;
  transform: translateX(-50%);

  width: min(92%, 900px);

  background: rgba(255, 255, 255, 0.828);
  backdrop-filter: blur(12px);

  color: rgb(36, 29, 26);;

  padding: 14px 16px;

  border-radius: 14px;

  /* légère bordure premium */
  border: 1px solid rgba(255,255,255,0.15);

  z-index: 1000002;

  display: none;

  box-shadow:
    0 10px 35px rgba(0,0,0,0.25);
}
.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.cookie-content p {
  font-size: 12px;
  color: rgb(36, 29, 26);;
  line-height: 1.4;
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

.cookie-btn.accept {
  background: rgba(38, 32, 30, 0.964);;
  color: #ffffff;
}

.cookie-btn.reject {
  background: transparent;
  border: 1px solid #555;
  color: rgba(34, 27, 23, 0.906);;
}
@media (min-width: 769px) {

  .cookie-banner{
    bottom: 44px;
  }

}
@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   HERO MOBILE
========================= */

@media (max-width:768px){

  /* Titre centré */
  .hero-content{
    text-align:center;
    align-items:center;
  }

  .title{
    text-align:center;
  }

  /* Texte plus lisible */
  .hero p{
    color:rgba(255,255,255,0.92);
    font-size:1.1rem;
    text-align:center;
  }

}

/* =========================
   HERO DESKTOP
========================= */

@media (min-width:769px){

  /* Paragraphe plus grand */
  .hero p{
    font-size:1.7rem;
    max-width:800px;
  }

  /* Boutons centrés */
  .hero-buttons{
    display:flex;
    justify-content:center;
    gap:18px;
    width:100%;
  }

  /* Boutons plus gros */
  .hero-buttons .btn{
    font-size:1.3rem;
    padding:18px 34px;
  }

}

/* =========================
   BOUTON RETOUR EN HAUT
========================= */
#backToTop {
  position: fixed;
  bottom: calc(45px + env(safe-area-inset-bottom));
  right: 20px;

  width: 55px;
  height: 55px;

  border-radius: 50%;
  border: none;

  background: rgba(45, 37, 35, 0.889);
  backdrop-filter: blur(10px);

  color: white;
  font-size: 24px;
  cursor: pointer;

  z-index: 9999999;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  transition: opacity .3s ease, transform .3s ease;
}

#backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#backToTop:hover {
  background: rgba(255,255,255,0.3);
}
.legal-links{
  text-align:center;
  padding:50px 20px;
  border-top:1px solid rgba(255,255,255,0.06);
}

.legal-links a{
  font-size:0.65rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.55);
  margin:0 12px;
  transition:0.3s ease;
}

.legal-links a:hover{
  color:#c0aa90;
}

.legal-links span{
  color:rgba(255,255,255,0.25);
}

/* =========================
   FLOATING CONTACT BAR
========================= */

.floating-contact{
  position:fixed;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);

  display:flex;
  align-items:center;
  justify-content:center;
  gap:180px;

  padding:18px 40px;

  background:rgba(56, 42, 33, 0.82);
  backdrop-filter:blur(18px);

  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;

  z-index:999998;

  box-shadow:
    0 15px 50px rgba(0,0,0,0.25);
}

.floating-contact a{
  color:var(--text);
  text-decoration:none;

  font-size:0.70rem;
  letter-spacing:0.18em;
  text-transform:uppercase;

  transition:.35s ease;
}

.floating-contact a:hover{
  color:var(--accent);
}
@media (max-width:768px){

  .floating-contact{
    position:fixed;

    left:50%;
    bottom:3px;

    transform:translateX(-50%);

    width:92%;
    max-width:420px;

    display:flex;
    justify-content:center;
    align-items:center;

    gap:35px;

    padding:14px 18px;

    border-radius:16px;

    background:rgba(55, 42, 33, 0.88);
    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,0.08);

    z-index:1000001;

    box-shadow:
      0 10px 35px rgba(0,0,0,0.25);
  }

  .floating-contact a{
    font-size:0.62rem;

    letter-spacing:0.05em;

    white-space:nowrap;

    overflow:hidden;
    text-overflow:ellipsis;
  }

}

/* ===========================
   INSTAGRAM STORY VIEWER
=========================== */

#storyViewer{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.96);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.35s;

    z-index:999999;
}

#storyViewer.active{
    opacity:1;
    visibility:visible;
}

.story-container{

    width:min(450px,95vw);
    height:min(90vh,850px);

    background:black;

    position:relative;

    overflow:hidden;

    border-radius:30px;

    box-shadow:
    0 25px 80px rgba(0,0,0,.6);
}

.story-container img{

    width:100%;
    height:100%;

    object-fit:cover;
}

/* Progression */

.story-progress{

    position:absolute;

    top:15px;
    left:15px;
    right:15px;

    display:flex;
    gap:6px;

    z-index:20;
}

.story-bar{

    flex:1;

    height:3px;

    background:rgba(255,255,255,.25);

    border-radius:99px;
}

.story-bar.active{
    background:white;
}

/* Header */

.story-header{

    position:absolute;

    top:30px;
    left:15px;
    right:15px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    z-index:30;

    color:white;
}

.story-user{

    display:flex;
    align-items:center;
    gap:10px;
}

.story-avatar{

    width:35px;
    height:35px;

    border-radius:50%;

    background:white;
}

.story-close{

    background:none;
    border:none;

    color:white;

    font-size:24px;

    cursor:pointer;
}

/* Flèches */

.story-nav{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:55px;
    height:55px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,.35);

    color:white;

    font-size:26px;

    cursor:pointer;

    z-index:30;
}

.story-prev{
    left:15px;
}

.story-next{
    right:15px;
}

.story-nav:hover{
    background:rgba(0,0,0,.6);
}

/* Mobile */

@media(max-width:768px){

    .story-container{

        width:100vw;
        height:100vh;

        border-radius:0;
    }

}
/* Manifesto */
.manifesto{
  font-family: "Times New Roman", Times, serif;
  max-width:1200px;
  margin:0 auto;

  display:grid;
  grid-template-columns:1.6fr 0.8fr;
  gap:70px;

  padding:70px;

  background:linear-gradient(
    135deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.01)
  );

  border:1px solid rgba(255,255,255,0.08);
  border-radius:32px;

  backdrop-filter:blur(20px);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.18);

  position:relative;
  overflow:hidden;
}

.manifesto::before{
  content:"";
  position:absolute;
  top:0;
  left:0;

  width:4px;
  height:100%;

  background:linear-gradient(
    to bottom,
    #c0aa90,
    transparent
  );
}

.manifesto-text{
  font-size:clamp(0.7em,1.5vw,1.5rem);
  line-height:1.8;
  color:#f5f1e8;

}

.manifesto-side{
  display:flex;
  align-items:center;

  padding-left:40px;

  border-left:1px solid rgba(255,255,255,0.08);

  font-size:1.05rem;
  line-height:1.9;

  color:rgba(255,255,255,0.72);
}
.manifesto-side{
  background:rgba(255,255,255,0.03);
  border-radius:18px;
  padding:30px;
  border:none;
}

.manifesto-side::before{
  content:"✦";
  position:absolute;

  right:70px;
  top:55px;

  font-size:2rem;
  color:#c0aa90;
}
.manifesto-section{
  position:relative;
}

.manifesto-eyebrow{
  width: min(1200px, 92%);
  margin:0 auto 25px auto;
  padding-left:70px;
}


@media (max-width:768px){

  .manifesto{
    grid-template-columns:1fr;
    gap:35px;

    padding:35px 25px;

    border-radius:24px;
  }

  .manifesto-text{
    font-size:1.15rem;
    line-height:1.8;
  }

  .manifesto-side{
    border-left:none;
    border-top:1px solid rgba(255,255,255,0.08);

    padding-left:0;
    padding-top:25px;

    font-size:1rem;
    line-height:1.8;
  }

  .manifesto-side::before{
    display:none;
  }

}



/* CSS anti double tap zoom */

html, body {
  touch-action: manipulation;
}
img, button, .gallery-track {
  touch-action: manipulation;
  -webkit-user-drag: none;
}
/* Eviter que la section contact demander un devis aille au bord de l'écran */
@media (min-width: 769px){

  .contact-wrapper{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }

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

  .hero-buttons .btn{
    font-family: ''Segoe UI'', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 10px;
    color: #221812;
  }

  .hero-buttons .btn:hover{
    transform: none;
  }

}
@media (hover: none){

  .btn:hover{
    background: unset;
    color: inherit;
    transform: none;
  }

}

.hero-buttons .btn,
.hero-buttons .btn:visited,
.hero-buttons .btn:hover,
.hero-buttons .btn:active {
  color: #221812 !important;
}

.contact-wrapper,
.contact-form {
  width: 100%;
  padding: 0 12px; /* marge minimale propre */
  box-sizing: border-box;
}

@media (max-width: 768px){

  .form-row{
    display: flex;
    flex-direction: row;
    gap: 8px;
  }

  .form-row input,
  .form-row select{
    flex: 1;
    min-width: 0; /* évite overflow flex */
  }

}
  .contact-form {
    gap: 10px;             /* réduit l’espace entre lignes */
  }

  textarea {
    min-height: 100px;     /* compacité verticale */
    font-size: 10px;
    padding: 8px;
  }

  button {
    font-size: 13px;
    padding: 8px 10px;
  }

.services-folder{
    max-width:1200px;
    margin:120px auto;
    padding:0 20px;
}

/* ONGLETS */

.folder-tabs{
    display:flex;
    gap:12px;
    position:relative;
    z-index:2;
}

.folder-tab{
    border:none;
    cursor:pointer;

    padding:16px 28px;

    background:rgba(255,255,255,0.08);

    color:#f5f1e8;

    font-size:12px;
    font-weight:600;

    letter-spacing:.18em;
    text-transform:uppercase;

    border-radius:18px 18px 0 0;

    backdrop-filter:blur(12px);

    transition:.4s ease;
}

.folder-tab:hover{
    transform:translateY(-3px);
}

.folder-tab.active{
    background:#d6c6b4;
    color:#1c1611;
}

/* DOSSIER */

.folder-container{
    position:relative;

    margin-top:-1px;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.10),
        rgba(255,255,255,.03)
    );

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:0 28px 28px 28px;

    min-height:450px;

    overflow:hidden;

   
  overflow: hidden;
  box-shadow:
0 12px 40px rgba(0,0,0,.12);
}
/* PAGE */

.folder-page{
    position:absolute;
    inset:0;

    padding:90px;

    opacity:0;
    visibility:hidden;

    transform:translateX(60px);

    transition:
    opacity .45s ease,
    transform .45s ease;
}

.folder-page.active{
    opacity:1;
    visibility:visible;
    transform:translateX(0);
}

/* PETIT LABEL */

.folder-label{
    display:inline-block;

    padding:10px 18px;

    background:rgba(255,255,255,.08);

    border-radius:999px;

    margin-bottom:35px;

    letter-spacing:.12em;

    font-size:11px;
    text-transform:uppercase;
}

/* TITRE */

.folder-page h3{
    font-size:clamp(2.4rem,4vw,4.2rem);

    line-height:1;

    margin-bottom:30px;

    color:white;
}

/* TEXTE */

.folder-page p{
    max-width:700px;

    font-size:1.25rem;

    line-height:1.8;

    color:rgba(255,255,255,.75);
}

@media (max-width:768px){
  

  .folder-tabs{
    display:flex;
    align-items:flex-end;
    overflow:visible;
    margin-left:0;
  }

  .folder-tab{
    max-width:130px;
    margin-left:-28px;
    font-size:0.75rem;

    padding:10px 12px;

    font-size:0.52rem;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;

    border-radius:14px 14px 0 0;
  }

  /* effet dossiers empilés */

  .folder-tab:nth-child(2){
    margin-left:-40px;
  }

  .folder-tab:nth-child(3){
    margin-left:-40px;
  }

  .folder-tab:nth-child(4){
    margin-left:-40px;
  }

}
.folder-tab:nth-child(2),
.folder-tab:nth-child(3),
.folder-tab:nth-child(4){
  margin-left:-25px;
}


/* encadrement des sections  */

.portfolio-section,
#process .container,
#contact .container{
  max-width:1450px;
  margin:auto;

  padding:70px;

  border:1px solid rgba(255,255,255,0.06);
  border-radius:24px;

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.01)
  );

  backdrop-filter:blur(12px);
}
@media (max-width: 768px){

  .portfolio-section,
  #contact .container{
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 25px 12px; /* respiration minimale */
    border-radius: 0;   /* full-bleed mobile */
  }

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

  .gallery-wrapper{
    width: 100%;
    margin: 0;
  }

  .gallery-track{
    padding: 0 6px;
    gap: 12px;
  }

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

  #contact .contact-wrapper,
  #contact .container{
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 25px 12px;
  }

  .contact-form{
    width: 100%;
  }

  input,
  select,
  textarea{
    font-size: 14px;
    padding: 12px;
  }

  textarea{
    min-height: 140px;
  }

}

#realisations{
  background: linear-gradient(
    180deg,
    #1c1511b8 0%,
    #120d0aa3 100%
  );
  color: var(--text);
}

#realisations{
  background: linear-gradient(180deg, #1c1511 0%, #120d0a 100%);
  color: var(--text);

  border-radius: 28px;
  margin: 30px auto;

  width: min(96%, 1450px);

  box-shadow: 0 25px 80px rgba(0,0,0,0.25);
}