/* ============================================
   WAC Template 4 — Premium Luxe
   Ton clair, champagne, cible excellence
   ============================================ */

:root {
  --t4-bg: #f6f5f2;
  --t4-bg-warm: #eeebe6;
  --t4-bg-cream: #faf9f6;
  --t4-surface: #ffffff;
  --t4-border: rgba(28, 28, 28, 0.06);
  --t4-border-strong: rgba(28, 28, 28, 0.1);
  --t4-text: #1c1c1c;
  --t4-text-muted: #5a5a5a;
  --t4-accent: #8b7355;
  --t4-accent-hover: #6d5a44;
  --t4-gold: #a68b65;
  --t4-gold-light: #c4a574;
  --t4-accent-dim: rgba(139, 115, 85, 0.12);
  --t4-font-serif: 'Cormorant Garamond', Georgia, serif;
  --t4-font-sans: 'DM Sans', system-ui, sans-serif;
  --t4-space-xs: 0.25rem;
  --t4-space-sm: 0.5rem;
  --t4-space-md: 1rem;
  --t4-space-lg: 1.5rem;
  --t4-space-xl: 2rem;
  --t4-space-2xl: 3rem;
  --t4-space-3xl: 4rem;
  --t4-space-4xl: 6rem;
  --t4-space-5xl: 8rem;
  --t4-radius: 6px;
  --t4-radius-lg: 12px;
  --t4-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t4-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--t4-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t4-text);
  background: var(--t4-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--t4-ease), opacity 0.25s var(--t4-ease);
}

ul, ol {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--t4-space-md);
  z-index: 200;
  padding: var(--t4-space-sm) var(--t4-space-md);
  background: var(--t4-text);
  color: var(--t4-bg);
  font-weight: 600;
  border-radius: var(--t4-radius);
  transition: top 0.3s var(--t4-ease);
}
.skip-link:focus {
  top: var(--t4-space-md);
}

.container-t4 {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--t4-space-xl);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Header ========== */

.header-t4 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--t4-space-lg) 0;
  background: rgba(247, 243, 235, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--t4-ease), box-shadow 0.35s var(--t4-ease);
}

.header-t4.scrolled {
  border-bottom-color: var(--t4-border);
  box-shadow: 0 1px 0 rgba(28, 28, 28, 0.04);
}

.header-t4-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--t4-space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-t4 {
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: opacity 0.3s var(--t4-ease);
}

.logo-t4:hover {
  opacity: 0.85;
}

.logo-t4-mark {
  font-family: var(--t4-font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--t4-text);
}

.logo-t4-sub {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--t4-text-muted);
}

.nav-t4-list {
  display: flex;
  align-items: center;
  gap: var(--t4-space-2xl);
}

.nav-t4-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--t4-text-muted);
  transition: color 0.3s var(--t4-ease);
}

.nav-t4-list a:hover {
  color: var(--t4-text);
}

.nav-t4-cta {
  padding: var(--t4-space-sm) var(--t4-space-lg);
  color: var(--t4-surface) !important;
  background: var(--t4-text);
  border-radius: 9999px;
  transition: background 0.3s var(--t4-ease);
}

.nav-t4-cta:hover {
  background: var(--t4-accent);
}

.nav-t4-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.nav-t4-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--t4-text);
  transition: transform 0.35s var(--t4-ease), opacity 0.25s ease;
}

@media (max-width: 768px) {
  .nav-t4 {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 300px;
    height: 100vh;
    background: var(--t4-bg-cream);
    padding: var(--t4-space-4xl) var(--t4-space-xl);
    border-left: 1px solid var(--t4-border);
    box-shadow: -4px 0 24px rgba(44, 44, 44, 0.06);
    transition: right 0.4s var(--t4-ease);
  }
  .nav-t4.is-open {
    right: 0;
  }
  .nav-t4-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--t4-space-xl);
  }
  .nav-t4-toggle {
    display: flex;
    z-index: 110;
  }
  .nav-t4-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .nav-t4-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-t4-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
}

/* ========== Hero ========== */

.hero-t4 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--t4-space-5xl) var(--t4-space-xl) var(--t4-space-4xl);
  overflow: hidden;
}

.hero-t4-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(166, 139, 85, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--t4-bg) 0%, var(--t4-bg-warm) 100%);
}

.hero-t4-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-t4-parallax .hero-t4-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.hero-t4-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 245, 242, 0.92) 0%, rgba(246, 245, 242, 0.75) 40%, rgba(246, 245, 242, 0.95) 100%);
}

