/* =============================================
   AGUICO - Styles principaux
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --noir: #0d0d0d;
  --sombre: #1a1a1a;
  --gris: #2e2e2e;
  --gris-clair: #6b6b6b;
  --blanc: #ffffff;
  --blanc-off: #f5f3ef;
  --or: #c9a84c;
  --or-clair: #e0b96a;
  --transition: 0.35s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--blanc-off);
  color: var(--noir);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Utilitaires ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--noir);
}
.section-title.light { color: var(--blanc); }
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--or);
  color: var(--or);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn:hover { background: var(--or); color: var(--noir); }
.btn-solid { background: var(--or); color: var(--noir); }
.btn-solid:hover { background: var(--or-clair); border-color: var(--or-clair); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--noir);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blanc);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo span { color: var(--or); }
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links > li > a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--or);
  transition: width var(--transition);
}
.nav-links > li > a:hover { color: var(--blanc); }
.nav-links > li > a:hover::after { width: 100%; }
.nav-cta { margin-left: 0.5rem; }
.nav-cta a::after { display: none !important; }

/* ---- Dropdown ---- */
.nav-item { position: relative; }

.nav-arrow {
  font-size: 0.55rem;
  transition: transform var(--transition);
  display: inline-block;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--noir);
  border-top: 2px solid var(--or);
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 2000;
  padding: 0.5rem 0;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255,255,255,0.65);
  padding: 0.55rem 1.4rem;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
  position: relative;
}
.dropdown a::after { display: none !important; }
.dropdown a:hover {
  color: var(--or);
  background: rgba(255,255,255,0.04);
}

/* ---- Mega dropdown ---- */
.dropdown-mega {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-width: 800px;
  left: 0;
  transform: translateY(10px);
  padding: 0;
}
.nav-item:hover .dropdown-mega { transform: translateY(0); }
.dropdown-col {
  padding: 1.5rem 1.2rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.dropdown-col:last-child { border-right: none; }
.dropdown-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dropdown-col a {
  padding: 0.4rem 0;
  background: transparent !important;
}
.dropdown-col a:hover { color: var(--or); background: transparent !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--blanc);
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--noir);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blanc);
  letter-spacing: 0.08em;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--or); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,168,76,0.04) 0px, rgba(201,168,76,0.04) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(-45deg, rgba(201,168,76,0.04) 0px, rgba(201,168,76,0.04) 1px, transparent 1px, transparent 60px);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 6rem;
  width: 100%;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--or);
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blanc);
  line-height: 1;
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.hero-title span { color: var(--or); }
.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 50px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.5); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--noir);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--or);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  display: block;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 7rem 0;
  background: var(--blanc-off);
}
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  position: relative;
  background: var(--sombre);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.service-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-bg { transform: scale(1.06); }
