/* =============================================
   SEQUOIA CAPITAL — Faithful reproduction v2
   Based on actual screenshot analysis
   ============================================= */

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

:root {
  --seq-green: #00a071;
  --seq-black: #1b1916;
  --seq-white: #ffffff;
  --seq-offwhite: #f3f3f2;
  --seq-gray: #888;
  --seq-cream: #faf6f1;
  --seq-red-margin: #d4a0a0;
  --seq-line: rgba(27, 25, 22, 0.06);
  --grid-gap: 1rem;

  /* Cartes produits — palette finance (banque privée / private equity / FT) */
  --card-visibilite-1: #3B5547;
  --card-visibilite-2: #2E4438;
  --card-edition-1: #5A3A29;
  --card-edition-2: #432A1B;
  --card-recherche-1: #2A4055;
  --card-recherche-2: #1E3148;
  --card-studio-1: #6A3138;
  --card-studio-2: #532328;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--seq-black);
  background: var(--seq-cream);
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 19.5px,
      rgba(27, 25, 22, 0.09) 19.5px,
      rgba(27, 25, 22, 0.09) 20px
    ),
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 19.5px,
      rgba(27, 25, 22, 0.09) 19.5px,
      rgba(27, 25, 22, 0.09) 20px
    );
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

/* =============================================
   NAVBAR — white bg, uppercase small links, spaced
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--seq-cream);
  border-bottom: none;
}

.nav-inner {
  position: relative;
  margin: 0 auto;
  padding: 0 3rem;
  height: 56px;
  display: flex;
  align-items: center;
}

.nav-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 3rem;
  right: 3rem;
  height: 0;
  border-top: thin solid #aeada9;
  opacity: 1;
}

.nav-logo {
  color: var(--seq-black);
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.nav-logo .logo-svg {
  height: 50px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 300;
  color: var(--seq-black);
  letter-spacing: 0.02em;
  opacity: 1;
  transition: opacity 0.3s;
  position: relative;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.active {
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M 0 6 C 30 4, 60 7, 90 5 C 105 4, 115 6, 120 5' stroke='%231b1916' stroke-width='3.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 10px;
  padding-bottom: 10px;
}

.nav-links a:not(.active):hover .pencil-circle {
  opacity: 1;
}

.nav-links a:not(.active):hover .pencil-circle path {
  animation: draw 0.7s ease-out forwards;
}

.nav-links a.active .pencil-circle {
  display: none;
}

.pencil-circle {
  position: absolute;
  top: -14px;
  left: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 28px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
}

.pencil-circle path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.nav-right {
  display: flex;
  align-items: center;
  margin-left: 2.5rem;
  gap: 12px;
}

.nav-search {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--seq-black);
  opacity: 0.6;
  padding: 4px;
  transition: opacity 0.2s;
}

.nav-search:hover {
  opacity: 1;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--seq-black);
}

/* =============================================
   HERO — white bg, serif italic, circled word
   ============================================= */
.hero {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 3rem 180px;
  background: transparent;
  position: relative;
}

/* Conteneur central — fond opaque par-dessus le quadrillage */
.page-content {
  position: relative;
  margin: 60px;
  background: var(--seq-cream);
  border: 1.5px solid var(--seq-black);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
}

.hero-title {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 46px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--seq-black);
  text-align: center;
  max-width: 780px;
}

.typewriter {
  font-style: italic;
}

.cursor {
  display: inline;
  animation: blink 0.8s step-end infinite;
  font-weight: 300;
  margin-left: -2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Soulignement calligraphique sous le logo */
.nav-logo {
  position: relative;
}


/* =============================================
   VISION — page texte
   ============================================= */
.vision-title {
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em;
}

.vision-content {
  padding: 0 3rem 80px;
}

.vision-inner {
  max-width: 700px;
  margin: 0 auto;
}

.vision-inner h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--seq-black);
  margin-top: 48px;
  margin-bottom: 16px;
}

.vision-inner h2:first-child {
  margin-top: 0;
}

.vision-inner p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--seq-black);
  margin-bottom: 16px;
  opacity: 0.85;
}

/* Vision — Intro (dans la grille) */
.vision-block-intro {
  text-align: center;
}

.vision-block-intro::after {
  background: none !important;
}

