/* ===============================
   GAUDEO - Thème officiel v3 (photos + timeline)
   =============================== */
:root{--bg:#2B323B;--ink:#DBBC91;--alt:#343b44;--fade:rgba(219,188,145,0.08);}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Montserrat',sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


/* Layout helpers */
.container{max-width:1100px;margin:0 auto;padding:0 20px}
.center{text-align:center}

/* Branding du nom GAUDEO */
.brand-name {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}


/* Links & buttons */
a{color:var(--ink);text-decoration:none}
a:hover{text-decoration:underline}
.button,.btn{background:var(--ink);color:var(--bg);padding:10px 20px;border-radius:8px;
  display:inline-block;font-weight:600;transition:.2s;border:none}
.button.large{font-size:18px;padding:14px 26px}
.button:hover,.btn:hover{background:#e6cfa5;color:#2B323B}
.btn.secondary{background:transparent;border:1px solid rgba(219,188,145,.35);color:var(--ink)}
.btn.secondary:hover{background:rgba(219,188,145,.1)}

/* Header */
header{background:rgba(43,50,59,.9);backdrop-filter:saturate(120%) blur(4px);
  border-bottom:1px solid rgba(219,188,145,.25);position:sticky;top:0;z-index:200}
.header-inner{display:flex;justify-content:space-between;align-items:center;height:70px}
.brand{display:flex;gap:12px;align-items:center}
.brand-mark{width:40px;height:40px;object-fit:contain;border-radius:0px;background: transparent;}   /* Logo en soit, taille du logo, taille fixe... */
.brand-title{text-transform:uppercase;letter-spacing:.1em;font-weight:600;font-size: clamp(18px, 3vw, 40px);} /* Le titre GAUDEO */
nav a{margin-left:20px;font-weight:600;opacity:.9}
nav a:hover{opacity:1}

/* Hero with parallax — clean */
.hero-parallax{
  min-height:70vh;
  display:flex;
  align-items:center;
  position:relative;
  text-align:center;
  background:
    /* halo sombre (ajuste les opacités si besoin) */
    linear-gradient(180deg, rgba(43,50,59,0.01), rgba(43,50,59,0.5)),
    url('assets/hero_parallax.jpg') center/cover fixed no-repeat;
}


/* ===== Hero : espacements stables (desktop) ===== */
.hero-content{
  position: relative;
  z-index: 1;
  /* espace sous l'entête sticky + respiration */
  padding: clamp(48px, 6vw, 96px) 0 24px;
}

/* Ligne du haut : "Services d'Ingénierie..." */
.hero-topline{
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 600;
  /* plus de marge négative ! */
  margin: 0 0 clamp(56px, 6vh, 200px) 0; 
  color: var(--ink);
}

/* Titre principal animé (#hero-title) */
.hero-content h1{
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 clamp(48px, 6vh, 200px) 0;
  color: var(--ink);
}

/* Sous-texte "Optimisation, conformité..." */
.hero-subline{
  font-size: clamp(16px, 1.8vw, 25px);
  font-weight: 550;
  margin: 12px 0 16px 0;
  color: rgba(219,188,145,0.9);
}

/* Espace entre sous-texte et bouton */
.hero-content p:last-of-type {
  margin-top: 12px;
}

/* Réserve un peu plus de hauteur pour l’animation du H1 (évite le “saut”) */
#hero-title { min-height: 3.2em; }


/* Ombres plus présentes pour le texte du Hero */
.hero-topline,
.hero-content h1,
.hero-subline,
.hero-content .lead {
  text-shadow:
    /* Contour net */
    -0.5px -0.5px 0 rgba(0,0,0,0.95),
     0.5px -0.5px 0 rgba(0,0,0,0.95),
    -0.5px  0.5px 0 rgba(0,0,0,0.95),
     0.5px  0.5px 0 rgba(0,0,0,0.95),

    /* Halo léger */
     0   0 5px rgba(0,0,0,1),
     0   0 5px rgba(0,0,0,1);
}





/* Sections */
.section{padding:60px 0}
.section.alt{background:var(--alt)}
.grid{display:grid;gap:24px}
.grid.cards{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:30px}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}

/* Titres sections */
.section h2 {
  font-weight: 600;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  text-align: center;
}



/* Cards & photos */
.card{background:rgba(255,255,255,.05);border:1px solid rgba(219,188,145,.2);
  border-radius:12px;padding:24px;transition:transform .2s,border-color .2s}
.card:hover{transform:translateY(-4px);border-color:var(--ink)}
.photo{border-radius:12px;border:1px solid rgba(219,188,145,.2);overflow:hidden}
.photo img{width:100%;height:auto;display:block}

/* Timeline */
.timeline{position:relative;margin:20px 0 0 0;padding-left:24px}
.timeline::before{content:"";position:absolute;left:12px;top:0;bottom:0;width:2px;background:rgba(219,188,145,.35)}
.step{position:relative;margin:0 0 28px 0;opacity:0;transform:translateY(12px);transition:opacity .6s, transform .6s}
.step.reveal{opacity:1;transform:none}
.step::before{content:"";position:absolute;left:-23px;top:4px;width:10px;height:10px;border-radius:50%;
  background:var(--ink);box-shadow:0 0 0 4px var(--fade)}
.step h3{margin-bottom:6px}

/* Gallery */
.gallery{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.gallery .photo{height:220px;display:flex}
.gallery .photo img{object-fit:cover;width:100%;height:100%}

/* Contact */
.contact-form{display:flex;flex-direction:column;gap:12px;background:rgba(255,255,255,.04);
  border:1px solid rgba(219,188,145,.25);border-radius:12px;padding:24px;box-shadow:0 4px 16px rgba(0,0,0,.15)}
.contact-form input,.contact-form textarea{background:#2B323B;color:var(--ink);border:1px solid rgba(219,188,145,.3);
  border-radius:6px;padding:10px;font-family:'Montserrat',sans-serif}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:var(--ink)}

/* === Contact: champs pleine largeur === */
.contact-form form {
  display: block;
}
.contact-form label {
  display: block;
  margin-bottom: 6px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  display: block;
  box-sizing: border-box;
}
.contact-form textarea {
  min-height: 140px; /* ajuste si tu veux */
}


/* Footer */
footer{border-top:1px solid rgba(219,188,145,.25);text-align:center;padding:20px 0;font-size:14px;color:rgba(219,188,145,.7)}

@media(max-width:900px){nav{display:none}}

/* ===== Pour le cellulaire ===== */
@media (max-width: 768px) {
  .hero-parallax {
  background:
    linear-gradient(180deg, rgba(43,50,59,0.55), rgba(43,50,59,0.80)),
    url('assets/hero_parallax.jpg');
  background-position: center 18%, center top; /* image cadrée un peu plus haut */
  background-size: 100% 100%, auto 100%;
  background-attachment: scroll, scroll;
  background-repeat: no-repeat, no-repeat;

  min-height: 60vh;
  align-items: flex-start;   /* << clé : aligne le contenu en haut */
}


  .hero-content {
    /* plus d’air en haut pour ne pas cacher le début sous le header */
    padding: 50px 16px 20px;
  }
  .hero-topline { 
    font-size: clamp(18px, 5.5vw, 24px); 
    margin-bottom: 100px; 
    line-height: 1.25;
  }
  .hero-content h1 { 
    font-size: clamp(24px, 7vw, 32px); 
    margin-bottom: 100px;
    line-height: 1.12;
  }
  /* Réserve un peu plus haut en mobile (deux lignes souvent) */
  #hero-title { min-height: 3.8em; }
  .hero-subline { margin-top: 10px; margin-bottom: 20px; }
}

/* Révélation (slide-up + fade) */
.reveal-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Respect “réduction des animations” */
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* =============================== */
/* Effet reveal mot par mot du H1  */
/* =============================== */

.hero-title-char {
  display: inline-block;
  opacity: 0;
  letter-spacing: 0.04em; /* Ajuste ici : 0.01 à 0.04 selon ton goût */
  transform: translateY(16px);
  filter: blur(50px);
    transition:
    opacity .80s cubic-bezier(.2,.7,.2,1),
    transform .80s cubic-bezier(.2,.7,.2,1),
    filter  .80s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform, filter;
}

.hero-title-char.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}


