/* ============================================
   Pépin Paysages · Styles V2
   ============================================ */

:root {
  --ink: #38322d;
  --ink-soft: #48413b;
  --ink-light: #645c55;
  --mineral: #428a30;
  --mineral-light: #56a140;
  --mineral-pale: rgba(66,138,48,0.10);
  --sand: #c49b63;
  --sand-light: #d6ad78;
  --sand-pale: rgba(196,155,99,0.12);
  --ember: #c97d4a;
  --calcite: #f4f1ea;
  --calcite-dark: #e8e3d8;
  --white: #ffffff;
  --text: #1a2810;
  --text-soft: #4d5a42;
  --text-light: #7a8a6e;
  --line: rgba(56, 50, 45, 0.12);
  --line-light: rgba(255,255,255,0.10);
  --shadow: 0 8px 32px rgba(3,8,15,0.08);
  --shadow-lg: 0 24px 56px rgba(3,8,15,0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --nav-h: 64px;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--calcite);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ============================================
   Progress bar
   ============================================ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mineral), var(--sand));
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================
   Utility
   ============================================ */
.sec {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2rem);
  max-width: var(--max-w);
  margin: 0 auto;
}

.sec-head {
  margin-bottom: 3rem;
  max-width: 680px;
}

.sec-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.sec-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 58ch;
}

.sec-dark {
  background: var(--ink);
  color: var(--calcite);
  max-width: none;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2rem);
  position: relative;
}

/* Subtle grain texture on dark sections */
.sec-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

.sec-dark .sec-desc { color: rgba(244,241,234,0.75); }

.label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 0.75rem;
}

.label-gold { color: var(--sand); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--sand);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--sand-light);
}

.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--calcite);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--sand);
  color: var(--sand);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(56, 50, 45, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--calcite);
  border-bottom: 1px solid var(--line-light);
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-logo em {
  font-style: normal;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(244,241,234,0.8);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover { color: var(--sand); }
.nav-link.is-active { color: var(--calcite); }

.nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--sand);
  border-radius: 1px;
}

.nav-cta {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--calcite);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--calcite);
  overflow: hidden;
}

.hero-fig {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.02) brightness(0.72);
  animation: hero-zoom 10s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* Parallax-like effect via scroll-driven scale */
.hero-fig.parallax {
  transform: translateY(0);
  transition: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-body {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem clamp(1.25rem, 4vw, 2rem) 4rem;
  width: 100%;
}

.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-lead {
  color: rgba(244,241,234,0.8);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 62ch;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-kpis {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.kpi {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.kpi-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.kpi-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244,241,234,0.65);
}

/* ============================================
   Projects
   ============================================ */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.project {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-fig {
  overflow: hidden;
  height: 220px;
  position: relative;
}

.project-fig::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(56, 50, 45, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.project-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project:hover .project-fig img {
  transform: scale(1.06);
}

.project-ref-cta {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
}

.project-ref-cta .btn {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 2rem;
  background: var(--ink-soft);
  color: var(--calcite);
  border: 2.5px solid var(--sand-light);
  box-shadow: var(--shadow-lg);
}

.project-ref-cta .btn:hover {
  background: var(--ink);
  border-color: var(--sand);
  color: var(--white);
  transform: translateY(-3px) scale(1.01);
}

.project-body {
  padding: 1.5rem;
}

.project-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 0.4rem;
}

.project-name {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.project-loc {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--mineral);
  font-weight: 600;
}

.project-meta li { position: relative; }

.project-meta li + li::before {
  content: '·';
  margin-right: 0.6rem;
  color: var(--text-light);
}

/* ============================================
   Awards
   ============================================ */
.awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.award {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  transition: background 0.3s ease, transform 0.3s ease;
}

.award:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}

.award-rank {
  color: var(--sand);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.award-year {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.15);
  display: block;
  margin-bottom: 0.5rem;
}

.award-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.award-desc {
  font-size: 0.9rem;
  color: rgba(244,241,234,0.7);
  line-height: 1.5;
}

/* ============================================
   Festival highlight
   ============================================ */
.sec-festival {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  max-width: none;
}

.festival-fig {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.festival-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.02) brightness(0.72);
}

.festival-shade {
  position: absolute;
  inset: 0;
}

.festival-body {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 2rem);
  color: var(--calcite);
}

.festival-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.festival-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(244,241,234,0.8);
  max-width: 48ch;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

/* ============================================
   Savoir-faire — Timeline verticale (Visme style)
   ============================================ */
.skill-vistimeline {
  position: relative;
  margin-bottom: 3rem;
  padding: 1rem 0;
}

.vt-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--line);
  z-index: 0;
}

