﻿:root {
  --bg: #f5f1eb;
  --bg-dark: #0f1822;
  --bg-soft: #efe6da;
  --logo-bg: #f3ece4;
  --logo-red: #7e1419;
  --card: #ffffff;
  --line: rgba(16, 24, 34, 0.1);
  --text: #16212d;
  --text-soft: #526171;
  --text-light: #f7f7f5;
  --accent: #7e1419;
  --accent-dark: #651015;
  --shadow: 0 24px 70px rgba(11, 24, 40, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f4efe8 0%, #ffffff 24rem);
}

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

[id] {
  scroll-margin-top: 96px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.page-shell {
  padding: 5rem 0;
}

.page-card {
  padding: 2.2rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(11, 24, 40, 0.08);
}

.page-card h1,
.page-card h2 {
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.page-card h1 {
  margin-top: 0;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.page-card h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.page-card p,
.page-card li {
  color: var(--text-soft);
  line-height: 1.8;
}

.page-card ul {
  padding-left: 1.2rem;
}

.notice-box {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(126, 20, 25, 0.14);
  border-radius: 0.9rem;
  background: rgba(126, 20, 25, 0.04);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(16, 24, 34, 0.06);
}

.header-topbar {
  border-bottom: 1px solid rgba(126, 20, 25, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-height: 46px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.topbar-actions {
  justify-content: flex-end;
}

.topbar-pill,
.topbar-actions .nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.topbar-pill-solid {
  color: #ffffff;
  border: 1px solid var(--logo-red);
  background: var(--logo-red);
}

.topbar-pill-outline {
  color: var(--logo-red);
  border: 1px solid rgba(126, 20, 25, 0.28);
  background: rgba(126, 20, 25, 0.08);
}

.topbar-actions .nav-button:hover,
.topbar-actions .nav-button:focus-visible,
.topbar-pill:hover,
.topbar-pill:focus-visible {
  transform: translateY(-1px);
}

.topbar-actions .nav-button-outline {
  color: var(--logo-red);
  border: 1px solid rgba(126, 20, 25, 0.24);
  background: rgba(255, 255, 255, 0.92);
}

.topbar-actions .nav-button-solid {
  color: #ffffff;
  border: 1px solid var(--logo-red);
  background: var(--logo-red);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--logo-bg);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.brand-text strong {
  color: var(--logo-red);
  font-size: 1rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  gap: 0.5rem;
  color: var(--text-soft);
  font-weight: 500;
  white-space: nowrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.58rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(126, 20, 25, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--logo-red);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--logo-red);
  background: rgba(126, 20, 25, 0.08);
  border-color: rgba(126, 20, 25, 0.18);
  box-shadow: 0 8px 20px rgba(126, 20, 25, 0.08);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(11, 18, 27, 0.9) 0%, rgba(11, 18, 27, 0.74) 45%, rgba(11, 18, 27, 0.32) 100%),
    url("assets/images/bureau-elegant-lumiere-naturelle.png") center center/cover no-repeat;
  background-attachment: fixed;
  padding: 7rem 0 11rem;
}

.hero-grid {
  display: block;
}

.hero-copy {
  max-width: 100%;
  color: var(--text-light);
}

.eyebrow,
.section-label,
.hero-panel-label {
  display: inline-block;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  margin: 0 0 1rem;
  color: var(--logo-red);
  background: rgba(255, 245, 245, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.intro-card h2,
.section-heading h2,
.contact h2,
.hero-panel h2 {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.8vw, 5.2rem);
  max-width: none;
  width: 100%;
  text-transform: uppercase;
}

.hero-text {
  max-width: 44rem;
  margin: 1.7rem 0 0;
  color: rgba(247, 247, 245, 0.88);
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--logo-red);
}

.button-secondary {
  color: #ffffff;
  background: rgba(126, 20, 25, 0.14);
  border: 1px solid rgba(126, 20, 25, 0.36);
}

.button-tertiary {
  color: #ffffff;
  background: var(--logo-red);
}

.hero-panel {
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  color: #ffffff;
}

.hero-panel h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  margin-bottom: 1.4rem;
}

.hero-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #ffffff;
  line-height: 1.9;
}

.intro-card-wrap {
  position: relative;
  margin-top: -5.5rem;
  z-index: 2;
}

.intro-card {
  padding: 3rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.intro-card h2,
.section-heading h2,
.contact h2 {
  font-size: clamp(2.1rem, 4.1vw, 3.3rem);
}

.intro-card p:not(.section-label) {
  max-width: 58rem;
  color: var(--text-soft);
  line-height: 1.95;
  font-size: 1.02rem;
}

.intro-lead {
  margin: 1.4rem 0 2rem;
}

.intro-block,
.intro-split,
.intro-note {
  margin-top: 1.6rem;
}

.intro-block h3,
.intro-panel h3 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.4;
}

.intro-domain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.intro-domain {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 86px;
  padding: 1rem;
  border: 1px solid rgba(126, 20, 25, 0.12);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #fffdfa 0%, #f7f1ea 100%);
  color: var(--text);
  font-weight: 650;
  line-height: 1.35;
}

.intro-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  background: rgba(126, 20, 25, 0.08);
  border: 1px solid rgba(126, 20, 25, 0.14);
  color: var(--logo-red);
  flex: 0 0 auto;
}

.intro-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1rem;
}