/* ===== Hamburger (menu mobile) ===== */
.hamburger{
  display:none;
  width:44px;height:44px;
  align-items:center;justify-content:center;
  border:1px solid rgba(219,188,145,.35);
  background:transparent;border-radius:10px;
  cursor:pointer;
}
.hamburger span{
  display:block;width:22px;height:2px;background:var(--ink);
  margin:3px 0;transition:transform .2s ease, opacity .2s ease;
}

/* Styles du menu en mode mobile */
@media (max-width:900px){
  .hamburger{display:inline-flex}

  /* nav caché en mobile par défaut */
  header nav{
    display:none; /* on le montrera quand le menu est ouvert */
    position:fixed; top:70px; left:0; right:0;
    background:var(--alt);
    border-top:1px solid rgba(219,188,145,.25);
    box-shadow:0 8px 24px rgba(0,0,0,.25);
    padding:12px 16px; z-index:9;
  }
  header nav a{
    display:block; padding:12px 6px; margin:0;
    border-bottom:1px solid rgba(219,188,145,.18);
  }
  header nav a:last-child{ border-bottom:none; }

  /* état ouvert : on affiche le menu */
  header.menu-open nav{ display:block; }

  /* animation du bouton en "X" */
  header.menu-open .hamburger span:nth-child(1){ transform:translateY(5px) rotate(45deg); }
  header.menu-open .hamburger span:nth-child(2){ opacity:0; }
  header.menu-open .hamburger span:nth-child(3){ transform:translateY(-5px) rotate(-45deg); }

  /* empêche le scroll quand le menu est ouvert (confort) */
  body.no-scroll{ overflow:hidden; }
}