.hero-t4-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: floatDeco 6s var(--t4-ease) infinite;
}

@keyframes floatDeco {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-8px); opacity: 0.6; }
}

.hero-t4-deco-1 {
  top: 20%;
  left: 10%;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--t4-accent), transparent);
}

.hero-t4-deco-2 {
  bottom: 25%;
  right: 12%;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--t4-gold));
  animation-delay: -3s;
}

.hero-t4-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

.hero-t4-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--t4-text-muted);
  margin-bottom: var(--t4-space-xl);
}

.hero-t4-title {
  font-family: var(--t4-font-serif);
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--t4-text);
  margin-bottom: var(--t4-space-xl);
  text-shadow: 0 1px 2px rgba(247, 243, 235, 0.5);
}

.hero-t4-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--t4-accent);
}

.hero-t4-desc {
  font-size: 1.08rem;
  color: var(--t4-text-muted);
  max-width: 540px;
  margin: 0 auto var(--t4-space-2xl);
  line-height: 1.75;
}

.hero-t4-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--t4-space-lg);
  justify-content: center;
  align-items: center;
}

.hero-t4-scroll {
  position: absolute;
  bottom: var(--t4-space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--t4-space-sm);
  color: var(--t4-text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.8;
}

.hero-t4-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--t4-accent), transparent);
  border-radius: 2px;
  opacity: 0.6;
  animation: scrollPulseT4 2.5s var(--t4-ease) infinite;
}

@keyframes scrollPulseT4 {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.7; }
}

/* ========== Buttons ========== */

.btn-t4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--t4-space-md) var(--t4-space-xl);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: background 0.3s var(--t4-ease), color 0.3s var(--t4-ease), border-color 0.3s var(--t4-ease), transform 0.25s var(--t4-ease);
}

.btn-t4-primary {
  background: var(--t4-text);
  color: var(--t4-bg);
}

.btn-t4-primary:hover {
  background: var(--t4-accent);
  color: var(--t4-surface);
  transform: translateY(-1px);
}

.btn-t4-outline {
  color: var(--t4-text);
  border: 1px solid var(--t4-border-strong);
}

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

.btn-t4-full {
  width: 100%;
  margin-top: var(--t4-space-sm);
}

/* ========== Marquee ========== */

.marquee-t4 {
  padding: var(--t4-space-lg) 0;
  background: var(--t4-surface);
  border-top: 1px solid var(--t4-border);
  border-bottom: 1px solid var(--t4-border);
  overflow: hidden;
}

.marquee-t4-track {
  display: flex;
  gap: var(--t4-space-3xl);
  animation: marqueeT4 28s linear infinite;
  white-space: nowrap;
}

.marquee-t4-track span {
  font-family: var(--t4-font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--t4-text-muted);
  letter-spacing: 0.08em;
}

@keyframes marqueeT4 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== Stats ========== */

.stats-t4 {
  padding: var(--t4-space-4xl) 0;
  background: var(--t4-bg-warm);
}

.stats-t4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--t4-space-2xl);
  text-align: center;
}

@media (max-width: 600px) {
  .stats-t4-grid {
    grid-template-columns: 1fr;
  }
}

.stat-t4-item {
  padding: var(--t4-space-xl);
}

.stat-t4-value {
  font-family: var(--t4-font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--t4-accent);
  letter-spacing: -0.02em;
}

.stat-t4-suffix {
  font-family: var(--t4-font-serif);
  font-size: inherit;
  color: var(--t4-accent);
}

.stat-t4-label {
  font-size: 0.9rem;
  color: var(--t4-text-muted);
  margin-top: var(--t4-space-xs);
}

/* ========== Manifesto ========== */

.manifesto-t4 {
  padding: var(--t4-space-4xl) 0;
  background: var(--t4-surface);
  border-bottom: 1px solid var(--t4-border);
}

.manifesto-t4-line {
  width: 48px;
  height: 2px;
  margin: 0 auto var(--t4-space-2xl);
  background: linear-gradient(90deg, var(--t4-accent), var(--t4-gold-light));
  animation: lineReveal 1s var(--t4-ease-out) backwards;
}