.vision-block-intro::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.95rem;
  right: 0.95rem;
  height: 0;
  border-top: thin solid #aeada9;
  clip-path: polygon(0 0, calc(50% - 0.95rem) 0, calc(50% - 0.95rem) 100%, calc(50% + 0.95rem) 100%, calc(50% + 0.95rem) 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.vision-opening {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--seq-black);
  max-width: 700px;
  margin: 0 auto;
}

.vision-subtitle {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--seq-black);
  opacity: 0.75;
}

/* Vision — Séparateurs */
.vision-separator {
  border: none;
  border-top: 1px solid rgba(27, 25, 22, 0.1);
  max-width: 700px;
  margin: 48px auto;
}

/* Vision — Blocs alternés */
.vision-block {
  padding: 0 3rem;
}

.vision-block-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ============================================================
   VISION — grille encadrée (filets façon page d'accueil)
   ============================================================ */
.vision-grid {
  position: relative;
  max-width: 1040px;
  margin: 0.7rem auto 0;
}

/* chaque bloc = une rangée de la grille */
.vision-grid .vision-block {
  position: relative;
  padding: 2.6rem 2rem;
}
.vision-grid .vision-block-inner {
  max-width: none;
  margin: 0;
  gap: 4rem;
  align-items: center;
}

/* séparateurs horizontaux entre rangées — extrémités en retrait + trou central (s'arrêtent avant les verticales) */
.vision-grid .vision-block + .vision-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0.95rem;
  right: 0.95rem;
  height: 0;
  border-top: thin solid #aeada9;
  clip-path: polygon(0 0, calc(50% - 0.95rem) 0, calc(50% - 0.95rem) 100%, calc(50% + 0.95rem) 100%, calc(50% + 0.95rem) 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

/* filets du cadre */
.vision-grid .frame-line {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.vision-grid .frame-top,
.vision-grid .frame-bottom {
  left: 0.95rem;
  right: 0.95rem;
  height: 0;
  border-top: thin solid #aeada9;
  clip-path: polygon(0 0, calc(50% - 0.95rem) 0, calc(50% - 0.95rem) 100%, calc(50% + 0.95rem) 100%, calc(50% + 0.95rem) 0, 100% 0, 100% 100%, 0 100%);
}
.vision-grid .frame-top { top: 0; clip-path: none; }
.vision-grid .frame-bottom { bottom: 0; }

.vision-grid .vision-block-intro + .vision-block::before {
  clip-path: none;
}
.vision-grid .frame-vleft,
.vision-grid .frame-vright,
.vision-grid .frame-vcenter {
  display: none;
}

.vision-grid .vision-block::after {
  content: '';
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0;
  right: 0;
  border-left: thin solid #aeada9;
  border-right: thin solid #aeada9;
  background: linear-gradient(to right, transparent calc(50% - 0.5px), #aeada9 calc(50% - 0.5px), #aeada9 calc(50% + 0.5px), transparent calc(50% + 0.5px));
  pointer-events: none;
  z-index: 1;
}

.vision-block-reverse .vision-block-inner {
  direction: rtl;
}

.vision-block-reverse .vision-text,
.vision-block-reverse .vision-image {
  direction: ltr;
}

.vision-text h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--seq-black);
  margin-bottom: 20px;
}

.vision-text p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--seq-black);
  opacity: 0.85;
  margin-bottom: 14px;
}

.vision-text p:last-child {
  margin-bottom: 0;
}

/* Vision — Images (placeholder en attendant) */
.vision-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(27, 25, 22, 0.04);
  border: 1px dashed rgba(27, 25, 22, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--seq-black);
  opacity: 0.3;
}

.vision-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Vision — Fermeture */
.vision-closing-section {
  padding: 48px 3rem 80px;
  text-align: center;
}

.vision-closing {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  line-height: 1.6;
  color: var(--seq-black);
  max-width: 700px;
  margin: 0 auto;
}

.vision-signature {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  color: var(--seq-black);
  margin-top: 24px;
}

.vision-signature a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M 0 6 C 30 4, 60 7, 90 5 C 105 4, 115 6, 120 5' stroke='%231b1916' stroke-width='3.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 10px;
  padding-bottom: 10px;
  background-size: 0% 10px;
  transition: background-size 0.3s ease;
}