.intro-panel {
  padding: 1.5rem;
  border: 1px solid rgba(16, 24, 34, 0.08);
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(11, 24, 40, 0.06);
}

.intro-panel-muted {
  background: linear-gradient(180deg, #f6f0e8 0%, #fbf8f4 100%);
}

.intro-panel p {
  margin: 0.9rem 0 0;
}

.commitments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.commitments span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border-radius: 999px;
  color: var(--logo-red);
  background: rgba(126, 20, 25, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
}

.territory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.territory-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(126, 20, 25, 0.12);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 650;
}

.territory-grid strong {
  color: var(--logo-red);
  font-size: 1.05rem;
}

.intro-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(126, 20, 25, 0.14);
  border-radius: 0.85rem;
  background: rgba(126, 20, 25, 0.045);
}

.intro-note p {
  margin: 0;
}

.missions-showcase {
  padding: 1.5rem 0 0.5rem;
}

.missions-heading {
  max-width: 52rem;
}

.missions-text {
  margin: 1rem 0 0;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 1.02rem;
}

.missions-variant,
.tarifs {
  padding: 2rem 0 2rem;
}

.variant-heading {
  max-width: 48rem;
}

.variant-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

.mission-line {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 1rem 0;
  gap: 0.9rem;
  border-bottom: 1px solid rgba(126, 20, 25, 0.12);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.mission-lines {
  display: grid;
  gap: 0;
}

.mission-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 31rem));
  gap: 1rem;
  justify-content: start;
}

.mission-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 74px;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(126, 20, 25, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, #fffdfa 0%, #f7f1ea 100%);
  box-shadow: 0 10px 28px rgba(11, 24, 40, 0.05);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
}

.mission-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.mission-column {
  display: grid;
  gap: 0;
}

.mission-icon {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.85rem;
  background: rgba(126, 20, 25, 0.08);
  border: 1px solid rgba(126, 20, 25, 0.16);
  color: var(--logo-red);
  flex: 0 0 auto;
}

.mission-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.mission-label {
  display: block;
  text-wrap: balance;
}

.missions-list-premium .mission-line:first-child,
.missions-editorial .mission-line:first-child {
  border-top: 1px solid rgba(126, 20, 25, 0.12);
}

.mission-line:hover,
.mission-pill:hover {
  color: var(--logo-red);
}

.mission-pill {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.mission-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 20, 25, 0.24);
  background: linear-gradient(180deg, #fff9f2 0%, #f7ede2 100%);
  box-shadow: 0 16px 34px rgba(126, 20, 25, 0.08);
}

.services {
  padding: 5.5rem 0 4rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 2rem 1.7rem;
  border: 1px solid #cdc5bc;
  border-radius: 0.6rem;
  background: linear-gradient(180deg, #f3eee7 0%, #f8f6f2 100%);
  text-align: center;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 20, 25, 0.24);
  background: linear-gradient(180deg, #f8f1ea 0%, #fffdf9 100%);
  box-shadow: 0 18px 42px rgba(126, 20, 25, 0.08);
}

.service-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.5;
}

