/* ======================================================================
   JUNDLE GROUP — Premium Editorial Design System
   © 2026 Jundle Group. All rights reserved.
   ====================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand */
  --orange: #ff7e00;
  --orange-soft: #ff914d;
  --orange-deep: #e56e00;
  --teal: #0b5f7a;
  --teal-soft: #117793;
  --teal-deep: #074658;

  /* Neutrals — warm, editorial */
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --graphite: #3a3a3a;
  --slate: #6b6b6b;
  --silver: #b8b5ad;
  --bone: #ebe7dd;
  --cream: #faf8f3;
  --paper: #fefdf9;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--cream);
  --bg-alt: var(--paper);
  --bg-dark: var(--ink);
  --text: var(--ink);
  --text-muted: var(--slate);
  --line: rgba(10, 10, 10, 0.12);
  --line-soft: rgba(10, 10, 10, 0.06);

  /* Typography */
/* Typography */
--f-display: "Khand", sans-serif;
--f-body: "Khand", sans-serif;
--f-mono: "Khand", sans-serif;

  /* Sizes (clamped, fluid) */
  --t-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --t-sm: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --t-base: clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  --t-lg: clamp(1.1rem, 1.05rem + 0.25vw, 1.25rem);
  --t-xl: clamp(1.35rem, 1.25rem + 0.4vw, 1.55rem);
  --t-2xl: clamp(1.75rem, 1.55rem + 0.9vw, 2.25rem);
  --t-3xl: clamp(2.25rem, 1.9rem + 1.6vw, 3.25rem);
  --t-4xl: clamp(3rem, 2.4rem + 2.6vw, 4.75rem);
  --t-5xl: clamp(4rem, 3rem + 4.5vw, 7rem);
  --t-6xl: clamp(5rem, 3.5rem + 7vw, 10rem);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;
  --space-8: 10rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 2px 8px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 10, 10, 0.06), 0 12px 32px rgba(10, 10, 10, 0.06);
  --shadow-lg: 0 8px 24px rgba(10, 10, 10, 0.08), 0 24px 60px rgba(10, 10, 10, 0.1);
  --shadow-glow: 0 20px 60px rgba(255, 126, 0, 0.25);

  /* Motion */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);

  /* Layout */
  --max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 76px;
}

/* ---------- 2. RESET & BASE ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

/* Subtle film grain overlay — adds editorial depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

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

button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

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

::selection { background: var(--orange); color: var(--white); }

/* ---------- 3. TYPOGRAPHY ---------- */
.display,
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

h1 { font-size: var(--t-5xl); }
h2 { font-size: var(--t-4xl); }
h3 { font-size: var(--t-2xl); letter-spacing: -0.02em; line-height: 1.1; }

.h-italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 60; }

h4, h5, h6 {
  font-family: var(--f-body);
  font-weight: 500;
  letter-spacing: -0.01em;
}
h4 { font-size: var(--t-xl); }
h5 { font-size: var(--t-lg); }
h6 { font-size: var(--t-base); }

.eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.num {
  font-family: var(--f-mono, var(--f-body));
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.lede {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--graphite);
  max-width: 60ch;
}

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--space-7) 0;
  position: relative;
}

.section--tight { padding: var(--space-6) 0; }
.section--xl { padding: var(--space-8) 0 var(--space-7); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 768px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    align-items: start;
  }
}

.section-head__title { max-width: 18ch; }

