/* =========================================================
   CAPITAL ENTRETIEN PRO — Feuille de style principale
   ========================================================= */

:root{
  /* Couleurs de marque */
  --navy:        #0C234B;
  --blue:        #1E73BE;
  --blue-light:  #4D9DE0;
  --white:       #FFFFFF;
  --bg-light:    #F5F7FA;
  --ink:         #2F2F2F;
  --green:       #2E7D32;

  --navy-80: rgba(12,35,75,.8);
  --navy-10: rgba(12,35,75,.06);
  --blue-10: rgba(30,115,190,.10);
  --line: rgba(12,35,75,.10);

  /* Typographie */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --h1: clamp(30px, 5vw, 48px);
  --h2: clamp(25px, 3.6vw, 38px);
  --h3: clamp(20px, 2.6vw, 30px);
  --text: clamp(15.5px, 1.6vw, 18px);
  --small: 14.5px;
  --btn: clamp(15px, 1.8vw, 17px);

  /* Autres */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --shadow-s: 0 2px 10px rgba(12,35,75,.06);
  --shadow-m: 0 12px 32px rgba(12,35,75,.10);
  --shadow-l: 0 24px 60px rgba(12,35,75,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  font-size:var(--text);
  line-height:1.65;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy);
  margin:0 0 .5em;
  line-height:1.18;
  letter-spacing:-.01em;
}
h1{ font-size:var(--h1); font-weight:700; }
h2{ font-size:var(--h2); font-weight:600; }
h3{ font-size:var(--h3); font-weight:600; }
p{ margin:0 0 1em; color:var(--ink); }
small,.small-text{ font-size:var(--small); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.container{ max-width:var(--container); margin:0 auto; padding:0 clamp(18px,4vw,24px); }
.section{ padding:clamp(52px,8vw,96px) 0; }
.section--tight{ padding:clamp(38px,6vw,64px) 0; }
.section--navy{ background:var(--navy); color:var(--white); }
.section--navy h1,.section--navy h2,.section--navy h3{ color:var(--white); }
.section--navy p{ color:rgba(255,255,255,.78); }
.section--light{ background:var(--bg-light); }
.section--alt{ background:linear-gradient(180deg,var(--white) 0%, var(--bg-light) 100%); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-display); font-weight:600; font-size:13px;
  letter-spacing:.12em; text-transform:uppercase; color:var(--blue);
  background:var(--blue-10); padding:8px 16px; border-radius:100px;
  margin-bottom:18px;
}
.eyebrow svg{ width:14px; height:14px; }

