/* =========================================================
   Plombier Strasbourg — Full CSS (one file)
   White/Blue theme + hover + scroll reveal + water blobs +
   side scroll-driven droplets + works gallery + lightbox
   ========================================================= */

:root{
  --bg: #f7fbff;
  --bg2: #eef6ff;
  --card: rgba(255,255,255,.75);
  --text: #0b1a2a;
  --muted: rgba(11, 26, 42, .72);

  --blue: #1e7cff;
  --blue2:#0a56d6;
  --ring: rgba(30, 124, 255, .25);

  --shadow: 0 20px 60px rgba(8, 40, 80, .12);
  --shadow2: 0 40px 120px rgba(0,0,0,.35);

  --radius: 18px;
  --radius2: 26px;

  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: radial-gradient(1200px 800px at 10% 0%, #eaf4ff 0%, var(--bg) 45%, #ffffff 100%);
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

.container{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}

/* =========================
   Water background blobs
========================= */
.water-bg{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
}
.blob{
  position:absolute;
  width:520px;
  height:520px;
  filter: blur(18px);
  opacity:.22;
  border-radius: 45% 55% 60% 40% / 45% 40% 60% 55%;
  background: radial-gradient(circle at 30% 30%, #4fb0ff 0%, #1e7cff 35%, #0a56d6 70%, transparent 72%);
  animation: floaty 10s ease-in-out infinite;
}
.blob.b1{ top:-180px; left:-120px; }
.blob.b2{ top:260px; right:-180px; animation-duration: 12s; opacity:.18; }
.blob.b3{ bottom:-220px; left:20%; animation-duration: 14s; opacity:.14; }

@keyframes floaty{
  0%,100%{ transform: translate3d(0,0,0) rotate(0deg); }
  50%{ transform: translate3d(20px, -14px, 0) rotate(8deg); }
}

/* =========================
   Header / Nav
========================= */
.header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(12px);
  background: rgba(247, 251, 255, .55);
  border-bottom: 1px solid rgba(30,124,255,.12);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.logo{
  font-weight: 900;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(30,124,255,.14);
  box-shadow: 0 14px 40px rgba(8, 40, 80, .06);
}

.nav{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.nav a{
  font-weight:800;
  font-size:14px;
  color: rgba(11,26,42,.8);
  padding:8px 10px;
  border-radius: 12px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  border: 1px solid transparent;
}
.nav a:hover{
  background: rgba(30,124,255,.08);
  transform: translateY(-1px);
}
.nav a.is-active{
  background: rgba(30,124,255,.10);
  border-color: rgba(30,124,255,.16);
}

.burger{
  display:none;
  width:44px;height:44px;
  border-radius: 12px;
  border:1px solid rgba(30,124,255,.14);
  background: rgba(255,255,255,.5);
  cursor:pointer;
}
.burger span{
  display:block;
  width:18px;height:2px;
  background: rgba(11,26,42,.75);
  margin:5px auto;
  border-radius: 99px;
}

.mobile-nav{
  display:none;
  padding: 10px 0 18px;
  border-top: 1px solid rgba(30,124,255,.12);
}
.mobile-nav a{
  display:block;
  padding: 12px 0;
  color: rgba(11,26,42,.82);
  font-weight:900;
}
.mobile-nav a.is-active{ opacity:.95; }
.mobile-nav.is-open{ display:block; }

/* =========================
   Buttons
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight:900;
  font-size:14px;
  border:1px solid transparent;
  position:relative;
  overflow:hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  will-change: transform;
}
.btn--sm{ padding:10px 12px; border-radius: 12px; }
.btn--wide, .btn--full{ width:100%; }

.btn--primary{
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color:white;
  box-shadow: 0 14px 38px rgba(30,124,255,.25);
}
.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(30,124,255,.32);
}
.btn--primary:active{ transform: translateY(0); }

.btn--ghost{
  background: rgba(255,255,255,.6);
  border-color: rgba(30,124,255,.18);
  color: rgba(11,26,42,.9);
}
.btn--ghost:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(8, 40, 80, .10);
  border-color: rgba(30,124,255,.28);
}

/* droplet inside primary button */
.btn__drop{
  position:absolute;
  right:-18px;
  top:50%;
  width:38px;height:38px;
  border-radius: 0 999px 999px 999px;
  transform: translateY(-50%) rotate(45deg);
  background: rgba(255,255,255,.18);
  animation: droplet 2.4s ease-in-out infinite;
  pointer-events:none;
}
@keyframes droplet{
  0%,100%{ transform: translateY(-50%) translateX(0) rotate(45deg); opacity:.55; }
  50%{ transform: translateY(-50%) translateX(-12px) rotate(45deg); opacity:.25; }
}

/* shine effect on ghost */
.shine{
  position:absolute;
  inset:-40%;
  transform: translateX(-60%) rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(30,124,255,.18), transparent);
  transition: transform .6s ease;
  pointer-events:none;
}
.btn--ghost:hover .shine{
  transform: translateX(60%) rotate(18deg);
}

/* =========================
   Typography helpers
========================= */
.muted{ color: var(--muted); }
.small{ font-size: 12px; line-height: 1.5; }

/* =========================
   Hero / Page hero
========================= */
.hero{ padding: 56px 0 20px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items:start;
}
.hero__text{ max-width: 62ch; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border:1px solid rgba(30,124,255,.16);
  box-shadow: 0 14px 40px rgba(8, 40, 80, .08);
  font-weight:900;
  color: rgba(11,26,42,.8);
}

.hero h1, .page-hero h1{
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.accent{
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  margin:0;
  color: var(--muted);
  font-size: 16px;
  line-height:1.6;
  max-width: 72ch;
}
.hero__cta{ display:flex; gap:12px; margin-top:18px; flex-wrap:wrap; }

.hero__bullets{
  margin:16px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color: rgba(11,26,42,.78);
  font-weight:900;
  font-size:13px;
}
.hero__bullets li{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(30,124,255,.12);
}

/* Contact rapide card (hero__card) */
.hero__card{
  padding: 18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.70);
  border:1px solid rgba(30,124,255,.14);
  box-shadow: var(--shadow);
}
.hero__card h2{ margin: 0 0 6px; }
.card__rows{
  margin-top: 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(30,124,255,.06);
  border: 1px solid rgba(30,124,255,.12);
  font-weight: 900;
}
.row span:first-child{
  color: rgba(11,26,42,.78);
  font-weight: 900;
}

/* Page hero */
.page-hero{ padding: 42px 0 10px; }
.page-hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items:start;
}

/* Info card (about/contact) */
.info-card{
  padding: 18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.70);
  border:1px solid rgba(30,124,255,.14);
  box-shadow: 0 16px 55px rgba(8, 40, 80, .10);
}
.divider{
  height:1px;
  background: rgba(30,124,255,.14);
  margin: 14px 0;
}

/* =========================
   Sections / Cards / Layout
========================= */
.section{ padding: 64px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(238,246,255,.65), rgba(255,255,255,0));
}

