/* ================================================================
   LGC AVOCATS — DESIGN SYSTEM
   Aesthetic : "Cabinet Prestige" — dark editorial, French legal
   Fonts      : Cormorant Garamond (display) + Outfit (UI/body)
   DFII       : 15/15 — Impact 5, Fit 4, Feasibility 4, Perf 4, Risk 2
   Differentiator: Large italic Cormorant on noir, gold accent line,
                   serif gravitas vs. generic law firm blue-and-white
   ================================================================ */

/* ===== 0. GRAIN OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

/* ===== 1. RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

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

/* ===== 2. DESIGN TOKENS ===== */
:root {
  /* Colors — dark palette */
  --c-noir:       #0C0C10;
  --c-encre:      #131318;
  --c-ardoise:    #1A1A24;
  --c-ardoise-2:  #22222E;

  /* Accent */
  --c-or:         #C4A75D;
  --c-or-light:   #D8BD80;
  --c-or-subtle:  rgba(196, 167, 93, 0.15);
  --c-or-border:  rgba(196, 167, 93, 0.25);

  /* Light palette */
  --c-sable:      #F2EDE4;
  --c-blanc:      #FAFAF7;
  --c-gris-clair: #EDE8DF;

  /* Text on dark */
  --c-text-d1:    #F0ECE4;
  --c-text-d2:    #8C8898;
  --c-text-d3:    #5C5868;

  /* Text on light */
  --c-text-l1:    #18181E;
  --c-text-l2:    #4A4650;
  --c-text-l3:    #7A7680;

  /* Borders */
  --c-border-d:   #252530;
  --c-border-d2:  #1E1E28;
  --c-border-l:   #DDD8CE;

  /* Typography */
  --f-display:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-ui:         'Outfit', -apple-system, system-ui, sans-serif;

  /* Type scale */
  --t-xs:     0.6875rem;   /* 11px */
  --t-sm:     0.8125rem;   /* 13px */
  --t-base:   1rem;        /* 16px */
  --t-lg:     1.125rem;    /* 18px */
  --t-xl:     1.375rem;    /* 22px */
  --t-2xl:    1.75rem;     /* 28px */
  --t-3xl:    2.25rem;     /* 36px */
  --t-4xl:    3rem;        /* 48px */
  --t-5xl:    4rem;        /* 64px */
  --t-6xl:    5.5rem;      /* 88px */
  --t-7xl:    7rem;        /* 112px */

  /* Spacing scale (8px base) */
  --s-1:   0.25rem;
  --s-2:   0.5rem;
  --s-3:   0.75rem;
  --s-4:   1rem;
  --s-5:   1.25rem;
  --s-6:   1.5rem;
  --s-8:   2rem;
  --s-10:  2.5rem;
  --s-12:  3rem;
  --s-16:  4rem;
  --s-20:  5rem;
  --s-24:  6rem;
  --s-32:  8rem;
  --s-40:  10rem;

  /* Radii */
  --r-sm:  2px;
  --r-md:  4px;
  --r-lg:  8px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 4px 24px rgba(0,0,0,0.3);
  --shadow-elevated: 0 8px 48px rgba(0,0,0,0.5);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
  --dur-fast: 180ms;
  --dur-std:  350ms;
  --dur-slow: 600ms;

  /* Layout */
  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 5vw, 5rem);
  --section-py:    clamp(4rem, 8vw, 8rem);
}

/* ===== 3. BASE TYPOGRAPHY ===== */
body {
  font-family: var(--f-ui);
  font-size: var(--t-base);
  font-weight: 400;
  color: var(--c-text-l1);
  background: var(--c-blanc);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(var(--t-4xl), 6vw, var(--t-6xl)); }
h2 { font-size: clamp(var(--t-3xl), 4vw, var(--t-5xl)); }
h3 { font-size: clamp(var(--t-2xl), 3vw, var(--t-4xl)); }
h4 { font-size: var(--t-2xl); }
h5 { font-size: var(--t-xl); }

p {
  font-size: var(--t-base);
  line-height: 1.75;
  color: inherit;
}

