:root {
  --red: #c8102e;
  --red-dark: #9e0c23;
  --ink: #16191d;
  --muted: #626a72;
  --line: #e6e8eb;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

svg.ico {
  width: 24px;
  height: 24px;
  stroke: var(--red);
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  font-weight: 600;
  font-size: 0.98rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--red);
}

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid #cfd4da;
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--ink);
}

/* ---------- Hero (asymmetric) ---------- */
.hero {
  padding: 4.5rem 0 5rem;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text .eyebrow {
  display: block;
  margin-bottom: 1.1rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.3rem;
}

.hero-text p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  padding: 3.25rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 40px;
  top: -60px;
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero-visual .since {
  position: relative;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.hero-visual .year {
  position: relative;
  font-size: clamp(4.5rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-visual .tag {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 300px;
  margin-top: 1.2rem;
  opacity: 0.95;
}

/* ---------- Services (horizontal items) ---------- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 620px;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.7rem 0 0.6rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.svc {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.svc:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(22, 25, 29, 0.08);
  border-color: transparent;
}

.icon-box {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(200, 16, 46, 0.08);
}

.svc-body h3 {
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.svc-body p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Stat band (red) ---------- */
.statband {
  background: var(--red);
  color: #fff;
  padding: 3.25rem 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat .num {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat .label {
  margin-top: 0.6rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- CTA (left aligned) ---------- */
.cta {
  padding: 4rem 0;
}

.cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 2.75rem 3rem;
}

.cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.cta p {
  color: #b9bfc6;
}

/* ---------- Contact (two columns) ---------- */
.page-head {
  padding: 4rem 0 2.5rem;
}

.page-head h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0.7rem 0 0.8rem;
}

.page-head p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 560px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 5rem;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.crow {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.crow .icon-box {
  width: 46px;
  height: 46px;
}

.crow h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.crow .value {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}

.crow a.value:hover {
  color: var(--red);
}

.map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  color: var(--muted);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  height: 68px;
  width: auto;
  margin-bottom: 1.1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 290px;
}

.footer-col h4 {
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  padding-top: 1.6rem;
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  text-align: center;
}

.footer-bottom nav {
  display: flex;
  gap: 1.2rem;
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-bottom a:hover {
  color: var(--red);
}

/* ---------- Legal / text pages ---------- */
.legal {
  padding: 1rem 0 5rem;
}

.legal .wrap {
  max-width: 800px;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.25rem 0 0.6rem;
  color: var(--ink);
}

.legal p,
.legal li {
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.legal ul {
  padding-left: 1.2rem;
  margin-bottom: 0.7rem;
}

.legal a {
  color: var(--red);
}

.legal a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    min-height: 260px;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 2rem 1rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 1.25rem;
  }
  .nav {
    height: 72px;
  }
  .brand img {
    height: 42px;
  }
  .nav-links {
    gap: 1.1rem;
    font-size: 0.9rem;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .cta .wrap {
    padding: 2rem 1.5rem;
  }
}

/* ---------- Bandeau de consentement (widget consent.kiwi-hosting.com) ---------- */
:root {
  --consent-accent: var(--red);
  --consent-accent-text: #fff;
  --consent-bg: var(--bg);
  --consent-color: var(--ink);
  --consent-muted: var(--muted);
  --consent-radius: 8px;
  --consent-font: var(--font);
  --consent-gate-bg: var(--bg-soft);
}
.__consent-banner {
  border-color: var(--line);
}
