@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&family=Bebas+Neue&display=swap');

:root {
  /* Ultra-Premium Glassmorphism Colors */
  --bg-dark: #07090C;
  /* Deep rich nocturnal blue/black */
  --bg-surface: #0E1218;
  /* Slightly elevated */

  --glass-bg: rgba(14, 18, 24, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);

  --blur-strong: blur(24px);
  --blur-medium: blur(12px);

  /* Brand Accents - Vibrant but mature */
  --tp-orange: #FF5A00;
  --tp-orange-glow: rgba(255, 90, 0, 0.25);

  --en-green: #00D659;
  --en-green-glow: rgba(0, 214, 89, 0.25);

  /* Typography Colors */
  --text-main: #FFFFFF;
  --text-muted: #9CA3AF;
  --text-faint: #4B5563;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1280px;

  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- MINIMALIST ARCHITECTURAL BACKGROUND --- */
.bg-texture-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #07090C;
  z-index: -2;
}

/* body::after grain removed */


section {
  padding: 180px 0;
  position: relative;
  background: #07090C;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  filter: none !important;
}

/* Reset from aggressive greyscale */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 4%;
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  margin: 0 auto;
  /* Safe centering without transform */
  width: 90%;
  max-width: 1100px;
  padding: 10px 20px;
  z-index: 1000;
  border-radius: 100px;
  /* Floating pill shape */
  /* Deep dark luxury glass */
  background: rgba(18, 22, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: background 0.4s ease, top 0.4s ease, padding 0.4s ease;
}

header.scrolled {
  top: 15px;
  background: rgba(14, 18, 16, 0.95);
  padding: 8px 20px;
  border-color: rgba(255, 255, 255, 0.1);
}

nav {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: #FFF;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 52px;
  margin-right: 40px;
  padding: 4px 22px 4px 6px;
  border-radius: 50px;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.logo-container:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(255, 90, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.8);
}

.logo-container img {
  height: 44px;
  width: 44px;
  max-width: 44px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.logo-container::after {
  content: 'TERRA TP';
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 1.2px;
  color: #07090C;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 24px;
  /* Un peu moins d'espace pour tout faire tenir sur une ligne */
  align-items: center;
  margin-right: 30px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
  color: rgba(244, 241, 234, 0.75);
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
  /* EmpÃªche le texte de se mettre sur 2 lignes */
}


.nav-links a:hover,
.nav-links a.active {
  color: #F4F1EA;
}

.nav-links a::after {
  display: none;
}

/* Header Button Adjustment - Premium Pill */
header .cta-button {
  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 1.5px;
  background: transparent;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

header .cta-button:hover {
  color: #000 !important;
  border-color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

header .cta-button:hover::before {
  transform: translateY(0);
}

/* --- PREMIUM SLIDING FILL BUTTONS --- */
.cta-button {
  padding: 16px 40px;
  background: transparent;
  color: #FFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* Background fill element */
.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.cta-button:hover {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: 4px;
}

.cta-button:hover::before {
  transform: translateX(0);
}

/* Color variations */
.cta-orange {
  border-color: rgba(255, 90, 0, 0.5);
}

.cta-orange::before {
  background: var(--tp-orange);
}

.cta-green {
  border-color: rgba(57, 255, 20, 0.5);
}

.cta-green::before {
  background: #39FF14;
}

.cta-green:hover {
  color: #000 !important;
  /* High contrast for bright green */
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Smooth elegant gradient that respects the background image but ensures readability */
.hero-video-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(7, 9, 12, 0.95) 0%, rgba(7, 9, 12, 0.85) 30%, rgba(7, 9, 12, 0.3) 65%, transparent 100%),
    linear-gradient(to top, rgba(7, 9, 12, 0.8) 0%, transparent 40%);
}

.hero-video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  transform: scale(1.02);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
}

/* --- TESTIMONIALS (INFINITE CINEMATIC MARQUEE) --- */
.testimonials-marquee {
  background: #050608;
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}

.marquee-wrapper {
  margin-top: 80px;
  display: flex;
  width: 100%;
}

.marquee-content {
  display: flex;
  gap: 30px;
  animation: marquee-scroll 40s linear infinite;
  white-space: nowrap;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex: 0 0 450px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.testi-rating {
  display: flex;
  gap: 5px;
}

.testi-rating i {
  width: 16px;
  height: 16px;
  color: #FFB800;
  fill: #FFB800;
}

.testimonial-card p {
  white-space: normal;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-meta strong {
  font-size: 15px;
  color: #FFF;
}

.user-meta span {
  font-size: 12px;
  color: var(--tp-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.loader-content img {
  height: 60px;
  animation: pulseLogo 2s infinite ease-in-out;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border-radius: 2px;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--tp-orange);
}

@keyframes pulseLogo {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.hero-content {
  max-width: 700px;
  padding: 10px 0 10px 30px;
  border-left: 4px solid var(--tp-orange);
  transform: translateY(0);
  /* For GSAP */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: rgba(255, 90, 0, 0.1);
  border: 1px solid var(--tp-orange);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(50px, 8vw, 85px);
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero h1 span {
  display: inline;
  color: #FFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-tp,
.hero-energie {
  font-style: normal;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}

.hero-tp {
  color: #FF5A00;
  text-shadow: 0 0 30px rgba(255, 90, 0, 0.5);
}

.hero-energie {
  color: #3CBA6E;
  text-shadow: 0 0 30px rgba(60, 186, 110, 0.5);
}

.hero p {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  line-height: 1.8;
  max-width: 650px;
}

.hero p span {
  display: inline;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Subpage Hero */
.page-hero {
  background: var(--bg-surface) !important;
  color: var(--text-main) !important;
  padding: 160px 0 80px 0 !important;
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: radial-gradient(circle, var(--tp-orange) 0%, transparent 100%);
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 60px);
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
}


/* --- SECTIONS --- */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header .subtitle {
  color: var(--tp-orange);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(255, 90, 0, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
}

.section-header h2 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  background: linear-gradient(to bottom, #FFF 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- SECTION 2: NOS SERVICES (DIAGONAL SLICER - CONCEPT 3) --- */
.services-diagonal {
  height: 85vh;
  min-height: 700px;
  background: #000;
  position: relative;
  overflow: hidden;
  display: flex;
}

.diagonal-half {
  position: absolute;
  top: 0;
  height: 100%;
  width: 60%;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: pointer;
}

.diagonal-half.tp {
  left: 0;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
}

.diagonal-half.energy {
  right: 0;
  z-index: 1;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  width: 75%;
}

/* Hover States (The Shift) */
.services-diagonal:has(.tp:hover) .tp {
  width: 75%;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.services-diagonal:has(.tp:hover) .energy {
  width: 40%;
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
}

.services-diagonal:has(.energy:hover) .energy {
  width: 85%;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.services-diagonal:has(.energy:hover) .tp {
  width: 35%;
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
}

.half-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.4) grayscale(30%);
}

.diagonal-half:hover .half-bg {
  transform: scale(1.05);
  filter: brightness(0.7) grayscale(0%);
}

.half-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  z-index: 2;
}

.half-content {
  position: relative;
  z-index: 10;
  height: 100%;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFF;
}

.tp .half-content {
  align-items: flex-start;
  text-align: left;
  max-width: 500px;
}

.energy .half-content {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
  max-width: 500px;
}

.half-num {
  position: absolute;
  top: 40px;
  font-family: var(--font-heading);
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  transition: all 0.8s ease;
}

.tp .half-num {
  left: 40px;
}

.energy .half-num {
  right: 40px;
}

.diagonal-half:hover .half-num {
  color: rgba(255, 255, 255, 0.08);
  transform: translateY(-20px);
}

.half-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--tp-orange);
  margin-bottom: 20px;
}

.energy .half-label {
  color: #39FF14;
}

.half-content h3 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.half-content h3 span {
  color: var(--tp-orange);
}

.energy h3 span {
  color: #39FF14;
}

.half-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  max-width: 350px;
}

.half-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #FFF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.half-link i {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.half-link:hover {
  gap: 25px;
}

.half-link:hover i {
  background: #FFF;
  color: #000;
  border-color: #FFF;
  transform: scale(1.1);
}

/* Mobile Concept 3 */
@media (max-width: 991px) {
  .services-diagonal {
    height: auto;
    flex-direction: column;
  }

  .diagonal-half {
    position: relative;
    width: 100% !important;
    height: 500px;
    clip-path: none !important;
  }

  .half-content {
    padding: 40px;
  }

  .half-num {
    font-size: 120px;
  }
}


/* --- PROJECTS (STICKY STACK REVEAL) --- */
.projects-stack-container {
  background: #050608;
  padding: 120px 0;
}

/* --- SECTION RÃ‰ALISATIONS (3D PERSPECTIVE GRID) --- */
.projects-perspective-section {
  padding: 150px 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

.projects-perspective-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 80px;
  perspective: 2000px;
  /* Enhanced depth */
}

.project-card-3d {
  height: 550px;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  /* Smooth tilt return */
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.card-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transform: translateZ(-30px) scale(1.2);
  /* Deep background */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax-img-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) grayscale(0.3);
  transition: all 0.6s ease;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 2;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 50px;
  z-index: 10;
  transform: translateZ(80px);
  /* Content pops way out */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--tp-orange);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.project-card-3d h3 {
  font-size: 36px;
  line-height: 0.9;
  margin-bottom: 25px;
  font-weight: 900;
  letter-spacing: -2px;
}

.project-card-3d p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 90%;
  transform: translateY(30px) translateZ(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(30px) translateZ(10px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.project-year {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
}

.project-link-mini {
  width: 50px;
  height: 50px;
  background: var(--tp-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- HOVER EFFECTS --- */
.project-card-3d:hover .parallax-img-inner {
  filter: brightness(1) grayscale(0);
  transform: scale(1.1);
}

.project-card-3d:hover p,
.project-card-3d:hover .card-footer {
  transform: translateY(0) translateZ(20px);
  opacity: 1;
}

.project-link-mini:hover {
  background: #FFF;
  color: var(--tp-orange);
  transform: scale(1.2) rotate(45deg);
}

/* --- SECTION FOOTER CTA (PROJETS) --- */
.section-footer-cta {
  margin-top: 100px;
  text-align: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

.section-footer-cta .btn-secondary {
  display: inline-block;
  padding: 18px 45px;
  min-width: 280px;
}

@media (max-width: 1200px) {
  .project-card-3d {
    height: 450px;
  }

  .project-card-3d h3 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .projects-perspective-grid {
    grid-template-columns: 1fr;
  }

  .project-card-3d {
    height: 500px;
  }

  .card-content {
    padding: 40px;
  }
}


/* --- FORMS --- */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border) !important;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-main) !important;
  transition: all 0.3s;
  border-radius: 8px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tp-orange) !important;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.1);
}


/* --- MAIN FOOTER (ARCHITECTURAL) --- */
.main-footer {
  background: #020305;
  padding: 100px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.social-circle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.footer-contact li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
  border-radius: 50px;
  margin-bottom: 25px;
  padding: 12px 18px;
  height: 60px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-logo-wrap img {
  height: 100%;
  width: auto;
  object-fit: contain;
  transform: scale(1);
}

.brand-col p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 30px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: var(--tp-orange);
  border-color: var(--tp-orange);
  transform: translateY(-3px);
}

.footer-title {
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--tp-orange);
  padding-left: 5px;
}

.contact-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item i {
  width: 18px;
  color: var(--tp-orange);
}

.contact-item span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
}

.quality-badge {
  background: rgba(244, 117, 33, 0.05);
  border: 1px solid rgba(244, 117, 33, 0.2);
  padding: 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.4s;
}

.quality-badge:hover {
  background: rgba(244, 117, 33, 0.1);
  border-color: var(--tp-orange);
}

.quality-badge i {
  width: 30px;
  height: 30px;
  color: var(--tp-orange);
}

.quality-badge span {
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 40px;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fb-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}


/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: clamp(35px, 8vw, 55px);
  }

  .hero-video-bg::after {
    background: linear-gradient(to right, rgba(7, 9, 12, 0.6) 0%, rgba(7, 9, 12, 0.3) 100%);
    /* Lighter mask for mobile */
  }
}

