:root {
  --blue: #2F6DB5;
  --blue-dark: #275C9A;
  --navy: #1E2B45;
  --orange: #FF6B00;
  --sky: #EAF1F8;
  --line: #DCE4EE;
  --field: #8592AA;
  --text: #4F5A72;
  --muted: #6B7590;
  --on-blue: #E8F0FA;
  --on-blue-soft: #E3ECF7;
  --white: #FFFFFF;
  --gutter: clamp(20px, 5.5vw, 80px);
  --section: clamp(72px, 7.8vw, 112px);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

.eyebrow {
  font-weight: 600; font-size: 13px; line-height: 16px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
}
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1.14; letter-spacing: -0.015em;
}
.lede { color: var(--text); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.58; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 17px 30px;
  font: 600 18px/22px var(--sans); text-decoration: none; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; transition: background .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); }
.btn--small { padding: 12px 22px; font-size: 16px; line-height: 20px; }
.btn--outline { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--outline:hover { background: var(--sky); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 22px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand img { width: 54px; height: auto; flex-shrink: 0; }
.brand span { font: 500 18px/20px var(--serif); letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a.link { text-decoration: none; font-weight: 500; font-size: 16px; line-height: 20px; color: var(--navy); }
.nav a.link:hover { color: var(--blue); }

/* Hero */
.hero {
  position: relative; overflow: hidden; background: var(--blue); color: #fff;
  min-height: 620px; display: flex; align-items: center;
}
.hero__photo {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(760px, 55%);
  mix-blend-mode: luminosity; pointer-events: none;
}
.hero__photo picture { display: block; width: 100%; height: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__text { position: relative; display: flex; flex-direction: column; gap: 28px; max-width: 760px; padding-block: 88px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 4.2vw, 60px); line-height: 1.07; letter-spacing: -0.02em;
}
.hero p { color: var(--on-blue-soft); font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; max-width: 600px; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 8px; }
.cta-row .call { color: #fff; font-weight: 500; font-size: 18px; line-height: 22px; text-decoration: none; }
.cta-row .call:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Services */
.services { padding-block: var(--section); display: flex; flex-direction: column; gap: 56px; }
.services .head { display: flex; flex-direction: column; gap: 16px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; }
.svc { border-top: 2px solid var(--orange); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.svc h3 { font: 600 22px/28px var(--serif); }
.svc p { color: var(--text); font-size: 17px; line-height: 26px; }

/* À propos */
.about { background: var(--sky); padding-block: var(--section); display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 40px; }
.stat { border-top: 2px solid var(--orange); padding-top: 20px; display: flex; flex-direction: column; gap: 6px; align-self: start; }
.stat b { font: 500 88px/88px var(--serif); letter-spacing: -0.03em; }
.stat span { color: var(--text); font-weight: 500; font-size: 17px; line-height: 24px; }
.about__text { grid-column: 2 / span 3; display: flex; flex-direction: column; gap: 20px; max-width: 800px; }
.about__text .lede { max-width: 690px; }
.permit { display: flex; align-items: center; gap: 10px; padding-top: 4px; font-weight: 500; font-size: 16px; line-height: 22px; }
.permit::before { content: ""; width: 18px; height: 2px; background: var(--orange); flex-shrink: 0; }

/* Contact */
.contact { padding-block: var(--section); display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 40px; row-gap: 48px; }
.contact__intro { grid-column: 1 / span 2; display: flex; flex-direction: column; gap: 20px; max-width: 620px; }
.contact__intro .btn { align-self: flex-start; margin-top: 8px; }
.details { grid-column: 3 / span 2; list-style: none; }
.details li { display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.details li:first-child { border-top: 2px solid var(--orange); }
.details .k { width: 120px; flex-shrink: 0; font-weight: 600; font-size: 13px; line-height: 26px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.details .v { font-size: 19px; line-height: 26px; color: var(--navy); text-decoration: none; }
.details a.v:hover { color: var(--blue); }
.details .v.strong { font-weight: 600; font-size: 22px; }

/* Footer */
.site-footer {
  background: var(--navy); color: #fff; padding-top: 40px; padding-bottom: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.site-footer .brand { color: #fff; }
.site-footer .brand img { width: 46px; }
.site-footer .brand span { font-size: 16px; }
.site-footer small { color: #AFC0D8; font-size: 15px; line-height: 20px; }

/* Consultation */
.consult { background: var(--blue); color: #fff; padding-block: 96px 112px; display: grid; grid-template-columns: 620px 1fr; gap: 40px 80px; align-items: start; }
.consult__intro { display: flex; flex-direction: column; gap: 24px; }
.consult__intro .eyebrow { color: var(--on-blue); }
.consult h1 { font: 500 clamp(40px, 3.9vw, 56px)/1.07 var(--serif); letter-spacing: -0.02em; }
.consult__intro p { color: var(--on-blue-soft); font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; max-width: 540px; }
.steps { list-style: none; max-width: 540px; padding-top: 12px; counter-reset: step; }
.steps li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid #5A8AC6; font-weight: 500; font-size: 18px; line-height: 24px; }
.steps li:first-child { border-top: 2px solid var(--orange); }
.steps li::before { counter-increment: step; content: counter(step); width: 28px; flex-shrink: 0; font: 600 20px/24px var(--serif); }

.card { background: #fff; color: var(--navy); border-radius: 24px; padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 22px; }
.card h2 { font: 600 26px/32px var(--serif); letter-spacing: -0.01em; }
.card .hint { color: var(--text); font-size: 16px; line-height: 23px; margin-top: -16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; line-height: 20px; }
.field label small { font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 6px; }
.field input, .field textarea {
  width: 100%; font: 400 17px/22px var(--sans); color: var(--navy);
  border: 1.5px solid var(--field); border-radius: 12px; padding: 14px 16px; background: #fff;
  -webkit-appearance: none; appearance: none;
}
.field input { height: 52px; }
.field textarea { min-height: 128px; resize: vertical; line-height: 24px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(47,109,181,.2); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 4px; }
.submit p { color: var(--muted); font-size: 14px; line-height: 20px; }
.submit .btn { flex-shrink: 0; }
.notice { background: var(--sky); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 20px; }
.alert { background: #FFF1E8; color: #8A3A00; border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 21px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks { background: var(--blue); min-height: calc(100vh - 89px); display: flex; align-items: center; justify-content: center; padding: 64px var(--gutter); }
.thanks .card { max-width: 580px; width: 100%; padding: 48px 44px 44px; gap: 18px; }
.thanks img { width: 72px; height: auto; }
.thanks h1 { font: 500 40px/46px var(--serif); letter-spacing: -0.015em; padding-top: 6px; }
.thanks p { color: var(--text); font-size: 18px; line-height: 28px; }
.thanks a.back { color: var(--blue); font-weight: 600; font-size: 16px; text-decoration: none; padding-top: 8px; }
.thanks a.back:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .about { grid-template-columns: 1fr; row-gap: 40px; }
  .about__text { grid-column: 1; }
  .stat { max-width: 290px; }
  .contact { grid-template-columns: 1fr; }
  .contact__intro, .details { grid-column: 1; }
  .consult { grid-template-columns: 1fr; gap: 48px; padding-block: 72px 88px; }
  .hero__photo { width: 60%; }
}
@media (max-width: 760px) {
  .site-header { padding-block: 14px; }
  .brand img { width: 44px; }
  .brand span { font-size: 15px; line-height: 18px; }
  .nav a.link { display: none; }
  .btn--small { padding: 10px 16px; font-size: 14px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero__photo { position: relative; right: auto; top: auto; bottom: auto; width: auto; height: 340px; order: -1; margin-inline: calc(-1 * var(--gutter)); }
  .hero__photo picture, .hero__photo img { display: block; width: 100%; height: 100%; }
  .hero__photo img { object-position: 62% 22%; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .hero__text { padding-block: 8px 64px; gap: 22px; }
  .cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .grid { grid-template-columns: 1fr; row-gap: 36px; }
  .stat b { font-size: 64px; line-height: 64px; }
  .details li { flex-direction: column; gap: 4px; padding: 18px 0; }
  .details .k { width: auto; line-height: 18px; }
  .card { padding: 28px 22px 24px; border-radius: 20px; }
  .row { grid-template-columns: 1fr; }
  .submit { flex-direction: column-reverse; align-items: stretch; }
  .submit .btn { width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .thanks .card { padding: 36px 24px 32px; }
  .thanks h1 { font-size: 32px; line-height: 38px; }
}
@media (max-width: 760px) {
  .brand span { white-space: nowrap; }
  .hero h1 br, .hero p br { display: none; }
}
@media (max-width: 480px) {
  .site-header .nav .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