.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom: 18px;
}
.section__head h2, .section__head h1{
  margin:0;
  font-size: 28px;
  letter-spacing:-.01em;
}
.section__head p{
  margin:0;
  color: var(--muted);
  max-width: 78ch;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.cards--2{ grid-template-columns: repeat(2, 1fr); }
.cards--3{ grid-template-columns: repeat(3, 1fr); }

.card{
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border:1px solid rgba(30,124,255,.14);
  box-shadow: 0 14px 42px rgba(8, 40, 80, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position:relative;
  overflow:hidden;
}
.card::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(30,124,255,.18), transparent 55%);
  transform: translateY(20px);
  opacity:0;
  transition: opacity .25s ease, transform .25s ease;
}
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(30,124,255,.26);
  box-shadow: 0 24px 70px rgba(8, 40, 80, .14);
}
.card:hover::after{ opacity:1; transform: translateY(0); }

.card h3{ margin: 0 0 8px; }
.card p{ margin:0; color: var(--muted); line-height:1.6; }
.card p + p{ margin-top: 10px; }
.card--featured{
  border-color: rgba(30,124,255,.24);
  background: rgba(255,255,255,.78);
}

.btnRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 12px;
}

/* =========================
   Zone (cities + map)
========================= */
.zone{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  align-items: start;
}

.cities{ display:flex; flex-wrap:wrap; gap:8px; }
.city{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(30,124,255,.08);
  border:1px solid rgba(30,124,255,.18);
  font-weight:900;
  font-size: 12px;
}

.map{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(30,124,255,.14);
  box-shadow: 0 16px 55px rgba(8, 40, 80, .10);
  background: rgba(255,255,255,.55);
}
.map iframe{
  width:100%;
  height: 380px;
  border:0;
  display:block;
}

/* Contact section card */
.contact__card{
  padding: 18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.70);
  border:1px solid rgba(30,124,255,.14);
  box-shadow: 0 16px 55px rgba(8, 40, 80, .10);
}

