/* ============================================
   BoomClean BXL — design system
   Palette : brume -> ciel clair (métaphore du nettoyage)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@600;700;800&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink:#0A2F45;
  --fog:#9BB4C2;
  --fog-light:#E1EBF0;
  --sky:#25B0E7;
  --sky-deep:#0295CF;
  --white:#FAFCFE;
  --sun:#0BD424;
  --sun-deep:#0AAE1F;
  --star:#F5B700;
  --tint:#E7F5FC;

  --display: 'Archivo Expanded', sans-serif;
  --body: 'Public Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --radius: 2px;
  --maxw: 1180px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--body);
  color:var(--ink);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
a{color:inherit;}

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

h1,h2,h3{
  font-family:var(--display);
  font-weight:800;
  line-height:1.05;
  letter-spacing:-0.01em;
}
h1{font-size:clamp(2.4rem, 5vw, 4.2rem);}
h2{font-size:clamp(1.7rem, 3vw, 2.6rem);}
h3{font-size:1.15rem; font-weight:700;}

.eyebrow{
  font-family:var(--mono);
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--sky-deep);
}

p{max-width:60ch;}
.lead{font-size:1.15rem; color:#3C4A63;}

/* Focus visibility */
a:focus-visible, button:focus-visible{
  outline:3px solid var(--sun);
  outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
}

/* ---------- Header ---------- */
header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(250,252,254,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--fog-light);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
}
.logo{
  font-family:var(--display);
  font-weight:800;
  font-size:1.25rem;
  color:var(--ink);
  text-decoration:none;
  display:flex; align-items:center; gap:10px;
}
.logo-badge{width:40px; height:40px; border-radius:50%;}
.logo .dot{color:var(--sky);}
.nav-links{
  display:flex; gap:28px; list-style:none;
  font-weight:600; font-size:0.95rem;
}
.nav-links li{margin-right:28px;}
.nav-links li:last-child{margin-right:0;}
.nav-links a{text-decoration:none; color:var(--ink); position:relative; padding:4px 0;}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--sky); transition:width .25s ease;
}
.nav-links a:hover::after{width:100%;}
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--sky); color:var(--ink);
  padding:11px 20px; border-radius:999px;
  text-decoration:none; font-weight:700; font-size:0.92rem;
  transition:background .2s ease;
}
.nav-cta:hover{background:var(--sky-deep);}
.nav-actions{display:flex; align-items:center; gap:10px;}
.nav-call{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  background:var(--tint); font-size:1.15rem; text-decoration:none;
  transition:background .2s ease;
}
.nav-call:hover{background:var(--sky); }
.nav-toggle{
  display:none; background:none; border:none; cursor:pointer;
  width:44px; height:44px; align-items:center; justify-content:center;
  font-size:1.5rem; border-radius:4px; color:var(--ink);
}
.nav-toggle:hover{background:var(--fog-light);}
.mobile-cta{display:none;}

/* Floating call bubble — appears on scroll, all screen sizes */
.call-bubble{
  position:fixed; right:22px; bottom:22px; z-index:60;
  width:58px; height:58px; border-radius:50%;
  background:var(--sun); color:var(--ink);
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; text-decoration:none;
  box-shadow:0 10px 26px rgba(10,47,69,0.28);
  opacity:0; transform:scale(0.6) translateY(12px);
  pointer-events:none;
  transition:opacity .3s ease, transform .3s ease, background .2s ease;
}
.call-bubble.visible{opacity:1; transform:scale(1) translateY(0); pointer-events:auto;}
.call-bubble:hover{background:var(--sun-deep);}
@media (prefers-reduced-motion: reduce){
  .call-bubble{transition:opacity .01ms;}
}

@media (max-width:840px){
  .nav-links{display:none;}
  .nav-toggle{display:flex;}
}
@media (max-width:560px){
  .nav-cta{display:none;}
  .nav-call{display:none;}
  .logo{font-size:1.05rem; gap:8px;}
  .logo-badge{width:34px; height:34px;}
  .mobile-cta{display:list-item; margin-top:10px;}
  .mobile-cta a{
    display:block; text-align:center; background:var(--sky); color:var(--ink);
    padding:13px 20px; border-radius:999px; font-weight:700; text-decoration:none;
  }
  .call-bubble{width:52px; height:52px; right:16px; bottom:16px; font-size:1.3rem;}
}

