/* =========================================================
   TRAMONT SA — Site officiel
   Style : moderne minimaliste clair
   Palette : blanc cassé / beige / vert sapin profond
   ========================================================= */

:root {
  --bg: #f7f5f1;
  --bg-alt: #efece5;
  --paper: #ffffff;
  --ink: #1a1f1c;
  --ink-soft: #4a5450;
  --ink-mute: #8a8f8b;
  --line: #d9d5cc;
  --green: #2d3f34;
  --green-deep: #1e2a22;
  --green-soft: #4a6151;
  --accent: #b8a677;
  --radius: 4px;
  --easing: cubic-bezier(0.7, 0, 0.15, 1);
  --easing-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--green); color: var(--bg); }

/* ============ LOADER ============ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--green-deep);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s var(--easing);
}
.loader.hidden { transform: translateY(-100%); }
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: var(--bg);
}
.loader-word {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  overflow: hidden;
  position: relative;
  animation: loaderWordIn 1.2s var(--easing) forwards;
}
.loader-bar {
  width: 200px; height: 1px;
  background: rgba(247,245,241,0.15);
  overflow: hidden;
}
.loader-bar-fill {
  display: block;
  height: 100%;
  background: var(--bg);
  transform-origin: left;
  animation: loaderBar 1.4s var(--easing) forwards;
}
@keyframes loaderWordIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes loaderBar {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background 0.4s var(--easing), padding 0.4s var(--easing), box-shadow 0.4s;
  background: rgba(247, 245, 241, 0);
}
.nav.scrolled {
  background: rgba(247, 245, 241, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 48px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--green);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 2px;
  transition: transform 0.5s var(--easing);
}
.logo-mark.big { width: 48px; height: 48px; font-size: 1.4rem; }
.nav-logo:hover .logo-mark { transform: rotate(-8deg); }
.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--easing);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--green);
  color: var(--bg);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s var(--easing);
}
.nav-cta svg { width: 14px; height: 14px; transition: transform 0.3s; }
.nav-cta:hover { background: var(--green-deep); }
.nav-cta:hover svg { transform: translateX(4px); }

.nav-burger { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-burger span { width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--easing), opacity 0.3s; }
.nav-burger.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--bg);
  padding: 100px 32px 40px;
  z-index: 90;
  transform: translateY(-100%);
  transition: transform 0.6s var(--easing);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 24px 40px rgba(0,0,0,0.08);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 12s var(--easing-soft);
  will-change: transform;
}
.loaded .hero-image img { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30,42,34,0.15) 0%, rgba(30,42,34,0.45) 60%, rgba(30,42,34,0.75) 100%),
    linear-gradient(90deg, rgba(30,42,34,0.55) 0%, rgba(30,42,34,0) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: var(--bg);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,245,241,0.75);
  margin-bottom: 32px;
  padding: 8px 16px;
  border: 1px solid rgba(247,245,241,0.2);
  border-radius: 100px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(184,166,119,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(184,166,119,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(184,166,119,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,166,119,0); }
}

.hero-title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.hero-title .italic { font-style: italic; color: var(--accent); font-weight: 300; }
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 4px;
}
.hero-title .line-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: heroLineUp 1.2s var(--easing) forwards;
}
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.15s; }

@keyframes heroLineUp {
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  max-width: 560px;
  color: rgba(247,245,241,0.85);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.4s var(--easing), background 0.3s, color 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--easing); }
.btn-primary {
  background: var(--bg);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover svg { transform: translateX(6px); }
.btn-ghost {
  border: 1px solid rgba(247,245,241,0.4);
  color: var(--bg);
}
.btn-ghost:hover { background: rgba(247,245,241,0.1); border-color: var(--bg); }
.btn-full { width: 100%; justify-content: center; padding: 20px; margin-top: 8px; background: var(--green); color: var(--bg); }
.btn-full:hover { background: var(--green-deep); }

.hero-marquee {
  position: absolute;
  bottom: 60px;
  left: 0; right: 0;
  z-index: 2;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(247,245,241,0.15);
  border-bottom: 1px solid rgba(247,245,241,0.15);
  background: rgba(30,42,34,0.15);
  backdrop-filter: blur(4px);
}
.marquee-track {
  display: inline-flex;
  gap: 32px;
  padding-left: 32px;
  color: rgba(247,245,241,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-scroll {
  position: absolute;
  bottom: 130px;
  right: 48px;
  z-index: 3;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(247,245,241,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); }
}

/* ============ SHARED SECTION ============ */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
  padding-left: 24px;
  position: relative;
}
.section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 1px;
  background: var(--ink-mute);
}
.section-eyebrow.light { color: rgba(247,245,241,0.7); }
.section-eyebrow.light::before { background: rgba(247,245,241,0.7); }

.section-title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
}
.section-title em { font-style: italic; color: var(--green); font-weight: 400; }

.section-head {
  padding: 0 48px;
  max-width: 900px;
  margin-bottom: 80px;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
}