.service-card:nth-child(1) .service-card-bg { background: linear-gradient(160deg, #1e2a1e, #2d4a2d); }
.service-card:nth-child(2) .service-card-bg { background: linear-gradient(160deg, #1a1e2a, #2d3a4a); }
.service-card:nth-child(3) .service-card-bg { background: linear-gradient(160deg, #2a1a1a, #4a2a2a); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.2) 60%);
}
.service-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 2rem;
  z-index: 2;
  transform: translateY(3rem);
  transition: transform var(--transition);
}
.service-card:hover .service-card-content { transform: translateY(0); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; color: var(--or); }
.service-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blanc);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.service-card-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  opacity: 0;
  transition: opacity var(--transition) 0.1s;
}
.service-card:hover .service-card-text { opacity: 1; }
.service-card-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  z-index: 1;
}

/* =============================================
   PROJETS
   ============================================= */
.projects { padding: 7rem 0; background: var(--noir); }
.projects .section-title { color: var(--blanc); }
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
}
.project-card { position: relative; overflow: hidden; background: var(--gris); }
.project-card:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.project-card:nth-child(2) { grid-column: span 5; aspect-ratio: 4/5; }
.project-card:nth-child(3) { grid-column: span 5; aspect-ratio: 4/5; }
.project-card:nth-child(4) { grid-column: span 7; aspect-ratio: 16/10; }
.project-img { width: 100%; height: 100%; transition: transform 0.6s ease; }
.project-card:nth-child(1) .project-img { background: linear-gradient(135deg, #2a2a1a, #3a3a1a); }
.project-card:nth-child(2) .project-img { background: linear-gradient(135deg, #1a2a1a, #1a3a1a); }
.project-card:nth-child(3) .project-img { background: linear-gradient(135deg, #1a1a2a, #1a1a3a); }
.project-card:nth-child(4) .project-img { background: linear-gradient(135deg, #2a1a1a, #3a1a1a); }
.project-card:hover .project-img { transform: scale(1.05); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 0.3rem;
}
.project-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blanc);
}

/* =============================================
   ABOUT
   ============================================= */
.about { padding: 7rem 0; background: var(--blanc-off); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--gris);
}
.about-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1a2a2a, #2a3a3a);
}
.about-accent {
  position: absolute;
  bottom: -2rem; right: -2rem;
  width: 60%;
  aspect-ratio: 1;
  background: var(--or);
  z-index: -1;
}
.about-text .section-tag { margin-bottom: 0.75rem; }
.about-text .section-title { margin-bottom: 1.5rem; }
.about-desc { color: var(--gris-clair); font-size: 1rem; line-height: 1.8; margin-bottom: 2.5rem; }
.about-features { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon { width: 20px; height: 20px; color: var(--or); flex-shrink: 0; margin-top: 0.15rem; font-size: 1rem; }
.feature-text { font-size: 0.95rem; font-weight: 500; color: var(--sombre); }

/* =============================================
   TÉMOIGNAGES
   ============================================= */
.testimonials { padding: 7rem 0; background: var(--sombre); overflow: hidden; }
.testimonials .section-tag { color: var(--or); }
.testimonials .section-title { color: var(--blanc); margin-bottom: 4rem; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem;
  transition: border-color var(--transition);
}
.testi-card:hover { border-color: rgba(201,168,76,0.3); }
.testi-stars { color: var(--or); font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.testi-text { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.8; font-style: italic; margin-bottom: 1.5rem; }
.testi-author { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; color: var(--blanc); letter-spacing: 0.05em; }
.testi-role { font-size: 0.8rem; color: var(--or); margin-top: 0.2rem; }

/* =============================================
   CONTACT
   ============================================= */
.contact { padding: 7rem 0; background: var(--blanc-off); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-info .section-title { margin-bottom: 1.5rem; }
.contact-desc { color: var(--gris-clair); margin-bottom: 2.5rem; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; }
.contact-item i {
  width: 44px; height: 44px;
  background: var(--noir);
  color: var(--or);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-item-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gris-clair); margin-bottom: 0.2rem; }
.contact-item-value { font-weight: 600; color: var(--noir); font-size: 1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gris-clair); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--blanc);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.9rem 1.1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: var(--noir);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--or); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { align-self: flex-start; }
.form-success, .form-error {
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-success { background: #e8f5e9; color: #2d6a2d; border-left: 4px solid #2d6a2d; }
.form-error   { background: #fdecea; color: #b71c1c; border-left: 4px solid #b71c1c; }
.form-success i, .form-error i { font-size: 1.3rem; flex-shrink: 0; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--noir); padding: 5rem 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--blanc); text-transform: uppercase; margin-bottom: 1.2rem; letter-spacing: 0.08em; }
.footer-logo span { color: var(--or); }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.4); line-height: 1.8; margin-bottom: 1.5rem; max-width: 280px; }
.footer-socials { display: flex; gap: 0.8rem; }
.footer-social {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: border-color var(--transition), color var(--transition);
}
.footer-social:hover { border-color: var(--or); color: var(--or); }
.footer-col-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); margin-bottom: 1.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-links a:hover { color: var(--blanc); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.25); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* =============================================
   AOS animations
   ============================================= */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

/* =============================================
   WHATSAPP BUTTON
   ============================================= */
.whatsapp-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.whatsapp-bubble {
  background: white;
  color: #0d0d0d;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.whatsapp-wrap:hover .whatsapp-bubble {
  opacity: 1;
  transform: translateY(0);
}
.whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:last-child { grid-column: span 2; aspect-ratio: 16/7; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .dropdown-mega { grid-template-columns: repeat(2, 1fr) !important; min-width: 400px !important; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .hero-scroll { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:last-child { grid-column: span 1; }
  .service-card { aspect-ratio: 16/9; }
  .service-card-content { transform: translateY(0); }
  .service-card-text { opacity: 1; }
  .projects-header { flex-direction: column; align-items: flex-start; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { grid-column: span 1 !important; aspect-ratio: 16/10 !important; }
  .project-overlay { opacity: 1; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-accent { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   PAGE HEADER (pages internes)
   ============================================= */
.page-header {
  background: var(--noir);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,168,76,0.03) 0px, rgba(201,168,76,0.03) 1px, transparent 1px, transparent 60px);
}
.page-header .section-tag { display: block; text-align: center; }
.page-header .section-title { color: var(--blanc); }

/* =============================================
   SOUS-NAV (anchors de page)
   ============================================= */
.subnav {
  background: var(--sombre);
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-top: 5.4rem;
}
.subnav-inner {
  display: flex;
  gap: 12.5rem;
  overflow-x: auto;
  padding: 0.2rem 0;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 1rem 1.2rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.subnav a:hover { color: var(--blanc); }
.subnav a.active { color: var(--or); border-bottom-color: var(--or); }

/* =============================================
   SERVICE DETAIL BLOCKS
   ============================================= */
.service-detail {
  padding: 5rem 0;
  scroll-margin-top: 4rem;
}
.service-detail:nth-child(even) { background: var(--blanc-off); }
.service-detail:nth-child(odd) { background: var(--blanc); }
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-detail.reverse .service-detail-inner { direction: rtl; }
.service-detail.reverse .service-detail-text { direction: ltr; }
.service-detail-img {
  aspect-ratio: 4/3;
  background: var(--gris);
  position: relative;
  overflow: hidden;
}
.service-detail-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 3.5rem;
}
.service-detail-text .section-tag { margin-bottom: 0.75rem; }
.service-detail-text .section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
.service-detail-text p {
  color: var(--gris-clair);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--sombre);
}
.service-detail-list li i { color: var(--or); margin-top: 0.2rem; font-size: 0.85rem; }

/* =============================================
   CATEGORY HEADER (séparateur de groupe)
   ============================================= */
.category-header {
  background: var(--noir);
  padding: 4rem 0 2rem;
  text-align: center;
  scroll-margin-top: 4rem;
}
.category-header .section-tag { display: block; text-align: center; }
.category-header .section-title { color: var(--blanc); }
.category-header p {
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
}

/* =============================================
   ABOUT PAGE BLOCKS
   ============================================= */
.about-block {
  padding: 5rem 0;
  scroll-margin-top: 4rem;
}
.about-block:nth-child(even) { background: var(--blanc-off); }
.about-block:nth-child(odd) { background: var(--blanc); }
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--blanc-off);
  padding: 2.5rem 2rem;
  text-align: center;
}
.value-card i {
  font-size: 2.2rem;
  color: var(--or);
  margin-bottom: 1.2rem;
}
.value-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.value-card p { color: var(--gris-clair); font-size: 0.92rem; line-height: 1.7; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 1;
  background: var(--gris);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 2.5rem;
}
.team-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}
.team-role { font-size: 0.85rem; color: var(--or); margin-top: 0.2rem; }

.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.equip-card {
  background: var(--blanc);
  padding: 1.8rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
}
.equip-card i { font-size: 2rem; color: var(--or); margin-bottom: 1rem; }
.equip-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.equip-card p { font-size: 0.85rem; color: var(--gris-clair); }

/* =============================================
   ACTUALITES PAGE
   ============================================= */
.news-section {
  padding: 5rem 0;
  scroll-margin-top: 4rem;
}
.news-section:nth-child(even) { background: var(--blanc-off); }
.news-section:nth-child(odd) { background: var(--blanc); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.news-card {
  background: var(--blanc);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}
.news-card-img {
  aspect-ratio: 16/10;
  background: var(--gris);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 2.5rem;
}
.news-card-body { padding: 1.5rem; }
.news-card-date {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 0.5rem;
}
.news-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.news-card-text { font-size: 0.9rem; color: var(--gris-clair); line-height: 1.6; }

.job-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; }
.job-card {
  background: var(--blanc);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.job-card-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
}
.job-card-info p { font-size: 0.85rem; color: var(--gris-clair); margin-top: 0.3rem; }
.job-card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  border: 1px solid var(--or);
  padding: 0.4rem 0.9rem;
}

/* =============================================
   RESPONSIVE pages internes
   ============================================= */
@media (max-width: 1024px) {
  .team-grid, .equip-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .value-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-header { padding: 8rem 0 3rem; }
  .service-detail-inner,
  .service-detail.reverse .service-detail-inner { grid-template-columns: 1fr; direction: ltr; }
  .team-grid, .equip-grid, .news-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   SERVICE CATEGORY BLOCK (with tabs)
   ============================================= */
.service-category {
  padding: 4rem 0;
  scroll-margin-top: 4rem;
}
.service-category:nth-child(even) { background: var(--blanc-off); }
.service-category:nth-child(odd) { background: var(--blanc); }
.service-category-head { margin-bottom: 1.5rem; }
.service-category-head .section-tag { margin-bottom: 0.5rem; }
.service-category-head .section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* Tabs */
.service-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.service-tab {
  flex: 1;
  min-width: 160px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-bottom: none;
  background: var(--blanc-off);
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gris-clair);
  transition: background 0.25s, color 0.25s;
  text-align: left;
}
.service-tab:hover { color: var(--noir); }
.service-tab.active {
  background: var(--noir);
  color: var(--or);
  border-color: var(--noir);
}
.service-category:nth-child(odd) .service-tab { background: var(--blanc-off); }
.service-category:nth-child(even) .service-tab:not(.active) { background: var(--blanc); }

/* Display panel */
.service-display {
  position: relative;
  aspect-ratio: 15/9;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: flex-end;
  background: var(--gris);
  background-size: cover;
  background-position: center;
}
.service-display-bg {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
  background-position: center !important;
  background-size: cover !important;
}
.service-display-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%);
}
.service-display-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  max-width: 620px;
  color: var(--blanc);
}
.service-display-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.service-display-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.2rem;
}
.service-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.service-display-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.5rem;
}
/* Navbar toujours sombre sur les pages internes */
body:not(.has-hero) .navbar {
  background: var(--noir);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.service-display-list span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.service-display-list i { color: var(--or); font-size: 0.8rem; }

/* Placeholder gradients per category */
.service-category:nth-of-type(1) .service-display-bg { background: linear-gradient(160deg, #1e2a1e, #2d4a2d); }
.service-category:nth-of-type(2) .service-display-bg { background: linear-gradient(160deg, #1a1e2a, #2d3a4a); }
.service-category:nth-of-type(3) .service-display-bg { background: linear-gradient(160deg, #2a1a1a, #4a2a2a); }
.service-category:nth-of-type(4) .service-display-bg { background: linear-gradient(160deg, #2a2a1a, #4a4a2a); }

@media (max-width: 768px) {
  .service-tabs { flex-direction: column; }
  .service-tab { min-width: auto; }
  .service-display { aspect-ratio: 4/5; }
  .service-display-content { padding: 1.5rem; }
}