/* ===========================================================
   CIPERB — Feuille de styles principale
   Design : moderne, épuré, professionnel
   =========================================================== */

:root {
  --green-900: #0a1f4a;
  --green-800: #14357a;
  --green-700: #1e4bb8;
  --green-500: #3a6cd6;
  --green-100: #eaf0fa;

  --gold-500: #f5c518;
  --gold-600: #e0ad00;

  --ink-900: #0b1220;
  --ink-700: #2a3547;
  --ink-500: #4a5568;
  --ink-300: #94a3b8;
  --line: #e5e7eb;

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef3fb;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(20, 53, 122, .06);
  --shadow-md: 0 12px 40px rgba(20, 53, 122, .10);
  --shadow-lg: 0 24px 60px rgba(20, 53, 122, .14);

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --container: 1400px;
  --nav-h: 76px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink-900); line-height: 1.15; margin: 0 0 .5rem; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; color: var(--ink-700); }
ul { margin: 0; padding: 0; list-style: none; }

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

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tinted { background: var(--bg-soft); }

.section__head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section__head h2 { position: relative; padding-bottom: 22px; }
.section__head h2::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
  border-radius: 2px;
  transform: translateX(-50%);
}
.section__head p { color: var(--ink-500); font-size: 1.05rem; margin-top: 18px; }

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

.accent { color: var(--green-700); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn--full { width: 100%; }
.btn--primary { background: var(--green-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { color: var(--ink-900); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--green-700); color: var(--green-700); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--gold-500); color: var(--ink-900); transform: translateY(-2px); }

/* ===== Top bar ===== */
.topbar { background: var(--green-900); color: #cdd8ef; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; gap: 16px; }
.topbar__left { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__right { opacity: .85; }
@media (max-width: 640px) { .topbar__right { display: none; } .topbar__left { gap: 14px; } }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(20, 53, 122, .06); background: rgba(255,255,255,.95); }
.header__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 58px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em; color: var(--green-900); }
.brand__text em { font-style: normal; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
@media (max-width: 560px) { .brand__logo { height: 46px; } }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font-weight: 500; font-size: .95rem; color: var(--ink-700); position: relative; }
.nav a:not(.btn):hover { color: var(--green-800); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--green-700); transition: width .25s ease; }
.nav a:not(.btn):hover::after { width: 100%; }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 24px; height: 2px; background: var(--ink-900); transition: transform .25s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    background: #fff;
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .3s ease;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; margin-top: 12px; text-align: center; }
}

/* ===== Hero — layout d'origine : texte + disque animé + cartes flottantes ===== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30, 75, 184, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 75, 184, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 75%);
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__blob--1 { width: 480px; height: 480px; background: #c7d5f2; top: -120px; left: -140px; }
.hero__blob--2 { width: 420px; height: 420px; background: #ffe89a; bottom: -160px; right: -120px; opacity: .45; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 60px;
}
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; gap: 60px; } }

.hero__content .lead {
  font-size: 1.08rem; color: var(--ink-500);
  max-width: 580px; margin-top: 1.1rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.5rem; }
.hero__stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-display); font-size: 1.9rem;
  color: var(--green-800); line-height: 1;
}
.hero__stats span {
  font-size: .82rem; color: var(--ink-500);
  margin-top: 6px; letter-spacing: .04em;
}

/* Visuel — logo central + cartes flottantes */
.hero__visual { position: relative; height: 460px; }
.hero__logo {
  position: absolute; inset: 0; margin: auto;
  width: 360px; height: 360px;
  display: grid; place-items: center;
  animation: float-logo 6s ease-in-out infinite;
}
.hero__logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(20, 53, 122, .18));
}
@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-float {
  position: absolute; z-index: 2;
  display: flex; gap: 12px; align-items: center;
  background: #fff; padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(20, 53, 122, .12);
  min-width: 220px;
  animation: floaty 6s ease-in-out infinite;
}
.card-float strong { display: block; font-size: .95rem; color: var(--ink-900); font-family: var(--font-display); }
.card-float span { font-size: .78rem; color: var(--ink-500); }
.card-float--1 { top: 24px; left: -10px; }
.card-float--2 { top: 50%; right: -20px; transform: translateY(-50%); animation-name: floaty2; animation-delay: -2s; }
.card-float--3 { bottom: 24px; left: 20px; animation-delay: -4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floaty2 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

.icon { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 700; }
.icon--sun  { background: linear-gradient(135deg, var(--gold-500), #ff9800); }
.icon--bolt { background: linear-gradient(135deg, var(--green-700), var(--green-800)); color: var(--gold-500); }
.icon--snow { background: linear-gradient(135deg, #4fc3f7, #1976d2); }
.icon--sun::before  { content: "☀"; font-size: 20px; color: #fff; }
.icon--bolt::before { content: "⚡"; font-size: 20px; }
.icon--snow::before { content: "❄"; font-size: 20px; }

@media (max-width: 960px) { .hero__visual { height: 380px; } .hero__logo { width: 300px; height: 300px; } }
@media (max-width: 560px) {
  .hero__visual { height: 340px; }
  .card-float { min-width: 180px; padding: 10px 14px; }
  .card-float--2 { right: 0; }
}

/* ===== Trust bar — pont visuel entre hero et sections claires ===== */
.trust {
  background: linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 100%);
  border-top: 3px solid var(--gold-500);
  color: #fff;
  position: relative;
}
.trust::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .04));
  pointer-events: none;
}
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 30px 24px; }
.trust__item { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .9); font-size: .95rem; font-weight: 500; }
.trust__item span {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--green-900);
  border-radius: 50%;
  font-size: .85rem; font-weight: 800;
  box-shadow: 0 6px 14px rgba(245, 197, 24, .28);
}
@media (max-width: 960px) { .trust__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust__inner { grid-template-columns: 1fr; } }