.label {
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-or);
}

.label--dark {
  color: var(--c-text-d2);
}

/* ===== 4. LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-py);
}

.section--dark {
  background: var(--c-encre);
  color: var(--c-text-d1);
}

.section--darker {
  background: var(--c-noir);
  color: var(--c-text-d1);
}

.section--light {
  background: var(--c-sable);
  color: var(--c-text-l1);
}

.section--white {
  background: var(--c-blanc);
  color: var(--c-text-l1);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
}

/* ===== 5. NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: var(--s-6);
  transition: background var(--dur-std) var(--ease-out),
              padding var(--dur-std) var(--ease-out),
              border-color var(--dur-std) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(12, 12, 16, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-block: var(--s-4);
  border-bottom-color: var(--c-border-d);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__mark {
  font-family: var(--f-display);
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--c-text-d1);
  line-height: 1;
}

.logo__mark span {
  color: var(--c-or);
}

.logo__sub {
  font-family: var(--f-ui);
  font-size: 0.5625rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-text-d2);
  margin-top: var(--s-1);
}

/* Main nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: var(--s-2) var(--s-3);
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-text-d2);
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] {
  color: var(--c-text-d1);
  outline: none;
}

.nav__link[aria-current="page"] {
  color: var(--c-or);
}

/* Dropdown */
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + var(--s-3));
  left: 50%;
  transform: translate(-50%, -6px);
  background: var(--c-ardoise);
  border: 1px solid var(--c-border-d);
  min-width: 200px;
  padding: var(--s-2) 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.nav__dropdown-link {
  display: block;
  padding: var(--s-3) var(--s-6);
  font-size: var(--t-sm);
  color: var(--c-text-d2);
  transition: color var(--dur-fast), background var(--dur-fast);
}

.nav__dropdown-link:hover {
  color: var(--c-or);
  background: rgba(255,255,255,0.03);
}

/* Header phone */
.nav__phone {
  margin-left: var(--s-6);
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--c-or);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
}

.nav__phone:hover {
  color: var(--c-or-light);
}

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s-1);
}

.burger__line {
  width: 100%;
  height: 1px;
  background: var(--c-text-d1);
  transition: transform var(--dur-std) var(--ease-out),
              opacity var(--dur-fast);
}

.burger.open .burger__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.open .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.open .burger__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--c-noir);
  padding: var(--s-24) var(--container-pad) var(--s-12);
  flex-direction: column;
  justify-content: center;
  gap: var(--s-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-std) var(--ease-out);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__link {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  font-weight: 300;
  color: var(--c-text-d1);
  transition: color var(--dur-fast);
  line-height: 1.2;
}

.mobile-nav__link:hover {
  color: var(--c-or);
}

.mobile-nav__phone {
  margin-top: var(--s-8);
  font-size: var(--t-lg);
  color: var(--c-or);
  font-weight: 500;
}

/* ===== 6. HERO ===== */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.hero__label      { animation: heroIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s both; }
.hero__accent-line{ animation: heroIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.30s both; }
.hero__title      { animation: heroIn 1.0s cubic-bezier(0.16,1,0.3,1) 0.38s both; }
.hero__body       { animation: heroIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.58s both; }
.hero__actions    { animation: heroIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.72s both; }
.hero__scroll     { animation: heroIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.90s both; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  background: var(--c-noir);
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-40) var(--container-pad) var(--s-20);
  padding-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  position: relative;
  z-index: 1;
}

.hero__label {
  margin-bottom: var(--s-6);
}

.hero__accent-line {
  width: 48px;
  height: 1px;
  background: var(--c-or);
  margin-bottom: var(--s-6);
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 7.5vw, 8.5rem);
  font-weight: 300;
  line-height: 0.97;
  color: var(--c-text-d1);
  letter-spacing: -0.04em;
  margin-bottom: var(--s-10);
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  display: block;
  color: var(--c-or-light);
  letter-spacing: -0.03em;
}

