/* ================= HOME ================= */

.home section{
  margin-bottom: 140px;
}



.hero h1{
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin: 0;
}

.hero h1 span{
  color: var(--curtain);
}

.hero-sub{
  margin: 28px auto 0;
  font-size: 1.1rem;
  max-width: 640px;
  opacity: .9;
}

.hero-actions{
  margin-top: 46px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= BUTTONS ================= */
.btn{
  display: inline-block;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease;
}

.btn.primary{
  background: #000;
  color: #fff;
}

.btn.secondary{
  border: 2px solid #000;
  color: #000;
}

.btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0,0,0,0.18);
}

/* ================= TITRES ================= */
.home h2{
  text-align: center;
  margin: 0 auto 22px;
}

/* ================= LISTES ================= */
.supports-list,
.values-list{
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 18px;
  text-align: left;
}

.supports-list li,
.values-list li{
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}

.supports-list li::before,
.values-list li::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--curtain);
  flex-shrink: 0;
}

/* ================= CARDS GRID ================= */
.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 32px;
  margin-top: 40px;
}

/* ================= CARD BASE ================= */
.card{
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  min-height: 260px;

  display: flex;
  align-items: stretch; /* ⬅️ plus flex-end */

  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    box-shadow .4s ease;
}


.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 38px rgba(0,0,0,.15);
}

/* contenu au-dessus image */
.card > *{
  position: relative;
  z-index: 2;
}

/* ================= CARTOUCHE TEXTE ================= */
.card-content{
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px;

  display: flex;              /* ⬅️ NOUVEAU */
  flex-direction: column;     /* ⬅️ NOUVEAU */
  justify-content: space-between; /* ⬅️ NOUVEAU */

  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
/* ================= MORPH BUTTON FIX ================= */

.card .morph-btn{
  margin-top: 18px;
  align-self: center;
}


.card-content h3{
  margin: 0 0 8px;
}

.card-content p{
  margin: 0;
  font-size: .95rem;
  line-height: 1.45;
}

/* ================= IMAGE + OVERLAY COMMUN ================= */
.card::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ================= ENTREPRISES — CYAN ================= */
.card-pro{
  background: url("image/bureau.png") center / cover no-repeat;
  border-color: rgba(0,255,255,0.30);
}

.card-pro::before{
  background: rgba(0,255,255,0.28);
  backdrop-filter: blur(4px);
}

/* ================= COMMERCES — MAGENTA ================= */
.card-commerces{
  background: url("image/commerce.png") center / cover no-repeat;
  border-color: rgba(255,0,255,0.30);
}

.card-commerces::before{
  background: rgba(255,0,255,0.22);
  backdrop-filter: blur(4px);
}

/* ================= COLLECTIVITÉS — JAUNE ================= */
.card-collectivites{
  background: url("image/collectivites.png") center / cover no-repeat;
  border-color: rgba(255,200,0,0.35);
  
}

.card-collectivites::before{
  background: rgba(255,255,0,0.22);
  backdrop-filter: blur(4px);
  
}

/* ================= PARTICULIERS — NOIR ================= */
.card-particuliers{
  background: url("image/particulier.png") center / cover no-repeat;
  border-color: rgba(0,0,0,0.30);
}

.card-particuliers::before{
  background: rgba(0,0,0,0.30);
  backdrop-filter: blur(4px);
}

/* ================= TEASER ================= */
.teaser{
  text-align: center;
}

.teaser p{
  max-width: 560px;
  margin: 20px auto 0;
}

.teaser .btn{
  margin-top: 30px;
}

/* ================= CTA ================= */
.cta{
  padding: 120px 0;
  text-align: center;
}

.cta p{
  max-width: 560px;
  margin: 20px auto 0;
}

.cta .btn{
  margin-top: 30px;
}
/* ================= HERO ================= */
/* ================= HERO (FULL WIDTH) ================= */
.hero{
  position: relative;
  width: 100vw;                 /* pleine largeur écran */
  margin-left: calc(50% - 50vw);/* casse le container */
  margin-right: calc(50% - 50vw);

  padding: 160px 0 180px;
  text-align: center;
  overflow: hidden;

  /* image pleine largeur avec crop */
  background: url("image/hero.png") center / cover no-repeat;
}

/* overlay sombre + flou */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);

  z-index: 0;
}

/* conteneur interne pour le texte */
.hero > *{
  position: relative;
  z-index: 1;
}

/* TITRE */
.hero h1{
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin: 0;
}

/* mot clé */
.hero h1 span{
  color: var(--curtain);
}

/* TEXTE */
.hero-sub{
  margin: 28px auto 0;
  max-width: 640px;
  color: rgba(255,255,255,0.9);
}

/* boutons */
.hero-actions{
  margin-top: 46px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn.secondary{
  border-color: #fff;
  color: #fff;
}

.hero .btn.secondary:hover{
  background: rgba(255,255,255,0.12);
}



/* ================= MATERIALS GRID ================= */

.materials{
  max-width: 1400px;     /* même largeur que .page */
  margin: 0 auto;
}

/* grille 3 colonnes */
.materials-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* case carrée */
.material{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

/* image brute (texture seamless, pas de cover) */
.material img{
  width: 100%;
  height: 100%;
  object-fit: none;     /* PAS de stretch */
  object-position: center;
  transition: filter .35s ease;
}

/* overlay sombre */
.material::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .35s ease;
  z-index: 1;
}

/* nom matière */
.material span{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;

  opacity: 0;
  transition: opacity .35s ease;
  z-index: 2;
}

/* HOVER */
.material:hover::before{
  background: rgba(0,0,0,0.6);
}

.material:hover span{
  opacity: 1;
}

/* ================= MATERIALS TITLE ================= */

.materials{
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

/* titre centré par-dessus la grille */
.materials-title{
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 16px;               /* ⬅️ respiration mobile */
  text-align: center;

  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: clamp(1px, 0.4vw, 4px);

  font-size: clamp(2.2rem, 6.5vw, 6rem);

  color: #fff;
  text-shadow: 0 6px 30px rgba(0,0,0,0.6);
}

/* petite assombrissement global sous le titre */
.materials::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 0; /* ⬅️ AVANT : 2 → bloquait le hover */
  pointer-events: none;
}


/* la grille passe derrière */
.materials-grid{
  position: relative;
  z-index: 1;
}




/* ================= PROCESS ================= */



.process-inner{
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}

/* VISUEL */
.process-visual{
  display: flex;
  justify-content: center;
}

.process-mask{
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 40px 100px rgba(0,0,0,.08);
}

.process-mask img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTE */
.process-content h2{
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.process-content p{
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.process-list{
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.process-list li{
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #111;
}

.process-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 28px;
  line-height: 1;
  color: #000;
}

.process-note{
  margin-top: 24px;
  font-size: 14px;
  color: #666;
}

/* ================= MOBILE ================= */

@media (max-width: 900px){

  .process-inner{
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .process-list{
    text-align: left;
    max-width: 360px;
    margin: 24px auto;
  }

  .process-mask{
    width: 280px;
    height: 280px;
  }
}