/* ===== About — layout contenu, décorations ===== */
.about {
  background:
    radial-gradient(circle at 15% 20%, rgba(58, 108, 214, .05), transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 960px) { .about__grid { grid-template-columns: 1fr; gap: 50px; } }

.about__visual { display: flex; flex-direction: column; gap: 24px; }

.about__stage { position: relative; padding: 0 30px 30px 0; }
.about__accent {
  display: block;
  position: absolute; right: 0; bottom: 0;
  width: 80%; height: 82%;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  z-index: 0;
}
.about__dots {
  position: absolute; top: -22px; right: -14px;
  width: 130px; height: 130px;
  background-image: radial-gradient(var(--gold-500) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: .5;
  z-index: 3;
}
.about__photo {
  position: relative; z-index: 2;
  margin: 0;
  width: 90%; height: 440px;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(20, 53, 122, .22);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.about__circle {
  position: absolute; right: -10px; top: 30px; z-index: 4;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--green-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 10px;
  box-shadow: 0 15px 40px rgba(245, 197, 24, .35);
  border: 6px solid #fff;
}
.about__circle strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.about__circle strong span { font-size: 1.4rem; vertical-align: top; }
.about__circle em { font-style: normal; font-size: .68rem; font-weight: 600; line-height: 1.25; margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }

.about__creds {
  margin-top: 8px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.cred {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cred:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cred__ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-100); color: var(--green-800);
  display: grid; place-items: center; flex-shrink: 0;
}
.cred__ic svg { width: 20px; height: 20px; }
.cred__body { min-width: 0; }
.cred__body span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); font-weight: 600; }
.cred__body strong { display: block; font-size: .82rem; color: var(--green-800); font-family: var(--font-sans); font-weight: 700; margin-top: 2px; word-break: break-word; }

@media (max-width: 720px) {
  .about__creds { grid-template-columns: 1fr; }
  .about__stage { padding: 0; }
  .about__accent { display: none; }
  .about__photo { width: 100%; height: 360px; }
  .about__circle { width: 110px; height: 110px; top: 20px; right: 20px; }
  .about__circle strong { font-size: 2rem; }
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.value { padding: 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.value__num { font-family: var(--font-display); color: var(--green-700); font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.value h4 { margin: 0 0 6px; font-size: 1.05rem; }
.value p { font-size: .88rem; color: var(--ink-500); margin: 0; }

/* ===== Services ===== */
.grid { display: grid; gap: 26px; }
.grid--services { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid--services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--services { grid-template-columns: 1fr; } }

.service {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 6px rgba(20, 53, 122, .04);
}
.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(20, 53, 122, .14);
  border-color: transparent;
}
.service__img { margin: 0; height: 200px; overflow: hidden; position: relative; }
.service__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,61,46,.45));
}
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__img img { transform: scale(1.08); }
.service__body { padding: 28px 26px; flex: 1; display: flex; flex-direction: column; }

.service__icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--green-100); color: var(--green-800);
  display: grid; place-items: center; margin: -50px 0 18px;
  border: 4px solid #fff;
  transition: background .3s ease, color .3s ease;
  position: relative; z-index: 2;
}
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service__icon { background: var(--green-800); color: var(--gold-500); }
.service p { color: var(--ink-500); font-size: .93rem; flex: 1; }
.service p em { font-style: italic; color: var(--green-700); }
.service__tag { display: inline-block; margin-top: 10px; font-size: .76rem; letter-spacing: .05em; color: var(--green-700); font-weight: 600; }