.hero-word {
  display: inline-flex;
  white-space: nowrap;
}

/* Forcer largeur pleine sur le champ Nom dans page Contact*/
.contact-form label input,
.contact-form input {
  width: 100% !important;
  display: block;
  box-sizing: border-box;
}


/* === Nouvelles / carrousel === */
.news-carousel {
  position: relative;
  background: #2b303a;
  border: 1px solid rgba(219, 188, 145, 0.2);
  border-radius: 16px;
  padding: 24px 100px 54px;
  overflow: hidden;
  min-height: 240px;
}
.news-slides {
  position: relative;
}
.news-slide {
  display: none;
  animation: fadeIn .35s ease;
}
.news-slide.is-active {
  display: block;
}
.news-date {
  font-size: .85rem;
  opacity: .7;
  margin-bottom: .25rem;
}
.news-title {
  font-size: 1.4rem;
  margin-bottom: .5rem;
  color: #fef6e9;
}
.news-text {
  line-height: 1.5;
  margin-bottom: .5rem;
}
.news-meta {
  font-size: .8rem;
  opacity: .6;
}

.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 20, 26, 0.5);
  border: 1px solid rgba(219, 188, 145, 0.4);
  color: #fef6e9;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.news-nav.prev { left: 16px; }
.news-nav.next { right: 16px; }

.news-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.news-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(254, 246, 233, 0.25);
  cursor: pointer;
}
.news-dots button.is-active {
  background: #dbbc91;
}

.news-media {
  display: flex;
  justify-content: center; /* centre horizontalement l'image */
  margin: 14px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(219,188,145,.08);
}

.news-media img {
  width: auto;             /* conserve le ratio */
  max-width: 50%;         /* pas plus large que la zone */
  height: auto;
  display: block;
  border-radius: 8px;
}

.news-list .news-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(219,188,145,.1);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.news-list .news-card h3 {
  margin: 4px 0 6px;
}
.news-list .news-card p {
  opacity: .8;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .news-carousel {
    padding: 20px 16px 54px;
  }
  .news-title {
    font-size: 1.2rem;
  }
}