.vision-signature a:hover {
  background-size: 100% 10px;
}

/* Vision — Responsive */
@media (max-width: 768px) {
  .vision-block-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vision-block-reverse .vision-block-inner {
    direction: ltr;
  }

  /* colonnes empilées : on masque la verticale centrale */
  .vision-grid .frame-vcenter {
    display: none;
  }

  .vision-opening {
    font-size: 22px;
  }

  .vision-intro,
  .vision-block {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .vision-closing-section {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

/* =============================================
   GRID — tight gap, Sequoia editorial layout
   ============================================= */
.products {
  padding: 0 3rem 3rem;
  margin: 0 auto;
}

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

/* =============================================
   CARDS — full-bleed image, overlay text at bottom
   ============================================= */
.card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 300px;
}

.card-large {
  grid-column: span 2;
}

.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.card:hover .card-bg {
  transform: scale(1.04);
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0) 60%);
}

.card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--seq-cream);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--seq-cream);
  border-radius: 50%;
}

.card-title {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--seq-white);
}

.card-large .card-title {
  font-size: 20px;
}

/* =============================================
   GRID 2x2 — familles de produits
   ============================================= */
.grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 1.9rem;
  position: relative;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

/* Ligne horizontale en haut */
.grid-2x2 .line-top,
.grid-2x2 .line-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: thin solid #aeada9;
  pointer-events: none;
  z-index: 1;
  clip-path: polygon(0 0, calc(50% - 0.95rem) 0, calc(50% - 0.95rem) 100%, calc(50% + 0.95rem) 100%, calc(50% + 0.95rem) 0, 100% 0, 100% 100%, 0 100%);
}

/* séparateurs entre cartes / avant le manifeste — uniquement en mobile (colonne unique) */
.card-sep,
.manifeste-sep {
  display: none;
}

.grid-2x2 .line-top {
  top: 0;
}

.grid-2x2 .line-bottom {
  bottom: 0;
}

.grid-2x2 .line-left,
.grid-2x2 .line-right {
  position: absolute;
  top: 0.95rem;
  bottom: 0.95rem;
  width: 1px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    #aeada9 0%,
    #aeada9 calc(50% - 0.95rem),
    transparent calc(50% - 0.95rem),
    transparent calc(50% + 0.95rem),
    #aeada9 calc(50% + 0.95rem),
    #aeada9 100%
  );
}

.grid-2x2 .line-left {
  left: -0.95rem;
}

.grid-2x2 .line-right {
  right: -0.95rem;
}

.grid-2x2::before,
.grid-2x2::after {
  content: '';
  position: absolute;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

/* Ligne verticale — interrompue au centre */
.grid-2x2::before {
  top: 0.95rem;
  bottom: 0.95rem;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    #aeada9 0%,
    #aeada9 calc(50% - 0.95rem),
    transparent calc(50% - 0.95rem),
    transparent calc(50% + 0.95rem),
    #aeada9 calc(50% + 0.95rem),
    #aeada9 100%
  );
}

/* Ligne horizontale — interrompue au centre */
.grid-2x2::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(
    to right,
    #aeada9 0%,
    #aeada9 calc(50% - 0.95rem),
    transparent calc(50% - 0.95rem),
    transparent calc(50% + 0.95rem),
    #aeada9 calc(50% + 0.95rem),
    #aeada9 100%
  );
}

.card-family {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.card-family .card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 70%);
}

.card-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.card-services li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.card-services li::before {
  content: '—  ';
  opacity: 0.4;
}

/* =============================================
   FLIP CARDS — recto/verso au clic
   ============================================= */
/* le clip passe sur chaque face (sinon la rotation 3D serait coupée) */
.card-family {
  overflow: visible;
  perspective: 1400px;
}

.card-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.card-family.flipped .card-flip-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Verso : page de cahier — crème quadrillé, texte encre */
.card-face-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 1.5rem;
  background-color: var(--seq-cream);
  background-image:
    linear-gradient(rgba(27, 25, 22, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 25, 22, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  border: thin solid #aeada9;
}

.card-family .card-face-back .card-tag {
  color: var(--seq-black);
  text-shadow: none;
}

.card-family .card-face-back .card-tag::before {
  background: var(--seq-green);
}

.card-back-text {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--seq-black);
  margin: auto 0;
  text-align: center;
  padding: 0 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .card-flip-inner {
    transition: none;
  }
}