.service-card p {
  margin: 1rem 0 1.4rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: rgba(126, 20, 25, 0.08);
  border: 1px solid rgba(126, 20, 25, 0.16);
  margin-top: auto;
  color: var(--logo-red);
  font-weight: 600;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.tarifs-text {
  max-width: 48rem;
  margin: 0 0 1.6rem;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 1.02rem;
}

.service-card:hover a {
  background: rgba(126, 20, 25, 0.14);
  border-color: rgba(126, 20, 25, 0.28);
}

.service-card a:hover {
  transform: translateY(-1px);
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  background:
    linear-gradient(100deg, rgba(11, 18, 27, 0.9) 0%, rgba(11, 18, 27, 0.74) 45%, rgba(11, 18, 27, 0.34) 100%),
    url("assets/images/bureau-elegant-lumiere-naturelle.png") center center/cover no-repeat;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 27, 0.04) 0%, rgba(11, 18, 27, 0.22) 100%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.contact-text {
  max-width: 44rem;
  color: rgba(247, 247, 245, 0.82);
  line-height: 1.9;
}

.contact .section-label {
  color: var(--logo-red);
  background: rgba(255, 245, 245, 0.82);
}

.contact h2 {
  color: #ffffff;
}

.contact-card {
  padding: 1.8rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(11, 24, 40, 0.18);
  backdrop-filter: blur(10px);
}

.contact-card p {
  margin: 0 0 1.1rem;
  color: rgba(247, 247, 245, 0.84);
  line-height: 1.7;
}

.contact-card strong {
  color: #ffffff;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 1.35rem 0 1.6rem;
  background: linear-gradient(180deg, #f3eee7 0%, #f8f6f2 100%);
  border-top: 1px solid rgba(126, 20, 25, 0.08);
  color: rgba(247, 247, 245, 0.9);
}

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

.footer-brand {
  margin: 0;
  font-weight: 700;
  color: var(--logo-red);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-nav a {
  color: var(--logo-red);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #a52a30;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

@media (max-width: 1180px) {
  .hero-grid,
  .contact-grid,
  .mission-columns,
  .service-grid,
  .intro-split {
    grid-template-columns: 1fr;
  }

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

  .header-inner {
    min-height: 82px;
    padding: 0.9rem 0;
  }

  .topbar-inner {
    align-items: flex-end;
    padding: 0.55rem 0;
  }

  .topbar-actions {
    justify-content: flex-start;
  }

  .brand-text span {
    display: none;
  }

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

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(16, 24, 34, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(11, 24, 40, 0.12);
    white-space: normal;
  }

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

  .main-nav a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero {
    padding: 5rem 0 9rem;
    background:
      linear-gradient(100deg, rgba(11, 18, 27, 0.9) 0%, rgba(11, 18, 27, 0.74) 45%, rgba(11, 18, 27, 0.32) 100%),
      url("assets/images/bureau-elegant-lumiere-naturelle.png") center/cover no-repeat;
    background-attachment: scroll;
  }

  .intro-card {
    padding: 2rem;
  }

  .contact {
    background:
      linear-gradient(100deg, rgba(11, 18, 27, 0.9) 0%, rgba(11, 18, 27, 0.74) 45%, rgba(11, 18, 27, 0.34) 100%),
      url("assets/images/bureau-elegant-lumiere-naturelle.png") center center/cover no-repeat;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 0.55rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .brand-text {
    display: none;
  }

  .topbar-actions {
    width: 100%;
    gap: 0.45rem;
  }

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

  .topbar-pill,
  .topbar-actions .nav-button {
    min-height: 38px;
    padding: 0 0.55rem;
    font-size: 0.82rem;
  }

  .main-nav {
    gap: 0.6rem;
  }

  .main-nav a {
    font-size: 0.95rem;
  }

  .hero h1 {
    max-width: none;
    white-space: normal;
  }

  .mission-pill {
    border-radius: 1.1rem;
  }

  .intro-domain-grid,
  .territory-grid {
    grid-template-columns: 1fr;
  }

  .intro-note {
    align-items: start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