/* =========================
   Works gallery thumbs
========================= */
.gallery{
  display:grid;
  gap: 14px;
  margin-top: 18px;
}
.gallery.thumbs{
  grid-template-columns: repeat(4, 1fr);
}
.media.thumb{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(30,124,255,.14);
  background: rgba(255,255,255,.55);
  box-shadow: 0 16px 55px rgba(8, 40, 80, .10);
  position:relative;
  min-height: 210px;
  transition: transform .22s ease;
  cursor:pointer;
}
.media.thumb:hover{ transform: translateY(-6px); }
.media.thumb img{ width:100%; height:100%; object-fit:cover; }

.thumb--video .videoBadge{
  position:absolute;
  inset:auto 12px 12px 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 900;
  background: rgba(255,255,255,.75);
  border:1px solid rgba(30,124,255,.14);
  backdrop-filter: blur(10px);
}

/* =========================
   Lightbox
========================= */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 50;

  align-items:center;
  justify-content:center;
}
.lightbox.is-open{ display:flex; }

.lightbox__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.lightbox__content{
  position:relative;
  display:inline-block;
  max-width:95vw;
  max-height:95vh;
  margin:2vh auto;
  background:white;
  border-radius:20px;
  overflow:hidden;
}

.lightbox__media{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.lightbox__media img{
  display:block;
  width:auto;
  height:auto;
  max-width:95vw;
  max-height:85vh;
  object-fit:contain;
}

.lightbox__caption{
  padding: 10px 14px 14px;
}

.lightbox__close{
  position:absolute;
  top:10px; right:10px;
  width:40px; height:40px;
  border-radius: 14px;
  border:1px solid rgba(30,124,255,.16);
  background: rgba(255,255,255,.85);
  font-weight:900;
  cursor:pointer;
}

.lightbox__nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:46px; height:46px;
  border-radius: 16px;
  border:1px solid rgba(30,124,255,.16);
  background: rgba(255,255,255,.85);
  font-size: 22px;
  font-weight: 900;
  cursor:pointer;
}
.lightbox__nav--prev{ left: 10px; }
.lightbox__nav--next{ right: 10px; }

/* =========================
   Footer
========================= */
.footer{
  padding: 26px 0 40px;
  color: rgba(11,26,42,.72);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-top: 1px solid rgba(30,124,255,.12);
  padding-top: 18px;
}
.footer__links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.footer__links a{
  padding: 8px 10px;
  border-radius: 12px;
  border:1px solid rgba(30,124,255,.12);
  background: rgba(255,255,255,.55);
  font-weight:900;
  transition: transform .18s ease, background .18s ease;
}
.footer__links a:hover{
  background: rgba(30,124,255,.08);
  transform: translateY(-1px);
}

/* =========================
   Scroll reveal animation
========================= */
.reveal{
  opacity: 0;
  transform: translateY(16px) scale(.99);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
}

/* =========================
   Side droplets (scroll-driven)
========================= */
.side-drops{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1; /* behind content */
}

.drops{
  position:absolute;
  top:0;
  bottom:0;
  width: 110px;
  opacity: .75;
  filter: drop-shadow(0 14px 26px rgba(30,124,255,.18));
}
.drops.left{ left: 10px; }
.drops.right{ right: 10px; transform: scaleX(-1); }

.drop{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  width: var(--w, 14px);
  height: calc(var(--w, 14px) * 1.35);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.95), rgba(79,176,255,.55) 35%, rgba(30,124,255,.32) 65%, rgba(10,86,214,.12) 100%);
  border: 1px solid rgba(30,124,255,.18);
  will-change: transform, top;
  opacity: var(--o, .7);
}
.drop::after{
  content:"";
  position:absolute;
  top: -34%;
  left: 50%;
  width: 72%;
  height: 72%;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 18px 18px 18px 0;
  background: inherit;
  border-left: 1px solid rgba(30,124,255,.14);
  border-top: 1px solid rgba(30,124,255,.14);
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .page-hero__grid{ grid-template-columns: 1fr; }

  .cards{ grid-template-columns: 1fr; }
  .cards--2, .cards--3{ grid-template-columns: 1fr; }

  .zone{ grid-template-columns: 1fr; }

  .gallery.thumbs{ grid-template-columns: 1fr 1fr; }

  .nav{ display:none; }
  .burger{ display:block; }
  .mobile-nav{ display:none; }
  .mobile-nav.is-open{ display:block; }

  .drops{ width: 70px; opacity: .55; }
  .drops.left{ left: 6px; }
  .drops.right{ right: 6px; }

  .footer__inner{ flex-direction: column; align-items:flex-start; }
}
