/* ============================================================
   EURONET Propreté — THÈME OFFICIEL (handoff Claude Design 17/07/2026)
   Palette : marine #0e2240 · bleu logo #1d5fb5 · eau #dff2fd→#8fccf1
   Vert CTA #2fb85a→#1e8f42 · Typo Manrope (Russo One + Pinyon = logo seul)
   ============================================================ */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Manrope', sans-serif; color: #12294a; background: #eaf5fc; -webkit-font-smoothing: antialiased; }
a { color: #1d5fb5; text-decoration: none; }
a:hover { color: #14498f; }
input, textarea, button { font-family: 'Manrope', sans-serif; }
input:focus, textarea:focus { outline: 2px solid #1d5fb5; outline-offset: 1px; }
img { max-width: 100%; -webkit-user-drag: none; user-select: none; }

/* ---- CTA vertes : effet « allumage » au survol ---- */
.cta-verte {
  display: inline-block; background: linear-gradient(160deg, #2fb85a, #1e8f42);
  color: #fff !important; font-weight: 800; border: none; cursor: pointer;
  border-radius: 999px; box-shadow: 0 4px 14px rgba(30,143,66,.4);
  transition: all .35s ease; white-space: nowrap;
}
.cta-verte:hover {
  background: linear-gradient(160deg, #4fdd7e, #27b354);
  box-shadow: 0 0 0 7px rgba(79,221,126,.25), 0 0 30px rgba(79,221,126,.8), 0 8px 22px rgba(30,143,66,.55);
  transform: translateY(-2px);
}
.cta-sm { font-size: 15px; padding: 12px 22px; }
.cta-lg { font-size: 17px; padding: 16px 30px; box-shadow: 0 8px 24px rgba(30,143,66,.45); }

/* ---- Header sticky ---- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(29,95,181,.12); }
.topbar-in { max-width: 1200px; margin: 0 auto; padding: 8px 24px 8px 76px; display: flex; align-items: center; gap: 28px; }
/* Monogramme hommage « SR » (Sisse Raphaël) — collé tout à gauche de l'écran, décoratif */
.sr-hommage { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: baseline; color: #1d5fb5; line-height: 1; font-family: 'Great Vibes', 'Edwardian Script ITC', cursive; pointer-events: none; z-index: 1; opacity: .9; }
.sr-hommage .s { font-size: 46px; }
.sr-hommage .r { font-size: 29px; margin-left: -2px; position: relative; top: 10px; }
.logo { display: flex; align-items: flex-start; flex-shrink: 0; }
.logo-euro, .logo-text { height: 72px; width: auto; display: block; }
/* Le € tourne sur lui-même au survol du logo (comme le thème d'origine) */
.logo-euro { transform-origin: 49.6% 26.3%; transition: transform .7s cubic-bezier(.34, 1.4, .5, 1); }
.logo:hover .logo-euro { transform: rotate(360deg); }
.topnav { display: flex; gap: 24px; margin-left: auto; font-weight: 600; font-size: 15px; }
.topnav a { color: #12294a; }
.topnav a:hover { color: #1d5fb5; }
.tel-blk { display: flex; align-items: center; gap: 10px; }
.tel-ico { width: 40px; height: 40px; border-radius: 50%; background: #eaf5fc; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tel-nums { display: flex; flex-direction: column; line-height: 1.3; font-size: 14px; }
.tel-nums .t1 { font-weight: 800; color: #1d5fb5; }
.tel-nums .t2 { font-weight: 600; color: #45608c; }
@media (max-width: 1020px) { .topnav { display: none; } }
@media (max-width: 760px) {
  .logo-euro, .logo-text { height: 52px; }
  .tel-blk { display: none; }
  .topbar-in { gap: 14px; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: linear-gradient(175deg, #dff2fd 0%, #b5ddf7 45%, #8fccf1 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { max-width: 1200px; margin: 0 auto; padding: 72px 24px 110px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.hero-left { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero-badge { background: rgba(255,255,255,.85); border: 1px solid rgba(29,95,181,.18); color: #1d5fb5; font-weight: 800; font-size: 13px; letter-spacing: 1.2px; padding: 8px 16px; border-radius: 999px; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: 46px; line-height: 1.15; font-weight: 800; color: #0e2240; text-wrap: pretty; }
.hero h1 .hl { color: #1d5fb5; }
.hero-lead { margin: 0; font-size: 18px; line-height: 1.65; color: #3c5375; max-width: 540px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-w { background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 700; color: #12294a; box-shadow: 0 2px 8px rgba(18,60,120,.08); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-white { background: #fff; color: #12294a !important; font-weight: 800; font-size: 17px; padding: 16px 26px; border-radius: 999px; border: 1px solid rgba(29,95,181,.2); }
.reassure { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 600; color: #3c5375; }
/* Carrousel « coverflow 3D » : les photos flottent sur le fond eau (pas de carte blanche) */
.hero-visual-col { display: flex; flex-direction: column; gap: 14px; }
.carousel3d { position: relative; height: 400px; perspective: 1200px; }
.carousel3d .slide { position: absolute; top: 0; bottom: 0; left: 7%; right: 7%;
  border-radius: 20px; overflow: hidden; will-change: transform; opacity: 0; z-index: 1;
  transition: transform var(--c3dur, .9s) cubic-bezier(.25, .9, .3, 1), opacity var(--c3dur, .9s) ease, filter var(--c3dur, .9s) ease; }
.carousel3d .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Mode « photo entière » : image complète (contain) sur fond flouté de la même photo */
.carousel3d .slide img.bgblur { position: absolute; inset: 0; filter: blur(16px) saturate(1.1) brightness(.95); transform: scale(1.18); }
.carousel3d .slide img.fit-contain { position: relative; object-fit: contain; z-index: 1; }
.carousel3d .ph-empty { height: 100%; display: flex; flex-direction: column; gap: 10px; align-items: center;
  justify-content: center; color: #cfe6fb; font-weight: 600; background: linear-gradient(140deg, #2a7de1, #14498f); text-align: center; }
.carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 999px; border: none; cursor: pointer; transition: all .3s; background: rgba(255,255,255,.55); box-shadow: 0 1px 4px rgba(18,60,120,.35); padding: 0; }
.carousel-dots button.on { width: 26px; background: #fff; }
/* Badge « Agence Euronet » — verre dépoli + reflet « vitre propre » qui balaie en boucle */
@keyframes badgeShine { 0%, 60% { left: -80px; } 100% { left: 110%; } }
.badge-agence { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 14px; background: linear-gradient(120deg, rgba(255,255,255,.75), rgba(255,255,255,.4));
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.8); border-radius: 999px; align-self: center;
  box-shadow: 0 12px 30px rgba(18,60,120,.18), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .35s ease, box-shadow .35s ease; }
.badge-agence:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(18,60,120,.25), inset 0 1px 0 rgba(255,255,255,.9); }
.badge-shine { position: absolute; top: 0; bottom: 0; width: 60px; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.9), transparent);
  animation: badgeShine 4s ease-in-out infinite; }
.badge-eur-ring { width: 48px; height: 48px; border-radius: 50%; padding: 2px; background: linear-gradient(140deg, #2a7de1, #14498f); flex-shrink: 0; }
.badge-eur-ring > div { width: 100%; height: 100%; border-radius: 50%; background: #fff; color: #1d5fb5; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.badge-agence .t { font-weight: 800; color: #0e2240; letter-spacing: .2px; }
.badge-agence .s { font-size: 14px; color: #45608c; }
.wave { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding: 48px 20px 90px; gap: 36px; }
  .hero h1 { font-size: 32px; }
}

/* ---- Sections communes ---- */
.sec-white { background: #fff; padding: 84px 24px 92px; }
.sec-eau { background: linear-gradient(175deg, #dbeffb, #c4e4f8); padding: 84px 24px; }
.sec-in { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.sec-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sec-badge { background: #eaf5fc; color: #1d5fb5; font-weight: 800; font-size: 16px; letter-spacing: 1.8px; padding: 11px 24px; border-radius: 999px; text-transform: uppercase; }
.sec-eau .sec-badge { background: rgba(255,255,255,.85); }
.sec-head h2 { margin: 0; font-size: 36px; font-weight: 800; color: #0e2240; text-wrap: pretty; }
.sec-head p { margin: 0; font-size: 17px; color: #5a6f8f; max-width: 560px; }
@media (max-width: 760px) { .sec-head h2 { font-size: 27px; } .sec-white, .sec-eau { padding: 56px 20px; } }

/* ---- Prestations ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { position: relative; background: #fff; border: 1px solid rgba(29,95,181,.13); border-radius: 22px; padding: 32px 30px 30px; display: flex; flex-direction: column; gap: 15px; box-shadow: 0 10px 30px rgba(18,60,120,.07); overflow: hidden; transition: all .3s ease; }
.svc-card:hover { box-shadow: 0 20px 44px rgba(18,60,120,.14); transform: translateY(-4px); border-color: rgba(29,95,181,.3); }
.svc-num { position: absolute; top: 18px; right: 24px; font-family: 'Russo One', sans-serif; font-size: 44px; line-height: 1; color: rgba(29,95,181,.09); }
.svc-ico { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(150deg, #eaf5fc, #c4e4f8); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; }
.svc-card h3 { margin: 0; font-size: 22px; font-weight: 800; color: #0e2240; line-height: 1.25; min-height: 3.75em; display: flex; align-items: flex-end; }
.svc-card > p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #5a6f8f; min-height: 4.8em; }
.svc-sep { height: 1px; background: linear-gradient(90deg, rgba(29,95,181,.22), rgba(29,95,181,0)); }
.svc-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 15px; line-height: 1.45; color: #12294a; }
.svc-card li { display: flex; gap: 10px; }
.svc-card li .drop { flex-shrink: 0; margin-top: 4px; opacity: .9; }
.svc-card .more { font-weight: 800; font-size: 15.5px; color: #1d5fb5; margin-top: auto; padding-top: 18px; }
@media (max-width: 1100px) { .svc-card h3, .svc-card > p { min-height: 0; } }
@media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---- Pourquoi ---- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; box-shadow: 0 8px 24px rgba(18,60,120,.08); }
.why-ico { width: 46px; height: 46px; border-radius: 50%; background: #eaf5fc; color: #1d5fb5; display: flex; align-items: center; justify-content: center; font-size: 21px; }
.why-t { font-weight: 800; font-size: 16px; color: #0e2240; }
.why-d { font-size: 14px; line-height: 1.55; color: #5a6f8f; }
@media (max-width: 920px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ---- Zone ---- */
.zone-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.zone-left { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.zone-left h2 { margin: 0; font-size: 34px; font-weight: 800; color: #0e2240; }
.zone-left p { margin: 0; font-size: 16px; line-height: 1.65; color: #5a6f8f; }
.pill-o { border: 1px solid rgba(29,95,181,.25); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 700; color: #12294a; }
.zone-map { background: linear-gradient(180deg, #f6fbfe, #ffffff); border: 1px solid rgba(29,95,181,.14); border-radius: 20px; padding: 18px; box-shadow: 0 8px 24px rgba(18,60,120,.08); }
.zone-map svg path { transition: fill-opacity .2s, filter .2s; cursor: default; }
.zone-map svg path:hover { fill-opacity: .85; filter: brightness(1.05); }
@media (max-width: 820px) { .zone-grid { grid-template-columns: 1fr; } }

/* ---- Formulaire devis ---- */
.devis-in { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.devis-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(18,60,120,.18); }
.devis-head { background: linear-gradient(120deg, #1d5fb5, #14498f); color: #fff; padding: 20px 30px; }
.devis-head .t { font-weight: 800; font-size: 19px; }
.devis-head .s { font-size: 13px; opacity: .85; }
.devis-body { padding: 30px; display: flex; flex-direction: column; gap: 24px; }
.grp { display: flex; flex-direction: column; gap: 10px; }
.grp-lb { font-weight: 800; font-size: 14px; color: #0e2240; }
.grp-lb .hint { font-weight: 500; color: #8296b3; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid #ccd9ea; background: #fff; color: #12294a; font-weight: 700; font-size: 14.5px; padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.chip.on { border: 2px solid #1d5fb5; background: #eaf5fc; color: #14498f; padding: 10px 17px; }
.grp-err { display: none; margin-top: 8px; color: #e25563; font-size: 13.5px; font-weight: 700; }
.grp-err.show { display: block; }
.req-star { color: #e25563; }
.inp-invalid { border-color: #e25563 !important; box-shadow: 0 0 0 3px rgba(226,85,99,.12); }
.grp-invalid .chips .chip { border-color: #f0b4ba; }
.grp-invalid .grp-lb { color: #e25563; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields label, .field-full { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 13px; color: #0e2240; }
.fields input, .field-full textarea { border: 1px solid #ccd9ea; border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.field-full textarea { resize: vertical; }
.devis-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rgpd { font-size: 12.5px; line-height: 1.5; color: #8296b3; }
.confirm-ok { background: #eef9f0; border: 1px solid #bfe5c8; color: #1e7a37; border-radius: 12px; padding: 14px 18px; font-weight: 700; font-size: 14px; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }

/* ---- Glissière anti-robot « eau » ---- */
.slidecap { position: relative; height: 54px; border-radius: 999px; overflow: hidden; user-select: none; touch-action: pan-y;
  background: linear-gradient(90deg, #dff2fd, #b5ddf7 55%, #8fccf1);
  border: 1px solid rgba(29,95,181,.25); box-shadow: inset 0 2px 8px rgba(18,60,120,.12); }
.slidecap::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background:
    radial-gradient(circle 5px at 12% 30%, rgba(255,255,255,.8) 30%, transparent 45%),
    radial-gradient(circle 3px at 30% 65%, rgba(255,255,255,.7) 30%, transparent 45%),
    radial-gradient(circle 6px at 52% 40%, rgba(255,255,255,.6) 30%, transparent 45%),
    radial-gradient(circle 4px at 70% 70%, rgba(255,255,255,.75) 30%, transparent 45%),
    radial-gradient(circle 5px at 88% 35%, rgba(255,255,255,.7) 30%, transparent 45%); }
.sc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, rgba(47,184,90,.25), rgba(47,184,90,.45)); }
.sc-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #14498f; pointer-events: none; padding-left: 40px; }
.sc-knob { position: absolute; top: 4px; left: 4px; width: 46px; height: 46px; border-radius: 50%;
  background: #ffffff; box-shadow: 0 3px 10px rgba(18,60,120,.3); display: flex; align-items: center;
  justify-content: center; font-size: 21px; cursor: grab; z-index: 2; }
.sc-knob:active { cursor: grabbing; }
.slidecap.ok { background: linear-gradient(90deg, #bfe9cd, #7fd9a2); border-color: rgba(30,143,66,.4); }
.slidecap.ok .sc-hint { color: #14652f; }
.slidecap.ok .sc-knob { background: linear-gradient(160deg, #2fb85a, #1e8f42); color: #fff; }

/* ---- Footer ---- */
footer.site { background: #0e2240; color: #c6d4e8; padding: 56px 24px 0; }
.foot-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.foot-logo-img { height: 42px; width: auto; display: block; filter: brightness(0) invert(1); }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.foot-col a { color: #c6d4e8; }
.foot-col a:hover { color: #7db8f5; }
.foot-h { font-weight: 800; color: #fff; font-size: 15px; }
footer.site p { margin: 0; font-size: 14px; line-height: 1.65; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); }
.foot-legal-in { max-width: 1100px; margin: 0 auto; padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #8aa0c0; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Divers ---- */
.float-call { display: none; }
@media (max-width: 760px) {
  .float-call { display: inline-block; position: fixed; right: 16px; bottom: 16px; z-index: 60; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel3d .slide { transition: none !important; }
  .badge-shine { animation: none !important; display: none; }
  .cta-verte, .logo-euro { transition: none !important; }
}