.section-head{ max-width:680px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ font-size:19px; color:#5b6472; }
.section--navy .section-head p{ color:rgba(255,255,255,.75); }

/* ---------- Boutons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-display); font-weight:600; font-size:var(--btn);
  padding:15px clamp(20px,4vw,30px); border-radius:100px; border:2px solid transparent;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  text-align:center; line-height:1.3;
}
.btn svg{ width:19px; height:19px; flex:none; }
.btn-primary{ background:var(--blue); color:var(--white); box-shadow:0 10px 24px rgba(30,115,190,.32); }
.btn-primary:hover{ background:#175a96; transform:translateY(-2px); box-shadow:0 14px 30px rgba(30,115,190,.4); }
.btn-secondary{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.5); }
.btn-secondary:hover{ background:rgba(255,255,255,.12); border-color:var(--white); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--navy); border-color:var(--line); }
.btn-outline:hover{ border-color:var(--blue); color:var(--blue); transform:translateY(-2px); }
.btn-white{ background:var(--white); color:var(--blue); }
.btn-white:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(0,0,0,.18); }
.btn-block{ width:100%; }
.btn-lg{ padding:clamp(15px,3vw,19px) clamp(24px,5vw,38px); font-size:clamp(16px,2.4vw,19px); }
.btn-sm{ padding:10px 18px; font-size:14.5px; }

/* ---------- Header ---------- */
.topbar{
  background:var(--navy); color:rgba(255,255,255,.85); font-size:13.5px;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:8px;}
.topbar-links{ display:flex; gap:20px; align-items:center; }
.topbar-links a{ display:flex; align-items:center; gap:6px; opacity:.85; transition:opacity .2s; }
.topbar-links a:hover{ opacity:1; color:var(--blue-light); }
.topbar svg{ width:13px; height:13px; }

.header{
  --header-h: 76px;
  position:sticky; top:0; z-index:100; background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
}
.header .container{ display:flex; align-items:center; justify-content:space-between; min-height:var(--header-h); gap:24px; }
.logo{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:20px; color:var(--navy); flex:none; }
.logo-mark{
  width:40px; height:40px; border-radius:11px; flex:none;
  background:linear-gradient(135deg,var(--blue) 0%, var(--navy) 100%);
  display:flex; align-items:center; justify-content:center; color:#fff; position:relative; overflow:hidden;
}
.logo-mark svg{ width:20px; height:20px; }
.logo small{ display:block; font-family:var(--font-body); font-weight:400; font-size:11px; color:#5b6472; letter-spacing:.02em; }

.nav{ display:flex; align-items:center; gap:2px; }
.nav a{
  font-family:var(--font-display); font-weight:500; font-size:15px; color:var(--navy);
  padding:10px 16px; position:relative; transition:color .2s;
  white-space:nowrap;
}
.nav a::after{
  content:''; position:absolute; left:16px; right:16px; bottom:5px; height:2px; border-radius:2px;
  background:var(--blue); transform:scaleX(0); transform-origin:center; transition:transform .25s var(--ease);
}
.nav a:hover{ color:var(--blue); }
.nav a:hover::after, .nav a.active::after{ transform:scaleX(1); }
.nav a.active{ color:var(--blue); }

.header-cta{ display:flex; align-items:center; gap:10px; flex:none; }
.header-cta .btn{ white-space:nowrap; }

.burger{
  display:none; width:42px; height:42px; border:none; background:var(--bg-light); border-radius:11px;
  align-items:center; justify-content:center; flex:none; position:relative; z-index:210;
}
.burger svg{ width:21px; height:21px; color:var(--navy); }
.burger .icon-close{ display:none; }
.burger.is-active .icon-menu{ display:none; }
.burger.is-active .icon-close{ display:block; }

.nav-overlay{
  display:none; position:fixed; inset:0; background:rgba(12,35,75,.45); z-index:190;
  opacity:0; transition:opacity .3s var(--ease); pointer-events:none;
}
.nav-overlay.is-open{ opacity:1; pointer-events:auto; }

@media (max-width:980px){
  .topbar{ display:none; }
  .header{ --header-h: 68px; }
  .nav-overlay{ display:block; }
  .nav{
    position:fixed; top:0; right:0; bottom:0; height:100%; width:min(320px,84vw);
    background:var(--white); flex-direction:column; align-items:stretch; z-index:200;
    padding:calc(var(--header-h) + 16px) 22px 26px; gap:2px;
    transform:translateX(100%); transition:transform .4s var(--ease);
    overflow-y:auto; box-shadow:-16px 0 40px rgba(12,35,75,.18);
  }
  .nav.is-open{ transform:translateX(0); }
  .nav a{
    padding:16px 4px; border-bottom:1px solid var(--line); border-radius:0; font-size:16.5px;
    opacity:0; transform:translateX(14px); transition:opacity .35s ease, transform .35s ease;
  }
  .nav.is-open a{ opacity:1; transform:none; }
  .nav.is-open a:nth-child(1){ transition-delay:.05s; }
  .nav.is-open a:nth-child(2){ transition-delay:.10s; }
  .nav.is-open a:nth-child(3){ transition-delay:.15s; }
  .nav.is-open a:nth-child(4){ transition-delay:.20s; }
  .nav.is-open a:nth-child(5){ transition-delay:.25s; }
  .nav.is-open a:nth-child(6){ transition-delay:.30s; }
  .nav.is-open a:nth-child(7){ transition-delay:.35s; }
  .nav a::after{ display:none; }
  .nav-cta{ display:block !important; margin-top:18px; }
  .burger{ display:flex; }
  .header-cta .btn-primary{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background:radial-gradient(1200px 600px at 85% -10%, #133366 0%, var(--navy) 55%, #081733 100%);
  color:var(--white); padding:88px 0 0;
}
.hero .container{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; padding-bottom:70px; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16); padding:9px 18px; border-radius:100px; font-size:14px;
  font-weight:600; margin-bottom:22px;

}
.hero-eyebrow .dot{ width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 0 4px rgba(46,125,50,.25); }
.hero h1{ font-size:56px; color:#fff; margin-bottom:22px; }
.hero h1 em{ font-style:normal; color:var(--blue-light); }
.hero p.lead{ font-size:19px; color:rgba(255,255,255,.75); max-width:520px; margin-bottom:34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:42px; }
.hero-trust{ display:flex; gap:30px; flex-wrap:wrap; }
.hero-trust div{ display:flex; align-items:center; gap:10px; font-size:14.5px; color:rgba(255,255,255,.75); }
.hero-trust svg{ width:20px; height:20px; color:var(--blue-light); flex:none; }

/* Visuel héro : révélation "avant / après" — signature de la marque */
.hero-visual{ position:relative; }
.reveal{
  position:relative; border-radius:var(--radius-l); overflow:hidden; box-shadow:var(--shadow-l);
  aspect-ratio:4/5; background:#0e2549;
}
.reveal img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.reveal .reveal-after{ clip-path: inset(0 0 0 52%); }
.reveal .reveal-line{
  position:absolute; top:0; bottom:0; left:52%; width:3px; background:#fff;
  box-shadow:0 0 0 6px rgba(255,255,255,.18); transform:translateX(-50%);
}
.reveal .reveal-handle{
  position:absolute; top:50%; left:52%; width:46px; height:46px; border-radius:50%;
  background:#fff; transform:translate(-50%,-50%); display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 22px rgba(0,0,0,.25); color:var(--blue);
}
.reveal .reveal-handle svg{ width:20px; height:20px; }
.reveal-tag{
  position:absolute; bottom:18px; font-family:var(--font-display); font-weight:600; font-size:13px;
  background:rgba(12,35,75,.55); backdrop-filter:blur(4px); color:#fff; padding:6px 14px; border-radius:100px;
}
.reveal-tag.before{ left:18px; }
.reveal-tag.after{ right:18px; }
.hero-card{
  position:absolute; bottom:-28px; left:-28px; background:#fff; color:var(--ink); border-radius:var(--radius-m);
  padding:18px 22px; box-shadow:var(--shadow-l); display:flex; align-items:center; gap:14px; max-width:250px;
}
.hero-card .ic{ width:46px; height:46px; border-radius:12px; background:var(--blue-10); color:var(--blue); display:flex; align-items:center; justify-content:center; flex:none; }
.hero-card .ic svg{ width:22px; height:22px; }
.hero-card strong{ display:block; font-family:var(--font-display); color:var(--navy); font-size:15px; }
.hero-card span{ font-size:13px; color:#5b6472; }
@media (max-width:980px){
  .hero .container{ grid-template-columns:1fr; padding-top:10px; }
  .hero h1{ font-size:38px; }
  .hero-visual{ margin-top:20px; }
  .hero-card{ position:static; margin-top:22px; max-width:none; }
}

.wave{ display:block; width:100%; height:auto; margin-top:-2px; }

/* ---------- Animation d'entrée du héro ---------- */
@keyframes heroFadeUp{
  from{ opacity:0; transform:translateY(26px); }
  to{ opacity:1; transform:translateY(0); }
}
.hero-eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-trust{
  animation:heroFadeUp .8s var(--ease) both;
}
.hero h1{ animation-delay:.08s; }
.hero p.lead{ animation-delay:.16s; }
.hero-actions{ animation-delay:.24s; }
.hero-trust{ animation-delay:.32s; }
.hero-visual{ animation:heroFadeUp 1s var(--ease) both; animation-delay:.28s; will-change:transform; }
@media (prefers-reduced-motion: reduce){
  .hero-eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-trust, .hero-visual{ animation:none; }
}

/* ---------- Effet de brillance sur les boutons primaires ---------- */
.btn-primary, .btn-white{ position:relative; overflow:hidden; }
.btn-primary::before, .btn-white::before{
  content:''; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform:skewX(-20deg); transition:left .6s var(--ease);
}
.btn-primary:hover::before, .btn-white:hover::before{ left:120%; }


/* ---------- Stats ---------- */
.stats{ background:var(--white); margin-top:-1px; }
.trust-badges{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; padding:clamp(30px,5vw,46px) 0; }
.trust-badge{
  display:flex; align-items:center; gap:10px; background:var(--white); border:1px solid var(--line);
  border-radius:100px; padding:13px 22px; font-family:var(--font-display); font-weight:600; font-size:15px;
  color:var(--navy); box-shadow:var(--shadow-s); transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.trust-badge:hover{ transform:translateY(-3px); box-shadow:var(--shadow-m); border-color:var(--blue-light); }
.trust-badge svg{ width:19px; height:19px; color:var(--blue); flex:none; }
@media (max-width:560px){ .trust-badge{ padding:11px 16px; font-size:14px; } }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:clamp(36px,6vw,56px) 0; }
.stat{ text-align:center; padding:0 12px; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
.stat .num{ font-family:var(--font-display); font-weight:700; font-size:clamp(28px,5vw,42px); color:var(--navy); }
.stat .num span{ color:var(--blue); }
.stat .label{ font-size:14px; color:#5b6472; margin-top:4px; }
@media (max-width:860px){ .stats-grid{ grid-template-columns:repeat(2,1fr); gap:20px 16px; } .stat{ border-left:none; border-top:1px solid var(--line); padding-top:18px; } .stat:nth-child(-n+2){ border-top:none; } }

/* ---------- Cards de service ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:28px; }
.grid-2{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:28px; }
.grid-4{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:24px; }

.card-service{
  background:#fff; border-radius:var(--radius-m); padding:34px 28px; box-shadow:var(--shadow-s);
  border:1px solid var(--line); transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display:flex; flex-direction:column;
}
.card-service:hover{ transform:translateY(-6px); box-shadow:var(--shadow-m); border-color:transparent; }
.card-service .ic{
  width:58px; height:58px; border-radius:14px; background:var(--blue-10); color:var(--blue);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; transition:background .3s,color .3s;
}
.card-service:hover .ic{ background:var(--blue); color:#fff; }
.card-service .ic svg{ width:27px; height:27px; }
.card-service h3{ font-size:22px; margin-bottom:10px; }
.card-service p{ color:#5b6472; font-size:15.5px; flex:1; }
.card-service .link{ display:inline-flex; align-items:center; gap:6px; font-family:var(--font-display); font-weight:600; color:var(--blue); font-size:15px; margin-top:10px; }
.card-service .link svg{ width:16px; height:16px; transition:transform .25s; }
.card-service:hover .link svg{ transform:translateX(4px); }

/* ---------- Pourquoi nous choisir ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:22px; }
.why-item{ display:flex; gap:18px; padding:24px; background:var(--bg-light); border-radius:var(--radius-m); }
.why-item .ic{ width:48px; height:48px; border-radius:12px; background:var(--white); color:var(--green); box-shadow:var(--shadow-s); display:flex; align-items:center; justify-content:center; flex:none; }
.why-item .ic svg{ width:23px; height:23px; }
.why-item h3{ font-size:18px; margin-bottom:6px; }
.why-item p{ font-size:14.5px; color:#5b6472; margin:0; }

/* ---------- Galerie ---------- */
.gal-filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:34px; }
.gal-filter{
  padding:9px 18px; border-radius:100px; border:1px solid var(--line); background:#fff;
  font-family:var(--font-display); font-weight:500; font-size:14px; color:var(--navy); transition:all .2s;
}
.gal-filter.active,.gal-filter:hover{ background:var(--navy); color:#fff; border-color:var(--navy); }
.gal-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; }
.gal-item{ position:relative; border-radius:var(--radius-m); overflow:hidden; aspect-ratio:4/3; cursor:pointer; box-shadow:var(--shadow-s); }
.gal-item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.gal-item:hover img{ transform:scale(1.08); }
.gal-caption{
  position:absolute; inset:auto 0 0 0; padding:16px; background:linear-gradient(0deg, var(--navy-80), transparent 90%);
  color:#fff; font-family:var(--font-display); font-weight:600; font-size:14.5px;
  opacity:1; transition:opacity .3s;
}
/* Sur les appareils avec souris, la légende n'apparaît qu'au survol pour un rendu plus épuré */
@media (hover:hover) and (pointer:fine){
  .gal-caption{ opacity:0; }
  .gal-item:hover .gal-caption{ opacity:1; }
}

/* ---------- Comparateur avant/après (page Réalisations) ---------- */
.compare{ position:relative; border-radius:var(--radius-l); overflow:hidden; box-shadow:var(--shadow-m); aspect-ratio:16/10; user-select:none; }
.compare img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.compare .after{ clip-path:inset(0 0 0 50%); }
.compare .divider{ position:absolute; top:0; bottom:0; left:50%; width:3px; background:#fff; transform:translateX(-50%); }
.compare .handle{ position:absolute; top:50%; left:50%; width:48px; height:48px; border-radius:50%; background:#fff; transform:translate(-50%,-50%); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-m); color:var(--blue); }
.compare .handle svg{ width:20px; height:20px; }
.compare .tag{ position:absolute; top:16px; font-family:var(--font-display); font-weight:600; font-size:13px; background:var(--navy-80); color:#fff; padding:6px 14px; border-radius:100px; }
.compare .tag.before{ left:16px; } .compare .tag.after-tag{ right:16px; }

/* ---------- Témoignages ---------- */
.testi-card{
  background:#fff; border-radius:var(--radius-m); padding:32px; box-shadow:var(--shadow-s); border:1px solid var(--line);
  display:flex; flex-direction:column; gap:16px;
}
.testi-stars{ display:flex; gap:3px; color:#F5A623; }
.testi-stars svg{ width:17px; height:17px; }
.testi-card p.quote{ font-size:16.5px; color:var(--ink); font-style:italic; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.testi-avatar{ width:44px; height:44px; border-radius:50%; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:600; flex:none; }
.testi-person strong{ display:block; font-family:var(--font-display); font-size:15px; color:var(--navy); }
.testi-person span{ font-size:13.5px; color:#5b6472; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:24px 4px; background:none; border:none; text-align:left;
  font-family:var(--font-display); font-weight:600; font-size:18px; color:var(--navy);
}
.faq-q svg{ width:22px; height:22px; color:var(--blue); flex:none; transition:transform .3s var(--ease); }
.faq-item.open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-a-inner{ padding:0 4px 24px; color:#5b6472; font-size:16px; max-width:820px; }

/* ---------- Formulaires ---------- */
.form-card{ background:#fff; border-radius:var(--radius-l); padding:clamp(24px,4vw,44px); box-shadow:var(--shadow-m); border:1px solid var(--line); }
.form-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:20px; }
.field{ margin-bottom:22px; }
.field label{ display:block; font-family:var(--font-display); font-weight:600; font-size:14.5px; color:var(--navy); margin-bottom:8px; }
.field label .req{ color:var(--blue); }
.field input,.field select,.field textarea{
  width:100%; padding:14px 16px; border-radius:var(--radius-s); border:1.5px solid var(--line);
  font-family:var(--font-body); font-size:15.5px; color:var(--ink); background:var(--bg-light);
  transition:border-color .2s, background .2s;
}
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--blue); background:#fff; }
.field textarea{ resize:vertical; min-height:120px; }
.field small{ display:block; margin-top:6px; color:#8a93a0; }
.file-drop{
  border:2px dashed var(--line); border-radius:var(--radius-s); padding:30px; text-align:center;
  background:var(--bg-light); transition:border-color .2s, background .2s; cursor:pointer;
}
.file-drop:hover, .file-drop.dragover{ border-color:var(--blue); background:var(--blue-10); }
.file-drop svg{ width:30px; height:30px; color:var(--blue); margin:0 auto 10px; }
.file-drop strong{ font-family:var(--font-display); color:var(--navy); }
.file-list{ margin-top:10px; display:flex; flex-wrap:wrap; gap:8px; }
.file-chip{ background:var(--blue-10); color:var(--blue); font-size:13.5px; padding:6px 12px; border-radius:100px; display:flex; align-items:center; gap:6px; }
.captcha-box{ display:flex; align-items:center; gap:12px; background:var(--bg-light); border:1.5px solid var(--line); border-radius:var(--radius-s); padding:16px 18px; margin-bottom:22px; }
.captcha-box input[type=checkbox]{ width:22px; height:22px; accent-color:var(--blue); }
.form-success{
  display:none; text-align:center; padding:50px 20px;
}
.form-success.show{ display:block; }
.form-success .ic{ width:74px; height:74px; border-radius:50%; background:rgba(46,125,50,.1); color:var(--green); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; }
.form-success .ic svg{ width:36px; height:36px; }


/* ---------- CTA bande ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--navy) 0%, #123a72 100%);
  border-radius:var(--radius-l); padding:clamp(30px,5vw,56px); display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:24px; color:#fff;
  position:relative; overflow:hidden;
}
.cta-band::after{
  content:''; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle, rgba(77,157,224,.35), transparent 70%);
}
.cta-band h2{ color:#fff; margin-bottom:8px; font-size:clamp(22px,3.4vw,30px); }
.cta-band p{ color:rgba(255,255,255,.75); margin:0; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }
@media (max-width:820px){ .cta-band{ flex-direction:column; text-align:center; } .cta-actions{ justify-content:center; } }

/* ---------- Contact / carte ---------- */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(28px,4vw,44px); align-items:start; }
.contact-item{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.contact-item .ic{ width:46px; height:46px; border-radius:12px; background:var(--blue-10); color:var(--blue); display:flex; align-items:center; justify-content:center; flex:none; }
.contact-item .ic svg{ width:21px; height:21px; }
.contact-item strong{ display:block; font-family:var(--font-display); color:var(--navy); font-size:15px; }
.contact-item span, .contact-item a{ font-size:14.5px; color:#5b6472; }
.map-frame{ border-radius:var(--radius-l); overflow:hidden; box-shadow:var(--shadow-m); border:1px solid var(--line); }
.map-frame iframe{ width:100%; height:clamp(260px,42vw,420px); border:0; display:block; }
@media (max-width:980px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------- Breadcrumb + page header ---------- */
.page-hero{ background:linear-gradient(160deg, var(--navy), #133a70); color:#fff; padding:clamp(46px,8vw,70px) 0 clamp(56px,9vw,90px); position:relative; }
.breadcrumb{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:13.5px; color:rgba(255,255,255,.6); margin-bottom:16px; }
.breadcrumb a{ color:rgba(255,255,255,.85); }
.breadcrumb a:hover{ color:var(--blue-light); }
.page-hero h1{ color:#fff; font-size:clamp(28px,5.5vw,44px); margin-bottom:14px; }
.page-hero p{ color:rgba(255,255,255,.75); font-size:clamp(15.5px,2vw,18px); max-width:640px; margin:0; }

/* ---------- Timeline / historique ---------- */
.timeline{ position:relative; padding-left:34px; }
.timeline::before{ content:''; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:var(--line); }
.tl-item{ position:relative; padding-bottom:38px; }
.tl-item::before{ content:''; position:absolute; left:-34px; top:4px; width:20px; height:20px; border-radius:50%; background:var(--blue); border:4px solid var(--blue-10); }
.tl-item h3{ font-size:19px; margin-bottom:4px; }
.tl-item span.year{ font-family:var(--font-display); font-weight:700; color:var(--blue); font-size:14px; }

/* ---------- Équipe ---------- */
.team-card{ text-align:center; }
.team-photo{ width:100%; aspect-ratio:1; border-radius:var(--radius-m); overflow:hidden; margin-bottom:16px; box-shadow:var(--shadow-s); }
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-card strong{ display:block; font-family:var(--font-display); color:var(--navy); font-size:17px; }
.team-card span{ font-size:14.5px; color:var(--blue); font-weight:500; }

/* ---------- Process / étapes ---------- */
.process-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:22px; counter-reset:step; }
.process-item{ position:relative; padding:28px 22px; background:#fff; border-radius:var(--radius-m); border:1px solid var(--line); }
.process-item .step-num{ font-family:var(--font-display); font-weight:700; font-size:clamp(30px,4vw,40px); color:var(--blue-10); -webkit-text-stroke:1.5px var(--blue); position:absolute; top:14px; right:20px; }
.process-item h3{ font-size:17.5px; margin:24px 0 8px; }
.process-item p{ font-size:14.5px; color:#5b6472; margin:0; }

/* ---------- Footer ---------- */
.footer{ background:var(--navy); color:rgba(255,255,255,.72); padding:clamp(46px,7vw,70px) 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:clamp(24px,4vw,40px); padding-bottom:clamp(32px,6vw,50px); border-bottom:1px solid rgba(255,255,255,.1); }
.footer h4{ color:#fff; font-size:16px; margin-bottom:18px; }
.footer ul li{ margin-bottom:12px; }
.footer a:hover{ color:var(--blue-light); }
.footer-about p{ color:rgba(255,255,255,.65); font-size:15px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background .2s; }
.footer-social a:hover{ background:var(--blue); }
.footer-social svg{ width:18px; height:18px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:20px 0; font-size:13px; gap:12px; flex-wrap:wrap; text-align:center; }
.footer-bottom a{ opacity:.8; } .footer-bottom a:hover{ opacity:1; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; gap:32px; } .footer-bottom{ flex-direction:column; text-align:center; } }

/* ---------- Boutons flottants d'appel ---------- */
.float-actions{ position:fixed; right:22px; bottom:22px; z-index:150; display:flex; flex-direction:column; gap:14px; }
.float-btn{
  width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-m); color:#fff; transition:transform .25s var(--ease), box-shadow .25s var(--ease);
  position:relative;
}
.float-btn:hover{ transform:scale(1.08) translateY(-2px); box-shadow:var(--shadow-l); }
.float-btn svg{ width:26px; height:26px; }
.float-btn.call{ background:var(--blue); }
.float-btn.whatsapp{ background:#25D366; }
.float-btn.whatsapp::before{
  content:''; position:absolute; inset:0; border-radius:50%; background:#25D366;
  animation:pulseRing 2.2s ease-out infinite; z-index:-1;
}
@keyframes pulseRing{
  0%{ transform:scale(1); opacity:.55; }
  100%{ transform:scale(1.7); opacity:0; }
}
.float-label{
  position:absolute; right:70px; top:50%; transform:translateY(-50%) translateX(6px);
  background:var(--navy); color:#fff; font-family:var(--font-display); font-weight:600; font-size:13.5px;
  padding:8px 14px; border-radius:8px; white-space:nowrap; opacity:0; pointer-events:none;
  transition:opacity .25s var(--ease), transform .25s var(--ease);
}
.float-btn:hover .float-label{ opacity:1; transform:translateY(-50%) translateX(0); }
@media (prefers-reduced-motion: reduce){ .float-btn.whatsapp::before{ animation:none; } }
@media (max-width:600px){ .float-actions{ right:14px; bottom:14px; } .float-btn{ width:52px; height:52px; } .float-btn svg{ width:23px; height:23px; } .float-label{ display:none; } }

/* ---------- Utilitaires d'animation ---------- */
.reveal-up{ opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-up.in-view{ opacity:1; transform:none; }
.stagger .reveal-up:nth-child(1){ transition-delay:.05s; }
.stagger .reveal-up:nth-child(2){ transition-delay:.15s; }
.stagger .reveal-up:nth-child(3){ transition-delay:.25s; }
.stagger .reveal-up:nth-child(4){ transition-delay:.35s; }

.badge-list{ display:flex; flex-wrap:wrap; gap:12px; margin-top:8px; }
.badge{ display:flex; align-items:center; gap:8px; background:var(--bg-light); border-radius:100px; padding:9px 16px; font-size:14px; font-weight:500; color:var(--navy); }
.badge svg{ width:16px; height:16px; color:var(--green); }

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,50px); align-items:center; }
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; } }
.img-frame{ border-radius:var(--radius-l); overflow:hidden; box-shadow:var(--shadow-m); }
.img-frame img{ width:100%; height:100%; object-fit:cover; }

.check-list li{ display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; font-size:16px; }
.check-list svg{ width:20px; height:20px; color:var(--green); flex:none; margin-top:2px; }

.value-card{ text-align:center; padding:34px 24px; }
.value-card .ic{ width:60px; height:60px; border-radius:16px; background:var(--blue-10); color:var(--blue); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.value-card .ic svg{ width:28px; height:28px; }

.zone-list{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px 24px; margin-top:20px; }
.zone-list li{ display:flex; align-items:center; gap:10px; font-size:15px; }
.zone-list svg{ width:16px; height:16px; color:var(--blue); flex:none; }

/* ---------- Ajustements fins pour petits mobiles ---------- */
@media (max-width:480px){
  .logo small{ display:none; }
  .logo{ font-size:17px; gap:8px; }
  .logo-mark{ width:36px; height:36px; }
  .card-service .ic, .why-item .ic{ width:48px; height:48px; }
  .card-service .ic svg{ width:22px; height:22px; }
  .value-card .ic{ width:52px; height:52px; }
  .reveal{ aspect-ratio:1/1.05; }
  .hero-visual{ max-width:320px; }
  .form-card{ border-radius:var(--radius-m); }
  .cta-band{ border-radius:var(--radius-m); }
}
main{ padding-bottom:2px; }
@media (max-width:640px){
  section:last-of-type{ padding-bottom:calc(clamp(52px,8vw,96px) + 64px); }
}

.skip-link{ position:absolute; left:-999px; top:0; background:var(--blue); color:#fff; padding:12px 20px; z-index:1000; border-radius:0 0 10px 0; }
.skip-link:focus{ left:0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:3px solid var(--blue-light); outline-offset:2px;
}

/* =========================================================
   MODALE AVIS
   ========================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 35, 75, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay.is-open {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-l);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px;
  position: relative;
  box-shadow: var(--shadow-l);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--ease);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s, transform 0.2s;
  z-index: 5;
}

.modal-close:hover {
  background: #e8ecf0;
  transform: rotate(90deg);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-header {
  margin-bottom: 28px;
}

.modal-header h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.modal-header p {
  color: #5b6472;
  margin: 0;
  font-size: 15px;
}

/* Champs radio */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.radio-group-inline {
  gap: 16px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}

.radio-label:hover {
  border-color: var(--blue-light);
  background: var(--blue-10);
}

.radio-label input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
  margin: 0;
  flex: none;
}

.radio-label:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-10);
}

/* Étoiles de notation */
.star-rating {
  display: flex;
  gap: 6px;
  margin: 6px 0 4px;
}

.star-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d0d5dd;
  transition: all 0.2s;
  cursor: pointer;
}

.star-btn:hover {
  border-color: #f5a623;
  color: #f5a623;
  transform: scale(1.06);
}

.star-btn.active {
  border-color: #f5a623;
  color: #f5a623;
  background: #fef9e7;
}

.star-btn svg {
  width: 24px;
  height: 24px;
}

#noteLabel {
  font-size: 13.5px;
  color: #8a93a0;
}

/* Checkbox consentement */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--ink);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  margin-top: 2px;
  flex: none;
}

.checkbox-label .req {
  color: #c0392b;
}

/* Compteur de caractères */
#charCount {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #8a93a0;
  text-align: right;
}

#charCount.warning {
  color: #e67e22;
}

#charCount.danger {
  color: #c0392b;
}

/* Responsive modal */
@media (max-width: 600px) {
  .modal {
    padding: 28px 20px;
    border-radius: var(--radius-m);
    max-height: 95vh;
  }

  .modal-header h2 {
    font-size: 22px;
  }

  .star-btn {
    width: 38px;
    height: 38px;
  }

  .star-btn svg {
    width: 20px;
    height: 20px;
  }

  .radio-label {
    padding: 6px 12px;
    font-size: 14px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}

/* Spinner d'envoi */
.spinning {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* État désactivé du bouton */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* ========================================= */
/* Animation de chargement */
.spinning {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* État désactivé du bouton */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Message d'erreur dans la modale */
.form-error .ic {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(192,57,43,.1);
    color: #c0392b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-error .ic svg {
    width: 36px;
    height: 36px;
}

/* =========================================================
   STYLES SPÉCIFIQUES POUR LA PAGE RÉALISATIONS
   ========================================================= */

/* Modal large pour les projets */
.modal.modal-large {
    max-width: 860px;
    padding: 32px 28px;
}

/* Carte projet dans la galerie */
.project-card {
    position: relative;
    border-radius: var(--radius-m);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-s);
    background: var(--navy);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-m);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12,35,75,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    opacity: 1;
    transition: opacity 0.3s;
}

@media (hover: hover) and (pointer: fine) {
    .project-card .overlay {
        opacity: 0;
    }
    .project-card:hover .overlay {
        opacity: 1;
    }
}

.project-card .overlay h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 4px;
}

.project-card .overlay .meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.project-card .overlay .meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card .overlay .meta svg {
    width: 14px;
    height: 14px;
}

.project-card .badge-category {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(12,35,75,0.7);
    backdrop-filter: blur(4px);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contenu du modal projet */
.project-detail-compare {
    position: relative;
    border-radius: var(--radius-m);
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: 24px;
    background: var(--navy);
}

.project-detail-compare img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-compare .after {
    clip-path: inset(0 0 0 50%);
}

.project-detail-compare .divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
}

.project-detail-compare .handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-m);
    color: var(--blue);
    cursor: grab;
    z-index: 2;
}

.project-detail-compare .handle:active {
    cursor: grabbing;
}

.project-detail-compare .tag {
    position: absolute;
    top: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12px;
    background: rgba(12,35,75,0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 14px;
    border-radius: 100px;
    z-index: 1;
}

.project-detail-compare .tag.before {
    left: 14px;
}

.project-detail-compare .tag.after-tag {
    right: 14px;
}

.project-detail-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.project-detail-info .info-item {
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-s);
}

.project-detail-info .info-item .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8a93a0;
    font-weight: 600;
}

.project-detail-info .info-item .value {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy);
    font-size: 15px;
}

.project-detail-description {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--ink);
}

.project-detail-description h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

/* Actions du projet (likes, commentaires) */
.project-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}

.project-actions button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    padding: 6px 12px;
    border-radius: 100px;
    transition: all 0.2s;
    cursor: pointer;
}

