﻿:root {
  --primary: #536b43;
  --primary-dark: #304833;
  --primary-soft: #e8edde;
  --accent: #8ea27c;
  --dark: #233629;
  --muted: #687266;
  --border: #dfe4d8;
  --bg: #f7f8f2;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(39, 58, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.alt-bg {
  background: #eff1e8;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(48, 72, 51, 0.12);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: var(--white);
  font-weight: 700;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(48, 72, 51, 0.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--primary-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
}

.brand small {
  color: var(--muted);
  letter-spacing: 0.18em;
  font-size: 0.68rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--dark);
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.header-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid rgba(48, 72, 51, 0.2);
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.phone-label-mobile {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 56px;
  background: linear-gradient(135deg, #eef0e5 0%, #f7f7f0 54%, #ffffff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 98%, rgba(83, 107, 67, 0.16) 100%),
    linear-gradient(0deg, transparent 98%, rgba(83, 107, 67, 0.16) 100%),
    radial-gradient(circle, rgba(83, 107, 67, 0.4) 1px, transparent 2px);
  background-size: 64px 64px;
  opacity: 0.45;
  mask-image: linear-gradient(115deg, transparent 12%, #000 100%);
  animation: circuit-drift 28s linear infinite;
}

.hero::after {
  top: 72%;
  left: -35%;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 107, 67, 0.55), transparent);
  box-shadow: 0 0 12px rgba(83, 107, 67, 0.35);
  animation: circuit-scan 10s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.7rem, 5vw, 4.25rem);
  line-height: 1.05;
}

.subtitle {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(48, 72, 51, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  border-color: rgba(48, 72, 51, 0.2);
  color: var(--primary-dark);
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.quick-facts li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 9px 16px;
  font-weight: 600;
  color: var(--dark);
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(48, 72, 51, 0.1);
}

.hero-image-wrap {
  margin-top: -6px;
  padding-bottom: 30px;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(48, 72, 51, 0.14);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(39, 58, 41, 0.12);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(83, 107, 67, 0.35);
  animation: status-pulse 2.2s ease-out infinite;
  content: "";
}

.hero-card h2 {
  margin: 18px 0 18px;
  font-size: 1.8rem;
}

.hero-card ul {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.hero-card li {
  line-height: 1.55;
}

.service-grid,
.forfait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.forfait-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 10px 30px rgba(39, 58, 41, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover,
.forfait-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(39, 58, 41, 0.12);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card h3,
.forfait-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.service-card p,
.forfait-card li,
.zone-item,
.trust-list {
  color: var(--muted);
}

.pricing-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pricing-table-wrap {
  background: var(--white);
  border-radius: 22px;
  border: 1px solid var(--border);
  padding: 22px 18px;
  box-shadow: 0 12px 28px rgba(39, 58, 41, 0.06);
}

.pricing-table-wrap h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

thead th {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.95rem;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.conditions-panel {
  margin-top: 24px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(39, 58, 41, 0.06);
}

.conditions-panel h3 {
  margin: 0 0 18px;
  font-size: 1.3rem;
}

.conditions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.conditions-list li {
  display: grid;
  align-content: start;
  gap: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.conditions-list strong {
  color: var(--dark);
}

.forfait-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.forfait-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.forfait-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  list-style: disc;
}

.price {
  display: inline-block;
  padding-top: 12px;
  font-weight: 800;
  font-size: 1.8rem;
}

.package-request {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 700;
}

.package-request span {
  transition: transform 0.2s ease;
}

.package-request:hover span,
.package-request:focus-visible span {
  transform: translateX(4px);
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.zone-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 22px;
  font-weight: 600;
}

.zone-item strong {
  color: var(--primary-dark);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.02rem;
  font-weight: 600;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 46px 0 12px;
}

.contact-form {
  display: grid;
  align-content: start;
  gap: 8px;
}

.contact-form h4 {
  margin: 0 0 4px;
}

.contact-form label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #b8c9a6;
  outline-offset: 2px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  justify-self: start;
  min-height: 44px;
  margin-top: 6px;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: #dce9d0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr 1.1fr;
  gap: 26px;
  margin-bottom: 24px;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer ul {
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  text-align: center;
}

.motion-ready .reveal-on-scroll {
  opacity: 0;
  translate: 0 20px;
  transition:
    opacity 0.65s ease var(--reveal-delay, 0ms),
    translate 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.motion-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  translate: 0 0;
}

@keyframes circuit-drift {
  to {
    background-position: 64px 64px;
  }
}

@keyframes circuit-scan {
  0%,
  15% {
    transform: translateX(0);
    opacity: 0;
  }

  35%,
  75% {
    opacity: 1;
  }

  100% {
    transform: translateX(390%);
    opacity: 0;
  }
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(83, 107, 67, 0.35);
  }

  70%,
  100% {
    box-shadow: 0 0 0 6px rgba(83, 107, 67, 0);
  }
}

@media (max-width: 980px) {
  .service-grid,
  .forfait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .pricing-layout,
  .conditions-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    min-height: 72px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: auto;
    display: none;
    width: min(280px, calc(100vw - 32px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 2px 12px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 9px 4px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .service-grid,
  .forfait-grid,
  .zone-list,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .main-nav {
    font-size: 0.9rem;
  }

  .header-cta a {
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 0.86rem;
  }

  .phone-label-desktop {
    display: none;
  }

  .phone-label-mobile {
    display: inline;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero-image-wrap {
    width: 100%;
    padding: 0 0 20px;
  }

  .hero-image {
    border-radius: 0;
  }

  .zone-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .topbar-inner {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.6rem;
  }

  .header-cta a {
    padding: 8px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