.hero__body {
  font-size: clamp(var(--t-base), 1.4vw, var(--t-lg));
  color: var(--c-text-d2);
  max-width: 44ch;
  line-height: 1.7;
  margin-bottom: var(--s-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  /* Photo demo Unsplash — remplacer par portraits Maîtres Lubert-Guin & Colliot */
  background-image:
    linear-gradient(to right, var(--c-noir) 0%, rgba(12,12,16,0.45) 25%, rgba(12,12,16,0.05) 65%, transparent 100%),
    url('../assets/img/lgc-orig-3.jpg');
  background-size: cover;
  background-position: left center;
}

.hero__image::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, var(--c-noir), transparent);
  z-index: 1;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(196,167,93,0.05) 0%, transparent 65%);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--s-8);
  left: 0;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--c-text-d3);
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 32px;
  height: 1px;
  background: var(--c-text-d3);
}

/* ===== 7. BUTTONS & CTA ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--s-4) var(--s-8);
  min-height: 52px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--c-or);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--c-or);
  color: var(--c-noir);
  border-color: var(--c-or);
}

.btn--primary:hover {
  background: var(--c-or-light);
  border-color: var(--c-or-light);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text-d1);
  border-color: var(--c-border-d);
}

.btn--ghost:hover {
  border-color: var(--c-or-border);
  color: var(--c-or);
}

.btn--outline-gold {
  background: transparent;
  color: var(--c-or);
  border-color: var(--c-or-border);
}

.btn--outline-gold:hover {
  background: var(--c-or-subtle);
  border-color: var(--c-or);
}

.btn--outline-dark {
  background: transparent;
  color: var(--c-text-l1);
  border-color: var(--c-border-l);
}

.btn--outline-dark:hover {
  border-color: var(--c-text-l1);
}

.btn--phone {
  background: transparent;
  color: var(--c-text-d2);
  border: none;
  padding-inline: 0;
  letter-spacing: 0.04em;
  font-size: var(--t-base);
  font-weight: 400;
  text-transform: none;
}

.btn--phone:hover {
  color: var(--c-or);
}

/* Link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-or);
  transition: color var(--dur-fast);
  text-decoration: none;
}

.link-arrow::after {
  content: '→';
  font-family: var(--f-ui);
  font-size: 1em;
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-out);
}

.link-arrow:hover::after {
  transform: translateX(5px);
}

/* ===== 8. SECTION INTRO ===== */
.section-intro {
  margin-bottom: clamp(var(--s-12), 5vw, var(--s-20));
}

.section-intro .label {
  display: block;
  margin-bottom: var(--s-4);
}

.section-intro__title {
  font-size: clamp(var(--t-3xl), 4vw, var(--t-5xl));
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: var(--s-6);
}

.section-intro__body {
  font-size: var(--t-lg);
  line-height: 1.7;
  max-width: 60ch;
  color: var(--c-text-l2);
}

.section-intro--dark .section-intro__title {
  color: var(--c-text-d1);
}

.section-intro--dark .section-intro__body {
  color: var(--c-text-d2);
}

.section-intro--center {
  text-align: center;
}

.section-intro--center .section-intro__body {
  margin-inline: auto;
}