/* ---------- 5. NAVBAR ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(250, 248, 243, 0);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.nav__brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.1rem;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(255, 126, 0, 0.3);
}

.nav__brand-text { font-style: italic; }
.nav__brand-text strong { font-style: normal; font-weight: 500; color: var(--teal); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
}

.nav__link {
  position: relative;
  font-size: var(--t-sm);
  font-weight: 450;
  color: var(--graphite);
  padding: 0.5rem 0;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--ink); }

.nav__cta {
  padding: 0.7rem 1.2rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-size: var(--t-sm);
  font-weight: 500;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__cta:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  min-width: 32px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__burger span:nth-child(1) { top: 11px; }
.nav__burger span:nth-child(2) { top: 16px; }
.nav__burger span:nth-child(3) { top: 21px; }
.nav__burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: block; z-index: 101; }

  /* ============== MENU MOBILE PREMIUM ============== */
  .nav__menu.mobile-open {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;            /* repli navigateurs anciens */
    height: 100dvh;           /* hauteur d'écran réelle (iOS) */
    z-index: 99;              /* au-dessus du contenu, sous la barre (100) */
    margin: 0;
    list-style: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: clamp(2px, 0.6vh, 10px);
    padding: calc(var(--nav-h) + 22px) 30px 30px;
    background:
      radial-gradient(125% 80% at 100% 0%, rgba(255,126,0,.12), transparent 55%),
      radial-gradient(115% 70% at 0% 100%, rgba(11,95,122,.14), transparent 55%),
      #faf8f3;
    background-color: var(--cream);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    counter-reset: navi;
    animation: navFade .4s var(--ease);
  }
  @keyframes navFade { from { opacity: 0; } to { opacity: 1; } }

  .nav__menu.mobile-open li { list-style: none; margin: 0; width: 100%; counter-increment: navi; }

  .nav__menu.mobile-open .nav__link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    width: 100%;
    padding: 11px 2px;
    font-family: var(--f-display);
    font-size: clamp(2rem, 8.4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(10,14,18,.08);
    transition: color .25s var(--ease), padding-left .3s var(--ease);
    animation: navItem .55s var(--ease) backwards;
  }
  @keyframes navItem { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .nav__menu.mobile-open .nav__link::before {
    content: counter(navi, decimal-leading-zero);
    font-family: var(--f-mono, ui-monospace, "SFMono-Regular", monospace);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--orange, #ff7e00);
    transform: translateY(-0.55em);
    min-width: 2.1em;
  }
  .nav__menu.mobile-open .nav__link::after {
    content: "→";
    margin-left: auto;
    font-size: .9em;
    color: var(--orange, #ff7e00);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav__menu.mobile-open .nav__link:hover,
  .nav__menu.mobile-open .nav__link:active {
    color: var(--orange, #ff7e00);
    padding-left: 10px;
  }
  .nav__menu.mobile-open .nav__link:hover::after,
  .nav__menu.mobile-open .nav__link:active::after { opacity: 1; transform: none; }

  /* entrée échelonnée des liens */
  .nav__menu.mobile-open li:nth-child(1) .nav__link { animation-delay: .05s; }
  .nav__menu.mobile-open li:nth-child(2) .nav__link { animation-delay: .10s; }
  .nav__menu.mobile-open li:nth-child(3) .nav__link { animation-delay: .15s; }
  .nav__menu.mobile-open li:nth-child(4) .nav__link { animation-delay: .20s; }
  .nav__menu.mobile-open li:nth-child(5) .nav__link { animation-delay: .25s; }
  .nav__menu.mobile-open li:nth-child(6) .nav__link { animation-delay: .30s; }
  .nav__menu.mobile-open li:nth-child(7) .nav__link { animation-delay: .35s; }
  .nav__menu.mobile-open li:nth-child(8) .nav__link { animation-delay: .40s; }

  /* dernier lien (Campus) mis en avant comme un bouton */
  .nav__menu.mobile-open li:last-child .nav__link {
    margin-top: 14px;
    border-bottom: 0;
    color: #fff;
    background: linear-gradient(135deg, #ff914d, var(--orange, #ff7e00));
    border-radius: 16px;
    padding: 16px 18px;
    font-size: clamp(1.3rem, 5.4vw, 1.7rem);
    box-shadow: 0 14px 30px rgba(255,126,0,.28);
  }
  .nav__menu.mobile-open li:last-child .nav__link::before { color: rgba(255,255,255,.75); }
  .nav__menu.mobile-open li:last-child .nav__link::after { opacity: 1; transform: none; color: #fff; }

  /* burger plus visible + croix nette quand ouvert */
  .nav__burger span { height: 2px; background: var(--ink); }
  .nav__burger.open span { background: var(--ink); }

  @media (prefers-reduced-motion: reduce) {
    .nav__menu.mobile-open, .nav__menu.mobile-open .nav__link { animation: none; }
  }
}

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--accent {
  background: var(--orange);
  color: var(--white);
}
.btn--accent:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--ghost {
  color: var(--ink);
  padding: 0.75rem 0;
}
.btn--ghost::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}
.btn--ghost:hover::after { transform: translateX(6px); }

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn--whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 7. HERO ---------- */
.hero {
  padding: calc(var(--nav-h) + var(--space-6)) 0 var(--space-7);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-5);
  align-items: end;
}

@media (max-width: 968px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  font-size: var(--t-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__title {
  font-size: var(--t-6xl);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-4);
}
.hero__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--orange);
}
.hero__title .br { display: block; }
.hero__title .indent { padding-left: 1.5em; }

.hero__sub {
  font-size: var(--t-lg);
  max-width: 50ch;
  color: var(--graphite);
  margin-bottom: var(--space-4);
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero__visual {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 60%, var(--ink) 100%);
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 126, 0, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(11, 95, 122, 0.5), transparent 60%);
  mix-blend-mode: screen;
}

.hero__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  mix-blend-mode: luminosity;
}