/* Sous-menu dans le header */
nav .nav-has-sub {
  position: relative;
  display: inline-block;
}

nav .nav-parent {
  display: inline-block;
}

/* on colle le menu juste sous le lien */
nav .nav-sub {
  position: absolute;
  top: 100%; /* au lieu de 120% */
  left: 0;
  background: rgba(43,50,59,.98);
  border: 1px solid rgba(219,188,145,.15);
  border-radius: 10px;
  min-width: 180px;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  z-index: 210;
  /* petit padding top pour pardonner le passage de la souris */
  padding-top: 4px;
}

nav .nav-sub a {
  display: block;
  padding: 10px 14px;
  margin: 0;
  border-bottom: 1px solid rgba(219,188,145,.06);
  font-weight: 500;
}
nav .nav-sub a:last-child {
  border-bottom: none;
}

/* affichage au survol (desktop) */
@media (min-width: 901px) {
  nav .nav-has-sub:hover .nav-sub,
  nav .nav-sub:hover {
    display: block;
  }
}

.services-tabs {
  background: #1f252b;
  border-bottom: 1px solid rgba(219,188,145,.15);
}

.services-tabs .container {
  display: flex;
  gap: .75rem;
  padding: .85rem 1rem;
  flex-wrap: wrap;
}

.services-tab {
  background: transparent;
  color: #fff;
  padding: .45rem .9rem;
  border-radius: .4rem;
  font-weight: 600;
  font-size: .85rem;
  transition: background .15s ease;
}

.services-tab:hover {
  background: rgba(219,188,145,.1);
}

.services-tab.is-active {
  background: #DBBC91;
  color: #1f252b;
}


.sector-shortcuts {
  position: sticky;
  top: 75px; /* ajuster selon ton header */
  background: #2B323B;
  z-index: 30;
  border-bottom: 1px solid rgba(219,188,145,.08);
}

.sector-shortcuts .container {
  display: flex;
  gap: .75rem;
  padding: .75rem 1rem;
  flex-wrap: wrap;
}




/* === Bande inspirante sous les boutons de secteur === */
.services-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(43,50,59,0.75), rgba(43,50,59,0.95)),
    url('assets/hero_parallax.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: #DBBC91;
  text-align: center;
  padding: clamp(60px, 10vh, 120px) 20px;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(219,188,145,.25);
}

@media (max-width: 768px) {
  .services-hero {
    /* on réécrit complètement le background pour le mobile */
    background:
      linear-gradient(180deg, rgba(43,50,59,0.75), rgba(43,50,59,0.95)),
      url('assets/hero_parallax.jpg');
    background-repeat: no-repeat;
    background-size: cover;          /* pas de zoom supplémentaire */
    background-position: center 20%; /* remonte un peu l'image */
    background-attachment: scroll;   /* surtout : plus de fixed sur mobile */

    padding: 70px 16px 40px;         /* tu peux ajuster ces valeurs */
  }
}


.services-hero::after {
  /* petite bande subtile en bas pour transition */
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(43,50,59,0.9), rgba(43,50,59,1));
}

.services-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.services-hero h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
  color: #f4e9d3;
}

.services-hero p {
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}




.sector-pill {
  background: rgba(0,0,0,.15);
  color: #fff;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  transition: background .15s;
}

.sector-pill:hover {
  background: rgba(219,188,145,.3);
}

/* LISTE DES SECTEURS */
.sectors-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding: 3rem 0 4rem;
}

.sector-block {
  display: grid;
  grid-template-columns: 1.0fr .5fr; /* Permet de modifier la taille des photos */
  gap: 2.5rem;
  align-items: stretch;
  position: relative;
}

/* résidentiel — colonne photo plus petite */
.sector--res {
  grid-template-columns: 1fr .4fr;
}

/* commercial — colonne photo plus large */
.sector--com {
  grid-template-columns: 1fr .45fr;
}

/* industriel — intermédiaire */
.sector--ind {
  grid-template-columns: 1fr .5fr;
}

