@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

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

:root {
  --stone-50:   #FAF9F6;
  --stone-100:  #F2EFE8;
  --stone-200:  #E4DDD1;
  --stone-300:  #CFC5B5;
  --stone-400:  #B8A894;
  --stone-500:  #9A8872;
  --stone-600:  #7A6A58;
  --stone-700:  #5C4F3E;
  --stone-800:  #3D3228;
  --stone-900:  #1E1810;
  --warm:       #6B8259;
  --warm-light: #E3EBD8;
  --warm-dark:  #4E6340;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--sans);
  background: var(--stone-50);
  color: var(--stone-800);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--stone-100); }
::-webkit-scrollbar-thumb { background: var(--stone-400); border-radius: 3px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  height: 72px;
  background: rgba(250,249,246,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stone-200);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(30,24,16,.06); }

.nav-logo {
  font-family: var(--serif);
  font-size: 22px; font-weight: 400; letter-spacing: .1em;
  color: var(--stone-900);
  display: flex; align-items: center; gap: 2px;
}
.nav-logo-accent { color: var(--warm); }

.nav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 0 20px; height: 72px;
  line-height: 72px;
  font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  color: var(--stone-600);
  transition: color var(--transition);
  position: relative;
}
.nav-links > li > a::after {
  content: ''; position: absolute; bottom: 0; left: 20px; right: 20px;
  height: 2px; background: var(--warm);
  transform: scaleX(0); transition: transform var(--transition);
  transform-origin: left;
}
.nav-links > li > a:hover { color: var(--stone-900); }
.nav-links > li > a:hover::after,
.nav-links > li.active > a::after { transform: scaleX(1); }
.nav-links > li.active > a { color: var(--stone-900); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: white;
  border: 1px solid var(--stone-200);
  border-top: 2px solid var(--warm);
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(30,24,16,.1);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 300;
}
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a {
  display: block; padding: 12px 20px;
  font-size: 13px; color: var(--stone-600);
  border-bottom: 1px solid var(--stone-100);
  transition: all var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--stone-50); color: var(--warm); padding-left: 28px; }

.nav-cta {
  padding: 10px 24px;
  background: var(--warm); color: white;
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--warm-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 1.5px; background: var(--stone-800); transition: all var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 55% 45%;
  padding-top: 72px;
}

.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 56px 80px 56px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--warm); margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--warm); }

h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 300; line-height: 1.1;
  color: var(--stone-900); margin-bottom: 28px;
}
h1 em, h2 em { font-style: italic; color: var(--warm); font-weight: 300; }

.hero-desc {
  font-size: 16px; line-height: 1.75; color: var(--stone-600);
  max-width: 440px; margin-bottom: 48px;
}

.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer;
  transition: all var(--transition); border: none;
}
.btn-primary {
  padding: 16px 32px;
  background: var(--stone-900); color: white;
}
.btn-primary:hover { background: var(--warm); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,129,74,.3); }
.btn-primary svg { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  padding: 15px 32px;
  background: transparent; color: var(--stone-700);
  border: 1px solid var(--stone-300);
}
.btn-outline:hover { border-color: var(--stone-600); color: var(--stone-900); background: var(--stone-100); }

.hero-trust {
  display: flex; align-items: center; gap: 24px;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--stone-200);
}
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--serif); font-size: 32px; font-weight: 300;
  color: var(--stone-900); line-height: 1;
}
.trust-label { font-size: 11px; color: var(--stone-500); margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }
.trust-div { width: 1px; height: 40px; background: var(--stone-200); }

.hero-visual {
  position: relative; overflow: hidden;
  background: var(--stone-900);
}
.hero-img {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #6B5A48 0%, #3D3228 40%, #1E1810 100%);
  position: relative;
}
.hero-img::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(196,129,74,.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 30% 70%, rgba(184,168,148,.1) 0%, transparent 70%);
}
/* Architectural line decoration */
.hero-lines {
  position: absolute; inset: 0;
  overflow: hidden; opacity: .15;
}
.hero-lines svg { width: 100%; height: 100%; }