.project-actions button:hover {
    background: var(--bg-light);
}

.project-actions button.liked {
    color: #c0392b;
}

.project-actions button.liked svg {
    fill: #c0392b;
}

.project-actions button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s;
}

.project-actions button:hover svg {
    transform: scale(1.1);
}

.project-actions .action-count {
    font-weight: 600;
    min-width: 20px;
}

/* Commentaires */
.comments-section {
    margin-top: 20px;
}

.comments-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comments-section h4 .count {
    background: var(--bg-light);
    padding: 0 10px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.comment-item {
    padding: 14px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-s);
    margin-bottom: 10px;
}

.comment-item .comment-author {
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 14px;
}

.comment-item .comment-date {
    font-size: 12px;
    color: #8a93a0;
    margin-left: 10px;
}

.comment-item .comment-content {
    margin-top: 4px;
    font-size: 14.5px;
    color: var(--ink);
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.comment-form .field-full {
    grid-column: 1 / -1;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-s);
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--bg-light);
    transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
}

.comment-form textarea {
    resize: vertical;
    min-height: 80px;
}

.comment-form .btn-submit-comment {
    grid-column: 1 / -1;
    padding: 12px 24px;
    border: none;
    border-radius: 100px;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.comment-form .btn-submit-comment:hover {
    background: #175a96;
    transform: translateY(-2px);
}

.comment-form .btn-submit-comment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.comment-success {
    display: none;
    text-align: center;
    padding: 20px;
    color: var(--green);
    font-weight: 500;
}

.comment-success.show {
    display: block;
}

.no-comments {
    color: #8a93a0;
    font-style: italic;
    text-align: center;
    padding: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .modal.modal-large {
        padding: 20px 16px;
        max-width: 100%;
        margin: 10px;
        border-radius: var(--radius-m);
    }
    
    .project-detail-info {
        grid-template-columns: 1fr;
    }
    
    .project-actions {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .comment-form {
        grid-template-columns: 1fr;
    }
    
    .comment-form .field-full {
        grid-column: 1;
    }
    
    .project-detail-compare {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .project-card .overlay h3 {
        font-size: 15px;
    }
    .project-card .overlay .meta {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
}


/* =========================================================
   STYLES POUR LA PAGE D'ACCUEIL
   ========================================================= */

/* --- Carrousel d'avis --- */
.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 -8px;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    flex: 1;
    overflow: hidden;
    padding: 8px 0;
}

.testimonials-carousel .testi-card {
    grid-column: 1;
    grid-row: 1;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
    opacity: 0.4;
    transform: scale(0.85);
    pointer-events: none;
    margin: 0 4px;
}

.testimonials-carousel .testi-card.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    box-shadow: var(--shadow-m);
    border-color: var(--blue-light);
}

/* Style "featured" pour les avis en carrousel */
.testi-card.featured {
    padding: 36px 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: #fff;
    transition: all 0.4s var(--ease);
}

.testi-card.featured.active {
    border-color: var(--blue-light);
    box-shadow: 0 12px 40px rgba(30,115,190,0.12);
}

.testi-card-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testi-card .testi-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.testi-card .testi-stars .star-filled {
    color: #F5A623;
    fill: #F5A623;
}

.testi-card .testi-stars .star-empty {
    color: #d0d5dd;
}

.testi-card .testi-stars svg {
    width: 20px;
    height: 20px;
}

.testi-quote-wrapper {
    position: relative;
    padding: 0 8px;
}

.testi-quote-wrapper .quote-icon {
    position: absolute;
    top: -8px;
    left: -4px;
    width: 24px;
    height: 24px;
    color: var(--blue-light);
    opacity: 0.3;
}

.testi-quote-wrapper .quote {
    font-size: 17px;
    line-height: 1.7;
    padding-left: 28px;
    margin: 0;
    font-style: italic;
}

.testi-person.featured {
    justify-content: center;
    margin-top: 4px;
}

.testi-person.featured .testi-avatar {
    width: 52px;
    height: 52px;
    font-size: 18px;
}

.testi-person.featured strong {
    font-size: 16px;
}

/* Boutons du carrousel */
.carousel-btn {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    box-shadow: var(--shadow-s);
}

.carousel-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: scale(1.05);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* Indicateurs */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--line);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    padding: 0;
}

