:root {
      --bg: #0f1115;
      --bg-soft: #171a21;
      --card: #1f232d;
      --text: #f4f1ea;
      --muted: #b8b1a5;
      --gold: #c8a96a;
      --line: rgba(255,255,255,.12);
      --radius: 22px;
      --max: 1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    #tarteaucitronPersonalize2 {
      background: #c8a96a !important;
      color: #0f1115 !important;
    }

    #tarteaucitronAllDenied2 {
      background: #1f232d !important;
      color: #fff !important;
    }

    header {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 50;
      background: rgba(15,17,21,.82);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      max-width: var(--max);
      margin: auto;
      padding: 18px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo {
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      flex-shrink: 0;
    }

    .logo span { color: var(--gold); }

    .site-nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 18px;
      font-size: 14px;
      color: var(--muted);
    }

    .site-nav a {
      display: inline-flex;
      align-items: center;
      min-height: 40px;
      line-height: 1;
      transition: color .2s ease, background-color .2s ease, border-color .2s ease;
    }

    .site-nav a:hover { color: var(--gold); }

    .site-nav a.nav-cta {
      background: var(--gold);
      color: #17120a;
      padding: 0 18px;
      border: 1px solid var(--gold);
      border-radius: 999px;
      font-weight: 700;
    }

    .site-nav a.nav-cta:hover {
      background: #d8bd82;
      border-color: #d8bd82;
      color: #17120a;
    }

    .language-switch {
      width: 40px;
      height: 40px;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255,255,255,.04);
      overflow: hidden;
    }

    .language-switch:hover {
      border-color: var(--gold);
      background: rgba(200,169,106,.12);
    }

    .language-switch img {
      width: 22px;
      height: 22px;
      border-radius: 999px;
      object-fit: cover;
    }

    .menu-toggle {
      display: none !important;
      width: 44px;
      height: 44px;
      padding: 0;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255,255,255,.04);
      color: var(--text);
      cursor: pointer;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
    }

    .menu-toggle span {
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transition: transform .2s ease, opacity .2s ease;
    }

    .nav-toggle {
      display: none;
    }

    .nav-toggle:checked + .menu-toggle span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked + .menu-toggle span:nth-child(2) {
      opacity: 0;
    }

    .nav-toggle:checked + .menu-toggle span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    section {
      padding: 96px 22px;
      scroll-margin-top: 86px;
    }

    .container {
      max-width: var(--max);
      margin: auto;
    }

    .hero {
      min-height: 100vh;
      display: grid;
      align-content: start;
      align-items: start;
      justify-items: center;
      padding-top: 120px;
      background:
        linear-gradient(rgba(15,17,21,.65), rgba(15,17,21,.92)),
        url("/assets/img/hero/fideli-landingpage_background.jpg");
      background-size: cover;
      background-position: center;
    }

    .hero-content {
      max-width: 850px;
    }

    .eyebrow {
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: .16em;
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 18px;
    }

    h1 {
      font-size: clamp(42px, 7vw, 84px);
      line-height: .98;
      margin: 0 0 24px;
      letter-spacing: -0.04em;
    }

    h2 {
      font-size: clamp(32px, 4vw, 54px);
      line-height: 1.05;
      margin: 0 0 24px;
      letter-spacing: -0.03em;
    }

    h3 { margin-top: 0; }

    .lead {
      font-size: clamp(18px, 2vw, 23px);
      color: var(--muted);
      max-width: 760px;
    }

    .buttons {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 34px;
    }

    .btn {
      padding: 14px 22px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: transparent;
      color: var(--text);
      font-weight: 700;
    }

    .btn.primary {
      background: var(--gold);
      color: #17120a;
      border-color: var(--gold);
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .grid4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    .card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 28px;
    }

    .card strong {
      color: var(--gold);
    }

    .timeline {
      display: grid;
      gap: 18px;
      margin-top: 34px;
    }

    .timeline-item {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 28px;
      padding: 26px;
      border-radius: var(--radius);
      background: var(--bg-soft);
      border: 1px solid var(--line);
    }

    .timeline-offset-large {
      margin-right: 280px;
    }

    .timeline-offset-medium {
      margin-right: 200px;
    }

    .timeline-offset-small {
      margin-right: 120px;
    }

    .date {
      color: var(--gold);
      font-weight: 800;
    }

    .muted { color: var(--muted); }

    .split {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      gap: 46px;
      align-items: center;
    }

    .quote {
      font-size: clamp(24px, 3vw, 38px);
      line-height: 1.18;
      letter-spacing: -0.03em;
      color: var(--text);
    }

    .pulse-separator {
      animation: pulse-step 4s infinite;
      color: #fffffff5;
      white-space: nowrap;
    }

    .pulse-separator:nth-of-type(2) {
      animation-delay: 1s;
    }

    .pulse-separator:nth-of-type(3) {
      animation-delay: 2s;
    }

    .pulse-separator:nth-of-type(4) {
      animation-delay: 3s;
    }

    @keyframes pulse-step {
      0%,
      6%,
      28%,
      100% {
        color: #fffffff5;
      }

      10%,
      24% {
        color: var(--gold);
      }
    }

    .media-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-top: 34px;
    }

    .media {
      min-height: 260px;
      border-radius: var(--radius);
      background: linear-gradient(135deg, #2b303c, #14171d);
      border: 1px solid var(--line);
      display: grid;
      place-items: center;
      padding: 24px;
      text-align: center;
      color: var(--muted);
    }

    .media.has-image {
      position: relative;
      overflow: hidden;
      padding: 0;
      color: var(--text);
    }

    .media.has-image img {
      width: 100%;
      height: 105%;
      min-height: 260px;
      object-fit: cover;
    }

    .media.has-image span {
      position: absolute;
      left: 18px;
      bottom: 18px;
      z-index: 1;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(15,17,21,.72);
      border: 1px solid var(--line);
      font-weight: 700;
    }

    .realisations-header {
      display: flex;
      align-items: center;
    }

    .realisations-intro {
      flex: 1;
      text-align: start;
      margin-bottom: 21px;
      margin-left: 21px;
    }

    .realisations-spotlight {
      margin-inline-start: auto;
      text-align: end;
    }

    .media.has-image img.realisations-spotlight-img {
      height: 59%;
    }

    .media.has-image.realisations-project-media {
      height: 88px;
    }

    .fa-brands, .fab {
    font-weight: bold;
    font-size: 20px;
    }

    .legal-hero {
      min-height: auto;
      padding-top: 150px;
      padding-bottom: 48px;
      background: linear-gradient(180deg, rgba(23,26,33,.92), rgba(15,17,21,1));
    }

    .legal-content {
      padding-top: 48px;
    }

    .legal-content .card {
      max-width: 960px;
      margin: 0 auto;
    }

    .legal-content h3 {
      color: var(--gold);
      font-size: clamp(24px, 3vw, 34px);
      margin-bottom: 18px;
    }

    .legal-content h4 {
      color: var(--text);
      font-size: 22px;
      margin: 42px 0 12px;
    }

    .legal-content p {
      color: var(--muted);
      margin: 0 0 16px;
    }

    .legal-content a {
      color: var(--gold);
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .legal-content .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 8px 0 26px;
      text-decoration: none;
      cursor: pointer;
    }

    footer {
      padding: 42px 22px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      text-align: center;
    }

    footer a {
      color: var(--gold);
    }

    /* RGPD */
    #tarteaucitronAlertBig #tarteaucitronPrivacyUrl, #tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog {
        cursor: pointer;
        display: none;
    }