/* Institutionnel — intermédiaire */
.sector--inst {
  grid-template-columns: 1fr .55fr;
}

.sector-block .sector-text {
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(219,188,145,.07);
  border-radius: 1rem;
  padding: 1.6rem 1.6rem 1.2rem;
  position: relative;
  z-index: 2;
}

.sector-label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .65rem;
  color: #DBBC91;
  margin-bottom: .2rem;
}

.sector-block h2 {
  font-size: 1.6rem;
  margin-bottom: .4rem;
}

.sector-intro {
  color: rgba(255,255,255,.7);
  margin-bottom: 1.3rem;
}

.sector-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1rem;
}

.sector-columns h3 {
  font-size: .9rem;
  margin-bottom: .3rem;
}

.sector-columns p {
  font-size: .78rem;
  line-height: 1.35;
  color: rgba(255,255,255,.6);
}

/* COLONNE PHOTOS AVEC DYNAMIQUE OBLIQUE */
.sector-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  min-height: 300px; /* hauteur du bloc photo */
  /* c'est ICI qu'on découpe tout le bloc */
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden; /* important */
}


.sector-photo {
  background-size: cover;
  background-position: center;
  border-radius: 0;
  min-height: 90px;
  border: 1px solid rgba(219,188,145,.12);
  position: relative;
  z-index: 2;

}

.sector-photo.tall {
  min-height: 225px;
}


/* RÉSIDENTIEL */
.sector--res::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25%; /* ajuste la position de la ligne oblique*/
  width: 70px;
  background: linear-gradient(180deg, rgba(219,188,145,.25), rgba(43,50,59,0));
  transform: skewX(-5deg) /* angle de la ligne oblique*/;
  pointer-events: none;
  z-index: 0;
}

/* résidentiel : plus petit biseau + moins large */
.sector--res .sector-media {
  clip-path: polygon(35px 0, 100% 0, 100% 100%, 0 100%);
  max-width: 7000px;   /* largeur colonne photo */
}

/* COMMERCIAL */
.sector--com::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28%; /* autre valeur */
  width: 70px;
  background: linear-gradient(180deg, rgba(219,188,145,.25), rgba(43,50,59,0));
  transform: skewX(-5deg);
  pointer-events: none;
  z-index: 0;
}

/* commercial : plus large + coupe plus forte */
.sector--com .sector-media {
  clip-path: polygon(35px 0, 100% 0, 100% 100%, 0 100%);
  max-width: 8000px;
}

/* INDUSTRIEL */
.sector--ind::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 30%;
  width: 70px;
  background: linear-gradient(180deg, rgba(219,188,145,.25), rgba(43,50,59,0));
  transform: skewX(-5deg);
  pointer-events: none;
  z-index: 0;
}

/* industriel : entre les deux */
.sector--ind .sector-media {
  clip-path: polygon(35px 0, 100% 0, 100% 100%, 0 100%);
  max-width: 3000px;
}

/* INSTITUTIONNEL */
.sector--inst::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 32%;
  width: 70px;
  background: linear-gradient(180deg, rgba(219,188,145,.25), rgba(43,50,59,0));
  transform: skewX(-5deg);
  pointer-events: none;
  z-index: 0;
}

/* industriel : entre les deux */
.sector--inst .sector-media {
  clip-path: polygon(35px 0, 100% 0, 100% 100%, 0 100%);
  max-width: 3000px;
}


/* RESPONSIVE */
@media (max-width: 950px) {
  .sector-block,
  .sector-block.sector-alt {
    grid-template-columns: 1fr;
  }
  .sector-media::before,
  .sector-block.sector-alt .sector-media::before {
    display: none;
  }
  .sector-columns {
    grid-template-columns: 1fr;
  }
}

/* --- Ajustement du défilement des ancres de secteurs --- */
#residential,
#commercial,
#industrial,
#institutional {
  scroll-margin-top: 150px; /* ajuste selon la hauteur totale de ton header + barres */
}