.carousel-dot.active {
    background: var(--blue);
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(30,115,190,0.15);
}

.carousel-dot:hover {
    background: var(--blue-light);
}

/* --- Grille des réalisations récentes --- */
.recent-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.recent-project-card {
    background: #fff;
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: var(--shadow-s);
    border: 1px solid var(--line);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    cursor: pointer;
}

.recent-project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
}

.recent-project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--navy);
}

.recent-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.recent-project-card:hover .recent-project-image img {
    transform: scale(1.05);
}

.recent-project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(12,35,75,0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.recent-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12,35,75,0.5), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.recent-project-card:hover .recent-project-overlay {
    opacity: 1;
}

.recent-project-stats {
    display: flex;
    gap: 16px;
    color: #fff;
    font-size: 13px;
}

.recent-project-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.recent-project-stats svg {
    width: 16px;
    height: 16px;
}

.recent-project-info {
    padding: 18px 20px 20px;
}

.recent-project-info h3 {
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--navy);
}

.recent-project-location {
    font-size: 14px;
    color: #5b6472;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.recent-project-location svg {
    width: 14px;
    height: 14px;
}

.recent-project-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s var(--ease);
}

.recent-project-link:hover {
    gap: 12px;
}

.recent-project-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
}

.recent-project-link:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        gap: 8px;
        margin: 0;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }

    .testi-card.featured {
        padding: 24px 18px;
    }

    .testi-quote-wrapper .quote {
        font-size: 15px;
        padding-left: 20px;
    }

    .testi-quote-wrapper .quote-icon {
        width: 18px;
        height: 18px;
        top: -4px;
        left: -2px;
    }

    .testi-person.featured .testi-avatar {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .recent-projects-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        display: none;
    }

    .testi-card.featured {
        padding: 20px 14px;
    }
}