.hero__visual-label {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__visual-tag {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  color: var(--white);
  z-index: 2;
}
.hero__visual-tag h4 {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-2xl);
  line-height: 1.05;
  margin-bottom: 0.4rem;
}
.hero__visual-tag p {
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.7);
}

/* Hero marquee */
.hero__marquee {
  margin-top: var(--space-6);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
.hero__marquee-track {
  display: inline-flex;
  gap: var(--space-4);
  animation: marquee 40s linear infinite;
}
.hero__marquee-track span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-2xl);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}
.hero__marquee-track span::after {
  content: "✦";
  color: var(--orange);
  font-size: 1.2rem;
  font-style: normal;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 8. STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: var(--space-4) var(--space-3);
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--f-display);
  font-size: var(--t-5xl);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  margin-bottom: 0.6rem;
}
.stat__num em {
  font-style: italic;
  color: var(--orange);
}
.stat__suffix { font-size: 0.5em; color: var(--orange); }
.stat__label {
  font-size: var(--t-sm);
  color: var(--text-muted);
  max-width: 18ch;
}

@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- 9. ABOUT SECTION ---------- */
.about {
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
@media (max-width: 968px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

.about__text h2 {
  font-size: var(--t-4xl);
  margin-bottom: var(--space-3);
}
.about__text h2 em { color: var(--orange); font-style: italic; }

.about__pillars {
  display: grid;
  gap: 0;
  margin-top: var(--space-4);
}
.pillar {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar__num {
  font-family: var(--f-mono, var(--f-body));
  font-size: var(--t-xs);
  color: var(--orange);
  font-weight: 500;
}
.pillar__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.pillar__text {
  color: var(--text-muted);
  font-size: var(--t-base);
  max-width: 48ch;
}

/* About visual stack */
.about__visual {
  position: sticky;
  top: calc(var(--nav-h) + var(--space-3));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.about__card {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bone);
}
.about__card--accent {
  background: var(--orange);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-3);
  aspect-ratio: 3 / 4;
}
.about__card--accent h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-3xl);
  line-height: 1;
}
.about__card--accent .num { color: rgba(255, 255, 255, 0.7); }
.about__card--accent p { font-size: var(--t-sm); }

.about__card--dark {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: var(--space-4);
}
.about__card--dark h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-2xl);
  line-height: 1;
}

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

