:root {
  --color-bg: #f6f7f9;
  --color-surface: #ffffff;
  --color-text: #1a1d23;
  --color-muted: #5c6370;
  --color-accent: #0d6e5c;
  --color-accent-hover: #0a5a4b;
  --color-border: #e2e5eb;
  --header-h: 64px;
  --footer-h: 104px;
  --shadow: 0 4px 24px rgba(26, 29, 35, 0.08);
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: var(--footer-h);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
}

.logo:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.site-main {
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--footer-h);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--color-muted);
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-secondary:hover {
  background: rgba(13, 110, 92, 0.08);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-lg {
  padding: 0.72rem 1.35rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.page-section {
  padding: 2.5rem 0;
}

.page-hero {
  position: relative;
  color: #fff;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13, 110, 92, 0.92), rgba(26, 29, 35, 0.75));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
}

.lead {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  opacity: 0.95;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.badges span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

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

.grid-3--tight {
  gap: 1rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-h);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 0.65rem;
  }

  .nav a {
    font-size: 0.85rem;
  }
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: 1.25rem;
}

.card__body h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card__body p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.section-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
}

.section-title--light {
  color: #fff;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.h3:first-child {
  margin-top: 0;
}

.page-lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 720px;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.page-lead--tight {
  margin-bottom: 1rem;
}

.prose {
  max-width: 720px;
}

.prose--wide {
  max-width: none;
}

.prose p {
  color: var(--color-muted);
}

.form {
  max-width: 520px;
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.form--flush {
  max-width: none;
  margin: 0;
}

.form--wide {
  max-width: none;
}

.form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-block {
  margin-bottom: 2rem;
}

.contact-block a {
  font-weight: 600;
}

.urgence-bar {
  background: #fff3e0;
  border: 1px solid #ffcc80;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.urgence-bar p {
  margin: 0;
  font-weight: 600;
}

.list-check {
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.list-check li {
  margin-bottom: 0.5rem;
}

.list-check--on-dark {
  color: rgba(255, 255, 255, 0.92);
}

.section-trust {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.75rem 0;
}

.trust-item {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.trust-item__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-text);
}

.trust-item__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.section-devis-cta {
  background: linear-gradient(135deg, #0a4d42 0%, #0d6e5c 45%, #1a3d38 100%);
  color: #fff;
  padding: 3rem 0;
}

.section-devis-cta__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .section-devis-cta__inner {
    grid-template-columns: 1fr;
  }
}

.section-devis-cta .section-title {
  color: #fff;
  margin-bottom: 1rem;
}

.section-devis-cta .page-lead {
  color: rgba(255, 255, 255, 0.88);
}

.section-devis-cta__hint {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.section-devis-cta__hint a {
  color: #b8f0e5;
  font-weight: 600;
}

.section-devis-cta__hint a:hover {
  color: #fff;
}

.section-devis-cta .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.section-devis-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

.aside-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
}

.aside-card__kicker {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.aside-card__text {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }
}

.aside-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.aside-box__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.aside-box__lead {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 0.98rem;
}

.aside-box--accent {
  background: linear-gradient(180deg, #f0faf8, var(--color-surface));
  border-color: rgba(13, 110, 92, 0.25);
}

.list-plain {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.list-plain li {
  margin-bottom: 0.45rem;
}

.band-faq {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

@media (max-width: 800px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item__q {
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.faq-item__a {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card--outline {
  text-align: left;
}

.stat-card__value {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.stat-card__label {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.info-card__big {
  margin: 0.25rem 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.info-card__big a {
  color: var(--color-accent);
}

.info-card__muted {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.info-card--accent {
  background: linear-gradient(180deg, #f0faf8, var(--color-surface));
  border-color: rgba(13, 110, 92, 0.25);
}

.info-card__lead {
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.devis-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .devis-layout {
    grid-template-columns: 1fr;
  }
}

.devis-aside .aside-box__text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.aside-box--muted {
  background: var(--color-bg);
}

.list-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.list-steps li {
  margin-bottom: 0.5rem;
}