.mobile-menu-btn {
  display: none;
}

/* Hide mobile overlay on desktop */
@media (min-width: 769px) {
  .mobile-nav-overlay {
    display: none !important;
  }
}

@media (max-width: 768px) {
  header {
    top: 16px;
    width: calc(100% - 24px);
    padding: 6px 8px 6px 18px;
    border-radius: 60px;
  }

  header.scrolled {
    top: 10px;
    padding: 6px 8px 6px 18px;
  }

  #header .cta-button {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F4F1EA;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:focus {
    background: var(--tp-orange);
    border-color: transparent;
    transform: scale(1.05);
  }

  .mobile-menu-btn i {
    width: 22px;
    height: 22px;
  }

  /* --- Mobile logo: white rounded badge (turns the PNG bg into intentional design) --- */
  .logo-container {
    margin-right: 0;
    height: auto;
    gap: 8px;
    text-decoration: none;
    background: #FFF;
    padding: 5px 14px 5px 5px;
    border-radius: 50px;
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .logo-container:hover {
    transform: translateY(-1px);
    box-shadow:
      0 6px 18px rgba(255, 90, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.7);
  }

  .logo-container img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .logo-container::after {
    content: 'TERRA TP';
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    color: #07090C;
    line-height: 1;
    white-space: nowrap;
  }

  .nav-links {
    display: none;
  }

  /* --- FULL-SCREEN MOBILE OVERLAY --- */
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 13, 18, 0.98);
    backdrop-filter: blur(30px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 30px 5% 50px;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-nav-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
  }

  .mobile-nav-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
  }

  .mobile-nav-close:hover {
    background: var(--tp-orange);
    border-color: transparent;
    transform: rotate(90deg);
  }

  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-list a {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    text-transform: capitalize;
    transition: color 0.3s, transform 0.3s;
    display: block;
  }

  .mobile-nav-list a.active,
  .mobile-nav-list a:hover {
    color: var(--tp-orange);
    transform: scale(1.05);
  }

  .mobile-nav-footer {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
  }

  .mobile-nav-footer .cta-button {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 80px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .cta-button {
    width: 100%;
    text-align: center;
  }

  .hero-content {
    padding: 30px 20px;
  }
}

/* --- MAP TECHNICAL (ENGINEERING BLUEPRINT) --- */
.map-technical-section {
  background: #020305;
  padding: 120px 0;
}

.map-technical-container {
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* --- GLOBAL HABILLAGE (Casser le vide noir) --- */
/* .bg-texture-overlay removed */


/* Habillage Typographique de Fond */
.ghost-text {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.015);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  z-index: 1;
  user-select: none;
}

/* --- SECTION AVIS (RELOOKING) --- */
#testimonials {
  position: relative;
  padding: 180px 0;
  background: #050608;
  overflow: hidden;
}

#testimonials::before {
  content: 'TRUST';
  left: -5%;
  top: 10%;
  position: absolute;
  font-family: var(--font-heading);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.01);
  letter-spacing: -20px;
}

.testimonials-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 40px 0;
  scrollbar-width: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 400px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 60px;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--tp-orange);
  opacity: 0.3;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px) scale(1.02);
}
 
.testimonial-card:hover::before {
  opacity: 1;
  height: 50px;
  top: 50px;
}

.quote-icon {
  font-size: 80px;
  color: var(--tp-orange);
  opacity: 0.05;
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: serif;
}

.testimonial-card p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  display: block;
  font-size: 16px;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--tp-orange);
  font-weight: 700;
  margin-top: 5px;
}

/* --- SECTION RAYON D'ACTION (ARCHITECTURAL LIGHT) --- */
#action-zone {
  position: relative;
  padding: 180px 0;
  background: #F4F7F9;
  /* Clean light grey */
  color: #07090C;
  overflow: hidden;
}

#action-zone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#CCD2D8 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

#action-zone h2 {
  color: #FFF;
}

#action-zone .section-subtitle {
  color: var(--tp-orange);
}

.radar-map-container {
  max-width: 900px;
  height: 600px;
  margin: 80px auto 0;
  position: relative;
  background: #FFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.map-blueprint {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 40px;
}

.city-point {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
}

.point {
  width: 10px;
  height: 10px;
  background: var(--tp-orange);
  border-radius: 50%;
}

.city-name {
  font-size: 13px;
  font-weight: 700;
  color: #07090C;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.central-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  opacity: 0.1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .map-blueprint {
    width: 300px;
    height: 300px;
  }

  .radar-map-container {
    height: 400px;
  }
}

/* --- SECTION VISION (BREAK) --- */
.vision-break {
  height: 60vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #000;
}

.parallax-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) grayscale(100%);
  z-index: 1;
}

.vision-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #000 0%, transparent 60%, #000 100%);
  z-index: 2;
}

.vision-content {
  max-width: 700px;
  position: relative;
  z-index: 10;
}

.vision-content h2 {
  font-size: clamp(40px, 8vw, 90px);
  line-height: 0.9;
  letter-spacing: -3px;
  margin: 20px 0;
}

/* --- CTA FINAL (IMMERSIVE EXPERIENCE) --- */
.cta-final {
  padding: 0;
  height: 100vh;
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/backgrounds/cta_immersive.png') no-repeat center;
  background-size: cover;
  filter: brightness(0.6);
  z-index: 0;
}