/* ---------- 10. SERVICES ---------- */
.services { background: var(--bg-alt); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  padding: var(--space-4) var(--space-3);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s var(--ease);
  cursor: pointer;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.service:hover {
  background: var(--ink);
  color: var(--cream);
}
.service:hover .service__num,
.service:hover .service__title { color: var(--cream); }
.service:hover .service__icon { color: var(--orange); transform: rotate(-5deg) scale(1.1); }
.service:hover .service__arrow { color: var(--orange); transform: translate(6px, -6px); }

.services__grid .service:nth-child(3n) { border-right: none; }

@media (max-width: 968px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid .service:nth-child(3n) { border-right: 1px solid var(--line); }
  .services__grid .service:nth-child(2n) { border-right: none; }
}
@media (max-width: 568px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__grid .service { border-right: none !important; }
}

.service__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
}
.service__num {
  font-family: var(--f-mono, var(--f-body));
  font-size: var(--t-xs);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: color 0.4s var(--ease);
}
.service__arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all 0.4s var(--ease);
}
.service__icon {
  width: 44px;
  height: 44px;
  color: var(--orange);
  margin-bottom: var(--space-3);
  transition: all 0.4s var(--ease);
}
.service__title {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.8rem;
  transition: color 0.4s var(--ease);
}
.service__title em { font-style: italic; color: var(--orange); }
.service__desc {
  font-size: var(--t-sm);
  color: var(--text-muted);
  margin-top: auto;
  line-height: 1.5;
}
.service:hover .service__desc { color: rgba(250, 248, 243, 0.65); }

/* ---------- 11. PACKS / PRICING ---------- */
.packs {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.packs::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 126, 0, 0.15), transparent 70%);
  pointer-events: none;
}

.packs .section-head { border-bottom-color: rgba(255,255,255,0.15); }
.packs .eyebrow { color: rgba(250,248,243,0.6); }
.packs h2 { color: var(--cream); }
.packs h2 em { color: var(--orange); font-style: italic; }
.packs .lede { color: rgba(250,248,243,0.7); }

.packs__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  overflow-x: auto;
  padding-bottom: 1px;
}
.packs__tab {
  padding: 0.9rem 1.4rem;
  font-size: var(--t-sm);
  color: rgba(250,248,243,0.55);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.packs__tab:hover { color: var(--cream); }
.packs__tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.packs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
@media (max-width: 968px) {
  .packs__grid { grid-template-columns: 1fr; }
}

.pack {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: var(--space-4);
  position: relative;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.pack:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-4px);
}
.pack--featured {
  background: linear-gradient(160deg, rgba(255,126,0,0.12) 0%, rgba(11,95,122,0.08) 100%);
  border-color: var(--orange);
}

.pack__badge {
  position: absolute;
  top: -12px;
  left: var(--space-4);
  background: var(--orange);
  color: var(--white);
  font-size: var(--t-xs);
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.pack__name {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.pack__name em { font-style: italic; color: var(--orange); }

.pack__tag {
  font-size: var(--t-sm);
  color: rgba(250,248,243,0.55);
  margin-bottom: var(--space-3);
}

.pack__price {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}
.pack__currency {
  font-size: var(--t-sm);
  color: rgba(250,248,243,0.55);
  margin-bottom: var(--space-4);
  letter-spacing: 0.1em;
}

.pack__features {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.pack__features li {
  display: flex;
  gap: 0.7rem;
  font-size: var(--t-sm);
  color: rgba(250,248,243,0.85);
  align-items: flex-start;
}
.pack__features li::before {
  content: "→";
  color: var(--orange);
  flex-shrink: 0;
  font-weight: 500;
}

.pack__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.pack--featured .pack__cta { background: var(--orange); color: var(--white); border: none; }
.pack--featured .pack__cta:hover { background: var(--orange-deep); }

.pack__cta {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--cream);
}
.pack__cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ---------- 12. PORTFOLIO ---------- */
.portfolio { background: var(--bg); }

.portfolio__filter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.portfolio__filter button {
  padding: 0.5rem 1rem;
  font-size: var(--t-sm);
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: all 0.3s var(--ease);
}
.portfolio__filter button:hover,
.portfolio__filter button.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-2);
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bone);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.portfolio-item--lg { grid-column: span 8; aspect-ratio: 16 / 10; }
.portfolio-item--sm { grid-column: span 4; aspect-ratio: 4 / 5; }
.portfolio-item--md { grid-column: span 6; aspect-ratio: 4 / 3; }