@keyframes lineReveal {
  from {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.manifesto-t4-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-t4-quote p {
  font-family: var(--t4-font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--t4-text);
  margin-bottom: var(--t4-space-lg);
}

.manifesto-t4-quote cite {
  font-family: var(--t4-font-sans);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 500;
  color: var(--t4-text-muted);
  letter-spacing: 0.05em;
}

/* ========== Labels & titles ========== */

.label-t4 {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--t4-accent);
  margin-bottom: var(--t4-space-md);
}

.title-t4 {
  font-family: var(--t4-font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--t4-text);
  margin-bottom: var(--t4-space-2xl);
}

/* ========== Univers (Champagne, Luxe, Premium) ========== */

.univers-t4 {
  padding: var(--t4-space-5xl) 0;
  background: var(--t4-bg);
}

.univers-t4-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--t4-space-xl);
  margin-top: var(--t4-space-2xl);
}

.univers-t4-card-large {
  grid-row: span 2;
}

@media (max-width: 900px) {
  .univers-t4-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .univers-t4-card-large {
    grid-row: span 1;
  }
}

.univers-t4-card {
  background: var(--t4-surface);
  border-radius: var(--t4-radius-lg);
  overflow: hidden;
  border: 1px solid var(--t4-border);
  transition: box-shadow 0.4s var(--t4-ease), transform 0.35s var(--t4-ease);
}

.univers-t4-card:hover {
  box-shadow: 0 16px 48px rgba(44, 44, 44, 0.08);
  transform: translateY(-4px);
}

.univers-t4-img,
.univers-t4-placeholder {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}

.univers-t4-card-large .univers-t4-img,
.univers-t4-card-large .univers-t4-placeholder {
  aspect-ratio: 16/10;
}

.univers-t4-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--t4-ease);
}

.univers-t4-card:hover .univers-t4-img img {
  transform: scale(1.05);
}

.univers-t4-img-fallback {
  background: linear-gradient(135deg, #f0e8dc 0%, #e8dfd0 100%);
}

.univers-t4-img-fallback img {
  opacity: 0;
}

.univers-t4-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(44, 44, 44, 0.15) 100%);
  pointer-events: none;
}

.univers-t4-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.univers-t4-placeholder span {
  font-family: var(--t4-font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(44, 44, 44, 0.2);
  letter-spacing: 0.1em;
}

.univers-t4-placeholder-champagne {
  background: linear-gradient(135deg, #faf6f0 0%, #f0e8dc 100%);
}

.univers-t4-placeholder-premium {
  background: linear-gradient(135deg, #f5f0e8 0%, #e8e2d8 100%);
}

.univers-t4-content {
  padding: var(--t4-space-xl);
}

.univers-t4-tag {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--t4-accent);
  margin-bottom: var(--t4-space-sm);
}

.univers-t4-content h3 {
  font-family: var(--t4-font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--t4-text);
  margin-bottom: var(--t4-space-sm);
}

.univers-t4-content p {
  font-size: 0.95rem;
  color: var(--t4-text-muted);
  line-height: 1.6;
}

/* ========== Solutions ========== */

.solutions-t4 {
  padding: var(--t4-space-5xl) 0;
}

.solutions-t4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--t4-space-xl);
  margin-top: var(--t4-space-2xl);
}

@media (max-width: 900px) {
  .solutions-t4-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .solutions-t4-grid {
    grid-template-columns: 1fr;
  }
}

.solution-t4-card {
  padding: var(--t4-space-2xl);
  background: var(--t4-surface);
  border: 1px solid var(--t4-border);
  border-radius: var(--t4-radius-lg);
  transition: border-color 0.35s var(--t4-ease), box-shadow 0.4s var(--t4-ease), transform 0.4s var(--t4-ease);
}

.solution-t4-card:hover {
  border-color: var(--t4-accent-dim);
  box-shadow: 0 12px 40px rgba(28, 28, 28, 0.06);
  transform: translateY(-4px);
}

.solution-t4-num {
  font-family: var(--t4-font-serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--t4-accent);
  margin-bottom: var(--t4-space-md);
}

.solution-t4-card h3 {
  font-family: var(--t4-font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--t4-text);
  margin-bottom: var(--t4-space-sm);
}

.solution-t4-card p {
  font-size: 0.95rem;
  color: var(--t4-text-muted);
  line-height: 1.6;
}

/* ========== Showcase ========== */

.showcase-t4 {
  padding: var(--t4-space-5xl) 0;
  background: var(--t4-bg-warm);
}

.showcase-t4-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--t4-space-xl);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--t4-space-4xl);
  align-items: center;
}