/* ===== 9. SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border-d);
  border: 1px solid var(--c-border-d);
}

.service-card {
  background: var(--c-ardoise);
  padding: var(--s-12) var(--s-10);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  overflow: hidden;
  transition: background var(--dur-std) var(--ease-out);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--s-10);
  right: var(--s-10);
  height: 1px;
  background: transparent;
  transition: background var(--dur-std) var(--ease-out),
              box-shadow var(--dur-std) var(--ease-out);
}

.service-card:hover {
  background: var(--c-ardoise-2);
}

.service-card:hover::before {
  background: var(--c-or);
  box-shadow: 0 0 22px 3px rgba(196, 167, 93, 0.28);
}

.service-card__num {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 300;
  color: var(--c-text-d3);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: var(--s-4);
  transition: color var(--dur-std);
}

.service-card:hover .service-card__num {
  color: var(--c-or);
}

.service-card__title {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 400;
  color: var(--c-text-d1);
  line-height: 1.2;
}

.service-card__body {
  font-size: var(--t-sm);
  color: var(--c-text-d2);
  line-height: 1.8;
  flex: 1;
}

.service-card__link {
  margin-top: var(--s-4);
}

/* ===== 10. STATS SECTION ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border-d);
  border: 1px solid var(--c-border-d);
  margin-bottom: var(--s-16);
}

.stat-item {
  background: var(--c-ardoise);
  padding: var(--s-10) var(--s-8);
  text-align: center;
}

.stat-item__number {
  font-family: var(--f-display);
  font-size: clamp(var(--t-4xl), 5vw, var(--t-6xl));
  font-weight: 300;
  color: var(--c-or);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: var(--s-2);
}

.stat-item__label {
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-d2);
}

/* ===== 11. TEAM SECTION ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-12);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.team-card__photo {
  aspect-ratio: 4/5;
  background-color: #14141C;
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
}

.team-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(12,12,16,0.85) 100%);
  pointer-events: none;
}

.team-card__photo-label {
  position: absolute;
  bottom: var(--s-4);
  left: var(--s-4);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-sable);
  background: rgba(12,12,16,0.75);
  padding: var(--s-1) var(--s-3);
  z-index: 1;
}

.team-card__info {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.team-card__name {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 400;
  color: var(--c-text-l1);
  line-height: 1.2;
}

.team-card__title {
  font-size: var(--t-sm);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-or);
}

.team-card__bio {
  font-size: var(--t-base);
  color: var(--c-text-l2);
  line-height: 1.8;
}

.team-card__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  color: var(--c-text-l3);
  transition: color var(--dur-fast);
  margin-top: var(--s-2);
}

.team-card__contact:hover {
  color: var(--c-or);
}

/* ===== 12. VALUES SECTION ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border-d);
  border: 1px solid var(--c-border-d);
}

.value-item {
  background: var(--c-ardoise);
  padding: var(--s-10) var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
}

.value-item__num {
  font-family: var(--f-display);
  font-size: var(--t-7xl);
  font-weight: 300;
  color: var(--c-ardoise-2);
  line-height: 0.8;
  position: absolute;
  top: var(--s-4);
  right: var(--s-6);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.value-item__name {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 400;
  color: var(--c-text-d1);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.value-item__body {
  font-size: var(--t-sm);
  color: var(--c-text-d2);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.value-item__rule {
  width: 28px;
  height: 1px;
  background: var(--c-or);
  margin-bottom: var(--s-2);
}

/* ===== 13. CTA BLOCK ===== */
.cta-block {
  text-align: center;
  padding-block: var(--s-24);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--c-border-d));
}

.cta-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to top, transparent, var(--c-border-d));
}

.cta-block__eyebrow {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--c-or);
  margin-bottom: var(--s-8);
}

.cta-block__title {
  font-family: var(--f-display);
  font-size: clamp(var(--t-3xl), 4vw, var(--t-5xl));
  font-weight: 300;
  color: var(--c-text-d1);
  line-height: 1.15;
  max-width: 20ch;
  margin-inline: auto;
  margin-bottom: var(--s-6);
}

.cta-block__title em {
  font-style: italic;
}

.cta-block__body {
  font-size: var(--t-lg);
  color: var(--c-text-d2);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--s-10);
  line-height: 1.7;
}

.cta-block__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* ===== 14. PAGE HEADER (inner pages) ===== */
.page-header {
  background: var(--c-noir);
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: var(--s-20);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--container-pad);
  right: var(--container-pad);
  height: 1px;
  background: var(--c-border-d);
}

.page-header__label {
  display: block;
  margin-bottom: var(--s-6);
}

.page-header__title {
  font-family: var(--f-display);
  font-size: clamp(var(--t-4xl), 6.5vw, 7.5rem);
  font-weight: 300;
  color: var(--c-text-d1);
  line-height: 1.0;
  max-width: 18ch;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-6);
}

.page-header__title em {
  font-style: italic;
}

.page-header__accent {
  width: 48px;
  height: 1px;
  background: var(--c-or);
  margin-bottom: var(--s-6);
}