/* =========================================================
   STYLES POUR LA PAGE D'ACCUEIL - CARROUSEL AVIS
   ========================================================= */

/* --- Carrousel d'avis --- */
.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.testimonials-carousel {
    flex: 1;
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

/* Les cartes sont en position absolue pour le carrousel */
.testimonials-carousel .testi-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
    margin: 0;
    padding: 32px 28px;
    border-radius: var(--radius-m);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-s);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Carte active */
.testimonials-carousel .testi-card.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    box-shadow: var(--shadow-m);
    border-color: var(--blue-light);
    position: relative;
}

/* Les autres cartes sont cachées mais restent dans le flux */
.testimonials-carousel .testi-card:not(.active) {
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.testi-card-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Style "featured" pour les avis en carrousel */
.testi-card.featured {
    padding: 32px 28px;
}

.testi-card .testi-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.testi-card .testi-stars .star-filled {
    color: #F5A623;
    fill: #F5A623;
}

.testi-card .testi-stars .star-empty {
    color: #d0d5dd;
}

.testi-card .testi-stars svg {
    width: 20px;
    height: 20px;
}

.testi-quote-wrapper {
    position: relative;
    padding: 0 8px;
}

.testi-quote-wrapper .quote-icon {
    position: absolute;
    top: -8px;
    left: -4px;
    width: 24px;
    height: 24px;
    color: var(--blue-light);
    opacity: 0.3;
}

.testi-quote-wrapper .quote {
    font-size: 17px;
    line-height: 1.7;
    padding-left: 28px;
    margin: 0;
    font-style: italic;
    color: var(--ink);
}

.testi-person.featured {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-top: 4px;
}

.testi-person.featured .testi-avatar {
    width: 52px;
    height: 52px;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    flex: none;
}

.testi-person.featured strong {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--navy);
}