/* ============ INTRO ============ */
.intro {
  padding: 140px 48px 100px;
  border-bottom: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
.intro-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 500px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.stat {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.stat-num {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.stat-num em { font-style: normal; font-size: 0.6em; color: var(--accent); margin-left: 2px; }
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

/* ============ SERVICES ============ */
.services {
  padding: 140px 0 100px;
  background: var(--bg-alt);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 48px;
  max-width: 1600px;
  margin: 0 auto;
}
.service {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.6s var(--easing), box-shadow 0.6s;
  display: flex;
  flex-direction: column;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 60px -30px rgba(30,42,34,0.15);
}
.service-visual {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}
.service-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--easing-soft);
}
.service:hover .service-visual img { transform: scale(1.08); }
.service-body { padding: 36px 32px 40px; flex: 1; }
.service-num {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.service h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--ink);
}
.service p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.service ul { list-style: none; }
.service ul li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.service ul li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============ PROJETS ============ */
.projets {
  padding: 140px 0 120px;
}
.projets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 320px;
  gap: 24px;
  padding: 0 48px;
  max-width: 1600px;
  margin: 0 auto;
}
.projet {
  grid-column: span 2;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
}
.projet-lg { grid-column: span 2; grid-row: span 2; }
.projet-img {
  position: absolute;
  inset: 0;
}
.projet-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--easing-soft), filter 0.6s;
  filter: brightness(0.85);
}
.projet:hover .projet-img img { transform: scale(1.06); filter: brightness(0.7); }
.projet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,42,34,0.85) 0%, rgba(30,42,34,0.1) 60%);
  z-index: 1;
}
.projet-meta {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: var(--bg);
  transform: translateY(10px);
  opacity: 0.95;
  transition: transform 0.5s var(--easing), opacity 0.5s;
}
.projet:hover .projet-meta { transform: translateY(0); opacity: 1; }
.projet-place {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,245,241,0.75);
  margin-bottom: 8px;
}
.projet-meta h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
  margin-bottom: 6px;
}
.projet-tag {
  font-size: 0.85rem;
  color: rgba(247,245,241,0.7);
}

/* ============ MANIFESTE ============ */
.manifeste {
  padding: 160px 48px;
  background: var(--green-deep);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.manifeste::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184,166,119,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184,166,119,0.05), transparent 50%);
}
.manifeste-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.manifeste-title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 24px 0 40px;
}
.manifeste-title .italic { font-style: italic; color: var(--accent); }
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--easing), transform 0.9s var(--easing);
}
.reveal-word.in { opacity: 1; transform: translateY(0); }
.manifeste p {
  max-width: 640px;
  font-size: 1.1rem;
  color: rgba(247,245,241,0.75);
  line-height: 1.65;
}

/* ============ À PROPOS ============ */
.apropos {
  padding: 140px 48px;
  background: var(--bg);
}
.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}
.apropos-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.apropos-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--easing-soft);
}
.apropos-img:hover img { transform: scale(1.03); }
.apropos-img-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--bg);
  padding: 20px 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.apropos-img-badge span {
  font-size: 0.75rem;
  color: var(--ink-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.apropos-img-badge strong {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 2.2rem;
  color: var(--green);
  line-height: 1;
}
.apropos-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 520px;
}
.apropos-team {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.team-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.team-item:last-child { border-bottom: none; }
.team-item strong { font-weight: 500; color: var(--ink); }
.team-item span { color: var(--ink-mute); }

/* ============ CONTACT ============ */
.contact {
  padding: 140px 48px;
  background: var(--bg-alt);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
.contact-left p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}
.contact-block {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.contact-block:last-child { border-bottom: 1px solid var(--line); }
.contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.contact-block p, .contact-block a {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.4;
  font-weight: 400;
}
.contact-block a { transition: color 0.3s; }
.contact-block a:hover { color: var(--green); }

.contact-form {
  background: var(--paper);
  padding: 40px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label > span {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.3s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-success {
  position: absolute;
  inset: 0;
  background: var(--green);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--easing);
}
.form-success.show { opacity: 1; pointer-events: auto; }

/* ============ FOOTER ============ */
.footer {
  background: var(--green-deep);
  color: var(--bg);
  padding: 80px 48px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(247,245,241,0.15);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand p {
  color: rgba(247,245,241,0.7);
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.6;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols > div { display: flex; flex-direction: column; gap: 14px; }
.footer-cols span {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,245,241,0.5);
  margin-bottom: 8px;
}
.footer-cols a {
  color: rgba(247,245,241,0.85);
  font-size: 0.95rem;
  transition: color 0.3s;
}
.footer-cols a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: rgba(247,245,241,0.6);
}
.footer-back a:hover { color: var(--accent); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--easing), transform 1s var(--easing);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr; max-width: 640px; }
  .projets-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 280px;
  }
  .projet { grid-column: span 1; }
  .projet-lg { grid-column: span 2; grid-row: span 1; }
  .intro-grid,
  .apropos-grid,
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 780px) {
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 100px 24px 60px; }
  .hero-scroll { display: none; }
  .hero-marquee { bottom: 0; }
  .section-head { padding: 0 24px; margin-bottom: 60px; }
  .intro { padding: 80px 24px 60px; }
  .services { padding: 80px 0 60px; }
  .services-grid { padding: 0 24px; gap: 24px; }
  .projets { padding: 80px 0 60px; }
  .projets-grid {
    padding: 0 24px;
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    gap: 16px;
  }
  .projet, .projet-lg { grid-column: span 1; grid-row: span 1; }
  .manifeste { padding: 80px 24px; }
  .apropos { padding: 80px 24px; }
  .contact { padding: 80px 24px; }
  .contact-form { padding: 28px; }
  .footer { padding: 60px 24px 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .section-title { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 3rem; }
  .footer-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
