:root {
  --brand: #007fe3;
  --brand-dark: #005faa;
  --text: #0a2340;
  --muted: #58718b;
  --line: rgba(0, 127, 227, 0.16);
  --line-strong: rgba(0, 127, 227, 0.3);
  --surface: #ffffff;
  --surface-alt: #f4faff;
  --shadow: 0 12px 30px rgba(0, 84, 153, 0.08);
  --radius: 24px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 7rem;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 127, 227, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 84, 153, 0.08);
  border: 1px solid rgba(0, 127, 227, 0.12);
  background: #ffffff;
}

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

.brand-text small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  visibility: hidden;
}

.nav-toggle__bar {
  position: absolute;
  left: 50%;
  width: 1.1rem;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.nav-toggle__bar:nth-child(1) {
  top: 0.9rem;
}

.nav-toggle__bar:nth-child(2) {
  top: 1.35rem;
}

.nav-toggle__bar:nth-child(3) {
  top: 1.8rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  top: 1.35rem;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  top: 1.35rem;
  transform: translateX(-50%) rotate(-45deg);
}

.nav a {
  position: relative;
  font-size: 0.96rem;
  color: var(--brand);
}

.nav a:not(.button-secondary)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0;
  transform: scaleX(0.7);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover:not(.button-secondary),
.nav a[aria-current="page"] {
  color: var(--brand);
  font-weight: 700;
}

.nav a:hover:not(.button-secondary)::after,
.nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 12px 30px rgba(0, 84, 153, 0.08);
}

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

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

.hero {
  padding: 4.4rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.page-hero .hero-grid {
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 127, 227, 0.08);
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow-light {
  font-weight: 500;
}

.credential-light {
  font-weight: 500;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--brand);
}

h1 {
  margin-top: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.2rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  font-size: 1.19rem;
  max-width: 58ch;
  color: var(--muted);
}

.centered-lead {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  text-align: left;
  padding-inline: 1.8rem;
  box-sizing: border-box;
}

.full-width-lead {
  width: 100%;
  max-width: none;
  text-align: left;
  padding-inline: 1.8rem;
  box-sizing: border-box;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.hero-card,
.hero-photo-card,
.panel,
.service-card,
.detail-card,
.legal-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
}

.hero-photo-card {
  padding: 0.9rem;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--radius) - 8px);
}

.stat {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.stat:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
}

.section {
  padding: 1.1rem 0 2.1rem;
}

#tarifs .eyebrow {
  margin-bottom: 1rem;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.two-column,
.three-column,
.services-grid,
.details-grid,
.legal-grid {
  display: grid;
  gap: 0.7rem;
}

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

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

.details-grid {
  grid-template-columns: 1fr 1fr;
}

.panel,
.service-card,
.detail-card,
.legal-card {
  padding: 1.8rem;
}

.service-card p,
.panel p,
.detail-card p,
.legal-card p,
.legal-card li,
.section li {
  color: var(--muted);
}

ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.quote {
  position: relative;
  overflow: hidden;
}

.quote strong {
  display: block;
  margin-top: 1rem;
  color: var(--brand);
}

.callout {
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--brand);
  background: rgba(0, 127, 227, 0.06);
  border-radius: 16px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--brand);
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.95rem;
}

.back-link::before {
  content: "<";
  line-height: 1;
}

.hero-copy h1,
.hero-copy .lead {
  max-width: none;
}

.hero-aside {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.article-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: start;
}

.article-hero-media {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.article-hero-image {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.article-hero-media--framed {
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-hero-media--marathon {
  margin-top: 2.7rem;
}

.article-hero-image--photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius) - 8px);
}

.article-hero-grid .hero-actions {
  margin-top: 0.9rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: none;
}

.feature-card > * {
  position: relative;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: start;
}

.resource-card {
  position: relative;
}

.resource-card[open] {
  background: #ffffff;
}

.resource-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
}