.testi-person.featured span {
    font-size: 13.5px;
    color: #5b6472;
}

/* Boutons du carrousel */
.carousel-btn {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    box-shadow: var(--shadow-s);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: scale(1.05);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* Indicateurs */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--line);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    padding: 0;
}

.carousel-dot.active {
    background: var(--blue);
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(30,115,190,0.15);
}

.carousel-dot:hover {
    background: var(--blue-light);
}

/* --- Grille des réalisations récentes --- */
.recent-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.recent-project-card {
    background: #fff;
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: var(--shadow-s);
    border: 1px solid var(--line);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    cursor: pointer;
}

.recent-project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
}

.recent-project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--navy);
}

.recent-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.recent-project-card:hover .recent-project-image img {
    transform: scale(1.05);
}

.recent-project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(12,35,75,0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.recent-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12,35,75,0.5), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.recent-project-card:hover .recent-project-overlay {
    opacity: 1;
}

.recent-project-stats {
    display: flex;
    gap: 16px;
    color: #fff;
    font-size: 13px;
}

.recent-project-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.recent-project-stats svg {
    width: 16px;
    height: 16px;
}

.recent-project-info {
    padding: 18px 20px 20px;
}

.recent-project-info h3 {
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--navy);
}

.recent-project-location {
    font-size: 14px;
    color: #5b6472;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.recent-project-location svg {
    width: 14px;
    height: 14px;
}

.recent-project-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s var(--ease);
}

.recent-project-link:hover {
    gap: 12px;
}

.recent-project-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
}

.recent-project-link:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        gap: 8px;
        padding: 0 4px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }

    .testimonials-carousel {
        min-height: 300px;
    }

    .testi-card.featured {
        padding: 24px 16px;
    }

    .testi-quote-wrapper .quote {
        font-size: 15px;
        padding-left: 20px;
    }

    .testi-quote-wrapper .quote-icon {
        width: 18px;
        height: 18px;
        top: -4px;
        left: -2px;
    }

    .testi-person.featured .testi-avatar {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .testi-person.featured strong {
        font-size: 14px;
    }

    .recent-projects-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        display: none;
    }

    .testimonials-carousel {
        min-height: 320px;
    }

    .testi-card.featured {
        padding: 20px 14px;
    }

    .testi-quote-wrapper .quote {
        font-size: 14px;
        padding-left: 16px;
    }
}