@media (max-width: 768px) {
  .portfolio-item--lg, .portfolio-item--sm, .portfolio-item--md { grid-column: span 12; aspect-ratio: 4 / 3; }
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.portfolio-item:hover img { transform: scale(1.05); }

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 60%);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__cat {
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}
.portfolio-item__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-style: italic;
  line-height: 1.1;
}

.portfolio-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--white);
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-2xl);
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.portfolio-item__placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,126,0,0.3), transparent 50%);
}
.portfolio-item__placeholder span { position: relative; z-index: 2; }

/* ---------- 13. TESTIMONIALS ---------- */
.testimonials { background: var(--bg-alt); }

.testi-rail {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding: 0.5rem var(--gutter) 1rem;
  margin: 0 calc(var(--gutter) * -1);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testi-rail::-webkit-scrollbar { display: none; }

.testi {
  flex: 0 0 clamp(280px, 38vw, 460px);
  scroll-snap-align: start;
  padding: var(--space-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.testi__quote-mark {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 0.7;
  color: var(--orange);
  margin-bottom: var(--space-2);
}
.testi__quote {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--space-3);
  flex: 1;
}
.testi__author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.testi__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 500;
}
.testi__name {
  font-weight: 500;
  font-size: var(--t-sm);
  margin-bottom: 0.1rem;
}
.testi__role {
  font-size: var(--t-xs);
  color: var(--text-muted);
}

/* ---------- 14. BLOG ---------- */
.blog { background: var(--bg); }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
@media (max-width: 768px) { .blog__grid { grid-template-columns: 1fr; } }

.post {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  cursor: pointer;
}
.post__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bone);
  position: relative;
}
.post__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-2xl);
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-soft), var(--orange-deep));
}
.post__img-placeholder--blue {
  background: linear-gradient(135deg, var(--teal-soft), var(--teal-deep));
}
.post__img-placeholder--dark {
  background: linear-gradient(135deg, var(--ink-soft), var(--ink));
}

.post__meta {
  display: flex;
  gap: 0.8rem;
  font-size: var(--t-xs);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.post__meta span:first-child { color: var(--orange); }

.post__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  letter-spacing: -0.02em;
  line-height: 1.15;
  transition: color 0.3s var(--ease);
}
.post:hover .post__title { color: var(--orange); }

.post__excerpt {
  font-size: var(--t-sm);
  color: var(--text-muted);
}

/* ---------- 15. CTA BLOCK ---------- */
.cta-block {
  background: var(--orange);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(11,95,122,0.4), transparent 50%);
}
.cta-block__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-7) 0;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .cta-block__inner { grid-template-columns: 1fr; gap: var(--space-3); }
}

.cta-block h2 {
  font-size: var(--t-5xl);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
}
.cta-block h2 em {
  font-style: italic;
  color: var(--ink);
}
.cta-block p {
  font-size: var(--t-lg);
  color: rgba(255,255,255,0.9);
  max-width: 45ch;
  margin-bottom: var(--space-3);
}
.cta-block .btn--primary { background: var(--ink); }
.cta-block .btn--primary:hover { background: var(--cream); color: var(--ink); }