.cta-final::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(7, 9, 12, 1) 95%);
  z-index: 1;
}

.cta-box {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.cta-box h2 {
  font-size: clamp(40px, 8vw, 100px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -4px;
  margin-bottom: 30px;
  color: #FFF;
}

/* --- TESTIMONIALS (CLEAN GLASS) --- */
#testimonials {
  padding: 200px 0;
}

.testimonial-card {
  flex: 0 0 450px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 0;
  border-left: 1px solid var(--tp-orange);
  padding: 60px;
  transition: all 0.5s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-10px);
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
}

.btn-primary {
  padding: 20px 40px;
  background: var(--tp-orange);
  color: #FFF;
  text-decoration: none;
  font-weight: 800;
  border-radius: 12px;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.btn-secondary {
  padding: 20px 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFF;
  text-decoration: none;
  font-weight: 800;
  border-radius: 12px;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #E64500;
  transform: translateY(-5px);
}

.btn-secondary:hover {
  background: #FFF;
  color: #000;
  transform: translateY(-5px);
}

/* --- SUBPAGES COMMON (CINEMATIC EXPERIENCE) --- */
:root {
  --en-green: #39FF14;
  /* Neon Matrix Green for Energy */
}

body.subpage header {
  /* ... existing ... */
}

.subpage-hero.en-theme h1 span {
  color: var(--en-green);
}

.subpage-hero.en-theme .hero-badge {
  border-color: var(--en-green);
  color: var(--en-green);
  background: rgba(57, 255, 20, 0.1);
}

.subpage-hero.en-theme .wheel {
  background: var(--en-green);
}

.subpage-hero.en-theme::after {
  background: linear-gradient(120deg, transparent, rgba(57, 255, 20, 0.05), transparent);
}

/* Immersive hero — Énergie green theme */
.subpage-hero-immersive.en-theme .giant-title span {
  color: var(--en-green);
}

.subpage-hero-immersive.en-theme .hero-badge {
  border-color: var(--en-green);
  color: var(--en-green);
  background: rgba(57, 255, 20, 0.1);
}

.subpage-hero-immersive.en-theme .wheel {
  background: var(--en-green);
}

.detail-list.en-theme i {
  color: var(--en-green);
}

.cta-glass-card.en-theme {
  border-color: var(--en-green);
}

.subpage-hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  transform: scale(1.1);
  transition: transform 4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Leak Effect (Cinematic Veil) */
.subpage-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(110deg,
      transparent 25%,
      rgba(244, 117, 33, 0.4) 50%,
      transparent 75%);
  animation: lightLeak 12s linear infinite;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

.subpage-hero.en-theme::after {
  background: linear-gradient(110deg,
      transparent 25%,
      rgba(57, 255, 20, 0.3) 50%,
      transparent 75%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(5, 6, 8, 0) 0%,
      rgba(5, 6, 8, 0.2) 60%,
      rgba(5, 6, 8, 1) 95%);
  z-index: 2;
}

/* Stronger thematic tint for TP */
.tp-theme .hero-overlay {
  background: linear-gradient(to bottom, rgba(244, 117, 33, 0.05) 0%, transparent 40%, rgba(5, 6, 8, 1) 100%);
}

.subpage-hero .hero-content {
  position: relative;
  z-index: 10;
  padding-left: 0;
  border-left: none;
}

.subpage-hero h1 {
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0;
  letter-spacing: -2px;
}

.subpage-hero.en-theme h1 span {
  color: var(--en-green);
}

.subpage-hero h1 span {
  color: var(--tp-orange);
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(244, 117, 33, 0.1);
  border: 1px solid var(--tp-orange);
  border-radius: 50px;
  color: var(--tp-orange);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.subpage-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  line-height: 1.6;
}

/* Floating Particles Container */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

/* Hero Scroll */
.hero-scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.hero-scroll-indicator span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.4);
}

.mouse {
  width: 22px;
  height: 35px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 2px;
  height: 6px;
  background: var(--tp-orange);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    top: 6px;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: 20px;
  }
}

/* Content Sections */
.service-detail-section {
  padding: 140px 0;
  background: #050608;
}

.service-detail-section.dark-alt {
  background: #08090B;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.detail-grid.alternate {
  grid-template-columns: 1.1fr 0.9fr;
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-icon {
  width: 40px;
  height: 40px;
  color: var(--tp-orange);
}

.detail-info h2 {
  font-size: 38px;
  font-weight: 800;
  color: #FFF;
}

.detail-info p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 40px;
}

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #FFF;
  font-weight: 600;
  font-size: 15px;
}

.detail-list i {
  color: var(--tp-orange);
  width: 20px;
}

.floating-img {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.floating-img img {
  width: 100%;
  height: auto;
  transition: transform 1.5s ease;
}

.floating-img:hover img {
  transform: scale(1.05);
}

/* Subpage CTA */
.subpage-cta {
  padding: 120px 0;
  background: #050608;
}

.cta-glass-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--tp-orange);
  padding: 80px;
  border-radius: 40px;
  text-align: center;
  backdrop-filter: blur(20px);
}

.cta-glass-card h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #FFF;
}

.cta-glass-card p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 50px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.cta-link {
  color: #FFF;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 10px;
}

@media (max-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr !important;
    gap: 60px;
  }

  .detail-visual {
    order: -1;
  }

  .cta-actions {
    flex-direction: column;
  }
}

/* --- REALISATIONS (ARTICLE/BLOG STYLE) --- */
.blog-container {
  padding: 140px 0;
  background: #050608;
}

.featured-article {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  height: 600px;
  margin-bottom: 100px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.featured-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
}

.featured-content {
  position: relative;
  z-index: 5;
  padding: 60px;
  max-width: 800px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 60px;
}

.article-card {
  text-decoration: none;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover {
  transform: translateY(-15px);
}

.article-img-wrap {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 300px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.article-card:hover .article-img-wrap img {
  transform: scale(1.1);
}

.article-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(244, 117, 33, 0.9);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.article-info h3 {
  font-size: 28px;
  color: #FFF;
  margin-bottom: 15px;
}

.article-info p {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 25px;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tp-orange);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: gap 0.3s;
}

.article-card:hover .article-link {
  gap: 20px;
}

@media (max-width: 768px) {
  .featured-article {
    height: 400px;
  }

  .featured-content {
    padding: 30px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* --- REALISATIONS (BENTO GOD-TIER GRID) --- */
.bento-container {
  padding: 120px 0;
  background: #050608;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 30px;
}

.bento-item {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #0A0B0E;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item.tall {
  grid-row: span 2;
}

.bento-item.wide {
  grid-column: span 2;
}

.bento-item:hover {
  transform: scale(0.98);
  border-color: var(--tp-orange);
}

.bento-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
  opacity: 0.6;
}

.bento-item:hover .bento-img {
  transform: scale(1.1);
  opacity: 0.8;
}

.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  z-index: 5;
}

.bento-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--tp-orange);
  border-radius: 50px;
  font-size: 9px;
  font-weight: 900;
  margin-bottom: 15px;
}

.bento-content h3 {
  font-size: 24px;
  color: #FFF;
  margin: 0;
}

.bento-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
}

.bento-item:hover .bento-content p {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item.large,
  .bento-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 400px;
  }

  .bento-item.large,
  .bento-item.wide,
  .bento-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* --- BENTO FILTERS --- */
.bento-filters {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  justify-content: center;
}

.bento-filters .portfolio-filter-btn {
  padding: 12px 24px;
  border-radius: 40px;
  margin: 0;
}

.bento-filters .portfolio-filter-btn::after {
  display: none;
}

.bento-filters .portfolio-filter-btn.active {
  background: var(--tp-orange);
  color: #FFF;
  box-shadow: 0 10px 20px rgba(255, 90, 0, 0.3);
}


/* --- REALISATIONS (SPLIT SHOWCASE) --- */
.split-showcase {
  background: #050608;
}

.project-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.columns {
  display: flex;
  align-items: center;
  gap: 80px;
}

.project-section:nth-child(even) .columns {
  flex-direction: row-reverse;
}