/* ---------- Hero : révélateur brume -> clair ---------- */
.hero{
  position:relative;
  padding:64px 0 40px;
  background:var(--tint);
}
.hero-grid{
  display:grid; grid-template-columns:1.1fr 1fr; gap:56px; align-items:center;
}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;}
}
.hero .eyebrow{margin-bottom:14px; display:block;}
.hero h1{margin-bottom:20px;}
.hero h1 .clear{color:var(--sky-deep);}
.hero .lead{margin-bottom:30px;}

.hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}
@media (max-width:480px){
  .hero-ctas{flex-direction:column;}
  .hero-ctas .btn{width:100%; justify-content:center;}
}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 26px; border-radius:999px;
  font-weight:700; text-decoration:none; font-size:0.98rem;
  border:2px solid transparent; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--sky); color:var(--ink);}
.btn-primary:hover{box-shadow:0 8px 20px rgba(37,176,231,0.4);}
.btn-ghost{border-color:var(--ink); color:var(--ink); background:transparent;}
.btn-ghost:hover{background:var(--ink); color:var(--white);}

/* The reveal panel */
.reveal{
  position:relative;
  min-height:420px;
  aspect-ratio:4/5;
  border-radius:var(--radius);
  overflow:hidden;
  cursor:ew-resize;
  box-shadow:0 30px 60px -20px rgba(20,33,61,0.35);
  border:1px solid var(--fog-light);
}
.reveal .layer{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.reveal .fogged{
  background-image:url('/img/hero-avant.webp');
}
.reveal .clear{
  background-image:url('/img/hero-apres.webp');
  clip-path:inset(0 50% 0 0);
}
.reveal .clear .panecontent, .reveal .fogged .panecontent{
  position:absolute; inset:0; display:flex; align-items:flex-end; padding:16px;
  font-family:var(--mono); font-size:0.72rem; letter-spacing:.06em; text-transform:uppercase;
}
.reveal .fogged .panecontent{
  color:#fff; text-shadow:0 1px 6px rgba(0,0,0,0.6);
}
.reveal .clear .panecontent{
  color:#fff; font-weight:600; text-shadow:0 1px 6px rgba(0,0,0,0.5);
}
.reveal .handle{
  position:absolute; top:0; bottom:0; left:50%;
  width:3px; background:var(--white);
  box-shadow:0 0 0 1px rgba(20,33,61,0.15);
  transform:translateX(-50%);
}
.reveal .handle::after{
  content:'⇔';
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:44px; height:44px; border-radius:50%;
  background:var(--white); color:var(--ink);
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; box-shadow:0 4px 14px rgba(20,33,61,0.25);
}
.reveal-hint{
  font-family:var(--mono); font-size:0.75rem; color:var(--fog);
  text-align:center; margin-top:12px; letter-spacing:.05em;
}

/* ---------- Bulles photo flottantes (clin d'œil aux bulles du logo) ---------- */
.hero-photo-col{position:relative;}
.hero-bubbles{position:absolute; inset:0; pointer-events:none; z-index:3;}
.bubble{
  position:absolute; border-radius:50%; object-fit:cover;
  border:4px solid var(--white);
  box-shadow:0 10px 24px -6px rgba(10,47,69,0.35);
  animation:bob 6s ease-in-out infinite;
}
.bubble-1{width:92px; height:92px; top:-32px; left:-30px; animation-delay:0s;}
.bubble-2{width:68px; height:68px; top:18%; right:-34px; animation-delay:1.6s;}
.bubble-3{width:78px; height:78px; bottom:-22px; left:12%; animation-delay:3.2s;}
@keyframes bob{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
}
@media (max-width:900px){
  .bubble-1{width:70px; height:70px; top:-20px; left:-14px;}
  .bubble-2{width:54px; height:54px; top:12%; right:-14px;}
  .bubble-3{width:60px; height:60px; bottom:-14px; left:8%;}
}
@media (max-width:480px){
  .hero-bubbles{display:none;}
}
@media (prefers-reduced-motion: reduce){
  .bubble{animation:none;}
}

/* ---------- Pane divider (motif carreaux) ---------- */
.pane-divider{
  height:1px; background:var(--fog-light);
  position:relative;
}
.pane-divider::before{
  content:''; position:absolute; left:50%; top:-5px;
  width:1px; height:11px; background:var(--fog-light);
}

/* ---------- Trust bar ---------- */
.trustbar{
  padding:28px 0; border-top:1px solid var(--fog-light); border-bottom:1px solid var(--fog-light);
  background:var(--white);
}
.trust-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center;
}
@media (max-width:760px){ .trust-grid{grid-template-columns:repeat(2,1fr);} }
.trust-item .num{font-family:var(--display); font-weight:800; font-size:1.9rem; color:var(--sky-deep);}
.trust-item .label{font-size:0.85rem; color:#5B6B82; font-weight:600;}

/* ---------- Services grid ---------- */
.section{padding:88px 0;}
.bg-tint{background:var(--tint);}
@media (max-width:640px){ .section{padding:52px 0;} }
.section-head{max-width:640px; margin-bottom:52px;}
.section-head .eyebrow{margin-bottom:12px; display:block;}

.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--fog-light);
  border:1px solid var(--fog-light);
}
@media (max-width:900px){ .services-grid{grid-template-columns:1fr;} }
.service-card{
  background:var(--white); padding:36px 30px;
  transition:background .2s ease;
}
.service-card:hover{background:#F2FAFD;}
.service-card .idx{
  font-family:var(--mono); color:var(--sky-deep); font-size:0.8rem; margin-bottom:18px; display:block;
}
.service-card h3{margin-bottom:10px;}
.service-card p{font-size:0.95rem; color:#4A5A70; margin-bottom:16px;}
.service-card a{
  font-weight:700; font-size:0.9rem; color:var(--sky-deep); text-decoration:none;
}
.service-card a:hover{text-decoration:underline;}

/* ---------- Zone map / communes ---------- */
.zone-section{background:var(--ink); color:var(--white);}
.zone-section .eyebrow{color:var(--sky);}
.zone-section h2{color:var(--white);}
.zone-section .lead{color:#C6CFE0;}
.zone-list{
  display:grid; grid-template-columns:repeat(4,1fr); gap:10px 24px;
  margin-top:40px;
  font-size:0.92rem;
}
@media (max-width:760px){ .zone-list{grid-template-columns:repeat(2,1fr);} }
.zone-list a{
  text-decoration:none; color:#DCE4EF; padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
  display:block; transition:color .2s ease, padding-left .2s ease;
}
.zone-list a:hover{color:var(--sky); padding-left:6px;}
.zone-cta{margin-top:36px;}

/* ---------- Process steps ---------- */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--fog-light);}
@media (max-width:900px){ .steps{grid-template-columns:1fr 1fr;} }
@media (max-width:620px){ .steps{grid-template-columns:1fr;} }
.step{padding:32px 26px; border-right:1px solid var(--fog-light); border-bottom:1px solid var(--fog-light);}
.step:last-child{border-right:none;}
.step .stepnum{font-family:var(--mono); color:var(--sun-deep); font-size:0.85rem; margin-bottom:14px; display:block;}
.step h3{margin-bottom:8px; font-size:1.05rem;}
.step p{font-size:0.9rem; color:#5B6B82;}

/* ---------- Testimonial ---------- */
.testi{
  background:var(--tint);
  padding:64px 0;
}
.testi-card{
  background:var(--white); padding:44px; border-radius:var(--radius);
  max-width:720px; margin:0 auto; text-align:center;
  box-shadow:0 20px 50px -25px rgba(20,33,61,0.25);
}
@media (max-width:560px){
  .testi-card{padding:28px 22px;}
  .testi-card blockquote{font-size:1.1rem;}
}
.testi-card .stars{color:var(--star); font-size:1.2rem; margin-bottom:18px; letter-spacing:3px;}
.testi-card blockquote{
  font-family:var(--display); font-size:1.3rem; font-weight:700;
  line-height:1.4; margin-bottom:20px;
}
.testi-card cite{font-style:normal; font-size:0.9rem; color:#5B6B82;}

/* Grid variant for multiple reviews */
.testi-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:24px;
  max-width:var(--maxw); margin:0 auto;
}
@media (max-width:800px){ .testi-grid{grid-template-columns:1fr;} }
.testi-grid .testi-card{max-width:none; text-align:left; margin:0;}
.testi-grid .testi-card blockquote{font-size:1.05rem;}
.testi-badge{
  display:inline-block; font-family:var(--mono); font-size:0.72rem;
  color:var(--sky-deep); background:#E8F6FC; padding:3px 9px; border-radius:20px;
  margin-left:8px; letter-spacing:.03em;
}

/* ---------- Bandeau d'avis défilant ---------- */
.reviews-summary{
  text-align:center; margin-bottom:28px; font-size:1.05rem; color:#4A5A70;
}
.reviews-summary strong{color:var(--sky-deep);}
.reviews-carousel-wrap{position:relative; max-width:var(--maxw); margin:0 auto;}
.reviews-carousel{
  display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding:6px 4px 16px; scrollbar-width:thin;
}
.reviews-carousel::-webkit-scrollbar{height:6px;}
.reviews-carousel::-webkit-scrollbar-thumb{background:var(--fog-light); border-radius:10px;}
.review-card{
  scroll-snap-align:start; flex:0 0 300px;
  background:var(--white); border:1px solid var(--fog-light); border-radius:8px;
  padding:24px; box-shadow:0 6px 18px -10px rgba(10,47,69,0.18);
}
.review-avatar-row{display:flex; align-items:center; gap:12px; margin-bottom:14px;}
.review-avatar{
  width:42px; height:42px; border-radius:50%; background:var(--sky-deep); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:1.05rem; flex-shrink:0;
}
.review-name{font-weight:700; font-size:0.95rem; color:var(--ink);}
.review-date{font-size:0.78rem; color:var(--fog);}
.review-card .stars{color:var(--star); margin-bottom:10px; font-size:0.95rem; letter-spacing:2px;}
.review-text{font-size:0.9rem; color:#4A5A70; line-height:1.55;}
.carousel-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:38px; height:38px; border-radius:50%; background:var(--white);
  border:1px solid var(--fog-light); display:flex; align-items:center; justify-content:center;
  cursor:pointer; box-shadow:0 4px 12px rgba(10,47,69,0.18); z-index:2;
  font-size:1.3rem; color:var(--ink); line-height:1;
}
.carousel-nav.prev{left:-16px;}
.carousel-nav.next{right:-16px;}
.carousel-nav:hover{background:var(--sky); color:var(--white);}
@media (max-width:760px){
  .carousel-nav{display:none;}
  .review-card{flex:0 0 82vw;}
}

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--sky-deep), var(--sky));
  color:var(--white); padding:72px 0; text-align:center;
}
@media (max-width:640px){ .cta-band{padding:48px 0;} }
.cta-band h2{color:var(--white); margin-bottom:16px;}
.cta-band p{color:#EAF8FE; margin:0 auto 30px; max-width:50ch;}
.cta-band .btn-primary{background:var(--white); color:var(--ink);}
.cta-band .btn-primary:hover{box-shadow:0 8px 20px rgba(0,0,0,0.2);}

/* ---------- Footer ---------- */
footer.site{background:var(--ink); color:#B8C2D4; padding:56px 0 28px; font-size:0.9rem;}
.footer-grid{
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px;
}
@media (max-width:760px){ .footer-grid{grid-template-columns:1fr 1fr;} }
.footer-grid h4{color:var(--white); font-family:var(--display); font-size:0.9rem; margin-bottom:16px; letter-spacing:.04em; text-transform:uppercase;}
.footer-grid ul{list-style:none;}
.footer-grid li{margin-bottom:9px;}
.footer-grid a{color:#B8C2D4; text-decoration:none;}
.footer-grid a:hover{color:var(--sky);}
.footer-logo{font-family:var(--display); font-weight:800; color:var(--white); font-size:1.2rem; margin-bottom:14px; display:block;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12); padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:0.8rem; color:#8A97AC;
}

/* ---------- Forms ---------- */
.form-grid{display:grid; grid-template-columns:1.2fr 1fr; gap:56px;}
@media (max-width:800px){ .form-grid{grid-template-columns:1fr;} }
input:focus, textarea:focus{
  outline:none; border-color:var(--sky-deep) !important;
  box-shadow:0 0 0 3px rgba(2,149,207,0.15);
}

.gallery{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px;
}
@media (max-width:800px){ .gallery{grid-template-columns:1fr;} }
.gallery figure{margin:0; border-radius:2px; overflow:hidden; border:1px solid var(--fog-light);}
.gallery img{width:100%; height:260px; object-fit:cover; display:block;}
.gallery figcaption{
  padding:12px 14px; font-size:0.85rem; color:#4A5A70; font-weight:600;
  background:var(--white);
}

/* ---------- FAQ (accordéon natif) ---------- */
.faq{max-width:760px; margin:0 auto;}
.faq-item{
  border-bottom:1px solid var(--fog-light);
}
.faq-item summary{
  padding:20px 4px; cursor:pointer; font-weight:700; font-size:1.02rem;
  color:var(--ink); list-style:none; display:flex; align-items:center;
  justify-content:space-between; gap:16px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:'+'; font-size:1.4rem; font-weight:400; color:var(--sky-deep);
  flex-shrink:0; transition:transform .2s ease;
}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item p{
  padding:0 4px 20px; color:#4A5A70; font-size:0.96rem; max-width:65ch;
}

/* ---------- Utility: skip link ---------- */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--ink); color:var(--white);
  padding:12px 18px; z-index:100;
}
.skip-link:focus{left:12px; top:12px;}
