/* Gilles – Le Plombier Dépanneur
   Feuille de styles séparée : styles.css */

:root {
  --navy: #102b46;
  --navy-deep: #0b2036;
  --blue: #1687bd;
  --blue-light: #eaf5fa;
  --ink: #263746;
  --muted: #697985;
  --line: #e4ebef;
  --white: #fff;
  --soft: #f6f9fa;
  --font: "DM Sans", Arial, sans-serif;
  --heading: "Manrope", "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.topline { background: var(--navy-deep); color: #d9e6ef; font-size: 12px; letter-spacing: .02em; }
.topline-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline a { color: #fff; font-weight: 700; }

.header { height: 88px; background: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(16,43,70,.07); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 150px; height: 72px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 600; color: #3e5262; }
.main-nav a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { padding: 11px 20px; border: 1px solid #cbdce6; border-radius: 5px; color: var(--navy); transition: .2s ease; }
.nav-cta:hover { background: var(--navy); color: white; border-color: var(--navy); }
.menu-toggle { display: none; }

.hero { overflow: hidden; background: linear-gradient(110deg, #f7fafb 0%, #f7fafb 57%, #edf6fa 57%, #edf6fa 100%); padding: 68px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 50px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 19px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 28px; height: 2px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); color: var(--navy); }
h1 { font-size: clamp(38px, 4.5vw, 58px); line-height: 1.13; letter-spacing: -.045em; margin-bottom: 23px; font-weight: 800; }
h1 span, h2 span { color: var(--blue); }
.hero-lead { max-width: 530px; color: #62727e; font-size: 17px; line-height: 1.8; margin-bottom: 29px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border-radius: 5px; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 17px; height: 17px; fill: currentColor; }
.button-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(16,43,70,.12); }
.button-primary:hover { background: #17466e; }
.button-secondary { border: 1px solid #d4e0e6; color: var(--navy); background: transparent; }
.button-secondary:hover { background: white; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: #61717c; font-size: 13px; }
.note-check { width: 21px; height: 21px; display: grid; place-items: center; background: #e1f2e9; color: #268153; border-radius: 50%; font-size: 12px; font-weight: 800; }
.hero-visual { position: relative; width: min(100%, 440px); justify-self: end; padding: 0 22px 22px 0; }
.photo-frame { position: relative; height: 455px; overflow: hidden; border-radius: 7px; background: #dbe8ed; box-shadow: 22px 22px 0 #d7eaf2; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.experience-card { position: absolute; left: -44px; bottom: 50px; display: flex; align-items: center; gap: 12px; background: #fff; padding: 16px 20px; border-radius: 5px; box-shadow: 0 12px 35px rgba(16,43,70,.12); }
.experience-number { font-family: var(--heading); color: var(--blue); font-size: 39px; font-weight: 800; line-height: 1; }
.experience-text { color: var(--navy); font-size: 11px; font-weight: 700; line-height: 1.45; }
.blue-dot { position: absolute; border-radius: 50%; background: var(--blue); }
.dot-one { width: 12px; height: 12px; right: 4px; top: 27px; }
.dot-two { width: 7px; height: 7px; left: -18px; top: 83px; opacity: .45; }

.trust-strip { background: var(--navy); color: #fff; }
.trust-grid { min-height: 82px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 11px; font-size: 13px; font-weight: 600; color: #e7f0f5; }
.trust-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #8bd1ee; font-size: 14px; }

.section { padding: 96px 0; }
.section-heading { max-width: 690px; margin-bottom: 43px; }
.section-heading h2, .about-copy h2, .area h2 { font-size: clamp(31px, 3.5vw, 43px); line-height: 1.2; letter-spacing: -.04em; margin-bottom: 16px; }
.section-heading > p:last-child { color: var(--muted); margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.service-card { min-height: 300px; padding: 27px 23px 24px; border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: .2s ease; }
.service-card:hover { border-color: #b7d9e8; box-shadow: 0 13px 32px rgba(16,43,70,.07); transform: translateY(-3px); }
.service-icon { width: 51px; height: 51px; display: grid; place-items: center; margin-bottom: 21px; background: var(--blue-light); border-radius: 6px; }
.service-icon svg { width: 27px; height: 27px; fill: none; stroke: var(--blue); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 17px; line-height: 1.35; margin-bottom: 11px; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.75; margin-bottom: 19px; }
.text-link { color: var(--blue); font-size: 12px; font-weight: 700; }
.text-link span { padding-left: 5px; transition: padding .2s; }
.text-link:hover span { padding-left: 10px; }
.service-footnote { margin: 25px 0 0; font-size: 12px; color: #7b8992; }

.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 90px; }
.about-image { position: relative; max-width: 420px; }
.about-image > img { width: 100%; height: 480px; object-fit: cover; object-position: center 35%; border-radius: 6px; }
.image-caption { position: absolute; right: -38px; bottom: 27px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border-radius: 5px; box-shadow: 0 10px 30px rgba(16,43,70,.1); color: var(--navy); font-size: 12px; font-weight: 700; line-height: 1.5; }
.caption-mark { font-family: Georgia, serif; font-size: 43px; line-height: .7; color: var(--blue); }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.85; margin-bottom: 14px; }
.about-copy .about-intro { color: #3d5262 !important; font-size: 16px !important; font-weight: 600; }
.about-values { display: flex; flex-wrap: wrap; gap: 22px; margin: 26px 0 29px; padding-top: 22px; border-top: 1px solid #e0e8ec; }
.about-values div { display: flex; align-items: center; gap: 8px; }
.about-values span { color: var(--blue); font-size: 11px; font-weight: 800; }
.about-values strong { color: var(--navy); font-size: 12px; }

.process { background: #fff; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.centered .eyebrow { justify-content: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; position: relative; }
.steps:before { content: ""; position: absolute; top: 27px; left: 16%; right: 16%; border-top: 1px dashed #c9dce5; }
.step { position: relative; text-align: center; padding: 0 20px; }
.step-number { position: relative; z-index: 1; width: 55px; height: 55px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-light); border: 5px solid white; box-shadow: 0 0 0 1px #d5e8f0; color: var(--blue); font-family: var(--heading); font-size: 13px; font-weight: 800; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.75; }

.area { background: #f4f8fa; }
.area-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 80px; }
.area h2 { margin-bottom: 20px; }
.area-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); max-width: 530px; font-size: 14px; }
.area-list { color: var(--navy) !important; font-weight: 700; line-height: 2; }
.area-card { padding: 36px 38px; background: #fff; border: 1px solid #e1eaee; border-radius: 6px; box-shadow: 0 12px 30px rgba(16,43,70,.04); }
.area-card-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.pin { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 22px; }
.area-card h3 { margin: 20px 0 6px; font-size: 25px; }
.area-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.area-card-bottom { display: flex; align-items: center; gap: 9px; padding-top: 17px; border-top: 1px solid var(--line); color: #526777; font-size: 12px; font-weight: 600; }
.small-dot { width: 8px; height: 8px; background: #46a978; border-radius: 50%; }

.contact { background: var(--navy); color: #fff; padding: 78px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr .75fr; align-items: center; gap: 70px; }
.eyebrow-light { color: #9bd8f0; }
.eyebrow-light .eyebrow-line { background: #9bd8f0; }
.contact h2 { color: #fff; font-size: clamp(34px, 4vw, 48px); line-height: 1.17; letter-spacing: -.04em; margin-bottom: 18px; }
.contact h2 span { color: #8ed2ef; }
.contact-inner > div:first-child > p:last-child { max-width: 500px; color: #c0d0dc; font-size: 14px; line-height: 1.8; margin: 0; }
.contact-card { padding: 27px 30px; background: #fff; border-radius: 6px; color: var(--navy); display: flex; flex-direction: column; align-items: flex-start; }
.contact-label { color: #7a8a95; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-phone { margin: 3px 0 17px; font-family: var(--heading); font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -.04em; }
.button-white { width: 100%; justify-content: space-between; background: var(--blue); color: #fff; }
.button-white:hover { background: #0e6e9b; }
.contact-email { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--navy); }
.email-note { color: #9aa6ad; font-size: 10px; margin-top: 1px; }

.footer { background: #091c2d; color: #b5c4ce; }
.footer-main { min-height: 145px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { width: 125px; height: 100px; display: flex; align-items: center; overflow: hidden; }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; }
.footer-main p { margin: 0; font-size: 12px; line-height: 1.7; }
.footer-phone { color: #fff; font-family: var(--heading); font-size: 19px; font-weight: 800; }
.footer-bottom { min-height: 50px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; color: #8194a2; }
.mobile-call { display: none; }

@media (max-width: 900px) {
  .main-nav { gap: 20px; }
  .hero-grid { gap: 30px; }
  .photo-frame { height: 390px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 55px; }
  .about-image > img { height: 420px; }
  .image-caption { right: -20px; }
  .area-grid { gap: 40px; }
}
@media (max-width: 680px) {
  body { padding-bottom: 64px; }
  .container { width: min(100% - 36px, 520px); }
  .topline-inner { min-height: 34px; justify-content: center; }
  .topline-inner > span { display: none; }
  .header { height: 72px; }
  .brand { width: 125px; height: 64px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 2px; background: var(--navy); display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 18px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 12px 18px rgba(16,43,70,.08); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 8px; }
  .main-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding: 48px 0 55px; background: linear-gradient(180deg, #f7fafb 0%, #f7fafb 65%, #edf6fa 65%, #edf6fa 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  h1 { font-size: 39px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-visual { width: min(86%, 390px); justify-self: center; margin-left: 20px; }
  .photo-frame { height: 370px; }
  .experience-card { left: -28px; bottom: 40px; padding: 13px 15px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 14px 0; gap: 13px 5px; }
  .trust-grid > div { justify-content: flex-start; font-size: 11px; }
  .trust-icon { width: 25px; height: 25px; flex: 0 0 25px; }
  .section { padding: 67px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .about-copy h2, .area h2 { font-size: 32px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: auto; padding: 23px; }
  .service-card p { margin-bottom: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 43px; }
  .about-image { width: 86%; max-width: 390px; margin: 0 auto; }
  .about-image > img { height: 390px; }
  .image-caption { right: -22px; bottom: 20px; }
  .about-values { gap: 13px 18px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps:before { top: 24px; bottom: 24px; left: 27px; right: auto; border-top: 0; border-left: 1px dashed #c9dce5; }
  .step { display: grid; grid-template-columns: 55px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .step-number { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; margin: 0 0 3px; }
  .step p { margin: 0; }
  .area-grid { grid-template-columns: 1fr; gap: 30px; }
  .area-card { padding: 28px; }
  .contact { padding: 62px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-card { padding: 25px; }
  .footer-main { padding: 25px 0; min-height: auto; flex-wrap: wrap; gap: 12px 25px; }
  .footer-brand { width: 105px; height: 85px; }
  .footer-main p { flex: 1; }
  .footer-phone { width: 100%; font-size: 18px; }
  .footer-bottom { padding: 13px 0; flex-direction: column; align-items: flex-start; gap: 3px; }
  .mobile-call { position: fixed; z-index: 30; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 -4px 18px rgba(16,43,70,.16); }
  .mobile-call svg { width: 17px; height: 17px; fill: currentColor; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