.project-media {
  flex: 1;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-section:hover .project-media img {
  transform: scale(1.05);
}

.project-info {
  flex: 1;
  max-width: 500px;
}

.project-num {
  font-size: 80px;
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  color: transparent;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.project-cat {
  color: var(--tp-orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 15px;
  display: block;
}

.project-info h2 {
  font-size: 50px;
  color: #FFF;
  margin-bottom: 30px;
  line-height: 1.1;
}

.project-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.project-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-label {
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.spec-value {
  color: #FFF;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .columns {
    flex-direction: column !important;
    gap: 40px;
  }

  .project-info {
    max-width: 100%;
  }

  .project-info h2 {
    font-size: 36px;
  }
}

/* --- PROJECT GALLERY (FILTERABLE) --- */
.gallery-section {
  padding: 100px 0;
  background: #050608;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--tp-orange);
  border-color: var(--tp-orange);
  color: #FFF;
  box-shadow: 0 10px 20px rgba(244, 117, 33, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
  transition: all 0.5s ease;
}

.gallery-card {
  background: #0A0B0E;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.gallery-card.hidden {
  display: none;
}

.gallery-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.1);
}

.gallery-info {
  padding: 30px;
}

.gallery-info h3 {
  font-size: 22px;
  color: #FFF;
  margin-bottom: 15px;
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 12px;
  color: var(--tp-orange);
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --- REFINED GALLERY APPEARANCE --- */
.gallery-section {
  position: relative;
  padding-top: 60px;
  /* Pull up closer to hero */
  margin-top: -80px;
  /* Overlap slightly with hero for better transition */
  z-index: 10;
  background: #050608;
}

.gallery-container {
  position: relative;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.02) 50%, transparent);
}

/* Animation classes */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}


/* --- SEARCH BAR --- */
.search-container {
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 30px;
  padding-left: 60px;
  border-radius: 15px;
  color: #FFF;
  font-size: 16px;
  transition: all 0.3s;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--tp-orange);
  box-shadow: 0 0 30px rgba(244, 117, 33, 0.1);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tp-orange);
  pointer-events: none;
}

/* --- PREMIUM GALLERY OVERHAUL --- */
.gallery-section {
  margin-top: -150px;
  /* Pull up harder into hero */
  padding-top: 0;
  z-index: 100;
  position: relative;
}

.gallery-controls-wrap {
  background: rgba(10, 11, 14, 0.6);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  padding: 40px;
  margin-bottom: 80px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.filter-tabs {
  margin-bottom: 30px;
  gap: 10px;
}

.filter-btn {
  border-radius: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
}

.search-container {
  max-width: 100%;
  margin: 0;
}

.search-input {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  font-size: 14px;
  padding: 15px 20px 15px 50px;
}

.gallery-card {
  border: none;
  background: transparent;
}

.gallery-img-wrap {
  border-radius: 25px;
  height: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-info h3 {
  font-size: 26px;
  font-weight: 800;
  margin-top: 20px;
}


/* --- PARALLAX LAYERED SHOWCASE --- */
.parallax-container {
  background: #020305;
  padding-bottom: 200px;
}

.parallax-item {
  position: sticky;
  top: 120px;
  height: 80vh;
  margin-bottom: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.parallax-card {
  width: 90%;
  max-width: 1200px;
  height: 100%;
  background: #0A0B0E;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax-card .img-section {
  flex: 1.5;
  overflow: hidden;
}

.parallax-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s;
}

.parallax-card:hover img {
  transform: scale(1.1);
}

.parallax-card .text-section {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #0A0B0E, #12141a);
}

.parallax-card h3 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #FFF;
  line-height: 1.1;
}

.parallax-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 40px;
}

.project-meta-pill {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-size: 12px;
  margin-right: 10px;
  color: var(--tp-orange);
}

@media (max-width: 1024px) {
  .parallax-card {
    flex-direction: column;
    height: auto;
    min-height: 80vh;
  }

  .parallax-item {
    position: relative;
    top: 0;
  }
}

/* --- CINEMATIC SNAP SLIDER --- */
.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.snap-container::-webkit-scrollbar {
  display: none;
}

.snap-section {
  height: 100vh;
  width: 100%;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.snap-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.snap-section:hover .snap-bg {
  transform: scale(1.05);
}

.snap-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(2, 3, 5, 0.9), transparent 70%);
  z-index: 2;
}

.snap-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  max-width: 800px;
}

.snap-content h2 {
  font-size: 80px;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 20px;
  line-height: 1;
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.8s 0.2s;
}

.snap-section:active .snap-content h2,
.snap-section:focus .snap-content h2 {
  transform: translateX(0);
  opacity: 1;
}

/* Animation when in view (using Intersection Observer or just CSS if possible) */
.snap-section.active .snap-content h2 {
  transform: translateX(0);
  opacity: 1;
}

.snap-section.active .snap-content p {
  transform: translateX(0);
  opacity: 0.7;
}

.snap-content p {
  font-size: 20px;
  color: #FFF;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s 0.4s;
  margin-bottom: 40px;
}


/* --- EDITORIAL CLUSTER SHOWCASE --- */
.editorial-section {
  padding: 150px 0;
  background: #050608;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cluster-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.editorial-section:nth-child(even) .cluster-layout {
  flex-direction: row-reverse;
}

.cluster-visuals {
  flex: 1.2;
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  height: 600px;
}

.cluster-img-main {
  grid-column: 1 / span 9;
  grid-row: 1 / span 10;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.cluster-img-sub {
  grid-column: 7 / span 6;
  grid-row: 5 / span 8;
  z-index: 3;
  border-radius: 15px;
  overflow: hidden;
  border: 4px solid #050608;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cluster-img-main img,
.cluster-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-section:hover .cluster-img-main img {
  transform: scale(1.05);
}

.editorial-section:hover .cluster-img-sub {
  transform: translateY(-20px);
}

.cluster-info {
  flex: 0.8;
  padding-top: 40px;
}

.cluster-info .label {
  color: var(--tp-orange);
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 12px;
  display: block;
  margin-bottom: 20px;
}

.cluster-info h2 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 30px;
}

.cluster-info p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .cluster-layout {
    flex-direction: column !important;
    gap: 40px;
  }

  .cluster-visuals {
    height: 400px;
  }
}

/* --- ENGINEERING BLUEPRINT SHOWCASE --- */
.blueprint-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.blueprint-project {
  position: relative;
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bp-visual {
  position: relative;
}

.bp-img-wrap {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.bp-img-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: all 0.5s;
}

.bp-visual:hover img {
  filter: grayscale(0);
}

.bp-coord {
  position: absolute;
  top: -20px;
  right: -20px;
  font-family: monospace;
  font-size: 10px;
  color: var(--tp-orange);
  letter-spacing: 2px;
  writing-mode: vertical-rl;
}

.bp-info {
  position: relative;
}

.bp-info h2 {
  font-size: 60px;
  font-weight: 200;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.bp-info .bp-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--tp-orange);
  color: var(--tp-orange);
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 20px;
}

.bp-line-decor {
  position: absolute;
  width: 2px;
  background: var(--tp-orange);
  top: 0;
  left: -30px;
  height: 100%;
  opacity: 0.3;
}

/* --- CLASSIC PREMIUM PORTFOLIO --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.portfolio-filter-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.portfolio-filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tp-orange);
  transition: width 0.3s;
}

.portfolio-filter-btn.active,
.portfolio-filter-btn:hover {
  color: #FFF;
}

.portfolio-filter-btn.active::after,
.portfolio-filter-btn:hover::after {
  width: 100%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: #0A0B0E;
  transition: all 0.4s;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-cat {
  color: var(--tp-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  transform: translateY(20px);
  transition: transform 0.4s;
}

.portfolio-title {
  color: #FFF;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  transform: translateY(20px);
  transition: transform 0.4s 0.1s;
  margin: 0;
}

.portfolio-item:hover .portfolio-cat,
.portfolio-item:hover .portfolio-title {
  transform: translateY(0);
}

.portfolio-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s 0.2s;
}

.portfolio-item:hover .portfolio-icon {
  opacity: 1;
  transform: scale(1);
}

/* --- SPLIT SCREEN TEMPLATE --- */
.split-page {
  display: flex;
  min-height: 100vh;
  background: #050608;
}

.split-left {
  width: 35%;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 140px 60px 60px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background: #020305;
  z-index: 10;
}

.split-left h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.split-left p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  margin-bottom: 60px;
  line-height: 1.6;
}

.split-filters {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: auto;
}

.split-filter-btn {
  text-align: left;
  background: none;
  border: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 0;
  position: relative;
}

.split-filter-btn.active,
.split-filter-btn:hover {
  color: var(--tp-orange);
  padding-left: 30px;
}

.split-filter-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 2px;
  background: var(--tp-orange);
  opacity: 0;
  transition: opacity 0.3s;
}

.split-filter-btn.active::before,
.split-filter-btn:hover::before {
  opacity: 1;
}

.split-right {
  width: 65%;
  padding: 140px 60px 60px;
  min-height: 100vh;
}

/* --- ARCHITECTURAL ROW GALLERY (NO GRID) --- */
.row-gallery {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.4s ease;
}

.row-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.row-item:hover {
  border-bottom-color: rgba(255, 90, 0, 0.3);
}

.row-item.en-theme:hover {
  border-bottom-color: rgba(57, 255, 20, 0.3);
}

.row-info {
  flex: 1;
  padding-right: 50px;
}

