/* Webea – feuille de style */
:root {
  --orange: #F97316;
  --orange-text: #C2410C;   /* orange assombri pour le texte (contraste AA sur blanc) */
  --orange-soft: #FFF1E3;
  --ink: #17192B;
  --ink-soft: #858aa2;
  --line: #E6E7EE;
  --surface: #F6F7FA;
  --white: #FFFFFF;
  --font-title: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
h1, h2, h3 { font-family: var(--font-title); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.section.txt-mentions h3 {
  margin-top: 1em;
}
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* En-tête */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-mark { width: 44px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-title); font-weight: 700; font-size: 1.9rem; color: var(--orange); letter-spacing: -0.04em; }
.logo-tag { font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.3rem; }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav a { text-decoration: none; font-weight: 500; }
.main-nav a:not(.btn):hover { color: var(--orange-text); }

/* Boutons et liens */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem;
  background: var(--orange); color: var(--ink);
  font-weight: 600; text-decoration: none; border-radius: 999px;
  transition: all 0.2s;
}
.btn:hover { background: var(--orange-text); color: white; transform: translateY(-2px); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.link { font-weight: 600; color: var(--orange-text); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 3rem;
  max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem 5rem;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; max-width: 16ch; }
.lead { margin-top: 1.5rem; font-size: 1.2rem; color: var(--ink-soft); max-width: 52ch; }
.hero-actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; margin-top: 2.25rem; }

.hero-art svg { width: 100%; height: auto; display: block; }
.hx { fill: none; stroke-linejoin: round; }
.hx-1 { stroke: var(--orange); stroke-width: 14; }
.hx-2 { stroke: var(--orange); stroke-width: 3; opacity: 0.55; }
.hx-3 { stroke: var(--orange); stroke-width: 3; fill: var(--orange-soft); }
.hx-w { fill: none; stroke: var(--orange); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }

/* Animation d'entrée unique : le logo se dessine */
@media (prefers-reduced-motion: no-preference) {
  .hx-1 { stroke-dasharray: 1100; stroke-dashoffset: 1100; animation: draw 1.6s ease-out 0.2s forwards; }
  .hx-w { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 0.9s ease-out 1.3s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 4.5rem 1.5rem; }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); max-width: 22ch; }
.section-intro { margin-top: 1rem; color: var(--ink-soft); max-width: 60ch; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service { padding: 2rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.service-wide { grid-column: 1 / -1; background: var(--ink); color: var(--white); border-color: var(--ink); }
.service-wide p { color: #D3D5E2; max-width: 70ch; }
.service h3 { font-size: 1.5rem; }
.service p { margin-top: 0.85rem; color: var(--ink-soft); }
.service ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.service li { position: relative; padding-left: 1.5rem; }
.service li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 0.65rem; height: 0.65rem;
  background: var(--orange); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* Bandeau hébergement */
.band { max-width: none; background: var(--orange-soft); }
.band-inner { max-width: var(--max); margin: 0 auto; padding: .5rem 1.5rem; display: grid; /* grid-template-columns: 1fr 1.2fr; */ gap: 1rem 4rem; align-items: start; }
.band-inner h2 { grid-row: span 2; }
.band-inner p { color: var(--ink); }

/* Maintenance préventive */
.maintenance-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem 4rem; align-items: end; }
.maintenance-head p { color: var(--ink-soft); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; margin: 3.5rem 0 0; }
.checks div { border-left: 4px solid var(--orange); padding-left: 1.5rem; }
.checks dt { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.checks dd { margin: 0.6rem 0 0; color: var(--ink-soft); max-width: 52ch; }
.maintenance-note {
  margin-top: 3rem; padding: 1.25rem 1.5rem; background: var(--surface);
  border-radius: 8px; max-width: 70ch; font-weight: 500;
}

/* Méthode (séquence réelle : étapes numérotées) */
.steps { list-style: none; counter-reset: step; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { counter-increment: step; border-top: 3px solid var(--orange); padding-top: 1.25rem; }
.steps li::before { content: counter(step); font-family: var(--font-title); font-weight: 700; font-size: 1.4rem; color: var(--orange-text); float: left; margin-right: .5rem; }
.steps h3 { font-size: 1.25rem; margin: 0.4rem 0 0.6rem; }
.steps p { color: var(--ink-soft); font-size: 1rem; }

/* Contact */
.contact { max-width: none; background: var(--ink); color: var(--white); }
.contact-inner { max-width: var(--max); margin: 0 auto; }
.contact p { margin: 1rem 0 2rem; color: #D3D5E2; max-width: 52ch; }

/* Pied de page */
.site-footer { padding: 1.75rem 1.5rem; text-align: center; font-size: 0.9rem; color: var(--ink-soft); background: var(--surface); }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-art { max-width: 300px; }
  .services { grid-template-columns: 1fr; }
  .maintenance-head, .checks { grid-template-columns: 1fr; }
  .band-inner { grid-template-columns: 1fr; }
  .band-inner h2 { grid-row: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .main-nav { gap: 1rem; }
  .main-nav a:not(.btn) { display: none; }
  .steps { grid-template-columns: 1fr; }
}