@media (max-width: 900px) {
  .showcase-t4-inner {
    grid-template-columns: 1fr;
  }
  .showcase-t4-media {
    order: -1;
  }
}

.showcase-t4-frame {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--t4-radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(28, 28, 28, 0.08);
  border: 1px solid var(--t4-border);
}

.showcase-t4-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.showcase-t4-parallax img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-t4-img-fallback .showcase-t4-parallax {
  background: linear-gradient(135deg, var(--t4-bg-warm) 0%, var(--t4-bg-cream) 100%);
}

.showcase-t4-img-fallback img {
  opacity: 0;
}

.showcase-t4-frame-border {
  position: absolute;
  top: var(--t4-space-md);
  left: var(--t4-space-md);
  right: var(--t4-space-md);
  bottom: var(--t4-space-md);
  border: 1px solid rgba(139, 115, 85, 0.2);
  border-radius: var(--t4-radius);
  pointer-events: none;
}

.showcase-t4-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.8s var(--t4-ease);
}

.showcase-t4-media:hover .showcase-t4-parallax img {
  transform: translate3d(0, 0, 0) scale(1.03);
}

.showcase-t4-content .title-t4 {
  margin-bottom: var(--t4-space-lg);
}
  margin-bottom: var(--t4-space-lg);
}

.showcase-t4-text {
  color: var(--t4-text-muted);
  margin-bottom: var(--t4-space-xl);
  line-height: 1.7;
}

.showcase-t4-list {
  display: flex;
  flex-direction: column;
  gap: var(--t4-space-md);
}

.showcase-t4-list li {
  position: relative;
  padding-left: var(--t4-space-xl);
  font-size: 0.95rem;
  color: var(--t4-text);
}

.showcase-t4-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--t4-accent);
  border-radius: 50%;
}

/* ========== Process ========== */

.process-t4 {
  padding: var(--t4-space-5xl) 0;
  background: var(--t4-surface);
}

.process-t4-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--t4-space-2xl);
  margin-top: var(--t4-space-2xl);
}

@media (max-width: 768px) {
  .process-t4-steps {
    grid-template-columns: 1fr;
  }
}

.process-t4-step {
  padding: var(--t4-space-2xl);
  border-left: 2px solid var(--t4-border);
  transition: border-color 0.35s var(--t4-ease);
}

.process-t4-step:hover {
  border-color: var(--t4-accent);
}

.process-t4-num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--t4-accent);
  margin-bottom: var(--t4-space-md);
}

.process-t4-step h3 {
  font-family: var(--t4-font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--t4-text);
  margin-bottom: var(--t4-space-sm);
}

.process-t4-step p {
  font-size: 0.95rem;
  color: var(--t4-text-muted);
  line-height: 1.6;
}

/* ========== Références ========== */

.refs-t4 {
  padding: var(--t4-space-5xl) 0;
  background: var(--t4-bg);
}

.refs-t4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--t4-space-xl);
  margin-top: var(--t4-space-2xl);
}

@media (max-width: 900px) {
  .refs-t4-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .refs-t4-grid {
    grid-template-columns: 1fr;
  }
}

.ref-t4-card {
  background: var(--t4-surface);
  border-radius: var(--t4-radius-lg);
  overflow: hidden;
  border: 1px solid var(--t4-border);
  transition: box-shadow 0.35s var(--t4-ease), transform 0.35s var(--t4-ease);
}

.ref-t4-card:hover {
  box-shadow: 0 12px 36px rgba(28, 28, 28, 0.08);
  transform: translateY(-4px);
}

.ref-t4-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--t4-bg-warm);
}

.ref-t4-parallax-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ref-t4-parallax-inner img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.7s var(--t4-ease);
}

.ref-t4-img-fallback {
  background: linear-gradient(135deg, var(--t4-bg-warm) 0%, var(--t4-bg-cream) 100%);
}

.ref-t4-img-fallback img {
  opacity: 0;
}

.ref-t4-card:hover .ref-t4-parallax-inner img {
  transform: scale(1.05);
}

.ref-t4-info {
  padding: var(--t4-space-lg);
}

.ref-t4-cat {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--t4-accent);
  margin-bottom: var(--t4-space-xs);
}

.ref-t4-info h3 {
  font-family: var(--t4-font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--t4-text);
}

/* ========== Contact ========== */

.contact-t4 {
  padding: var(--t4-space-5xl) 0;
  background: var(--t4-bg-warm);
}