.hero-badge {
  position: absolute; bottom: 40px; left: 40px;
  background: rgba(250,249,246,.95);
  backdrop-filter: blur(8px);
  padding: 24px 28px;
  border-left: 3px solid var(--warm);
  max-width: 280px;
}
.hero-badge-label { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--stone-500); margin-bottom: 8px; }
.hero-badge-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--stone-900); line-height: 1.2; margin-bottom: 4px; }
.hero-badge-sub { font-size: 12px; color: var(--warm); letter-spacing: .06em; }

/* ===== SECTION COMMON ===== */
section { padding: 100px 56px; }

.section-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 64px; gap: 40px;
}
.section-header-right { max-width: 320px; }

h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300; line-height: 1.15;
  color: var(--stone-900);
}
h3 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 400;
  color: var(--stone-900);
}
.section-lead {
  font-size: 15px; line-height: 1.7; color: var(--stone-600);
  margin-top: 12px;
}

/* ===== SERVICES ===== */
.services { background: var(--stone-50); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--stone-100);
  padding: 48px 36px 40px;
  position: relative; overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none; color: inherit;
  display: block;
}
.service-card::after {
  content: '';
  position: absolute; left: 0; bottom: 0; right: 0;
  height: 3px; background: var(--warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { background: var(--stone-900); transform: translateY(-6px); box-shadow: 0 24px 48px rgba(30,24,16,.15); }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .sc-num,
.service-card:hover .sc-title,
.service-card:hover .sc-desc { color: white; }
.service-card:hover .sc-num { color: rgba(255,255,255,.12) !important; }
.service-card:hover .sc-link { opacity: 1; transform: translateX(0); color: var(--warm); }

.sc-num {
  font-family: var(--serif); font-size: 72px; font-weight: 300;
  color: var(--stone-200); line-height: 1;
  margin-bottom: 28px;
  transition: color var(--transition);
}
.sc-title {
  font-family: var(--serif); font-size: 26px; font-weight: 400;
  color: var(--stone-900); margin-bottom: 14px;
  transition: color var(--transition);
}
.sc-desc {
  font-size: 14px; line-height: 1.65; color: var(--stone-600);
  margin-bottom: 28px;
  transition: color var(--transition);
}
.sc-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--warm); font-weight: 500;
  opacity: 0; transform: translateX(-12px);
  transition: all var(--transition);
}

/* ===== APPROACH ===== */
.approach { background: var(--stone-900); color: white; padding: 100px 56px; }
.approach .eyebrow { color: var(--warm); }
.approach h2 { color: white; }
.approach .section-lead { color: rgba(255,255,255,.5); }

.approach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 64px;
}
.approach-item {
  padding: 48px 40px;
  border: 1px solid rgba(255,255,255,.07);
  transition: background var(--transition);
}
.approach-item:hover { background: rgba(196,129,74,.08); }

.approach-step {
  font-family: var(--serif); font-size: 56px; font-weight: 300;
  color: rgba(255,255,255,.1); line-height: 1; margin-bottom: 24px;
}
.approach-title {
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  color: white; margin-bottom: 14px;
}
.approach-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.45); }

/* ===== PROJETS ===== */
.projects { background: var(--stone-50); padding: 100px 0; }
.projects-header { padding: 0 56px 64px; }

.projects-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 32px;
}
.filter-btn {
  padding: 8px 20px;
  font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--stone-300);
  background: transparent; color: var(--stone-600);
  border-radius: 2px; cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active,
.filter-btn:hover { background: var(--stone-900); color: white; border-color: var(--stone-900); }

.projects-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 60px;
  gap: 3px;
  padding: 0 3px;
}