/* ---------- 16. CONTACT / FORM ---------- */
.contact-section { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-6);
}
@media (max-width: 968px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h3 {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  margin-bottom: var(--space-3);
}
.contact-info h3 em { font-style: italic; color: var(--orange); }

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.contact-list li {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .label {
  font-size: var(--t-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  display: block;
}
.contact-list .value {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  letter-spacing: -0.02em;
  display: block;
  transition: color 0.3s var(--ease);
}
.contact-list .value:hover { color: var(--orange); }

/* Form */
.form {
  background: var(--paper);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
@media (max-width: 568px) { .form { padding: var(--space-3); } }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
@media (max-width: 568px) { .form__row { grid-template-columns: 1fr; } }

.form__field {
  position: relative;
  margin-bottom: var(--space-2);
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 1.2rem 1rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: var(--t-base);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  font-family: var(--f-body);
}
.form__field textarea { padding-top: 1.6rem; min-height: 140px; resize: vertical; }

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form__field label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: var(--t-sm);
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.25s var(--ease);
  background: transparent;
}
.form__field input:focus + label,
.form__field input:not(:placeholder-shown) + label,
.form__field select:focus + label,
.form__field select:not([value=""]):valid + label,
.form__field textarea:focus + label,
.form__field textarea:not(:placeholder-shown) + label {
  top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
}

.form__submit {
  width: 100%;
  padding: 1.1rem;
  margin-top: var(--space-2);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-size: var(--t-base);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.form__submit:hover {
  background: var(--orange);
  box-shadow: var(--shadow-glow);
}

.form__note {
  font-size: var(--t-xs);
  color: var(--text-muted);
  margin-top: var(--space-2);
  text-align: center;
}

.form__msg {
  padding: 1rem;
  border-radius: var(--r-md);
  margin-bottom: var(--space-2);
  font-size: var(--t-sm);
}
.form__msg--success { background: rgba(37, 211, 102, 0.12); color: #1e8b48; }
.form__msg--error { background: rgba(220, 38, 38, 0.1); color: #b91c1c; }

/* ---------- 17. FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: var(--space-6) 0 var(--space-3);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 968px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 568px) {
  .footer__top { grid-template-columns: 1fr; }
}

.footer__brand {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}
.footer__brand em { font-style: italic; color: var(--orange); }
.footer__tag {
  color: rgba(235, 231, 221, 0.6);
  font-size: var(--t-sm);
  max-width: 30ch;
}

.footer__col-title {
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(235,231,221,0.5);
  margin-bottom: var(--space-2);
}
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer__list a {
  font-size: var(--t-sm);
  color: var(--bone);
  transition: color 0.3s var(--ease);
}
.footer__list a:hover { color: var(--orange); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  font-size: var(--t-xs);
  color: rgba(235,231,221,0.5);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer__social {
  display: flex;
  gap: 0.6rem;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transition: all 0.3s var(--ease);
}
.footer__social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.footer__social svg { width: 16px; height: 16px; }

/* ---------- 18. FLOATING ELEMENTS ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  z-index: 99;
  transition: transform 0.3s var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.08) rotate(-5deg); }
.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.3);
  z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
.fab-whatsapp svg { width: 28px; height: 28px; }

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

.back-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
  z-index: 99;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--orange); transform: translateY(-3px); }

/* ---------- 19. MODAL / POPUP DEVIS ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }

.modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
}

.modal__card {
  position: relative;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: var(--space-5);
  transform: translateY(30px) scale(0.98);
  transition: transform 0.5s var(--ease-out);
}
.modal.open .modal__card { transform: translateY(0) scale(1); }

@media (max-width: 568px) {
  .modal__card { padding: var(--space-3); border-radius: var(--r-lg); }
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s var(--ease);
}
.modal__close:hover { background: var(--ink); color: var(--cream); transform: rotate(90deg); }

.modal__head { margin-bottom: var(--space-3); }
.modal__head h3 {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.modal__head h3 em { font-style: italic; color: var(--orange); }
.modal__head p { color: var(--text-muted); font-size: var(--t-sm); }

/* ---------- 20. PRELOADER ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader__brand {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}
.preloader__brand em { font-style: italic; color: var(--orange); }
.preloader__bar {
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--orange);
  width: 0;
  animation: load 1.6s var(--ease-out) forwards;
}
@keyframes load {
  to { width: 100%; }
}

/* ---------- 21. AOS-LIKE REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].visible { transform: translateX(0); }

[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }

/* ---------- 22. PAGE HEADERS (interior pages) ---------- */
.page-header {
  padding: calc(var(--nav-h) + var(--space-6)) 0 var(--space-5);
  border-bottom: 1px solid var(--line);
}
.page-header__crumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--t-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.page-header__crumb a:hover { color: var(--orange); }
.page-header__title {
  font-size: var(--t-6xl);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 14ch;
}
.page-header__title em { font-style: italic; color: var(--orange); }
.page-header__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-4);
  align-items: end;
}
@media (max-width: 768px) {
  .page-header__intro { grid-template-columns: 1fr; }
}

/* ---------- 23. UTILITIES ---------- */
.hide-mobile { }
.show-mobile { display: none; }
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: initial; }
}

.text-orange { color: var(--orange); }
.text-italic { font-style: italic; }
.text-display { font-family: var(--f-display); }
.text-center { text-align: center; }

.divider {
  height: 1px;
  background: var(--line);
  margin: var(--space-5) 0;
}

/* ---------- 24. ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}
/* ---------- FOUNDER CARD WITH PHOTO ---------- */
.about__card--founder {
position: relative;
overflow: hidden;
padding: 0;
background: var(--ink);
}

.about__card--founder img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center 20%; /* recadre vers le haut pour bien voir le visage */
z-index: 1;
transition: transform 0.8s var(--ease-out), filter 0.6s var(--ease);
filter: grayscale(15%) contrast(1.05);
}

.about__card--founder:hover img {
transform: scale(1.04);
filter: grayscale(0%) contrast(1.05);
}

.about__card--founder::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(10, 10, 10, 0.95) 0%,
rgba(10, 10, 10, 0.55) 45%,
rgba(10, 10, 10, 0.15) 75%,
rgba(10, 10, 10, 0) 100%
);
z-index: 2;
pointer-events: none;
}