/* =============================================
   CARD — social icons (chalk style)
   ============================================= */
.card-overlay-icons {
  background: none;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem;
  gap: 0;
}

.card-icons-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 60%;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.8);
}

.card-social:hover .card-icons-grid {
  color: rgba(255, 255, 255, 0.95);
}

.card-edition-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 30%;
  max-width: 120px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.4s;
}

.card-edition:hover .card-edition-icon {
  color: rgba(255, 255, 255, 0.95);
}

.card-edition-icon svg {
  width: 100%;
  height: auto;
}

/* Fond grille bleu nuit #0F1E31 (lifté depuis #17141d, trop proche du noir Édition) */
.card-bg-recherche {
  background-color: #0F1E31;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Ligne de graphique étirée sur toute la largeur */
.recherche-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Loupe demi-teinte, au centre (à la place du globe) */
.recherche-loupe {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  width: 38%;
  max-width: 190px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
  transition: transform 0.5s ease;
}

.card-recherche:hover .recherche-loupe {
  transform: translate(-50%, -50%) rotate(-4deg) scale(1.04);
}

.card-medias-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 45%;
  max-width: 170px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.4s;
}

.card-medias:hover .card-medias-icon {
  color: rgba(255, 255, 255, 0.95);
}

.card-medias-icon svg {
  width: 100%;
  height: auto;
}

/* =============================================
   CARD STUDIO — égaliseur audio animé
   ============================================= */
/* pas de dégradé sombre sur la carte Studio — aplat uni */
.card-medias .card-overlay {
  background: none;
}

.card-eq {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  display: flex;
  align-items: center;
  gap: 7px;
  height: 100px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.4s;
}

.card-medias:hover .card-eq {
  color: #ffffff;
}

.card-eq-bar {
  width: 6px;
  border-radius: 0;
  background: currentColor;
  height: var(--h);
  transform-origin: center;
  animation: eq-bounce var(--dur, 1s) ease-in-out var(--d, 0s) infinite;
}

@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.3); }
  50%      { transform: scaleY(1); }
}

/* accélère légèrement au survol */
.card-medias:hover .card-eq-bar {
  animation-duration: calc(var(--dur, 1s) * 0.6);
}

/* respecte la préférence d'animation réduite */
@media (prefers-reduced-motion: reduce) {
  .card-eq-bar { animation: none; transform: scaleY(0.8); }
}

.card-icon {
  width: 100%;
  height: auto;
  transition: color 0.4s;
}

.card-social .card-title {
  text-align: left;
  font-size: 16px;
}

/* =============================================
   CARD VISIBILITÉ — quadrillage vert + post-it
   ============================================= */
/* pas de dégradé sombre sur les cartes Visibilité et Recherche — aplat uni */
.card-social .card-overlay,
.card-recherche .card-overlay {
  background: none;
}

/* =============================================
   CARD ÉDITION — tableau noir + coupures de journaux déchirées
   ============================================= */
/* dégradé renforcé : le titre passe sur la coupure de journal claire */
.card-edition .card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.32) 30%, rgba(0,0,0,0) 58%);
}