/* ===== Notre approche ===== */
.approach__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .approach__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .approach__grid { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 32px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  color: var(--gold-500);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(11,61,46,.15);
}
.step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.step p { font-size: .92rem; color: var(--ink-500); margin: 0; }

/* ===== Réalisations ===== */
.works__filter {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 0 0 40px;
}
.chip {
  padding: 8px 18px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  color: var(--ink-700); font-size: .88rem; font-weight: 600;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--green-700); color: var(--green-700); }
.chip.is-active { background: var(--green-800); border-color: var(--green-800); color: #fff; }

.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .works__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .works__grid { grid-template-columns: 1fr; } }

.work {
  background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 2px 6px rgba(20, 53, 122, .04);
}
.work.hidden { display: none; }
.work:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(20, 53, 122, .14); }
.work__img { margin: 0; height: 220px; overflow: hidden; position: relative; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work:hover .work__img img { transform: scale(1.08); }
.work__body { padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work__cat { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); background: var(--green-100); padding: 5px 10px; border-radius: 999px; }
.work h3 { font-size: 1.1rem; margin: 0; }
.work p { font-size: .9rem; color: var(--ink-500); margin: 0; }
.work__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--ink-500); }
.work__meta strong { display: block; color: var(--green-800); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; font-family: var(--font-sans); }

/* ===== Chiffres clés ===== */
.stats { background: linear-gradient(135deg, var(--green-900), var(--green-800)); padding: 70px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(245,197,24,.15), transparent 40%), radial-gradient(circle at 80% 70%, rgba(58, 108, 214,.15), transparent 40%); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; position: relative; }
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
.stat { color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat strong { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.5rem); color: var(--gold-500); line-height: 1; display: inline; }
.stat .plus { display: inline; font-family: var(--font-display); color: var(--gold-500); font-size: clamp(2.4rem, 5vw, 3.5rem); line-height: 1; }
.stat span:last-child { display: block; color: #c2d0ee; font-size: .92rem; letter-spacing: .04em; margin-top: 8px; }

/* ===== Sectors ===== */
.grid--sectors { grid-template-columns: repeat(4, 1fr); }
.grid--sectors-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid--sectors, .grid--sectors-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--sectors, .grid--sectors-3 { grid-template-columns: 1fr; } }

.sector {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sector::before { content: ""; display: block; width: 36px; height: 3px; background: var(--gold-500); border-radius: 2px; margin-bottom: 14px; }
.sector p { font-size: .93rem; color: var(--ink-500); margin: 0; }

/* ===== CTA ===== */
.cta { background: linear-gradient(135deg, var(--green-800), var(--green-700)); color: #fff; padding: 60px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { color: #cdd8ef; margin: 0; }

/* ===== Contact ===== */
.contact { background: var(--bg-soft); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; gap: 40px; } }

.contact__info h2 { margin-bottom: .5rem; }
.contact__list { display: flex; flex-direction: column; gap: 18px; margin: 24px 0 30px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--green-800); color: var(--gold-500); display: grid; place-items: center; }
.contact__ic svg { width: 20px; height: 20px; fill: currentColor; }
.contact__list strong { display: block; font-size: .95rem; color: var(--ink-900); margin-bottom: 2px; }
.contact__list span, .contact__list a { font-size: .92rem; color: var(--ink-500); }
.contact__list a:hover { color: var(--green-800); }

.legal { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-size: .85rem; color: var(--ink-500); }
.legal span { display: inline-block; min-width: 76px; font-weight: 700; color: var(--green-800); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.contact__form { background: #fff; padding: 36px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.contact__form h3 { margin: 0 0 20px; font-size: 1.35rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-700); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink-900);
  transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(30, 75, 184,.12);
}
.form__note { min-height: 22px; margin: 12px 0 0; font-size: .85rem; color: var(--green-700); text-align: center; }
.form__note.error { color: #b42318; }

/* ===== Footer ===== */
.footer { background: var(--green-900); color: #cbd6ee; padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo {
  height: 82px; width: auto; display: block;
  background: #fff; padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.footer__tagline {
  margin: 14px 0 6px; font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 700; color: var(--gold-500);
}
.footer__desc { font-size: .92rem; color: #a8b7dd; margin-top: 6px; max-width: 320px; }
.footer h4 { color: #fff; margin: 4px 0 16px; font-size: 1rem; letter-spacing: .04em; }
.footer ul li { padding: 6px 0; font-size: .9rem; color: #b3c1e3; }
.footer ul li a { transition: color .2s ease; }
.footer ul li a:hover { color: var(--gold-500); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #94a6d3; text-align: center; }

/* ===== To top ===== */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-800); color: #fff;
  display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
  z-index: 50;
}
.to-top:hover { background: var(--green-700); }
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