.page-header__body {
  font-size: var(--t-lg);
  color: var(--c-text-d2);
  max-width: 56ch;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-8);
}

.breadcrumb__item {
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-d3);
}

.breadcrumb__item a {
  color: var(--c-text-d3);
  transition: color var(--dur-fast);
}

.breadcrumb__item a:hover {
  color: var(--c-or);
}

.breadcrumb__sep {
  color: var(--c-text-d3);
  font-size: 0.5rem;
}

/* ===== 15. CONTENT SECTIONS (inner pages) ===== */
.content-section {
  padding-block: var(--section-py);
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: start;
}

.content-block__heading {
  position: sticky;
  top: var(--s-24);
}

.content-block__rule {
  width: 40px;
  height: 1px;
  background: var(--c-or);
  margin-bottom: var(--s-6);
}

.content-block__title {
  font-size: clamp(var(--t-2xl), 3vw, var(--t-4xl));
  font-weight: 300;
  line-height: 1.15;
  color: var(--c-text-l1);
}

.content-block__body p {
  font-size: var(--t-base);
  color: var(--c-text-l2);
  line-height: 1.8;
  margin-bottom: var(--s-6);
}

.content-block__body p:last-child {
  margin-bottom: 0;
}

/* List with gold bullets */
.list-gold {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-block: var(--s-6);
}

.list-gold__item {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  font-size: var(--t-base);
  color: var(--c-text-l2);
  line-height: 1.7;
}

.list-gold__item::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 1px;
  background: var(--c-or);
  margin-top: 0.85em;
}

/* Section divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--c-border-l);
}

.divider--dark {
  background: var(--c-border-d);
}

/* ===== 16. FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid var(--c-border-l);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding-block: var(--s-6);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  color: var(--c-text-l1);
}

.faq__question-text {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 400;
  line-height: 1.3;
}

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--c-or);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--dur-std) var(--ease-out),
              opacity var(--dur-std);
}

.faq__icon::before {
  width: 12px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__item.open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease-out);
}

.faq__answer-inner {
  padding-bottom: var(--s-6);
  font-size: var(--t-base);
  color: var(--c-text-l2);
  line-height: 1.8;
  max-width: 68ch;
}

/* ===== 17. CONTACT FORM ===== */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--s-16);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: var(--s-24);
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--c-border-l);
}

.contact-info__item:first-child {
  border-top: 1px solid var(--c-border-l);
}

.contact-info__label {
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-l3);
}

.contact-info__value {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 400;
  color: var(--c-text-l1);
}

.contact-info__value a {
  color: inherit;
  transition: color var(--dur-fast);
}

.contact-info__value a:hover {
  color: var(--c-or);
}

.contact-info__sub {
  font-size: var(--t-sm);
  color: var(--c-text-l3);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.form__label {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-l3);
}

.form__label sup {
  color: var(--c-or);
}

.form__input,
.form__select,
.form__textarea {
  background: var(--c-blanc);
  border: 1px solid var(--c-border-l);
  padding: var(--s-4) var(--s-5);
  font-size: var(--t-base);
  color: var(--c-text-l1);
  font-family: var(--f-ui);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  border-radius: 0;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--c-or);
  box-shadow: 0 0 0 3px var(--c-or-subtle);
}

.form__input.error,
.form__textarea.error {
  border-color: #C45D5D;
}