.card-edition .card-title,
.card-edition .card-services,
.card-edition .card-tag {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.card-bg-edition {
  /* photo 675×1200 : cover recadre le portrait en carré, sans zoomer au-delà du natif */
  background-image: url(tableau-noir.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Coupure de journal déchirée (positionnée + inclinée, ombre portée) */
.edition-clip {
  position: absolute;
  filter: drop-shadow(2px 5px 8px rgba(0, 0, 0, 0.5));
}

/* Feuille : fond blanc cassé visible dans la frange déchirée */
.edition-paper {
  width: 100%;
  height: 100%;
  background: #ece7da;
}

/* L'image remplit la feuille ; la fenêtre de crop se règle via object-position */
.edition-paper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* — Coupure du haut : graphique « Oil Supply » , bord inférieur déchiré — */
.edition-clip-top {
  top: -3%;
  right: -4%;
  width: 56%;
  height: 26%;
  transform: rotate(7deg);
}

.edition-clip-top .edition-paper {
  clip-path: polygon(0 0, 100% 0, 100.0% 86.8%, 99.3% 86.8%, 97.4% 86.8%, 94.9% 86.8%, 92.4% 86.8%, 90.0% 87.9%, 88.6% 87.9%, 86.2% 86.8%, 84.6% 86.8%, 82.9% 88.8%, 80.7% 89.6%, 78.2% 88.7%, 75.7% 89.7%, 73.8% 89.0%, 72.2% 90.3%, 69.8% 87.2%, 67.3% 86.8%, 66.0% 87.2%, 64.6% 88.7%, 63.2% 89.4%, 61.9% 90.9%, 60.2% 90.2%, 58.3% 90.6%, 56.2% 90.6%, 54.4% 91.1%, 52.0% 92.2%, 50.6% 92.0%, 48.4% 92.4%, 46.0% 93.2%, 44.2% 92.8%, 42.4% 91.3%, 41.1% 90.3%, 38.6% 89.4%, 37.0% 89.8%, 34.8% 89.0%, 32.3% 89.1%, 30.2% 88.8%, 28.2% 87.5%, 26.4% 86.9%, 24.5% 86.8%, 22.3% 86.8%, 21.0% 86.8%, 19.3% 87.6%, 17.5% 86.8%, 15.5% 86.8%, 13.4% 86.8%, 11.4% 87.2%, 9.8% 88.5%, 8.0% 86.8%, 6.0% 86.8%, 4.0% 88.4%, 2.7% 88.7%, 1.4% 88.4%, 0.0% 88.9%);
}

.edition-clip-top img {
  /* fenêtre sur la colonne du graphique pétrole */
  object-position: 52% 23%;
  clip-path: polygon(0 0, 100% 0, 100.0% 84.8%, 99.3% 84.8%, 97.4% 84.8%, 94.9% 84.8%, 92.4% 84.8%, 90.0% 85.9%, 88.6% 85.9%, 86.2% 84.8%, 84.6% 84.8%, 82.9% 86.8%, 80.7% 87.6%, 78.2% 86.7%, 75.7% 87.7%, 73.8% 87.0%, 72.2% 88.3%, 69.8% 85.2%, 67.3% 84.8%, 66.0% 85.2%, 64.6% 86.7%, 63.2% 87.4%, 61.9% 88.9%, 60.2% 88.2%, 58.3% 88.6%, 56.2% 88.6%, 54.4% 89.1%, 52.0% 90.2%, 50.6% 90.0%, 48.4% 90.4%, 46.0% 91.2%, 44.2% 90.8%, 42.4% 89.3%, 41.1% 88.3%, 38.6% 87.4%, 37.0% 87.8%, 34.8% 87.0%, 32.3% 87.1%, 30.2% 86.8%, 28.2% 85.5%, 26.4% 84.9%, 24.5% 84.8%, 22.3% 84.8%, 21.0% 84.8%, 19.3% 85.6%, 17.5% 84.8%, 15.5% 84.8%, 13.4% 84.8%, 11.4% 85.2%, 9.8% 86.5%, 8.0% 84.8%, 6.0% 84.8%, 4.0% 86.4%, 2.7% 86.7%, 1.4% 86.4%, 0.0% 86.9%);
}

/* — Coupure du bas : une « Dow Industrials Top 10000 », bord supérieur déchiré — */
.edition-clip-bottom {
  bottom: -4%;
  left: -5%;
  width: 55%;
  height: 30%;
  transform: rotate(-2.5deg);
}

.edition-clip-bottom .edition-paper {
  clip-path: polygon(0.0% 12.1%, 1.4% 11.7%, 3.2% 10.6%, 4.6% 13.2%, 6.3% 13.2%, 8.9% 13.0%, 11.2% 13.2%, 13.4% 12.7%, 14.6% 13.2%, 16.5% 13.2%, 18.9% 12.2%, 20.8% 11.8%, 22.6% 10.5%, 25.0% 9.5%, 26.8% 9.6%, 28.2% 9.6%, 30.3% 10.6%, 32.1% 11.4%, 34.3% 11.5%, 36.7% 9.9%, 39.0% 9.9%, 40.8% 8.9%, 42.3% 9.5%, 44.2% 8.6%, 46.7% 11.2%, 48.1% 9.9%, 50.3% 9.6%, 52.5% 11.0%, 53.9% 12.4%, 56.2% 10.9%, 58.8% 13.2%, 61.4% 12.9%, 63.0% 12.6%, 64.9% 12.1%, 66.9% 12.1%, 69.5% 10.7%, 72.0% 11.1%, 74.4% 13.2%, 75.8% 13.2%, 77.1% 13.2%, 79.5% 12.3%, 81.9% 10.8%, 83.4% 8.5%, 85.2% 10.0%, 87.2% 9.0%, 88.7% 7.9%, 90.7% 6.8%, 92.2% 7.9%, 93.5% 8.7%, 95.4% 9.2%, 97.5% 7.6%, 99.1% 6.8%, 100.0% 9.1%, 100% 100%, 0 100%);
}

.edition-clip-bottom img {
  /* fenêtre sur le titre Dow Industrials + courbe DJIA */
  object-position: 40% 29%;
  clip-path: polygon(0.0% 14.1%, 1.4% 13.7%, 3.2% 12.6%, 4.6% 15.2%, 6.3% 15.2%, 8.9% 15.0%, 11.2% 15.2%, 13.4% 14.7%, 14.6% 15.2%, 16.5% 15.2%, 18.9% 14.2%, 20.8% 13.8%, 22.6% 12.5%, 25.0% 11.5%, 26.8% 11.6%, 28.2% 11.6%, 30.3% 12.6%, 32.1% 13.4%, 34.3% 13.5%, 36.7% 11.9%, 39.0% 11.9%, 40.8% 10.9%, 42.3% 11.5%, 44.2% 10.6%, 46.7% 13.2%, 48.1% 11.9%, 50.3% 11.6%, 52.5% 13.0%, 53.9% 14.4%, 56.2% 12.9%, 58.8% 15.2%, 61.4% 14.9%, 63.0% 14.6%, 64.9% 14.1%, 66.9% 14.1%, 69.5% 12.7%, 72.0% 13.1%, 74.4% 15.2%, 75.8% 15.2%, 77.1% 15.2%, 79.5% 14.3%, 81.9% 12.8%, 83.4% 10.5%, 85.2% 12.0%, 87.2% 11.0%, 88.7% 9.9%, 90.7% 8.8%, 92.2% 9.9%, 93.5% 10.7%, 95.4% 11.2%, 97.5% 9.6%, 99.1% 8.8%, 100.0% 11.1%, 100% 100%, 0 100%);
}

.card-bg-grid {
  background-color: #203029;
  /* essai sans quadrillage — lignes retirées
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 31px 31px; */
}

/* Post-it papier déchiré (image détourée) */
.card-postit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%) rotate(-1.5deg);
  width: 88%;
  max-width: 288px;
  aspect-ratio: 500 / 365;
  transition: transform 0.5s ease;
}

.card-social:hover .card-postit {
  transform: translate(-50%, -52%) rotate(-1.5deg) scale(1.03);
}

.card-postit-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

/* Icônes réseaux (noir sur le papier) */
.card-postit-icons {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.33rem;
  color: #2a2723;
}

.card-postit-icons .card-icon {
  width: 50px;
  height: auto;
}

/* =============================================
   MANIFESTE — pleine largeur dans la grille 2x2
   ============================================= */
.manifeste {
  background: var(--seq-black);
  color: #fff;
  padding: 4rem 3.5rem;
  margin-top: 0.95rem;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Cadre de filets autour du bandeau — aligné sur la grille des cartes */
.manifeste .frame-line {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
/* Ligne du bas : continue (pas de trou central), à 0.95rem sous le bloc */
.manifeste .frame-bottom {
  left: 0;
  right: 0;
  bottom: -0.95rem;
  height: 0;
  border-top: thin solid #aeada9;
}
/* Verticales : longueur du bloc, à -0.95rem (alignées sur la grille) */
.manifeste .frame-vleft,
.manifeste .frame-vright {
  top: 0;
  bottom: 0;
  width: 1px;
  background: #aeada9;
}
.manifeste .frame-vleft { left: -0.95rem; }
.manifeste .frame-vright { right: -0.95rem; }

.manifeste-inner {
  max-width: 600px;
  text-align: center;
}

.manifeste-line {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0.15rem;
  min-height: 1.6em;
}

.manifeste-punchline {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 1.8rem;
  min-height: 1.6em;
}

.manifeste-circled {
  position: relative;
  display: inline-block;
}

.manifeste-circle-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 170%;
  height: 340%;
  pointer-events: none;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
}

.manifeste-circle-svg.manifeste-draw {
  animation: manifeste-trace 2s ease forwards;
}

@keyframes manifeste-trace {
  to {
    stroke-dashoffset: 0;
  }
}

/* =============================================
   MAILING LIST — minimal, centered
   ============================================= */
.mailing {
  padding: 70px 3rem;
  background: transparent;
}

.mailing-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.mailing-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--seq-black);
  margin-bottom: 20px;
  margin-top: -10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Source Serif 4', Georgia, serif;
  border: 1px solid #d0d0d0;
  background: var(--seq-white);
  color: var(--seq-black);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--seq-black);
}