.proj {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--stone-300);
  transition: all var(--transition);
}
.proj:nth-child(1) { grid-column: 1/6; grid-row: 1/9; }
.proj:nth-child(2) { grid-column: 6/10; grid-row: 1/6; }
.proj:nth-child(3) { grid-column: 10/13; grid-row: 1/6; }
.proj:nth-child(4) { grid-column: 6/9; grid-row: 6/9; }
.proj:nth-child(5) { grid-column: 9/13; grid-row: 6/9; }

.proj-bg {
  position: absolute; inset: 0;
  transition: transform .6s ease;
}
.proj:hover .proj-bg { transform: scale(1.06); }

.bg1 { background: linear-gradient(135deg, #8C7B6B 0%, #4A3D30 100%); }
.bg2 { background: linear-gradient(135deg, #B4A490 0%, #7A6A58 100%); }
.bg3 { background: linear-gradient(135deg, #9E9284 0%, #6B5E50 100%); }
.bg4 { background: linear-gradient(135deg, #C4B8A8 0%, #8A7A68 100%); }
.bg5 { background: linear-gradient(135deg, #A89880 0%, #6A5A48 100%); }

.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,5,.85) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--transition);
}
.proj:hover .proj-overlay { opacity: 1; }

.proj-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  transform: translateY(6px);
  transition: transform var(--transition);
}
.proj:hover .proj-info { transform: translateY(0); }

.proj-tag {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--warm); margin-bottom: 6px;
}
.proj-name {
  font-family: var(--serif); font-size: 22px; font-weight: 300;
  color: white; line-height: 1.2;
}
.proj-meta { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--stone-100); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.testimonial {
  background: white; padding: 48px 36px;
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition);
}
.testimonial:hover { border-bottom-color: var(--warm); }
.testimonial-quote {
  font-family: var(--serif); font-size: 68px; font-weight: 300;
  color: var(--stone-200); line-height: .8; margin-bottom: 20px;
}
.testimonial-text {
  font-size: 15px; line-height: 1.75; color: var(--stone-700);
  font-style: italic; margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--warm-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; color: var(--warm); font-weight: 400;
}
.testimonial-name { font-weight: 500; font-size: 14px; color: var(--stone-900); }
.testimonial-role { font-size: 12px; color: var(--stone-500); margin-top: 2px; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--stone-900);
  padding: 100px 56px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 80px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px;
  border: 1px solid rgba(196,129,74,.15);
  border-radius: 50%;
}
.cta-band::after {
  content: '';
  position: absolute; top: 20px; right: -20px;
  width: 300px; height: 300px;
  border: 1px solid rgba(196,129,74,.08);
  border-radius: 50%;
}
.cta-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--warm); margin-bottom: 20px; }
.cta-headline {
  font-family: var(--serif); font-size: clamp(36px, 4vw, 52px);
  font-weight: 300; color: white; line-height: 1.2;
}
.cta-headline em { color: var(--warm); font-style: italic; }
.cta-sub { font-size: 15px; color: rgba(255,255,255,.45); margin-top: 16px; max-width: 500px; line-height: 1.7; }
.cta-buttons { display: flex; flex-direction: column; gap: 14px; min-width: 260px; position: relative; z-index: 1; }

.btn-warm {
  display: block; padding: 18px 36px; text-align: center;
  background: var(--warm); color: white;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 2px; transition: all var(--transition);
}
.btn-warm:hover { background: var(--warm-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,129,74,.4); }

.btn-ghost-white {
  display: block; padding: 17px 36px; text-align: center;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7);
  font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 2px; transition: all var(--transition);
}
.btn-ghost-white:hover { border-color: white; color: white; }