.about__card--founder .about__card-content {
position: relative;
z-index: 3;
padding: var(--space-3);
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
color: var(--cream);
}

.about__card--founder h3 {
font-family: var(--f-display);
font-style: italic;
font-size: var(--t-2xl);
line-height: 1;
letter-spacing: -0.02em;
margin-top: 0.4rem;
}

.about__card--founder p {
font-size: var(--t-sm);
color: rgba(250, 248, 243, 0.85);
}
/* ======================================================================
TEAM SECTION
====================================================================== */
.team { background: var(--bg); }

.team__grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--space-3);
}

@media (max-width: 1024px) {
.team__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
.team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
.team__grid { grid-template-columns: 1fr; }
}

.member {
display: flex;
flex-direction: column;
cursor: pointer;
}

.member__photo {
position: relative;
aspect-ratio: 1 / 1;
overflow: hidden;
border-radius: var(--r-md);
background: var(--bone);
margin-bottom: var(--space-3);
}

.member__photo img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center 25%;
transition: transform 0.8s var(--ease-out), filter 0.6s var(--ease);
filter: grayscale(20%) contrast(1.03);
}

.member:hover .member__photo img {
transform: scale(1.06);
filter: grayscale(0%) contrast(1.03);
}

.member__photo::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(10, 10, 10, 0.55) 0%,
rgba(10, 10, 10, 0) 50%
);
opacity: 0;
transition: opacity 0.4s var(--ease);
pointer-events: none;
}
.member:hover .member__photo::after { opacity: 1; }

.member__role-badge {
position: absolute;
top: 12px;
left: 12px;
background: var(--cream);
color: var(--ink);
font-size: var(--t-xs);
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
padding: 0.4rem 0.8rem;
border-radius: var(--r-pill);
z-index: 2;
transition: all 0.4s var(--ease);
}

.member:hover .member__role-badge {
background: var(--orange);
color: var(--white);
transform: translateY(-2px);
}

.member__info {
display: flex;
flex-direction: column;
gap: 0.4rem;
}

.member__info .num {
display: block;
margin-bottom: 0.3rem;
}

.member__name {
font-family: var(--f-display);
font-size: var(--t-xl);
letter-spacing: -0.02em;
line-height: 1.05;
margin-bottom: 0.2rem;
transition: color 0.3s var(--ease);
}
.member__name em {
font-style: italic;
color: var(--orange);
}
.member:hover .member__name { color: var(--orange); }

.member__title {
font-size: var(--t-sm);
color: var(--ink);
font-weight: 500;
margin-bottom: 0.4rem;
}