/* ===== Services adaptés – bande d'intro ===== */
.sa-hero{
  background:
    linear-gradient(180deg, rgba(43,50,59,.75), rgba(43,50,59,.95)),
    url('assets/services_banner.jpg') center/cover no-repeat;
  border-bottom:1px solid rgba(219,188,145,.25);
  padding: clamp(48px, 8vh, 110px) 0;
  text-align:center;
}
.sa-hero h1{
  font-weight:700;
  font-size: clamp(26px, 4vw, 40px);
  color:#f4e9d3;
  margin:0 0 10px;
}
.sa-hero .sa-sub{
  max-width:900px;margin:0 auto;
  color:rgba(255,255,255,.85);
  font-size:clamp(15px, 1.6vw, 19px);
}

/* ===== Ligne de temps verticale ===== */
.sa-timeline{padding:42px 0 70px}
.sa-rail{
  position:relative;
  list-style:none;
  margin:0;
  padding-left:36px;   /* place pour la ligne + pastilles */
}
.sa-rail::before{
  content:"";
  position:absolute;
  left:16px; top:0; bottom:0;
  width:2px;
  background:linear-gradient(#DBBC91, rgba(219,188,145,.15));
  opacity:.7;
}
.sa-step{position:relative;margin:0 0 28px 0}
.sa-dot{
  position:absolute; left:8px; top:.35rem;
  width:16px; height:16px; border-radius:50%;
  background:#DBBC91;
  box-shadow:0 0 0 6px rgba(219,188,145,.12);
}
.sa-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(219,188,145,.18);
  border-radius:12px;
  padding:18px 18px 16px;
}
.sa-card h3{
  margin:0 0 6px 0;
  font-size:1.05rem;
  color:#f4e9d3;
}
.sa-card p{
  margin:0 0 10px 0;
  color:rgba(255,255,255,.75);
  line-height:1.5;
}
.sa-card .btn.secondary{margin-top:2px}

/* Alternance subtile (quinconce) sur desktop */
@media (min-width: 860px){
  .sa-rail{padding-left:0}
  .sa-rail::before{left:50%}
  .sa-step{display:grid;grid-template-columns:1fr 1fr;align-items:start}
  .sa-step:nth-child(odd) .sa-card{grid-column:1}
  .sa-step:nth-child(even) .sa-card{grid-column:2}
  .sa-step .sa-dot{left:calc(50% - 8px)}
}

/* Petite animation d'arrivée (optionnel) */
.sa-step{opacity:0; transform:translateY(10px); transition:.45s ease}
.sa-step.is-in{opacity:1; transform:none}

/* ===== Cartes de phase – accordéon léger ===== */
.sa-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(219,188,145,.18);
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.sa-card h3{
  margin: 2px 0 10px;
  font-size: 1.1rem;
  letter-spacing: .2px;
  color: #f4e9d3;
}

/* Bloc <details> */
.sa-acc {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(219,188,145,.12);
  border-radius: 12px;
  margin: 10px 0;
  overflow: clip; /* évite les artefacts sur l'animation */
}

/* Ligne cliquable */
.sa-acc > summary {
  list-style: none;           /* retire le triangle natif */
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
  color: #DBBC91;
  display: flex; align-items: center; gap: 10px;
  position: relative;
  user-select: none;
}

/* Chevron animé (CSS only) */
.sa-acc > summary::after{
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid #DBBC91;
  border-bottom: 2px solid #DBBC91;
  transform: rotate(-45deg);
  transition: transform .2s ease;
  margin-left: auto;
  opacity: .85;
}
.sa-acc[open] > summary::after{
  transform: rotate(45deg);
}

/* Corps du panneau */
.sa-acc-body{
  padding: 0 14px 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  animation: accIn .25s ease;
}

/* Petite animation d’apparition du contenu */
@keyframes accIn{
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hover/touches subtiles */
.sa-acc > summary:hover{
  background: rgba(219,188,145,.06);
}

/* Bouton en pied de carte */
.sa-card .btn.secondary{
  margin-top: 10px;
  border-color: rgba(219,188,145,.35);
}

/* Quinconce/timeline existants restent inchangés */