/* ===== CONTACT FORM ===== */
.contact { background: var(--stone-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h3 { font-family: var(--serif); font-size: 32px; font-weight: 300; color: var(--stone-900); margin-bottom: 20px; }
.contact-info p { font-size: 15px; line-height: 1.7; color: var(--stone-600); margin-bottom: 40px; }

.contact-items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon-box {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--warm-light); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon-box svg { color: var(--warm); }
.contact-item-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-500); margin-bottom: 4px; }
.contact-item-value { font-size: 15px; color: var(--stone-800); font-weight: 400; }
.contact-item-value a { color: var(--stone-800); transition: color var(--transition); }
.contact-item-value a:hover { color: var(--warm); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone-600); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--stone-200);
  border-radius: 2px;
  font-family: var(--sans); font-size: 14px; color: var(--stone-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; -webkit-appearance: none;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--warm);
  box-shadow: 0 0 0 3px rgba(196,129,74,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone-400); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select { cursor: pointer; color: var(--stone-800); }
.form-group select option { color: var(--stone-800); }

.form-submit {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.form-submit p { font-size: 12px; color: var(--stone-500); line-height: 1.5; }

.btn-submit {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: var(--stone-900); color: white;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  border: none; border-radius: 2px; cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-submit:hover { background: var(--warm); transform: translateY(-2px); }
.btn-submit svg { transition: transform var(--transition); }
.btn-submit:hover svg { transform: translateX(4px); }

/* Success message */
.form-success {
  display: none; padding: 20px 24px;
  background: #F0F7F0; border: 1px solid #B8D4B8;
  border-radius: 2px;
  font-size: 14px; color: #3A6B3A;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: var(--stone-900);
}
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px; padding: 72px 56px 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { font-size: 24px; margin-bottom: 20px; }
.footer-brand .nav-logo { color: white; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.6; max-width: 240px; margin-bottom: 28px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: 14px;
  transition: all var(--transition);
}
.social-btn:hover { border-color: var(--warm); color: var(--warm); }

.footer-col h4 {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 20px; font-weight: 400;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--warm); }

.footer-bottom {
  padding: 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.25); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--warm); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding-top: 72px;
  background: var(--stone-900);
  min-height: 380px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(196,129,74,.12) 0%, transparent 70%);
}
.page-hero-content { padding: 80px 56px; position: relative; z-index: 1; max-width: 700px; }
.page-hero .eyebrow { color: var(--warm); }
.page-hero h1 { color: white; font-size: clamp(40px, 5vw, 64px); }
.page-hero-desc { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 560px; margin-top: 20px; }

.page-hero-pattern {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  opacity: .04;
}

/* ===== REFERENCES PAGE ===== */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.ref-card {
  background: var(--stone-100);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(30,24,16,.12); }
.ref-img {
  height: 200px;
  background: var(--stone-300);
  position: relative; overflow: hidden;
}
.ref-body { padding: 28px; }
.ref-tag {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--warm); margin-bottom: 10px;
}
.ref-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--stone-900); margin-bottom: 8px; }
.ref-meta { font-size: 13px; color: var(--stone-500); }

/* ===== CHIFFRES PAGE ===== */
.chiffres-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.chiffre-card {
  background: var(--stone-100); padding: 56px 48px;
  text-align: center;
  transition: background var(--transition);
}
.chiffre-card:hover { background: var(--stone-900); }
.chiffre-card:hover .chiffre-num,
.chiffre-card:hover .chiffre-label { color: white; }
.chiffre-num {
  font-family: var(--serif); font-size: 72px; font-weight: 300;
  color: var(--warm); line-height: 1; margin-bottom: 16px;
  transition: color var(--transition);
}
.chiffre-label {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--stone-600);
  transition: color var(--transition);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(32px);  } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }

.anim-nav  { animation: fadeDown   .6s ease both; }
.anim-hero { animation: fadeUp     .8s .15s ease both; }
.anim-1    { animation: fadeUp     .7s .1s  ease both; }
.anim-2    { animation: fadeUp     .7s .25s ease both; }
.anim-3    { animation: fadeUp     .7s .4s  ease both; }
.anim-4    { animation: fadeUp     .7s .55s ease both; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */

/* --- Tablette large / paysage (< 1100px) --- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { padding: 72px 40px 64px; }

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

  .projects-header { padding: 0 40px 48px; }

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

  .cta-band { grid-template-columns: 1fr; gap: 40px; }
  .cta-buttons { flex-direction: row; min-width: auto; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }

  .page-hero-content { padding: 64px 40px; }
}

/* --- Tablette / Mobile large (< 768px) --- */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  section { padding: 64px 20px; }

  h1 { font-size: 38px; }
  h2 { font-size: 32px; }

  /* Hero */
  .hero-content { padding: 56px 20px 56px; }
  .hero-desc { font-size: 15px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-trust { gap: 16px; margin-top: 40px; padding-top: 24px; }
  .trust-num { font-size: 26px; }

  /* Section layout */
  .section-header { flex-direction: column; gap: 16px; margin-bottom: 40px; }
  .section-header-right { max-width: 100%; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-item { padding: 32px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Projects */
  .projects-header { padding: 0 20px 36px; }
  .filter-btn { padding: 6px 14px; font-size: 11px; }
  .projects-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .proj:nth-child(1) { grid-column: 1/3; grid-row: auto; }
  .proj:nth-child(2),
  .proj:nth-child(3),
  .proj:nth-child(4),
  .proj:nth-child(5) { grid-column: auto; grid-row: auto; }
  /* Rendre les infos toujours visibles au touch */
  .proj-overlay { opacity: 1; }
  .proj-info { transform: translateY(0); }

  /* Page hero */
  .page-hero { min-height: 260px; }
  .page-hero-content { padding: 56px 20px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero-desc { font-size: 15px; }
  .page-hero-pattern { display: none; }

  /* CTA */
  .cta-band { padding: 64px 20px; gap: 40px; }
  .cta-buttons { flex-direction: column; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { gap: 40px; }

  /* Refs */
  .refs-grid { grid-template-columns: 1fr; }
  .chiffres-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 36px; }
  .footer-bottom { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
}

/* --- Mobile (< 480px) --- */
@media (max-width: 480px) {
  .nav { padding: 0 16px; }
  .nav-cta { display: none; }
  section { padding: 48px 16px; }

  h1 { font-size: 30px; }
  h2 { font-size: 26px; }

  /* Hero */
  .hero-content { padding: 48px 16px 48px; }
  .trust-div { display: none; }
  .hero-trust { flex-wrap: wrap; justify-content: space-around; gap: 20px 8px; }
  .trust-num { font-size: 24px; }

  /* Projets en colonne simple */
  .projects-mosaic { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .proj:nth-child(1),
  .proj:nth-child(2),
  .proj:nth-child(3),
  .proj:nth-child(4),
  .proj:nth-child(5) { grid-column: 1; grid-row: auto; }

  /* Page hero */
  .page-hero-content { padding: 48px 16px; }
  .page-hero h1 { font-size: 28px; }

  /* CTA */
  .cta-band { padding: 48px 16px; }
  .cta-headline { font-size: 26px !important; }

  /* Footer */
  .footer-main { padding: 40px 16px 32px; }
  .footer-bottom { padding: 16px; font-size: 11px; }

  /* Chiffres page */
  .big-numbers-grid { grid-template-columns: 1fr 1fr; }
  .bn-number { font-size: 52px; }
  .chiffres-grid { grid-template-columns: 1fr; }

  /* Mobile nav */
  .mobile-nav { padding: 88px 24px 40px; }
  .mobile-nav a { font-size: 26px; padding: 12px 0; }
}

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 199;
  background: var(--stone-900);
  display: flex; flex-direction: column;
  padding: 100px 40px 48px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  overflow-y: auto;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--serif); font-size: 32px; font-weight: 300;
  color: white; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--warm); }
.mobile-nav-cta {
  margin-top: 32px;
  padding: 18px 32px; text-align: center;
  background: var(--warm); color: white !important;
  font-family: var(--sans) !important; font-size: 13px !important; font-weight: 500 !important;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: 2px; border-bottom: none !important;
}