.contact-t4-inner {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--t4-space-4xl);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-t4-inner {
    grid-template-columns: 1fr;
  }
}

.contact-t4-intro .title-t4 {
  margin-bottom: var(--t4-space-md);
}

.contact-t4-tagline {
  color: var(--t4-text-muted);
  margin-bottom: var(--t4-space-xl);
}

.contact-t4-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--t4-space-xs);
  color: var(--t4-text-muted);
  font-size: 0.95rem;
}

.contact-t4-address a {
  color: var(--t4-accent);
  font-weight: 500;
}

.contact-t4-address a:hover {
  text-decoration: underline;
}

.contact-t4-form {
  display: flex;
  flex-direction: column;
  gap: var(--t4-space-lg);
}

.form-t4-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--t4-space-xs);
  color: var(--t4-text);
}

.form-t4-row input,
.form-t4-row textarea {
  width: 100%;
  padding: var(--t4-space-md) var(--t4-space-lg);
  font-family: inherit;
  font-size: 1rem;
  color: var(--t4-text);
  background: var(--t4-surface);
  border: 1px solid var(--t4-border-strong);
  border-radius: var(--t4-radius);
  transition: border-color 0.3s var(--t4-ease), box-shadow 0.3s var(--t4-ease);
}

.form-t4-row input:focus,
.form-t4-row textarea:focus {
  outline: none;
  border-color: var(--t4-accent);
  box-shadow: 0 0 0 3px var(--t4-accent-dim);
}

.form-t4-row textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== Footer ========== */

.footer-t4 {
  padding: var(--t4-space-2xl) 0;
  border-top: 1px solid var(--t4-border);
  background: var(--t4-surface);
}

.footer-t4-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--t4-space-md);
}

.footer-t4-brand .logo-t4-mark {
  font-size: 1.25rem;
}

.footer-t4-brand .logo-t4-sub {
  font-size: 0.6rem;
}

.footer-t4-tagline {
  font-size: 0.9rem;
  color: var(--t4-text-muted);
}

.footer-t4-legal {
  font-size: 0.8rem;
  color: var(--t4-text-muted);
}

@media (max-width: 600px) {
  .footer-t4-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Animations au scroll (optionnel, léger) */
.solutions-t4-grid .solution-t4-card,
.process-t4-steps .process-t4-step,
.refs-t4-grid .ref-t4-card,
.showcase-t4-content {
  opacity: 1;
  transition: opacity 0.6s var(--t4-ease), transform 0.6s var(--t4-ease);
}

/* Grilles : cartes cachées jusqu'à révélation de la section */
.solutions-t4-grid:not(.section-visible) .solution-t4-card,
.univers-t4-grid:not(.section-visible) .univers-t4-card,
.refs-t4-grid:not(.section-visible) .ref-t4-card {
  opacity: 0;
  transform: translateY(16px);
}

.solutions-t4-grid.section-visible .solution-t4-card { animation: fadeUp 0.7s var(--t4-ease-out) backwards; }
.solutions-t4-grid.section-visible .solution-t4-card:nth-child(1) { animation-delay: 0.05s; }
.solutions-t4-grid.section-visible .solution-t4-card:nth-child(2) { animation-delay: 0.12s; }
.solutions-t4-grid.section-visible .solution-t4-card:nth-child(3) { animation-delay: 0.19s; }
.solutions-t4-grid.section-visible .solution-t4-card:nth-child(4) { animation-delay: 0.26s; }

.univers-t4-grid.section-visible .univers-t4-card { animation: fadeUp 0.75s var(--t4-ease-out) backwards; }
.univers-t4-grid.section-visible .univers-t4-card:nth-child(1) { animation-delay: 0s; }
.univers-t4-grid.section-visible .univers-t4-card:nth-child(2) { animation-delay: 0.1s; }
.univers-t4-grid.section-visible .univers-t4-card:nth-child(3) { animation-delay: 0.2s; }

.refs-t4-grid.section-visible .ref-t4-card { animation: fadeUp 0.65s var(--t4-ease-out) backwards; }
.refs-t4-grid.section-visible .ref-t4-card:nth-child(1) { animation-delay: 0.05s; }
.refs-t4-grid.section-visible .ref-t4-card:nth-child(2) { animation-delay: 0.15s; }
.refs-t4-grid.section-visible .ref-t4-card:nth-child(3) { animation-delay: 0.25s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