.row-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tp-orange);
  display: block;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.row-item.en-theme .row-cat {
  color: var(--en-green);
}

.row-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  color: #FFF;
  line-height: 1.1;
  margin: 0 0 25px 0;
  letter-spacing: -1px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s;
}

.row-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.row-cta i {
  width: 14px;
}

.row-item:hover .row-title {
  transform: translateX(15px);
  color: var(--tp-orange);
}

.row-item.en-theme:hover .row-title {
  color: var(--en-green);
}

.row-item:hover .row-cta {
  color: #FFF;
  gap: 15px;
}

.row-item:hover .row-cta i {
  color: var(--tp-orange);
}

.row-item.en-theme:hover .row-cta i {
  color: var(--en-green);
}

.row-media {
  width: 42%;
  max-width: 450px;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) grayscale(20%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
}

.row-item:hover .row-media img {
  transform: scale(1.08);
  filter: brightness(1) grayscale(0%);
}

@media (max-width: 1024px) {
  .split-page {
    flex-direction: column;
  }

  .split-left {
    width: 100%;
    height: auto;
    position: relative;
    padding: 120px 30px 40px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .split-right {
    width: 100%;
    padding: 40px 30px;
  }

  .split-filters {
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }

  .row-item {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 30px;
    padding: 40px 0;
  }

  .row-info {
    padding-right: 0;
  }

  .row-media {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
  }

  .row-item:hover .row-title {
    transform: translateX(10px);
  }
}


/* ============================================
   NEW PREMIUM SECTION STYLES
   ============================================ */

/* --- TESTIMONIALS V2 (NUMBERED CARDS) --- */
#testimonials {
  padding: 180px 0;
  background: #07090C;
}

.testimonials-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 80px;
}

.testimonial-card-v2 {
  background: #0E1218;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 50px 40px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.testimonial-card-v2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card-v2:hover::after {
  transform: scaleX(1);
}

.testimonial-card-v2:hover {
  border-color: rgba(255, 90, 0, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.testimonial-card-v2.tc-featured {
  background: linear-gradient(135deg, #141820 0%, #0E1218 100%);
  border-color: rgba(255, 90, 0, 0.15);
}

.tc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.tc-index {
  font-size: 60px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  letter-spacing: -2px;
}

.tc-stars {
  color: var(--tp-orange);
  font-size: 14px;
  letter-spacing: 3px;
}

.testimonial-card-v2 p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  font-style: italic;
}

.tc-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tc-avatar {
  width: 44px;
  height: 44px;
  background: var(--tp-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #FFF;
  flex-shrink: 0;
}

.tc-avatar-green {
  background: var(--en-green);
  color: #000;
}

.tc-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tc-author span {
  font-size: 11px;
  color: var(--tp-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
  display: block;
}

/* --- ZONES D'INTERVENTION (HORIZONTAL CARDS) --- */
#action-zone {
  padding: 180px 0;
  background: #07090C;
  position: relative;
  overflow: hidden;
}

#action-zone::before {
  content: 'AUVERGNE';
  position: absolute;
  left: -3%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: -10px;
  white-space: nowrap;
  pointer-events: none;
}

.section-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  max-width: 600px;
  margin: 20px auto 0;
  text-align: center;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 80px;
}

.zone-card {
  background: #0E1218;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.zone-card:hover {
  border-color: rgba(255, 90, 0, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.zone-card-featured {
  background: linear-gradient(160deg, rgba(255, 90, 0, 0.08) 0%, #0E1218 100%);
  border-color: rgba(255, 90, 0, 0.2);
}

.zone-number {
  font-size: 48px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: rgba(255, 90, 0, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}

.zone-card-featured .zone-number {
  color: rgba(255, 90, 0, 0.4);
}

.zone-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #FFF;
}

.zone-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: 24px;
}

.zone-badge {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255, 90, 0, 0.3);
  color: var(--tp-orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
}

.zone-card-featured .zone-badge {
  background: var(--tp-orange);
  color: #FFF;
  border-color: var(--tp-orange);
}

/* --- CTA FINAL (SPLIT SCREEN PREMIUM) --- */
.cta-final {
  padding: 0;
  background: #07090C;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.cta-split {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.cta-split-left {
  flex: 0 0 55%;
  padding: 140px 80px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #07090C;
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--tp-orange);
  text-transform: uppercase;
  margin-bottom: 25px;
  display: block;
}

.cta-split-left h2 {
  font-size: clamp(50px, 6vw, 90px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: 30px;
  color: #FFF;
}

.cta-split-left h2 em {
  font-style: normal;
  color: var(--tp-orange);
}

.cta-split-left p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.cta-trust-row {
  display: flex;
  gap: 50px;
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trust-item span {
  font-size: 36px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--tp-orange);
  line-height: 1;
}

.trust-item small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-split-right {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.cta-img-frame {
  position: absolute;
  inset: 0;
}

.cta-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform 8s ease;
}

.cta-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #07090C 0%, transparent 40%);
}

.cta-final:hover .cta-img-frame img {
  transform: scale(1.05);
}

/* --- BUTTONS (REDEFINED CLEAN) --- */
.btn-primary {
  padding: 18px 40px;
  background: var(--tp-orange);
  color: #FFF !important;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  background: #E04800;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 90, 0, 0.35);
}

.btn-secondary {
  padding: 18px 40px;
  background: transparent;
  color: #FFF !important;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .zones-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid-v2 {
    grid-template-columns: 1fr;
  }

  .cta-split {
    flex-direction: column;
  }

  .cta-split-left {
    flex: none;
    width: 100%;
    padding: 100px 30px 60px;
  }

  .cta-split-right {
    flex: none;
    width: 100%;
    height: 50vh;
  }

  .cta-trust-row {
    gap: 25px;
  }
}

/* ============================================
   MAGAZINE BOLD SECTIONS — NOUVEAU DESIGN
   ============================================ */

/* --- TESTIMONIALS MAGAZINE --- */
.testi-magazine {
  background: #07090C;
  padding: 0;
  overflow: hidden;
}

.testi-header {
  padding: 140px 0 80px;
  text-align: center;
}

.testi-label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--tp-orange);
  text-transform: uppercase;
}

.testi-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--tp-orange);
  opacity: 0.4;
}

.testi-header h2 {
  font-size: clamp(50px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -5px;
  color: #FFF;
}

.testi-header h2 em {
  font-style: normal;
  color: var(--tp-orange);
}

/* --- CHAQUE ROW DE TESTIMONIAL --- */
.testi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testi-row-reverse {
  direction: rtl;
}

.testi-row-reverse>* {
  direction: ltr;
}

.testi-img-side {
  position: relative;
  overflow: hidden;
}

.testi-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
  filter: brightness(0.65) saturate(0.8) !important;
}

.testi-row:hover .testi-img-side img {
  transform: scale(1.04);
}

.testi-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, #07090C 100%);
}

.testi-row-reverse .testi-img-overlay {
  background: linear-gradient(to left, transparent 60%, #07090C 100%);
}

.testi-img-label {
  position: absolute;
  bottom: 40px;
  left: 40px;
}

.testi-num {
  display: block;
  font-size: 80px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  letter-spacing: -4px;
}

.testi-cat {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tp-orange);
  margin-top: 5px;
}

/* --- CÔTÉ TEXTE --- */
.testi-text-side {
  background: #07090C;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.testi-text-side.testi-green {
  background: #080C08;
}

.testi-quote-mark {
  font-size: 120px;
  line-height: 0.6;
  color: var(--tp-orange);
  opacity: 0.15;
  font-family: Georgia, serif;
  margin-bottom: 30px;
}

.testi-green .testi-quote-mark {
  color: var(--en-green);
}

.testi-text-side blockquote {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  border: none;
  padding: 0;
  margin: 0 0 50px 0;
  font-style: italic;
}

.testi-author-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.testi-stars {
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--tp-orange);
}

.testi-stars-green {
  color: var(--en-green);
}

.testi-author-row strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testi-author-row span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-top: 3px;
}

/* --- ZONES D'INTERVENTION TYPO BOLD --- */
.zones-typo {
  background: #07090C;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.zones-typo-header {
  padding: 120px 0 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.zones-typo-header .subtitle {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--tp-orange);
  text-transform: uppercase;
}

.zones-typo-header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.35);
  max-width: 380px;
  text-align: right;
}

.zones-typo-list {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.zones-typo-item {
  display: block;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.zones-typo-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--tp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.04;
}

.zones-typo-item:hover::before {
  transform: scaleX(1);
}

.zones-typo-item.zt-green:hover::before {
  background: var(--en-green);
}

.zones-typo-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.zt-index {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--tp-orange);
  font-family: var(--font-heading);
  flex-shrink: 0;
  width: 50px;
}

.zt-green .zt-index {
  color: var(--en-green);
}