.vt-node {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.vt-node:last-child { margin-bottom: 0; }

/* Alternating left/right */
.vt-left {
  flex-direction: row;
  padding-right: calc(50% + 1.5rem);
}

.vt-right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 1.5rem);
}

.vt-dot {
  position: absolute;
  left: 50%;
  top: 1.2rem;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 3px solid var(--vt-clr);
  z-index: 2;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vt-node:hover .vt-dot {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--vt-clr) 18%, transparent);
}

.vt-dot span {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--vt-clr);
}

.vt-card {
  display: flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vt-node:hover .vt-card {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.vt-fig {
  width: 140px;
  min-height: 120px;
  flex-shrink: 0;
  overflow: hidden;
}

.vt-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vt-node:hover .vt-fig img {
  transform: scale(1.06);
}

.vt-body {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.vt-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.vt-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.vt-refs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.vt-refs span {
  font-size: 0.75rem;
  color: var(--mineral);
  font-weight: 600;
}

/* Procedures */
.procedures {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--calcite);
  box-shadow: var(--shadow-lg);
}

.procedures h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.procedures h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.1rem 0 0.55rem;
  color: var(--sand);
}

.procedures h3 + h4 {
  margin-top: 0.2rem;
}

.procedures ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.procedures li {
  font-size: 0.9rem;
  color: rgba(244,241,234,0.8);
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.5;
}

.procedures li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
}

/* ============================================
   Équipe
   ============================================ */
.team-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

#equipe .sec-head {
  text-align: center;
}

#equipe .sec-desc {
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.team-fig {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #1f1b17;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-img-bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center 14%;
  filter: blur(16px) saturate(1.1) contrast(1.03) brightness(0.72);
  transform: scale(1.08);
  z-index: 0;
}

.team-img-fg {
  position: relative;
  z-index: 1;
  width: 80%;
  height: 86%;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 14%;
  box-shadow: 0 18px 34px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.55);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover .team-img-bg {
  transform: scale(1.12);
}

.team-card:hover .team-img-fg {
  transform: scale(1.01);
  box-shadow: 0 22px 36px rgba(0,0,0,0.42);
}

.team-overlay {
  position: absolute;
  inset: auto 10% 7% 10%;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: linear-gradient(0deg, rgba(16,14,12,0.86) 0%, rgba(16,14,12,0.05) 100%);
  z-index: 2;
}

.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.team-role {
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: rgba(244,241,234,0.88);
}

.team-desc {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
  padding: 0.9rem 1rem 1rem;
}

.team-associes {
  max-width: var(--max-w);
  margin: 1rem auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1.5rem 0;
  font-style: normal;
  font-size: 1rem;
}

.contact-details a {
  color: var(--sand);
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-details a:hover { color: var(--sand-light); }

.contact-details span {
  color: rgba(244,241,234,0.7);
}

.contact-actions {
  margin: 1.5rem 0;
}

.contact-rgpd {
  font-size: 0.8rem;
  color: rgba(244,241,234,0.5);
}

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: var(--calcite);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sand);
  background: rgba(255,255,255,0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form option {
  color: var(--text);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink-soft);
  color: var(--calcite);
  padding: 2rem clamp(1.25rem, 4vw, 2rem);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(244,241,234,0.6);
}

.footer-links a {
  color: var(--sand);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ============================================
   Scroll reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   Media queries
   ============================================ */
@media (max-width: 1100px) {
  .vt-left {
    padding-right: calc(50% + 1rem);
  }
  .vt-right {
    padding-left: calc(50% + 1rem);
  }
  .vt-fig {
    width: 110px;
    min-height: 100px;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .projects {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(56, 50, 45, 0.85);
    backdrop-filter: blur(8px);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

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

  .nav-link {
    font-size: 1.4rem;
  }

  .nav-cta {
    border-color: var(--sand);
    color: var(--sand);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-kpis {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .kpi-num {
    font-size: 1.6rem;
  }

  .festival-body {
    text-align: center;
  }

}

@media (max-width: 650px) {
  .vt-left,
  .vt-right {
    padding: 0 0 0 2.5rem;
    flex-direction: row;
  }

  .vt-track {
    left: 1.25rem;
    transform: none;
  }

  .vt-dot {
    left: 1.25rem;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
  }

  .vt-node:hover .vt-dot {
    transform: translateX(-50%) scale(1.15);
  }

  .vt-card {
    flex-direction: column;
  }

  .vt-fig {
    width: 100%;
    min-height: 140px;
  }

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

  .team-fig {
    height: 235px;
  }

  .team-img-fg {
    width: 86%;
    height: 84%;
  }

  .team-overlay {
    inset: auto 7% 6% 7%;
  }

}

@media (max-width: 480px) {
  .hero-body {
    padding-top: 6rem;
  }

  .hero-kpis {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
