/* ===== CTA-CAM — Design system ===== */
:root {
  --green-900: #0e4a1f;
  --green-700: #1a6b2f;
  --green-500: #2d8f45;
  --green-100: #e8f2ea;
  --gold-500: #c8961a;
  --gold-400: #e6b02a;
  --gold-100: #f7ecd6;
  --ink: #1a1a1a;
  --ink-soft: #555555;
  --paper: #ffffff;
  --paper-soft: #f7f4ed;
  --border: #e4ddcf;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(14, 74, 31, 0.08);
  --max-width: 1200px;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--soft { background: var(--paper-soft); }
.section--dark { background: var(--green-100); color: var(--green-900); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section--dark .eyebrow {
  color: var(--green-700);
  background: #fff;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--green-900);
}

.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--green-900); }

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }

p { color: var(--ink-soft); }
.section--dark p { color: var(--green-900); }

.lede {
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 8px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--green-900);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--green-100);
  color: var(--green-700);
}

.nav-cta {
  background: var(--green-700) !important;
  color: #fff !important;
  margin-left: 6px;
}

.nav-cta:hover { background: var(--green-900) !important; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  background: var(--green-100);
  border-radius: 999px;
  padding: 4px;
}

.lang-toggle a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--green-700);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.lang-toggle a:hover:not(.is-active) { color: var(--green-900); }

.lang-toggle a.is-active {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 2px 6px rgba(14, 74, 31, 0.25);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(226, 166, 59, 0.18), transparent),
    linear-gradient(180deg, var(--green-100) 0%, #fff 70%);
  padding: 84px 0 72px;
}

.hero--brand {
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(226, 166, 59, 0.25), transparent),
    linear-gradient(155deg, var(--green-700) 0%, var(--green-900) 100%);
}

.hero--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-carousel__slide.is-active {
  opacity: 1;
}

.hero--brand .container { position: relative; z-index: 2; }

.hero-text-panel {
  display: inline-block;
}

.hero--brand h1,
.hero--brand .lede {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: text-shadow 0.6s ease;
}

.hero--brand .lede { color: #d7e3da; }

.hero--brand.hero--on-light h1,
.hero--brand.hero--on-light .lede {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 4px 22px rgba(0, 0, 0, 0.85), 0 0 44px rgba(0, 0, 0, 0.55);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-900);
  background: var(--gold-500);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 380px at 85% -10%, rgba(226, 166, 59, 0.25), transparent),
    linear-gradient(155deg, var(--green-700) 0%, var(--green-900) 100%);
  padding: 56px 0 52px;
  text-align: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}

.page-banner-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-banner-carousel__slide {
  position: absolute;
  inset: 0;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.page-banner-carousel__slide.is-active { opacity: 1; }

.page-banner .container { position: relative; z-index: 2; }

.page-banner h1 {
  color: #fff;
  margin-top: 4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: text-shadow 0.6s ease;
}

.page-banner .lede {
  color: #d7e3da;
  margin: 16px auto 0;
  max-width: 640px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: text-shadow 0.6s ease;
}

.page-banner.page-banner--on-light h1,
.page-banner.page-banner--on-light .lede {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 4px 22px rgba(0, 0, 0, 0.85), 0 0 44px rgba(0, 0, 0, 0.55);
}

/* ---- Stats bar ---- */
.stats-bar {
  background: var(--green-100);
}

.stats-bar .grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid rgba(15, 61, 36, 0.15);
}

.stat:last-child { border-right: none; }

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-900);
}

.stat span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
  opacity: 0.85;
}

@media (max-width: 700px) {
  .stats-bar .grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid rgba(15, 61, 36, 0.15); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.7rem;
  color: var(--green-700);
  font-weight: 800;
}

.hero-stats div span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, var(--green-700), var(--green-900));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
}

.hero-visual span {
  position: relative;
  color: #fff;
  font-weight: 700;
  background: rgba(0,0,0,0.25);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}

.btn:hover { transform: translateY(-1px); }

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

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-700); }