.contact-form button {
  padding: 12px 28px;
  font-size: 14px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  background: var(--seq-black);
  color: var(--seq-white);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.contact-form button:hover {
  background: #32373c;
}

/* =============================================
   FOOTER — dark, minimal
   ============================================= */
.footer {
  background: var(--seq-black);
  padding: 50px 3rem 28px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 2rem 8rem;
}

.footer-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--seq-cream);
  opacity: 0.5;
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--seq-cream);
  transition: none;
  opacity: 1;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: none;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(250, 246, 241, 0.25);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .card-large {
    grid-column: span 2;
  }

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

@media (max-width: 768px) {
  /* mobile épuré (façon Sequoia) : pas de quadrillage, pas de cadre noir principal */
  body {
    background-image: none;
  }
  .page-content {
    margin: 0;
    border: none;
    box-shadow: none;
  }
  .nav-inner::after {
    left: 1.2rem;
    right: 1.2rem;
  }

  /* icônes du post-it : tiennent dans le post-it réduit */
  .card-postit-icons {
    gap: 0.7rem;
  }
  .card-postit-icons .card-icon {
    width: 26px;
  }

  .nav-links {
    display: none;
  }

  /* menu déroulant quand ouvert */
  .nav-inner.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--seq-cream);
    border-top: thin solid #aeada9;
    border-bottom: thin solid #aeada9;
    padding: 1.4rem 1.2rem 1.6rem;
    z-index: 1000;
  }

  .nav-inner.open .nav-links a {
    font-size: 14px;
  }

  .nav-hamburger {
    display: flex;
  }

  /* croix quand le menu est ouvert */
  .nav-inner.open .nav-hamburger span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }
  .nav-inner.open .nav-hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-inner.open .nav-hamburger span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }
  .nav-hamburger span {
    transition: transform 0.25s, opacity 0.2s;
  }

  .nav-inner,
  .hero,
  .products,
  .mailing,
  .footer {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 28px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .grid-2x2 {
    grid-template-columns: 1fr;
  }

  /* empêche les cartes de déborder la largeur de l'écran (min-width:auto par défaut) */
  .grid > .card,
  .grid-2x2 > .card {
    min-width: 0;
  }

  /* Cadre des cartes façon DESKTOP : rien ne se touche (verticales ET horizontales coupées à chaque croisement) */
  .grid-2x2 {
    gap: 0;
    padding: 0.5rem 0 0;
  }
  .grid-2x2::before,
  .grid-2x2::after {
    display: none;
  }
  /* cartes en retrait des verticales (bande crème de chaque côté) */
  .grid-2x2 .card-family {
    margin: 0 0.5rem;
  }
  /* verticales : aux bords, RENTRÉES en haut/bas (coins coupés). Coupées à chaque séparateur par les bandes crème (z-index) */
  .grid-2x2 .line-left,
  .grid-2x2 .line-right {
    display: block;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 1px;
    background: #aeada9;
    z-index: 1;
  }
  .grid-2x2 .line-left { left: 0; }
  .grid-2x2 .line-right { right: 0; left: auto; }
  /* ligne du haut : écart aux extrémités (ne touche pas les verticales) */
  .grid-2x2 .line-top {
    display: block;
    top: 0;
    left: 0.4rem;
    right: 0.4rem;
    clip-path: none;
    z-index: 1;
  }
  /* ligne du bas masquée : le manifeste ferme le cadre plus bas */
  .grid-2x2 .line-bottom {
    display: none;
  }
  /* séparateurs : bande crème PLEINE LARGEUR qui coupe les verticales, ligne centrée à écarts */
  .card-sep {
    display: block;
    position: relative;
    height: 1rem;
    background: var(--seq-cream);
    z-index: 2;
  }
  .card-sep::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.4rem;
    right: 0.4rem;
    border-top: thin solid #aeada9;
  }

  /* séparateur au-dessus du manifeste (élément à part : non coupé par overflow:hidden) */
  .manifeste-sep {
    display: block;
    position: relative;
    height: 1rem;
  }
  .manifeste-sep::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.4rem;
    right: 0.4rem;
    border-top: thin solid #aeada9;
  }

  /* Manifeste (dernière carte) : carré, cadre visible (pas d'overflow:hidden qui couperait les filets) */
  .manifeste {
    aspect-ratio: 1 / 1;
    min-height: 0;
    margin: 0 0.5rem;
    padding: 1.3rem;
    align-items: center;
  }
  /* verticales : rentrées en haut/bas (coins coupés), écart avec la ligne du bas */
  .manifeste .frame-vleft,
  .manifeste .frame-vright {
    top: 0.4rem;
    bottom: 0.4rem;
  }
  .manifeste .frame-vleft { left: -0.5rem; }
  .manifeste .frame-vright { right: -0.5rem; }
  .manifeste .frame-bottom {
    left: -0.1rem;
    right: -0.1rem;
    bottom: -0.5rem;
  }
  .manifeste-line {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    min-height: 1.4em;
  }
  .manifeste-punchline {
    font-size: 1rem;
    margin-top: 1.7rem;
  }

  .card-large {
    grid-column: span 1;
    aspect-ratio: 16 / 9;
  }

  .card {
    aspect-ratio: 16 / 9;
  }

  .card-family {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  /* titres de cartes plus petits en mobile — uniformes sur les 4 cartes */
  .card-title,
  .card-social .card-title {
    font-size: 14px;
  }

  /* éléments décoratifs : bien réduits pour aérer le carré (façon Sequoia) */
  .card-postit {
    width: 44%;
    max-width: 150px;
  }
  .recherche-loupe {
    width: 34%;
    max-width: 120px;
  }
  .edition-clip-top {
    width: 48%;
    height: 20%;
  }
  .edition-clip-bottom {
    width: 46%;
    height: 21%;
  }

  .mailing-form {
    flex-direction: column;
    gap: 8px;
  }

  .mailing-form input {
    border-right: 1px solid #d0d0d0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =============================================
   PAGE LÉGALE — colonne à filets façon article
   ============================================= */
.legal-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a766f;
  text-align: center;
  margin-top: 1.2rem;
}

.legal-article {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3.5rem;
}

/* chaque rubrique : un bloc bordé de deux filets verticaux (rails) */
.legal-block {
  position: relative;
  padding: 2rem 0 2.4rem;
  margin-bottom: 2.4rem;
}

.legal-block::before {
  content: '';
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 760px);
  border-left: thin solid #aeada9;
  border-right: thin solid #aeada9;
  pointer-events: none;
}

.legal-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-block h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--seq-black);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.1rem;
}

.legal-block h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--seq-green);
  border-radius: 50%;
}

.legal-inner p {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--seq-black);
  margin-bottom: 1rem;
}

.legal-inner p:last-child {
  margin-bottom: 0;
}

.legal-inner a {
  color: var(--seq-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--seq-green);
}

/* lettrine sur le premier paragraphe */
.legal-lettrine::first-letter {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 3.3em;
  font-weight: 600;
  float: left;
  line-height: 0.8;
  padding: 0.08em 0.12em 0 0;
}

@media (max-width: 768px) {
  .legal-block::before {
    width: 100%;
  }
  .legal-inner {
    padding: 0 1.1rem;
  }
}