.zt-city {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  color: #FFF;
  margin: 0;
  flex: 1;
  transition: letter-spacing 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.zones-typo-item:hover .zt-city {
  letter-spacing: 0px;
  color: rgba(255, 255, 255, 0.9);
}

.zt-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  text-align: right;
}

.zt-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
}

.zt-tag-featured {
  border-color: var(--tp-orange);
  color: var(--tp-orange);
}

.zt-plus .zt-tag {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
}

.zt-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.zt-arrow {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: all 0.4s ease;
  transform: translateX(-10px);
  opacity: 0;
}

.zones-typo-item:hover .zt-arrow {
  color: var(--tp-orange);
  opacity: 1;
  transform: translateX(0);
}

.zt-green:hover .zt-arrow {
  color: var(--en-green);
}

/* --- CTA IMPACT (PLEINE PAGE) --- */
.cta-impact {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-impact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-impact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.6) !important;
  transform: scale(1.05);
  transition: transform 12s ease;
}

.cta-impact:hover .cta-impact-bg img {
  transform: scale(1);
}

.cta-impact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(7, 9, 12, 0.92) 0%,
      rgba(7, 9, 12, 0.7) 50%,
      rgba(255, 90, 0, 0.15) 100%);
  z-index: 1;
}

.cta-impact-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Côté gauche — stats verticales */
.cta-impact-left {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 80px;
}

.cta-impact-stats {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.ci-stat {}

.ci-num {
  display: block;
  font-size: 72px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #FFF;
  line-height: 1;
  letter-spacing: -3px;
}

.ci-stat small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
}

/* Côté droit — CTA principal */
.cta-impact-right {}

.ci-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--tp-orange);
  text-transform: uppercase;
  margin-bottom: 25px;
}

.cta-impact-right h2 {
  font-size: clamp(50px, 6vw, 85px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -4px;
  color: #FFF;
  margin-bottom: 25px;
}

.cta-impact-right p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 50px;
}

.ci-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ci-btn-main {
  display: inline-flex;
  align-items: center;
  padding: 22px 50px;
  background: var(--tp-orange);
  color: #FFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.ci-btn-main:hover {
  background: #E04800;
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(255, 90, 0, 0.4);
}

.ci-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 40px;
  color: #FFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.ci-btn-phone:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .testi-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .testi-row-reverse {
    direction: ltr;
  }

  .testi-img-side {
    height: 350px;
  }

  .testi-text-side {
    padding: 50px 30px;
  }

  .testi-img-overlay,
  .testi-row-reverse .testi-img-overlay {
    background: linear-gradient(to bottom, transparent 50%, #07090C 100%);
  }

  .zones-typo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .zones-typo-header p {
    text-align: left;
  }

  .zt-city {
    font-size: 32px;
  }

  .cta-impact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .cta-impact-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 0;
    padding-bottom: 50px;
  }

  .cta-impact-stats {
    flex-direction: row;
    gap: 30px;
  }

  .ci-num {
    font-size: 48px;
  }
}

/* ============================================
   WALL OF TRUST — TESTIMONIALS MARQUEE
   ============================================ */

.trust-wall {
  background: #07090C;
  padding: 0 0 120px;
  overflow: hidden;
}

/* --- BARRE DE STATS --- */
.trust-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 80px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.ts-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 80px;
}

.ts-sep {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.08);
  font-weight: 300;
}

.ts-num {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  font-family: var(--font-heading);
  color: #FFF;
  line-height: 1;
  letter-spacing: -2px;
}

.ts-item-stars .ts-num {
  color: var(--tp-orange);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 5px;
}

.ts-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* --- MARQUEE WRAPPER --- */
.marquee-wrap {
  overflow: hidden;
  padding: 30px 0;
  position: relative;
}

/* Masques de fondu sur les côtés */
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, #07090C 0%, transparent 100%);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, #07090C 0%, transparent 100%);
}

/* --- TRACK ANIMÉ --- */
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-reverse .marquee-track {
  animation: marqueeScrollReverse 35s linear infinite;
}

/* Pause au hover */
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollReverse {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* --- CARDS MARQUEE --- */
.mq-card {
  flex-shrink: 0;
  width: 380px;
  background: #0E1218;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 35px;
  cursor: default;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.mq-card:hover {
  border-color: rgba(255, 90, 0, 0.25);
  transform: translateY(-4px);
}

.mq-card-featured {
  background: linear-gradient(135deg, #141B20 0%, #0E1218 100%);
  border-color: rgba(0, 214, 89, 0.12);
}

.mq-card-featured:hover {
  border-color: rgba(0, 214, 89, 0.35);
}

.mq-card-orange {
  background: linear-gradient(135deg, #181210 0%, #0E1218 100%);
  border-color: rgba(255, 90, 0, 0.12);
}

.mq-stars {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--tp-orange);
  margin-bottom: 18px;
}

.mq-card-featured .mq-stars {
  color: var(--en-green);
}

.mq-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 25px;
  font-style: italic;
}

.mq-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mq-author strong {
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mq-author span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .trust-stats-bar {
    gap: 20px;
    padding: 50px 20px;
  }

  .ts-item {
    padding: 0 25px;
  }

  .ts-sep {
    display: none;
  }

  .ts-num {
    font-size: 42px;
  }

  .mq-card {
    width: 300px;
  }
}

/* ============================================
   COVERAGE MAP — ZONES D'INTERVENTION
   ============================================ */

.coverage-map-section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  background: #07090C;
}

/* Background photo aerienne */
.cm-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cm-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.5) !important;
  transform: scale(1.05);
}

.cm-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(7, 9, 12, 0.85) 0%,
      rgba(7, 9, 12, 0.6) 50%,
      rgba(7, 9, 12, 0.85) 100%);
}

/* Contenu */
.cm-content {
  position: relative;
  z-index: 2;
}

/* Header */
.cm-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 70px;
}

.cm-header-left .subtitle {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--tp-orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.cm-header-left h2 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  color: #FFF;
}

.cm-header-left h2 span {
  color: var(--tp-orange);
}

/* Badge département */
.cm-coverage-badge {
  text-align: center;
  padding: 30px 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
}

.cm-badge-num {
  display: block;
  font-size: 72px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #FFF;
  line-height: 1;
  letter-spacing: -4px;
}

.cm-badge-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

/* Grille de cartes */
.cm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

/* La 1ère carte (featured) prend 1 col, plus haute */
.cm-card-featured {
  border-color: rgba(255, 90, 0, 0.25) !important;
  background: rgba(255, 90, 0, 0.05) !important;
  backdrop-filter: blur(30px) !important;
}

/* La dernière carte (wide) prend 2 cols */
.cm-card-wide {
  grid-column: span 2;
}

/* CARDS */
.cm-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.cm-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.cm-card-featured:hover {
  border-color: rgba(255, 90, 0, 0.5) !important;
  box-shadow: 0 30px 60px rgba(255, 90, 0, 0.15) !important;
}

/* Top de la card */
.cm-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

/* Point pulsant */
.cm-pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.cm-pulse-dot span {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid;
  animation: pulseDot 2s ease infinite;
  opacity: 0;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.cm-dot-orange {
  background: var(--tp-orange);
}

.cm-dot-orange span {
  border-color: var(--tp-orange);
}

.cm-dot-white {
  background: rgba(255, 255, 255, 0.7);
}

.cm-dot-white span {
  border-color: rgba(255, 255, 255, 0.5);
  animation-delay: 0.5s;
}

.cm-dot-green {
  background: var(--en-green);
}

.cm-dot-green span {
  border-color: var(--en-green);
  animation-delay: 1s;
}

/* Tag badge */
.cm-card-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.cm-card-featured .cm-card-tag {
  color: var(--tp-orange);
  border-color: rgba(255, 90, 0, 0.3);
}

/* Contenu */
.cm-card h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #FFF;
  margin-bottom: 14px;
}

.cm-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 30px;
}

/* Footer de la card */
.cm-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cm-card-km {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.cm-card-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--tp-orange);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cm-card-link:hover {
  gap: 10px;
  color: #FFF;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cm-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cm-card-wide {
    grid-column: span 2;
  }

  .cm-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .cm-grid {
    grid-template-columns: 1fr;
  }

  .cm-card-wide {
    grid-column: span 1;
  }
}

/* ============================================
   RACCORDEMENT PARFAIT — SECTION FLOW
   Testimonials ? Zones ? CTA
   ============================================ */

/* --- COUCHE 1 : TRUST WALL (avant-plan) --- */
#testimonials.trust-wall {
  position: relative;
  z-index: 30;
  padding-bottom: 200px;
  background: #07090C;
}

/* Fondu bas vers la section suivante */
#testimonials.trust-wall::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(to bottom,
      transparent 0%,
      #07090C 100%);
  pointer-events: none;
  z-index: 5;
}