.btn-gold {
  background: var(--gold-500);
  color: var(--green-900);
}
.btn-gold:hover { background: #cf9328; }

/* ---- Cards / Grids ---- */
.grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.card-link:hover {
  background: var(--green-100);
  border-color: var(--green-500);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(14, 74, 31, 0.14);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-700);
  background: var(--green-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tag--gold { color: #8a5f10; background: var(--gold-100); }

/* ---- Timeline / process ---- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

/* ---- Project list ---- */
.project {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  background: var(--paper);
}

.project-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.project-logo {
  height: 32px;
  width: auto;
  display: block;
}

.status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.status--active { background: var(--green-100); color: var(--green-700); }
.status--soon { background: var(--gold-100); color: #8a5f10; }
.status--done { background: #eef0ef; color: #5a655d; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

form { display: grid; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--ink);
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--paper-soft);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--green-500);
  outline-offset: 1px;
  background: #fff;
}

textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.82rem; color: var(--ink-soft); }

/* ---- Footer ---- */
.site-footer {
  background: var(--green-900);
  color: #dbe7de;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-grid a, .footer-grid p { color: #b7c9bc; font-size: 0.9rem; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe7de;
  transition: background 0.2s, color 0.2s;
}

.social-icon svg { width: 16px; height: 16px; fill: currentColor; }

.social-icon:hover { background: var(--gold-500); color: var(--green-900); }

.social-icon.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #93a99a;
}

/* ---- Partners ---- */
.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
}

.partner-mark {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  padding: 8px;
}

.partner-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.avatar-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.avatar-mark--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 800;
  font-size: 1.2rem;
}

.partners-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-chip {
  background: var(--gold-100);
  border: 1px solid rgba(14, 74, 31, 0.15);
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(14, 74, 31, 0.1);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.partner-chip:hover { border-color: var(--green-500); box-shadow: 0 4px 12px rgba(14, 74, 31, 0.16); }

/* ---- Link "en savoir plus" ---- */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-700);
  margin-top: 14px;
}

.link-more:hover { color: var(--green-900); }
.hero--brand .link-more { color: var(--gold-400); }
.hero--brand .link-more:hover { color: #fff; }

/* ---- Check list ---- */
.check-list {
  margin-top: 14px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-700);
  font-weight: 800;
}

/* ---- Photo gallery + lightbox ---- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.photo-gallery__item {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.photo-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.photo-gallery__item:hover img { transform: scale(1.06); }

.photo-gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(14, 74, 31, 0.75), transparent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 20px 12px 8px;
  text-align: left;
}

@media (max-width: 700px) {
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery__item--featured { grid-column: span 2; grid-row: span 1; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 20, 14, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
}

.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.24); }

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
}

.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---- Document carousel (small, swipeable) ---- */
.doc-carousel { max-width: 320px; margin: 0 auto; }
.doc-carousel__viewport {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 1654 / 2339;
  background: var(--paper);
}
.doc-carousel__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.doc-carousel__track::-webkit-scrollbar { display: none; }
.doc-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
}
.doc-carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-carousel__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.doc-carousel__btn {
  width: 32px; height: 32px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--paper);
  cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.doc-carousel__btn:hover { background: var(--paper-soft); }
.doc-carousel__dots { display: flex; gap: 6px; }
.doc-carousel__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--border); border: 0; padding: 0; cursor: pointer; }
.doc-carousel__dot.is-active { background: var(--green-700); }

/* ---- Announcement banner ---- */
.announce-banner {
  display: block;
  background: var(--green-700);
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 16px;
  text-decoration: none;
}
.announce-banner:hover { background: var(--green-900); }
.announce-banner span { opacity: 0.85; font-weight: 600; margin-left: 6px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/9; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--green-700);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.is-hidden-behind-banner {
  opacity: 0;
  visibility: hidden;
}

.back-to-top:hover { background: var(--green-500); }

.field-error {
  display: block;
  margin-top: 6px;
  color: #b3261e;
  font-size: 0.85em;
}

input.is-invalid,
textarea.is-invalid {
  border-color: #b3261e;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 500px) {
  .cookie-banner { padding: 16px 18px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 700px) {
  .back-to-top { right: 16px; bottom: 16px; }
}
