:root {
  --navy: #07182f;
  --navy-2: #0b2a53;
  --blue: #0878ef;
  --cyan: #11bce8;
  --red: #ff4b4b;
  --green: #20c866;
  --ink: #13253a;
  --muted: #637287;
  --paper: #f5f7fa;
  --line: #dce4ed;
  --white: #fff;
  --shadow: 0 24px 70px rgba(7, 24, 47, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: "Heebo", Arial, sans-serif; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; inset-block-start: 0; z-index: 50; height: 82px; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(13,42,83,.09); }
.header-inner { width: min(1180px, calc(100% - 40px)); height: 100%; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { justify-self: start; }
.brand img { width: 174px; height: 62px; object-fit: contain; transform: scale(1.28); transform-origin: right center; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { font-size: 15px; font-weight: 700; text-decoration: none; color: #34465b; transition: color .2s; }
.desktop-nav a:hover { color: var(--blue); }
.header-call { justify-self: end; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 12px; color: var(--navy); border: 1px solid #cbd8e6; text-decoration: none; font-size: 16px; font-weight: 800; }
.header-call svg { width: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.button { min-height: 56px; padding: 13px 24px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border-radius: 13px; font-size: 17px; font-weight: 800; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.button:hover { transform: translateY(-3px); }
.button svg { width: 21px; height: 21px; }
.button-whatsapp { color: #fff; background: var(--green); box-shadow: 0 12px 30px rgba(32,200,102,.28); }
.button-whatsapp:hover { box-shadow: 0 18px 38px rgba(32,200,102,.38); }
.button-outline { color: #fff; border: 1px solid rgba(255,255,255,.32); }
.button-outline:hover { border-color: rgba(255,255,255,.75); }
.button-outline svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.trust-strip { background: white; border-bottom: 1px solid var(--line); }
.trust-inner { width: min(1040px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-inner > div { min-height: 112px; padding: 24px 38px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.trust-inner > div:not(:last-child) { border-left: 1px solid var(--line); }
.trust-inner svg { width: 34px; height: 34px; flex: 0 0 auto; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-inner span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.trust-inner strong { display: block; color: var(--ink); font-size: 17px; }

.section { padding: 110px 0; }
.section-heading { max-width: 670px; margin: 0 auto 54px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--blue); font-size: 14px; font-weight: 900; letter-spacing: .04em; }
.eyebrow.light { color: #75d9ff; }
.section-heading h2, .work-copy h2, .why-intro h2, .cta-content h2 { margin: 0; color: var(--navy); font-size: clamp(33px, 4vw, 49px); line-height: 1.12; letter-spacing: -.035em; font-weight: 900; }
.section-heading p { margin: 17px auto 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.card-grid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { position: relative; min-height: 305px; padding: 34px 30px 28px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 34px rgba(17,42,72,.06); transition: transform .25s, box-shadow .25s, border-color .25s; }
.info-card:hover { transform: translateY(-7px); border-color: #acd8ff; box-shadow: 0 22px 45px rgba(17,77,139,.12); }
.card-icon, .step-icon { width: 62px; height: 62px; display: grid; place-items: center; color: #0878ef; background: linear-gradient(145deg, #eaf5ff, #d9f5fc); border-radius: 17px; }
.card-icon svg, .step-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-card h3 { margin: 24px 0 9px; font-size: 23px; line-height: 1.2; }
.info-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.info-card a { position: absolute; bottom: 26px; right: 30px; color: var(--blue); font-size: 15px; font-weight: 800; text-decoration: none; }
.info-card a span, .text-link span { display: inline-block; transition: transform .2s; }
.info-card a:hover span, .text-link:hover span { transform: translateX(-4px); }

.real-work { color: white; background: var(--navy); overflow: hidden; }
.work-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
.work-copy h2 { color: white; }
.work-copy > p { margin: 24px 0 30px; color: #b9cbe0; font-size: 18px; line-height: 1.8; }
.clean-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.clean-list li { display: flex; align-items: center; gap: 12px; color: #edf6ff; font-size: 16px; font-weight: 600; }
.clean-list svg { width: 24px; height: 24px; padding: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--green); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.work-gallery { position: relative; min-height: 585px; }
.work-gallery figure { position: absolute; margin: 0; overflow: hidden; border: 7px solid rgba(255,255,255,.09); box-shadow: 0 25px 60px rgba(0,0,0,.28); }
.work-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { inset: 0 0 72px 30%; border-radius: 24px; }
.gallery-main img { object-position: center 38%; }
.gallery-side { width: 47%; height: 58%; left: 0; bottom: 0; border-radius: 20px; }
.gallery-side img { object-position: center 30%; }
.gallery-caption { position: absolute; right: 18px; bottom: 35px; padding: 15px 18px; border-radius: 14px; color: var(--ink); background: white; font-size: 14px; font-weight: 700; box-shadow: var(--shadow); }
.gallery-caption span { color: var(--blue); font-size: 21px; margin-left: 5px; }

.process { background: white; }
.steps { counter-reset: steps; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fbfcfe; }
.steps li:not(:last-child)::after { content: "←"; position: absolute; left: -20px; top: 49%; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; color: #6bb9f7; background: white; border: 1px solid #dce8f3; border-radius: 50%; font-size: 18px; }
.step-number { position: absolute; top: 21px; left: 24px; color: #c2d1df; font-size: 16px; font-weight: 900; }
.steps h3 { margin: 22px 0 8px; font-size: 21px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.why-us { background: linear-gradient(180deg, #f3f6f9, #eef3f8); }
.why-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 86px; align-items: center; }
.why-intro p { margin: 22px 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.text-link { display: inline-flex; gap: 8px; color: var(--blue); font-weight: 900; text-decoration: none; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefits article { min-height: 150px; padding: 24px; display: flex; align-items: flex-start; gap: 15px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.benefits article > div { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; color: var(--blue); background: #eaf5ff; border-radius: 13px; }
.benefits svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefits span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.benefits strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 18px; }

.final-cta { position: relative; padding: 74px 0; color: white; background: linear-gradient(125deg, #0757bd, #0788e4 54%, #12badd); overflow: hidden; }
.cta-ring { position: absolute; width: 500px; height: 500px; left: -180px; top: -230px; border: 70px solid rgba(255,255,255,.06); border-radius: 50%; }
.cta-content { position: relative; z-index: 2; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 45px; }
.cta-content > img { width: 190px; filter: drop-shadow(0 12px 30px rgba(0,0,0,.14)); }
.cta-content h2 { color: white; font-size: clamp(32px, 4vw, 47px); }
.cta-content p { margin: 14px 0 0; color: #e4f5ff; font-size: 17px; }
.cta-actions { display: grid; gap: 12px; justify-items: center; }
.cta-actions .button { min-width: 230px; }
.cta-phone { color: white; font-size: 21px; font-weight: 900; text-decoration: none; direction: ltr; }

footer { padding: 46px 0 34px; color: #8390a0; background: white; text-align: center; }
.footer-inner { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
.footer-inner > img { width: 154px; margin: 0 auto 10px; }
.footer-copy { color: #607187; font-size: 14px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin: 18px 0; }
.footer-links a { color: #3574ad; font-size: 13px; }
footer small { font-size: 12px; }
.mobile-contact { display: none; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 1fr 1fr; }
  .work-layout, .why-layout { gap: 42px; }
  .cta-content { grid-template-columns: 150px 1fr; }
  .cta-content > img { width: 150px; }
  .cta-actions { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; }
}

@media (max-width: 760px) {
  .container, .header-inner { width: min(100% - 28px, 620px); }
  .site-header { display: none; }
  .brand img { width: 140px; height: 52px; }
  .header-call { padding: 9px 12px; font-size: 14px; }
  .trust-inner { grid-template-columns: 1fr; padding: 8px 0; }
  .trust-inner > div { min-height: 86px; justify-content: flex-start; padding: 18px 25%; }
  .trust-inner > div:not(:last-child) { border-left: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading p { font-size: 16px; }
  .card-grid.three, .steps, .work-layout, .why-layout { grid-template-columns: 1fr; }
  .info-card { min-height: 285px; }
  .work-layout { gap: 46px; }
  .work-gallery { min-height: 510px; }
  .steps li:not(:last-child)::after { content: "↓"; left: 50%; top: auto; bottom: -20px; transform: translateX(-50%); }
  .benefits { grid-template-columns: 1fr; }
  .cta-content { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .cta-content > img { width: 180px; margin: 0 auto; }
  .cta-actions { grid-column: auto; display: grid; }
  .mobile-contact { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; height: 68px; display: grid; grid-template-columns: 1fr 1.25fr; background: white; box-shadow: 0 -10px 28px rgba(7,24,47,.15); }
  .mobile-contact a { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--navy); font-size: 16px; font-weight: 900; text-decoration: none; }
  .mobile-contact a + a { color: white; background: var(--green); }
  .mobile-contact svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
}

@media (max-width: 460px) {
  .header-call span { font-size: 13px; }
  .header-call svg { display: none; }
  .button { width: 100%; }
  .trust-inner > div { padding-inline: 19%; }
  .work-gallery { min-height: 450px; }
  .gallery-main { inset: 0 0 105px 20%; }
  .gallery-side { width: 53%; height: 50%; }
  .gallery-caption { right: 8px; bottom: 55px; }
  .benefits article { min-height: 130px; }
  .cta-actions { width: 100%; }
}

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

/* ================================================================
   Hero — repris de la V1 a l'identique
   ================================================================ */

.hero {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  position: relative;
  padding: 16px 20px 50px;
  background: linear-gradient(160deg, #0a1628 0%, #0d2145 50%, #0a3060 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  border: 1.5px solid rgba(33,150,243,0.12);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: ripple 4s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute;
  width: 1000px; height: 1000px; border-radius: 50%;
  border: 1px solid rgba(0,188,212,0.07);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: ripple 4s ease-in-out infinite 1.5s;
}
@keyframes ripple {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity:1; }
  50%      { transform: translate(-50%,-50%) scale(1.06); opacity:0.5; }
}

.hero-badge {
  position: absolute; top: 12px; left: 14px; z-index: 10;
  background: linear-gradient(135deg, #005ae0, #00b4f0);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; letter-spacing: 0.5px;
}

.logo-wrap {
  position: relative; z-index: 1;
  width: 100%;
  display: flex; justify-content: center;
  margin-bottom: 8px;
  animation: fadeUp 0.7s ease both;
}
.logo-wrap img {
  width: 380px; max-width: 86vw;
  filter: drop-shadow(0 8px 32px rgba(33,150,243,0.4));
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 76px); font-weight: 900; line-height: 1.2;
  position: relative; z-index: 1;
  animation: fadeUp 0.9s ease 0.1s both;
}
.line-red  { color: #ff4444; display: block; }
.line-blue { color: #5bc8ff; display: block; }

.hero-subtitle {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s ease 0.18s both;
}
@media (max-width: 480px) {
  .hero-subtitle { font-size: 22px; }
}

.checklist-banner {
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  max-width: 480px; width: 90%;
  position: relative; z-index: 1;
  animation: fadeUp 1s ease 0.25s both;
}
.check-row {
  display: flex; align-items: center;
  flex-direction: row;
  gap: 14px;
  padding: 14px 20px;
}
.check-row:nth-child(1) { background: #005ae0; }
.check-row:nth-child(2) { background: #0096f0; }
.check-row:nth-child(3) { background: #00b4f0; }
.check-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: #25c45a; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.check-icon svg { width: 20px; height: 20px; }
.check-text {
  font-size: clamp(18px, 3vw, 24px); font-weight: 900;
  color: #fff; text-align: right; flex: 1;
}

.hero-ctas {
  display: flex; gap: 14px; margin-top: 18px;
  flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
  animation: fadeUp 1s ease 0.35s both;
}
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  font-size: 17px; font-weight: 700;
  padding: 16px 32px; border-radius: 14px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(37,211,102,0.35);
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37,211,102,0.5); }
.btn-call {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff;
  font-size: 17px; font-weight: 700;
  padding: 11px 28px; border-radius: 14px; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: transform 0.2s, border-color 0.2s;
}
.btn-call:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.6); }
.btn-call img { width: 22px; height: 22px; flex-shrink: 0; display: block; }

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

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* ---- Photo de chantier : remise en place sous le hero ---- */

.hero-visual { position: relative; z-index: 1; width: min(430px, 100%); margin: 34px auto 0; }
.photo-frame { position: relative; padding: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 28px; box-shadow: 0 36px 80px rgba(0,0,0,.32); }
.photo-frame::before { content: ""; position: absolute; inset: -1px; border-radius: 28px; border: 1px solid rgba(80,198,255,.28); pointer-events: none; }
.photo-frame > img { width: 100%; aspect-ratio: .82; object-fit: cover; object-position: center 28%; border-radius: 20px; }
.photo-note { position: absolute; left: -28px; bottom: 32px; width: 270px; padding: 16px 17px; display: flex; align-items: center; gap: 12px; color: var(--ink); background: white; border-radius: 15px; box-shadow: var(--shadow); }
.photo-note i { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e5f8ee; }
.photo-note svg { width: 20px; fill: none; stroke: #14a75a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.photo-note span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.photo-note strong { display: block; margin-bottom: 3px; color: var(--navy); font-size: 16px; }
.experience-badge { position: absolute; right: -34px; top: 72px; width: 108px; height: 108px; display: grid; place-content: center; text-align: center; border-radius: 50%; color: white; background: var(--red); box-shadow: 0 16px 34px rgba(255,75,75,.3); }
.experience-badge strong { font-size: 29px; line-height: 1; }
.experience-badge span { font-size: 12px; margin-top: 5px; }

@media (max-width: 980px) {
  .photo-note { left: -10px; }
  .experience-badge { right: -16px; }
}

@media (max-width: 760px) {
  .experience-badge { right: -6px; top: 40px; width: 92px; height: 92px; }
  .photo-note { left: -4px; bottom: 25px; width: 245px; }
}

@media (max-width: 460px) {
  .photo-frame > img { aspect-ratio: .78; }
  .photo-note { width: calc(100% - 22px); left: 11px; bottom: 18px; }
  .experience-badge { right: -3px; top: 32px; }
}