/* --- COUCHE 2 : COVERAGE MAP (milieu) --- */
#action-zone.coverage-map-section {
  position: relative;
  z-index: 20;
  margin-top: -120px;
  /* Glisse sous les avis */
  padding-top: 220px;
  /* Compense le margin */
  padding-bottom: 200px;
  /* Espace pour la transition vers CTA */
}

/* Le background photo ne commence que progressivement */
#action-zone.coverage-map-section .cm-bg img {
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.5) 8%,
      rgba(0, 0, 0, 1) 25%,
      rgba(0, 0, 0, 1) 75%,
      rgba(0, 0, 0, 0.5) 92%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.5) 8%,
      rgba(0, 0, 0, 1) 25%,
      rgba(0, 0, 0, 1) 75%,
      rgba(0, 0, 0, 0.5) 92%,
      transparent 100%);
}

/* Overlay de la map — plus sombre en haut et en bas */
#action-zone.coverage-map-section .cm-overlay {
  background: linear-gradient(to bottom,
      #07090C 0%,
      /* Noir pur — fusionne avec testimonials  */
      rgba(7, 9, 12, 0.55) 20%,
      /* S'allège ? photo apparait */
      rgba(7, 9, 12, 0.45) 50%,
      /* Zone centrale bien visible */
      rgba(7, 9, 12, 0.65) 80%,
      /* Se rafonce vers le CTA */
      #07090C 100%
      /* Noir pur — prépare la transition CTA */
    );
}

/* --- COUCHE 3 : CTA IMPACT (arrière-plan) --- */
.cta-impact {
  position: relative;
  z-index: 10;
  margin-top: -120px;
  /* Glisse sous les zones */
  padding-top: 220px;
  /* Compense le margin */
}

/* L'overlay du CTA — commence sombre pour se fondre avec les zones */
.cta-impact-overlay {
  background: linear-gradient(to bottom,
      #07090C 0%,
      /* Fusion parfaite avec les zones */
      rgba(7, 9, 12, 0.65) 15%,
      /* La photo commence à apparaître */
      rgba(7, 9, 12, 0.5) 40%,
      /* Photo bien visible */
      rgba(7, 9, 12, 0.65) 80%,
      /* Retour vers le bas */
      rgba(7, 9, 12, 0.85) 100%);
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* La photo du CTA — masque progressif en haut */
.cta-impact-bg img {
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.7) 12%,
      rgba(0, 0, 0, 1) 30%,
      rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.7) 12%,
      rgba(0, 0, 0, 1) 30%,
      rgba(0, 0, 0, 1) 100%);
}

/* Accent ligne entre sections — très discret */
#action-zone.coverage-map-section::before {
  display: none;
  /* Supprimer l'ancien pseudo "AUVERGNE" qui bloquait */
}

/* Ligne décorative subtile entre trust-wall et zones */
#testimonials.trust-wall .marquee-reverse {
  margin-bottom: 0;
}

/* Assure que les cartes glassmorphism du coverage sont au-dessus des overlays */
.cm-content {
  position: relative;
  z-index: 10;
}

/* Assure que le footer est bien au-dessus */
.main-footer {
  position: relative;
  z-index: 40;
  background: #020305;
}

/* --- POLISH FINAL RACCORDEMENTS --- */

/* Réduire l'espace vide entre marquee et zones header */
.cm-header-left h2 {
  line-height: 1;
}

/* Assurer que "NOTRE TERRITOIRE" est bien visible (1ère ligne) */
.cm-header-left h2 {
  font-size: clamp(36px, 5vw, 68px);
}

/* Ligne de séparation élégante entre trust-wall et coverage map */
#testimonials.trust-wall {
  border-bottom: none;
}

/* Séparateur discret et élégant — ligne orange thin entre les 2 */
.coverage-map-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom,
      transparent 0%,
      #07090C 100%);
  pointer-events: none;
  z-index: 5;
}

/* Le footer du CTA doit être bien lisible au dessus du gradient */
.cta-impact-content {
  position: relative;
  z-index: 5;
}

/* ============================================
   CTA ORANGE BLOCK — NOUVEAU DESIGN FINAL
   ============================================ */

.cta-orange-block {
  position: relative;
  z-index: 10;
  margin-top: -120px;
  background: linear-gradient(135deg, #FF5500 0%, #E84000 40%, #FF6B1A 100%);
  padding: 200px 0 80px;
  overflow: hidden;
}

.cob-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.cob-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cob-shape-1 {
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  top: -200px;
  right: -150px;
}

.cob-shape-2 {
  width: 350px;
  height: 350px;
  background: rgba(0, 0, 0, 0.07);
  bottom: -120px;
  left: 8%;
}

.cob-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.cob-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.cob-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

.cob-top-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

.cob-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cob-title {
  font-size: clamp(50px, 7vw, 100px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -5px;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.cob-line-1 {
  color: rgba(0, 0, 0, 0.82);
}

.cob-line-2 {
  color: #FFF;
}

.cob-right p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 40px;
  max-width: 420px;
}

.cob-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.cob-btn-main {
  display: inline-flex;
  align-items: center;
  padding: 20px 44px;
  background: #000;
  color: #FFF !important;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cob-btn-main:hover {
  background: #1A1A1A;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cob-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  background: transparent;
  color: rgba(0, 0, 0, 0.65) !important;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  border: 1.5px solid rgba(0, 0, 0, 0.22);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cob-btn-phone:hover {
  border-color: rgba(0, 0, 0, 0.5);
  color: rgba(0, 0, 0, 0.9) !important;
  background: rgba(0, 0, 0, 0.05);
}

.cob-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.38);
  text-transform: uppercase;
}

.cob-scroll-hint {
  cursor: pointer;
  transition: color 0.3s;
}

.cob-scroll-hint:hover {
  color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 1024px) {
  .cob-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cob-top-stats {
    display: none;
  }

  .cob-bottom-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .cta-orange-block {
    padding: 180px 0 60px;
  }
}

/* ============================================
   FOOTER PREMIUM REDESIGN
   ============================================ */

.main-footer {
  background: #020305;
  position: relative;
  z-index: 40;
}

/* --- TOP FOOTER --- */
.footer-top {
  padding: 80px 0 60px;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 100px;
  align-items: flex-start;
}

/* Brand block */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.flt-terra {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #FFF;
}

.flt-sub {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--tp-orange);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.35);
  max-width: 320px;
}

.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--tp-orange);
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 0.3s ease;
  margin-top: 10px;
}

.footer-cta-link:hover {
  gap: 15px;
}

/* Columns grid */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links li a:hover {
  color: #FFF;
}

/* Contact list with icons */
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.fc-icon {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.7;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-contact-list a:hover {
  color: #FFF;
}

/* --- BOTTOM BAR --- */
.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MODAL PROJET — DESIGN PREMIUM
   ============================================ */
.proj-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.proj-modal.is-open {
  pointer-events: all;
  opacity: 1;
}

/* Backdrop */
.proj-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 5, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

/* Panel */
.proj-modal-panel {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1100px;
  max-height: 90vh;
  background: #0C0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.proj-modal.is-open .proj-modal-panel {
  transform: translateY(0) scale(1);
}

/* Bouton fermer */
.proj-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #FFF;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.proj-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

/* Intérieur — split image + texte */
.proj-modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  overflow-y: auto;
  max-height: 90vh;
}

/* Image */
.proj-modal-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.proj-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proj-modal-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, #0C0E14 100%);
}

/* Corps texte */
.proj-modal-body {
  padding: 50px 50px 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.proj-modal-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tp-orange);
  margin-bottom: 16px;
  display: block;
}

.proj-modal-title {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: #FFF;
  margin-bottom: 20px;
}

.proj-modal-desc {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 36px;
}

/* Stats grid */
.proj-modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.pm-stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.pm-stat-icon {
  font-size: 16px;
  margin-top: 2px;
}

.pm-stat div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pm-stat small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.pm-stat strong {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
}

/* CTA */
.proj-modal-cta {
  display: inline-flex;
  align-items: center;
  padding: 18px 36px;
  background: var(--tp-orange);
  color: #FFF !important;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.proj-modal-cta:hover {
  background: #E04800;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 90, 0, 0.35);
}

/* Scroll lock quand modal ouvert */
body.modal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .proj-modal-inner {
    grid-template-columns: 1fr;
  }

  .proj-modal-img-wrap {
    min-height: 250px;
  }

  .proj-modal-img-overlay {
    background: linear-gradient(to bottom, transparent 60%, #0C0E14 100%);
  }

  .proj-modal-body {
    padding: 30px 24px;
  }

  .proj-modal-stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LUCIDE ICONS — STYLES GLOBAUX PROFESSIONNELS
   ============================================ */

/* Taille par défaut */
[data-lucide],
.lucide {
  width: 16px;
  height: 16px;
  stroke-width: 1.75;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Footer icons */
.footer-contact-list .fc-icon [data-lucide],
.footer-contact-list .fc-icon svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1.75;
}

/* Modal stats icons */
.pm-stat-icon [data-lucide],
.pm-stat-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--tp-orange);
  stroke-width: 1.75;
}

