:root {
  --bg: #f4f7fb;
  --bg-alt: #e9f0f8;
  --surface: #ffffff;
  --surface-alt: #f8fbff;
  --text: #18222d;
  --text-soft: #51606f;
  --line: #d7e1ea;
  --line-strong: #aab7c4;
  --primary: #1571b8;
  --primary-strong: #0f5c95;
  --primary-soft: #e7f2fb;
  --accent: #4f4f53;
  --accent-strong: #2f3740;
  --success: #14653b;
  --danger: #b42318;
  --shadow: 0 24px 60px rgba(17, 53, 84, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(21, 113, 184, 0.11), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f1f6fb 55%, #f8fbff 100%);
  min-height: 100vh;
}

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

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

p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 251, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(170, 183, 196, 0.28);
}

.header-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 1.08rem;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.nav a {
  padding: 12px 15px;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

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

.btn,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn {
  background: linear-gradient(135deg, var(--primary), #2187d6);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(21, 113, 184, 0.18);
}

.btn:hover,
.btn:focus-visible {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--line-strong);
  color: var(--accent-strong);
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--surface-alt);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--accent-strong);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--accent-strong);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2.1rem, 4.1vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 760px;
  font-size: 1.04rem;
}

.hero {
  padding: 72px 0 36px;
}

.hero-grid,
.split-panel,
.contact-layout,
.cta-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
}

.hero-copy p {
  max-width: 660px;
  font-size: 1.05rem;
}

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

.hero-panel,
.stat-card,
.feature-card,
.service-card,
.form-card,
.contact-card,
.map-card,
.page-hero-shell,
.cta-band,
.media-frame,
.value-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  border: 1px solid rgba(170, 183, 196, 0.34);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -80px;
  right: -40px;
  border-radius: 50%;
  background: rgba(21, 113, 184, 0.1);
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: -70px;
  left: -35px;
  border-radius: 50%;
  background: rgba(79, 79, 83, 0.08);
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.hero-list,
.service-tags,
.info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip,
.pill,
.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--accent-strong);
  border: 1px solid rgba(170, 183, 196, 0.3);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-stats,
.grid-2,
.grid-3,
.metrics-grid {
  display: grid;
  gap: 20px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

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

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

.stat-card,
.feature-card,
.value-card,
.contact-card {
  padding: 26px;
}

.stat-card strong,
.metric-value {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  color: var(--primary-strong);
}

.feature-card h3,
.value-card h3,
.service-card h3,
.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.icon-badge {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 1.1rem;
  font-weight: 800;
}

.media-frame {
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

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

.team-card {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  border: 1px solid rgba(170, 183, 196, 0.34);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.team-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #f7fbff;
}

.team-photo-logo {
  object-fit: contain;
  padding: 34px;
}

.team-body {
  padding: 24px 20px 26px;
  text-align: center;
}

.team-body h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  color: var(--accent-strong);
}

.team-role {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.consultation-card img {
  object-position: center 32%;
}

.metier-card img {
  object-position: center 38%;
}

.bureautik-card img {
  object-position: center 24%;
}

.visuelle-card img {
  object-position: center 30%;
}

.pos-card img {
  object-position: center 34%;
}

.card-body {
  padding: 24px;
}

.page-hero {
  padding: 56px 0 16px;
}

.page-hero-shell {
  padding: 34px;
}

.cta-band {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(21, 113, 184, 0.07), rgba(79, 79, 83, 0.07)),
    #ffffff;
}

.form-card {
  padding: 30px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  color: var(--accent-strong);
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
}

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

input::placeholder,
textarea::placeholder {
  color: #798898;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible,
.menu-toggle:focus-visible,
.nav a:focus-visible {
  outline: 3px solid rgba(21, 113, 184, 0.24);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.form-note {
  margin-top: 16px;
  font-size: 0.95rem;
}

.form-status {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
}

.form-status.success {
  background: #eaf7ef;
  color: var(--success);
  border-color: #a6d5b5;
}

.form-status.warning {
  background: #fff6ea;
  color: #9b5f08;
  border-color: #ecc48d;
}

.form-status.error {
  background: #feeeee;
  color: var(--danger);
  border-color: #f4b4b0;
}

.contact-stack {
  display: grid;
  gap: 20px;
}

.map-card {
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  padding: 44px 0 28px;
  background: #1d2731;
  color: #eff5fb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr;
  gap: 24px;
}

.footer-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.site-footer p,
.site-footer .footer-list a,
.site-footer .footer-list span,
.copyright {
  color: #cfdae4;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #ffffff;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.counter {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-panel,
  .contact-layout,
  .cta-band,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .nav {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(170, 183, 196, 0.42);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-stats,
  .grid-2,
  .grid-3,
  .metrics-grid,
  .form-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 72px 0;
  }

  .page-hero-shell,
  .hero-panel,
  .stat-card,
  .feature-card,
  .value-card,
  .contact-card,
  .form-card,
  .cta-band,
  .card-body {
    padding: 22px;
  }
}