.form__error {
  font-size: var(--t-xs);
  color: #C45D5D;
  margin-top: -var(--s-1);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__rgpd {
  font-size: var(--t-xs);
  color: var(--c-text-l3);
  line-height: 1.6;
}

.form__success {
  display: none;
  padding: var(--s-6) var(--s-8);
  background: rgba(196, 167, 93, 0.1);
  border: 1px solid var(--c-or-border);
  color: var(--c-or);
  font-size: var(--t-sm);
  letter-spacing: 0.05em;
}

/* ===== 18. FOOTER ===== */
.site-footer {
  background: var(--c-noir);
  padding-top: var(--s-20);
  padding-bottom: var(--s-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--s-12);
  padding-bottom: var(--s-16);
  border-bottom: 1px solid var(--c-border-d);
  margin-bottom: var(--s-8);
}

.footer-brand__tagline {
  font-size: var(--t-sm);
  color: var(--c-text-d3);
  line-height: 1.7;
  max-width: 30ch;
  margin-top: var(--s-4);
}

.footer-brand__rule {
  width: 32px;
  height: 1px;
  background: var(--c-or);
  margin-block: var(--s-6);
}

.footer-brand__address {
  font-size: var(--t-sm);
  color: var(--c-text-d3);
  line-height: 1.8;
  font-style: normal;
}

.footer-nav__heading {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-d2);
  margin-bottom: var(--s-6);
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer-nav__link {
  font-size: var(--t-sm);
  color: var(--c-text-d3);
  transition: color var(--dur-fast);
  line-height: 1;
}

.footer-nav__link:hover {
  color: var(--c-text-d1);
}

.footer-contact__heading {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-d2);
  margin-bottom: var(--s-6);
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  margin-bottom: var(--s-4);
}

.footer-contact__label {
  font-size: var(--t-xs);
  color: var(--c-text-d3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact__value {
  font-size: var(--t-sm);
  color: var(--c-text-d2);
}

.footer-contact__value a {
  color: inherit;
  transition: color var(--dur-fast);
}

.footer-contact__value a:hover {
  color: var(--c-or);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-size: var(--t-xs);
  color: var(--c-text-d3);
  letter-spacing: 0.04em;
}

.footer-bottom__links {
  display: flex;
  gap: var(--s-6);
}

.footer-bottom__link {
  font-size: var(--t-xs);
  color: var(--c-text-d3);
  letter-spacing: 0.04em;
  transition: color var(--dur-fast);
}

.footer-bottom__link:hover {
  color: var(--c-text-d1);
}

/* ===== 19. SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  background: var(--c-or);
  color: var(--c-noir);
  padding: var(--s-3) var(--s-6);
  font-size: var(--t-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--dur-fast);
}

.skip-link:focus {
  top: var(--s-4);
}

/* ===== 20. SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

/* ===== 21. 404 ===== */
.error-page {
  min-height: 100svh;
  background: var(--c-noir);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--container-pad);
}

.error-page__num {
  font-family: var(--f-display);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 300;
  color: var(--c-ardoise-2);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-8);
}

.error-page__title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 300;
  color: var(--c-text-d1);
  margin-bottom: var(--s-4);
}

.error-page__body {
  color: var(--c-text-d2);
  margin-bottom: var(--s-10);
  max-width: 40ch;
}

/* ===== 22. RESPONSIVE ===== */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    position: relative;
  }

  .hero__content {
    padding: 9rem var(--container-pad) 5rem;
    min-height: 100svh;
    display: flex;
    position: relative;
    z-index: 2;
  }

  .hero__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
      linear-gradient(to bottom, rgba(12,12,16,0.82) 0%, rgba(12,12,16,0.5) 55%, rgba(12,12,16,0.72) 100%),
      url('../assets/img/lgc-orig-3.jpg');
    background-size: cover;
    background-position: center;
  }

  .hero__image::before {
    display: none;
  }

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

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

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

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

  .content-block {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }

  .content-block__heading {
    position: static;
  }

  .contact-page {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }
}

/* Mobile menu trigger */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  :root {
    --section-py: clamp(3rem, 8vw, 5rem);
  }

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

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
  }

  .hero__title {
    font-size: clamp(2.75rem, 9vw, 4rem);
  }

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

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

  .cta-block__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

/* Small mobile: ≤ 360px */
@media (max-width: 375px) {
  :root {
    --container-pad: 1rem;
  }
}

/* ===== 23. PRINT ===== */
@media print {
  .site-header,
  .mobile-nav,
  .hero__image,
  .hero__scroll,
  .cta-block {
    display: none;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
}

/* ===== 24. SCREEN READER ONLY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 25. FOCUS VISIBLE (accessibility) ===== */
:focus-visible {
  outline: 2px solid var(--c-or);
  outline-offset: 3px;
}

/* Remove focus ring for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}
