:root {
  --header-height: 167px;
  --logo-size: 138px;
  --bg: #0b0b0b;
  --panel: #111111;
  --panel-soft: #171717;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f5f5;
  --muted: #b5b5b5;
  --muted-strong: #d0d0d0;
  --accent: #ffffff;
  --light-bg: #f7f5f1;
  --light-panel: #ffffff;
  --light-text: #1c1c1c;
  --light-muted: #666666;
  --light-line: rgba(0, 0, 0, 0.1);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  --radius: 20px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
.main-nav,
.eyebrow,
.price-highlight,
.side-card strong,
.brand-title {
  font-family:
    Manrope, Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(36, 36, 36, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
}

.brand img {
  width: var(--logo-size);
  height: var(--logo-size);
  object-fit: contain;
  border-radius: 50%;
}


.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.main-nav a {
  color: var(--muted);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
}

.header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.05rem;
  justify-self: end;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--muted-strong);
  transition: color 0.18s ease, transform 0.18s ease;
}

.icon-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.icon-link svg {
  width: 20px;
  height: 20px;
}

.hero {
  padding: 0 0 4rem;
}

.hero-inverted {
  background: var(--light-bg);
  color: var(--light-text);
}

.hero-media {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-inverted .hero-media {
  border-bottom-color: var(--light-line);
}

.hero-media img {
  width: 100%;
  height: auto;
}

.hero-copy {
  padding-top: 3.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--muted-strong);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-copy-centered {
  max-width: 820px;
  text-align: center;
  margin-inline: auto;
}

.hero p.lead {
  margin: 1.4rem auto 0;
  max-width: 62ch;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.hero-inverted .eyebrow,
.hero-inverted p.lead,
.hero-inverted .hero-meta {
  color: var(--light-muted);
}

.hero-meta {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero-actions-centered {
  justify-content: center;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--accent);
  color: #0b0b0b;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

.button.secondary {
  background: transparent;
  color: var(--text);
}

.hero-inverted .button {
  background: var(--light-text);
  color: var(--light-panel);
  border-color: rgba(0, 0, 0, 0.08);
}

.hero-inverted .button.secondary {
  background: transparent;
  color: var(--light-text);
  border-color: var(--light-line);
}

.section {
  padding: 1.5rem 0 4.5rem;
}

.section-dark {
  background: #121212;
}

.section-light {
  background: var(--light-bg);
  color: var(--light-text);
}

.section-light .section-header p,
.section-light .content-block p,
.section-light .contact-block h3,
.section-light .form-note,
.section-light .tarif-section .card p,
.section-light .tarif-list li,
.section-light .service-list li {
  color: var(--light-muted);
}

.section-light .contact-block p,
.section-light .contact-block a {
  color: var(--light-text);
}

.section-light .contact-block a:hover {
  color: #000000;
}

.section-light .content-block,
.section-light .contact-panel,
.section-light .tarifs-stack .card {
  border-top-color: var(--light-line);
}

.section-light .button.secondary {
  color: var(--light-text);
  border-color: var(--light-line);
}

.section-light input,
.section-light textarea {
  background: var(--light-panel);
  color: var(--light-text);
  border-color: rgba(0, 0, 0, 0.12);
}

.section-light label,
.section-light .tarifs-nav a {
  color: var(--light-text);
}

.section-light .button {
  border-color: rgba(0, 0, 0, 0.08);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 2rem;
  max-width: 760px;
  text-align: center;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-header p {
  display: block;
  width: 100%;
  max-width: 68ch;
  margin: 0.75rem auto 0;
  text-align: center;
  color: var(--muted);
}

.contact-section .section-header p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.content-block h3,
.card h2,
.card h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.content-block {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.content-block a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.section-light .content-block a {
  color: var(--light-text);
}

.service-list,
.tarif-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li,
.tarif-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
}

.service-list li:last-child,
.tarif-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-list li:first-child,
.tarif-list li:first-child {
  padding-top: 0;
}

.contact-section {
  padding-top: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
}

.contact-panel {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-panel-simple {
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
}

.contact-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
}

.contact-block p,
.contact-block a {
  margin: 0;
  color: var(--text);
}

form {
  display: grid;
  gap: 1rem;
}

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

label {
  display: block;
  font-size: 0.92rem;
  color: var(--muted-strong);
}

input,
textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: var(--panel-soft);
  color: var(--text);
  font: inherit;
}

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

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.tarifs-hero {
  padding: 3.5rem 0 1.5rem;
}

.tarifs-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  text-align: center;
  margin-inline: auto;
}

.tarifs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 3rem;
  align-items: start;
}

.side-card {
  position: sticky;
  top: 110px;
  padding: 1.2rem 1.1rem;
  background: var(--light-panel);
  border: 1px solid var(--light-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.side-card strong {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

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

.side-card li + li {
  margin-top: 0.55rem;
}

.side-card a {
  color: var(--light-muted);
  font-size: 0.95rem;
}

.side-card a:hover {
  color: var(--light-text);
}

.tarif-section + .tarif-section {
  margin-top: 1rem;
}

.tarif-section {
  scroll-margin-top: 86px;
}

.tarifs-stack .card {
  padding: 1.45rem 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.tarif-section .card p {
  color: var(--muted-strong);
}

.tarifs-cta-band {
  padding: 3.5rem 0;
  margin-bottom: 0;
}

.tarifs-cta-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.tarifs-cta-copy {
  max-width: 720px;
}

.tarifs-cta-copy h2 {
  margin: 0 0 0.8rem;
  color: #ffffff;
}

.tarifs-cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
}

.tarifs-cta-actions {
  flex: 0 0 auto;
}

.tarifs-cta-button {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.12);
}

.tarifs-cta-button:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.18);
}

.price-highlight {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.site-footer {
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner-centered {
  justify-content: center;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: var(--text);
}

.legal-content {
  display: grid;
  gap: 1.5rem;
}

.legal-block {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.legal-block h2 {
  margin-bottom: 0.85rem;
}

.legal-block p + p {
  margin-top: 0.65rem;
}

.seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .contact-layout,
  .tarifs-layout {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
    order: -1;
  }

  .tarifs-cta-full {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "brand icons"
      "brand nav";
    align-items: center;
    min-height: 124px;
    row-gap: 0.45rem;
    column-gap: 0.9rem;
    padding: 0.55rem 0.35rem;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
    margin-left: 0.35rem;
  }

  .brand img {
    width: 96px;
    height: 96px;
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    margin-top: 0;
    gap: 1rem;
    font-size: 0.76rem;
    letter-spacing: 0.09em;
    justify-content: center;
    flex-wrap: nowrap;
    align-self: end;
  }

  .header-icons {
    grid-area: icons;
    justify-self: end;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-right: 0.45rem;
    align-self: start;
  }

  .icon-link,
  .icon-link svg {
    width: 18px;
    height: 18px;
  }

  .content-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 2.25rem;
  }
}