.resource-card summary::-webkit-details-marker {
  display: none;
}

.resource-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(0, 127, 227, 0.08);
  border: 1px solid rgba(0, 127, 227, 0.14);
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  transform-origin: center;
  transition: transform 160ms ease;
}

.resource-card[open] .resource-toggle {
  transform: rotate(90deg);
}

.resource-card h3 {
  font-size: 1.25rem;
  margin: 0;
}

.resource-content {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.resource-content p {
  color: var(--muted);
}
.resource-card .button-secondary,
.resource-card .button {
  width: fit-content;
}

.prominent-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--brand);
}

.article-panel a,
.article-cta a:not(.button):not(.button-secondary),
.panel a:not(.button):not(.button-secondary):not(.prominent-link) {
  color: var(--brand);
  font-weight: 700;
}

.note-card {
  background: #ffffff;
}

.article-layout {
  display: grid;
  gap: 0.7rem;
}

.article-stack {
  display: grid;
  gap: 0.7rem;
}

.article-panel {
  display: grid;
  gap: 1rem;
}

.article-figure {
  display: grid;
  gap: 0.9rem;
}

.article-figure-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.article-figure figcaption {
  color: var(--muted);
  font-size: 0.98rem;
}

.article-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.article-panel p {
  margin: 0;
}

.article-panel ul {
  margin-top: 0;
  padding-left: 1.4rem;
}

.article-panel li + li {
  margin-top: 0.5rem;
}

.article-panel li strong,
.article-panel p strong {
  color: var(--brand);
  font-weight: 700;
}

.article-highlight {
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(0, 127, 227, 0.05);
}

.article-highlight strong {
  color: var(--brand);
}

.article-sidebar {
  display: grid;
  gap: 0.7rem;
}

.article-sidebar p,
.article-sidebar li {
  color: var(--muted);
}

.article-cta {
  display: grid;
  gap: 0.8rem;
}

.footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(0, 127, 227, 0.08);
}

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

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--brand);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
  color: var(--brand);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--brand);
  transition: transform 180ms ease, opacity 180ms ease;
}

.social-links a:hover {
  transform: translateY(-1px);
  opacity: 0.8;
}

.social-links svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  fill: currentColor;
}

.social-instagram svg,
.social-youtube svg {
  transform: translateY(1px);
}

.social-facebook svg,
.social-linkedin svg {
  transform: translateY(-1px);
}

.page-hero {
  padding: 4.4rem 0 2rem;
}

.page-hero h1 {
  max-width: 14ch;
}

.mini-list {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 1.1rem 0 0;
}

.mini-list li + li {
  margin-top: 0.7rem;
}

.small {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-form {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  background: #ffffff;
}

.form-intro {
  margin-bottom: 1rem;
}

.form-intro p {
  margin: 0.45rem 0 0;
  font-size: 1.19rem;
}

.form-success {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 127, 227, 0.2);
  background: rgba(0, 127, 227, 0.08);
  color: var(--brand-dark);
  font-weight: 600;
}

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

.form-field {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--text);
}

.form-field span {
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 127, 227, 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 10rem;
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 500;
}

.form-checkbox input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

.form-checkbox span {
  line-height: 1.45;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

@media (max-width: 960px) {
  .hero-grid,
  .article-layout,
  .two-column,
  .three-column,
  .services-grid,
  .resource-grid,
  .details-grid,
  .legal-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 1rem 0;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav {
    display: none !important;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.9rem 0 0.1rem;
  }

  .nav.nav-open {
    display: flex !important;
  }

  .nav a,
  .nav .button-secondary {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-toggle {
    display: inline-flex !important;
    visibility: visible;
    width: 2.9rem;
    min-height: 2.75rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: #ffffff;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero,
  .page-hero {
    padding-top: 3.4rem;
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .hero-card,
  .panel,
  .service-card,
  .detail-card,
  .legal-card {
    padding: 1.3rem;
  }

}