/* CTA button icons */
.cta-button [data-lucide],
.cta-button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Phone button icon */
.cob-btn-phone svg,
.ci-btn-phone [data-lucide],
.ci-btn-phone svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Nav icons */
nav [data-lucide],
nav svg.lucide {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Ensure lucide script initializes icons */
/* (lucide.createIcons() called in main.js) */

/* ---- GLOBAL NAV UNDERLINE REMOVAL ---- */
.nav-links a,
.nav-links a:hover,
.nav-links a:visited,
.nav-links a.active,
header nav a {
  text-decoration: none !important;
}

/* ============================================
   IMMERSIVE CINEMATIC HERO (Services)
   ============================================ */

.subpage-hero-immersive {
  position: relative;
  height: 100vh;
  width: 100%;
  background-color: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-wrapper .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(0px);
  /* For GSAP focus effect */
}

.hero-gradient-fade {
  position: absolute;
  inset: 0;
  /* Complex gradient: Solid black on left to transparent on right */
  background: linear-gradient(90deg, rgba(2, 3, 4, 1) 0%, rgba(2, 3, 4, 0.85) 30%, rgba(2, 3, 4, 0) 70%, rgba(2, 3, 4, 0) 100%);
}

.hero-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  /* Push content below the nav bar */
}

.hero-immersive-content {
  max-width: 800px;
}

.reveal-mask {
  overflow: hidden;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.hero-immersive-content .hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 24px;
  border: 1px solid rgba(255, 90, 0, 0.4);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tp-orange);
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.giant-title {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -4px;
  color: #FFF;
  margin: 0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.subpage-hero-immersive.tp-theme .giant-title span {
  color: var(--tp-orange);
}

.hero-immersive-content p {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 30px;
  max-width: 500px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .hero-gradient-fade {
    /* On mobile, gradient from bottom to top instead of left to right */
    background: linear-gradient(0deg, rgba(2, 3, 4, 1) 0%, rgba(2, 3, 4, 0.8) 50%, rgba(2, 3, 4, 0.3) 100%);
  }

  .hero-immersive-content {
    text-align: center;
    margin: 0 auto;
    padding-top: 100px;
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator .mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.hero-scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background: #FFF;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }

  50% {
    top: 20px;
    opacity: 0;
  }

  100% {
    top: 6px;
    opacity: 0;
  }
}

/* --- CONTENT SECTIONS --- */
.subpage-content {
  background: #050608;
  position: relative;
  z-index: 2;
}

/* --- AGENCY CARD SERVICE SECTIONS --- */
.service-agency-card {
  padding: 140px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.service-agency-card.alt {
  background: #060709;
}

/* Giant background number */
.sac-number {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  font-size: clamp(180px, 22vw, 300px);
  font-weight: 900;
  letter-spacing: -10px;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: 'Inter', sans-serif;
  z-index: 0;
}

.service-agency-card.alt .sac-number {
  right: auto;
  left: -40px;
}

/* Inner grid */
.sac-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sac-inner.reverse {
  grid-template-columns: 55% 45%;
  direction: rtl;
}

.sac-inner.reverse>* {
  direction: ltr;
}

/* Image column */
.sac-image-col {
  position: relative;
  perspective: 800px;
}

.sac-image-frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 520px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  /* Diagonal cut — left section goes from top-left to bottom-right at an angle */
  clip-path: polygon(0 0, 95% 0, 100% 100%, 0 100%);
}

/* Diagonal clip on image for premium feel */
.sac-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
  z-index: 1;
}

.sac-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
  transition: transform 0.8s ease;
}

/* GSAP handles hover transform — remove CSS hover conflict */

/* Accent border line on image — animated by GSAP on reveal */
.sac-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tp-orange) 0%, rgba(255, 90, 0, 0.2) 100%);
  z-index: 2;
  transform-origin: left center;
  /* Subtle pulsing glow */
  box-shadow: 0 0 12px var(--tp-orange);
  animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Right-edge accent line for reverse sections */
.sac-inner.reverse .sac-image-frame {
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}

/* Text column */
.sac-text-col {
  padding: 20px 0;
}

.sac-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tp-orange);
  margin-bottom: 28px;
}

.sac-label svg {
  width: 16px;
  height: 16px;
}

/* Animated divider under label */
.sac-divider {
  width: 40px;
  height: 2px;
  background: var(--tp-orange);
  margin-bottom: 24px;
  transform-origin: left center;
}

.sac-text-col h2 {
  font-size: clamp(32px, 8vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 30px;
  word-break: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Line-based surge wrappers */
.h2-line {
  display: block;
  overflow: hidden;
  line-height: 1.1;
}

.h2-line-inner {
  display: block;
  color: #fff;
}

.h2-line-inner.h2-accent {
  color: var(--tp-orange);
}

.sac-text-col p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  max-width: 480px;
}

/* Numbered list items */
.sac-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sac-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: default;
}

.li-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--tp-orange);
  opacity: 0.7;
  min-width: 22px;
  transition: opacity 0.3s ease;
}

.sac-list li:hover {
  color: #fff;
  padding-left: 8px;
}

.sac-list li:hover .li-num {
  opacity: 1;
}

/* --- FINAL CTA --- */
.subpage-cta {
  padding: 150px 0;
  background: #000;
  position: relative;
  display: flex;
  justify-content: center;
}

.cta-glass-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--tp-orange);
  border-radius: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.cta-glass-card h2 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #FFF;
  margin-bottom: 20px;
}

.cta-glass-card p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 50px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-link {
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.cta-link:hover {
  color: var(--tp-orange);
}

@media (max-width: 991px) {

  .sac-inner,
  .sac-inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .sac-image-frame {
    height: 300px;
  }

  .sac-number {
    font-size: 120px;
    opacity: 0.03;
  }
}

/* ============================================================
   TERRA ÉNERGIE — GREEN THEME VARIANTS FOR AGENCY CARD
   ============================================================ */

/* Green accent on second h2 line */
.h2-accent-green {
  color: var(--en-green);
}

/* Green label */
.sac-label.en-label {
  color: var(--en-green);
}

/* Green divider line */
.sac-divider.en-divider {
  background: var(--en-green);
}

/* Green overlay line on image bottom */
.sac-image-overlay.en-overlay {
  background: linear-gradient(90deg, var(--en-green) 0%, rgba(74, 222, 128, 0.15) 100%);
  box-shadow: 0 0 12px var(--en-green);
  animation: glowPulseGreen 2.5s ease-in-out infinite;
}

@keyframes glowPulseGreen {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* Green numbered list items */
.li-num.en-num {
  color: var(--en-green);
}

/* Green CTA card border on Énergie page */
.cta-glass-card.en-theme {
  border-color: var(--en-green);
}

/* ============================================
   ADN TYPOGRAPHIC CARDS (NO IMAGES)
   ============================================ */
.adn-section {
  padding: 120px 0 150px;
  background: #050608;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.adn-header {
  text-align: center;
  margin-bottom: 80px;
}

.adn-header .subtitle {
  color: var(--tp-orange);
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 90, 0, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
}

.adn-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: #FFF;
}

.adn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.adn-card {
  background: #0A0B0E;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.adn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.adn-card:hover {
  border-color: rgba(255, 90, 0, 0.25);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #10131A 0%, #0A0B0E 100%);
}

.adn-card:hover::before {
  transform: scaleX(1);
}

.adn-card.en-card::before {
  background: var(--en-green);
}

.adn-card.en-card:hover {
  border-color: rgba(57, 255, 20, 0.25);
}

.adn-bg-num {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 200px;
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.015);
  pointer-events: none;
  transition: all 0.5s ease;
}

.adn-card:hover .adn-bg-num {
  color: rgba(255, 255, 255, 0.03);
  transform: scale(1.05);
}

.adn-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.adn-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 90, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tp-orange);
}

.en-card .adn-icon {
  background: rgba(57, 255, 20, 0.1);
  color: var(--en-green);
}

.adn-cat {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.adn-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  color: #FFF;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.text-orange {
  color: var(--tp-orange);
}

.text-green {
  color: var(--en-green);
}

.adn-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 40px;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.adn-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.adn-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.adn-list i {
  color: var(--tp-orange);
  width: 18px;
}

.en-card .adn-list i {
  color: var(--en-green);
}

@media (max-width: 1024px) {
  .adn-grid {
    grid-template-columns: 1fr;
  }

  .adn-card {
    padding: 40px 30px;
  }
}