.member__bio {
font-size: var(--t-sm);
color: var(--text-muted);
line-height: 1.5;
margin-bottom: var(--space-2);
}

.member__social {
display: flex;
gap: 0.5rem;
padding-top: var(--space-2);
margin-top: auto;
border-top: 1px solid var(--line);
}

.member__social a {
width: 34px;
height: 34px;
border-radius: 50%;
border: 1px solid var(--line);
display: flex;
align-items: center;
justify-content: center;
color: var(--graphite);
transition: all 0.3s var(--ease);
}

.member__social a:hover {
background: var(--ink);
color: var(--cream);
border-color: var(--ink);
transform: translateY(-2px);
}

.member__social svg { width: 15px; height: 15px; }

/* ---------- SERVICE ICON AS IMAGE ---------- /
.service__icon-img {
width: 44px;
height: 44px;
object-fit: contain;
object-position: left center;
margin-bottom: var(--space-3);
transition: all 0.4s var(--ease);
/ Effet teinté orange par défaut, comme l'icône SVG d'origine */
filter: brightness(0) saturate(100%) invert(54%) sepia(85%) saturate(2475%) hue-rotate(2deg) brightness(103%) contrast(106%);
}

/* Au survol de la carte, l'image conserve sa teinte orange (cohérent avec les SVG) */
.service:hover .service__icon-img {
transform: rotate(-5deg) scale(1.1);
}

/* ======================================================================
LANGUAGE SWITCHER
====================================================================== */
.lang-switch {
position: relative;
margin-right: 0.8rem;
}

.lang-switch__current {
display: inline-flex;
align-items: center;
gap: 0.45rem;
padding: 0.55rem 0.85rem;
background: transparent;
border: 1px solid var(--line);
border-radius: var(--r-pill);
font-size: var(--t-sm);
font-weight: 500;
color: var(--ink);
cursor: pointer;
transition: all 0.3s var(--ease);
}

.lang-switch__current:hover {
border-color: var(--ink);
background: var(--paper);
}

.lang-switch__flag {
font-size: 1.05rem;
line-height: 1;
}

.lang-switch__code {
font-family: var(--f-mono, var(--f-body));
letter-spacing: 0.05em;
font-size: 0.78rem;
}

.lang-switch__menu {
position: absolute;
top: calc(100% + 8px);
right: 0;
min-width: 180px;
background: var(--paper);
border: 1px solid var(--line);
border-radius: var(--r-md);
box-shadow: var(--shadow-md);
padding: 0.4rem;
list-style: none;
opacity: 0;
visibility: hidden;
transform: translateY(-8px);
transition: all 0.3s var(--ease);
z-index: 110;
}

.lang-switch.open .lang-switch__menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.lang-switch__option {
width: 100%;
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.6rem 0.8rem;
background: transparent;
border: none;
border-radius: var(--r-sm);
text-align: left;
font-size: var(--t-sm);
color: var(--graphite);
cursor: pointer;
transition: all 0.2s var(--ease);
}

.lang-switch__option:hover {
background: var(--bone);
color: var(--ink);
}

.lang-switch__option.active {
background: var(--ink);
color: var(--cream);
}

.lang-switch__option span {
font-size: 1rem;
}

@media (max-width: 1024px) {
.lang-switch {
margin-right: 0;
margin-left: auto;
}
.lang-switch__menu { right: 0; left: auto; }
}
/* ============================================================
   CORRECTIF MOBILE — titre hero responsive (anti-débordement)
   N'affecte que les écrans ≤ 768px ; le rendu desktop est inchangé.
   ============================================================ */
@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(2.4rem, 11vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .hero__title .indent { padding-left: 0; }
  .hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .hero__title { font-size: clamp(2.05rem, 12.5vw, 3.4rem); }
}
/* Garde-fou anti-débordement horizontal sur mobile (n'affecte pas le desktop) */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  img, svg, video, iframe { max-width: 100%; height: auto; }
  .about__visual { position: static; max-width: 100%; }
}
