/* ═══════════════════════════════════════════════════════
   FRANCE INGENIERIES — PREMIUM CORPORATE DESIGN
   Geometric / Angular / Luxury / Navy + Gold
   Fonts: DM Sans + Cormorant Garant
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #1B2A4A;
  --primary-light: #263d6a;
  --primary-dark: #0d1526;
  --accent: #C8A951;
  --accent-light: #d4bc72;
  --accent-dark: #a88b3d;
  --dark: #0d1526;
  --bg: #ffffff;
  --bg-alt: #f0f2f5;
  --bg-dark: #080e1a;
  --text: #2d2d2d;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --border: #d1d5db;
  --border-gold: rgba(200,169,81,0.3);
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Cormorant Garant', 'Georgia', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ── TOPBAR ── */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 8px 0;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(200,169,81,0.15);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.topbar a { color: rgba(255,255,255,0.7); }
.topbar a:hover { color: var(--accent); }

/* ── HEADER / NAV ── */
header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
header.scrolled {
  background: var(--primary);
  border-bottom-color: rgba(200,169,81,0.2);
}
header.scrolled nav a { color: rgba(255,255,255,0.85); }
header.scrolled nav a:hover,
header.scrolled nav a.active { color: var(--accent); background: rgba(255,255,255,0.08); }
header.scrolled .nav-toggle { color: var(--text-white); }
header.scrolled .logo img { filter: brightness(0) invert(1); }

header .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; padding-bottom: 14px;
}
.logo img { height: 50px; width: auto; transition: var(--transition); }
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: var(--text); font-size: 0.88rem; font-weight: 500;
  padding: 8px 16px; transition: var(--transition);
  letter-spacing: 0.2px; position: relative;
}
nav a:hover, nav a.active { color: var(--accent); }
nav a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px;
  height: 2px; background: var(--accent);
}
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--text);
  padding: 4px 8px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 14px 34px;
  font-weight: 600; font-size: 0.9rem; transition: var(--transition);
  cursor: pointer; border: none; text-align: center;
  letter-spacing: 0.5px; text-transform: uppercase; font-family: var(--font-body);
}
.btn-primary {
  background: var(--accent); color: var(--dark);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary:hover {
  background: var(--accent-light); color: var(--dark);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,169,81,0.3);
}
.btn-outline {
  background: transparent; border: 2px solid var(--text-white); color: var(--text-white);
}
.btn-outline:hover { background: var(--text-white); color: var(--primary); }
.btn-navy {
  background: var(--primary); color: var(--text-white);
}
.btn-navy:hover {
  background: var(--primary-light); color: var(--text-white);
  transform: translateY(-2px); box-shadow: var(--shadow-lg);
}
.btn-outline-dark {
  background: transparent; border: 2px solid var(--primary); color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--text-white); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative; height: 92vh; min-height: 600px; max-height: 900px;
  overflow: hidden; background: var(--dark);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,21,38,0.92) 0%, rgba(27,42,74,0.75) 50%, rgba(13,21,38,0.85) 100%);
}
/* Geometric grid overlay */
.hero-slider::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(200,169,81,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(200,169,81,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
/* Diagonal accent line */
.hero-slider::after {
  content: ''; position: absolute; z-index: 2; pointer-events: none;
  top: 0; right: 15%; width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(200,169,81,0.2), transparent);
}
.hero-content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--text-white); padding: 0 24px;
  max-width: 1240px; margin: 0 auto;
}
.hero-badge {
  display: inline-block; padding: 6px 20px;
  border: 1px solid var(--accent); color: var(--accent);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 24px;
  font-family: var(--font-body);
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4rem; font-weight: 700; line-height: 1.1;
  margin-bottom: 20px; max-width: 700px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 1.05rem; max-width: 560px; opacity: 0.85;
  margin-bottom: 36px; line-height: 1.8;
}
.hero-phone {
  margin-top: 32px; display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; opacity: 0.7;
}
.hero-phone a { color: var(--text-white); }
.hero-phone a:hover { color: var(--accent); }
/* Slider dots */
.hero-dots {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; gap: 12px;
}
.hero-dot {
  width: 40px; height: 3px; background: rgba(255,255,255,0.3);
  cursor: pointer; transition: var(--transition);
}
.hero-dot.active { background: var(--accent); width: 60px; }
/* Geometric corner accents */
.hero-corner {
  position: absolute; z-index: 3; pointer-events: none;
}
.hero-corner--tl { top: 40px; left: 40px; width: 60px; height: 60px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.hero-corner--br { bottom: 80px; right: 40px; width: 60px; height: 60px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }

/* ── HERO INNER (subpages) ── */
.hero-inner {
  position: relative; padding: 100px 0 60px;
  background-size: cover; background-position: center;
  color: var(--text-white); overflow: hidden;
}
.hero-inner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,21,38,0.93), rgba(27,42,74,0.85));
}
.hero-inner::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(200,169,81,0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(200,169,81,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner .container { position: relative; z-index: 2; }
.hero-inner h1 {
  font-family: var(--font-heading);
  font-size: 3rem; font-weight: 700; line-height: 1.15; margin-bottom: 16px;
}
.hero-inner h1 span { color: var(--accent); }
.hero-inner p { font-size: 1.05rem; max-width: 620px; opacity: 0.85; line-height: 1.8; }
.hero-inner .hero-badge { margin-bottom: 16px; }

/* ── SECTIONS ── */
section { padding: 100px 0; }
section.alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px; font-family: var(--font-body);
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem; font-weight: 700; color: var(--primary); margin-bottom: 14px;
  line-height: 1.15;
}
.section-header p { font-size: 1.02rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-header .line {
  width: 60px; height: 3px; background: var(--accent); margin: 20px auto 0;
}

/* ── GRID ── */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── CARDS — Angular with LEFT gold border ── */
.card {
  background: var(--bg); padding: 36px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-dark);
}
.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px; color: var(--text-white);
}
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 10px;
}
.card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.75; }

/* ── SERVICE CARDS (homepage) ── */
.service-card {
  background: var(--bg); padding: 36px 32px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  transition: var(--transition); position: relative;
}
.service-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 40px; height: 40px;
  border-top: 2px solid rgba(200,169,81,0.15);
  border-right: 2px solid rgba(200,169,81,0.15);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.service-card:hover::before {
  border-color: var(--accent);
}
.service-card .sc-num {
  font-family: var(--font-heading); font-size: 2.2rem;
  font-weight: 700; color: rgba(200,169,81,0.2);
  line-height: 1; margin-bottom: 12px;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 10px;
}
.service-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.75; }

/* ── EXPERTISE GRID (technical interventions) ── */
.expertise-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.expertise-item {
  text-align: center; padding: 28px 16px;
  background: var(--bg); border: 1px solid var(--border);
  transition: var(--transition); position: relative;
}
.expertise-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transition: transform 0.4s ease;
}
.expertise-item:hover { border-color: var(--accent); }
.expertise-item:hover::after { transform: scaleX(1); }
.expertise-item .icon { font-size: 2rem; margin-bottom: 10px; }
.expertise-item h4 {
  font-size: 0.88rem; font-weight: 600; color: var(--primary);
  letter-spacing: 0.2px;
}

/* ── TWO COLUMN LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem; font-weight: 700; color: var(--primary);
  margin-bottom: 18px; line-height: 1.15;
}
.two-col p { color: var(--text-light); margin-bottom: 14px; line-height: 1.8; font-size: 0.95rem; }
.two-col ul { list-style: none; margin: 18px 0; }
.two-col ul li {
  padding: 7px 0 7px 28px; position: relative;
  color: var(--text-light); font-size: 0.92rem;
}
.two-col ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 12px; height: 2px; background: var(--accent);
}
.two-col-img {
  position: relative; overflow: hidden;
}
.two-col-img img {
  width: 100%; height: 400px; object-fit: cover;
}
.two-col-img::before {
  content: ''; position: absolute; top: -8px; left: -8px;
  width: 50px; height: 50px;
  border-top: 3px solid var(--accent); border-left: 3px solid var(--accent);
  z-index: 2;
}
.two-col-img::after {
  content: ''; position: absolute; bottom: -8px; right: -8px;
  width: 50px; height: 50px;
  border-bottom: 3px solid var(--accent); border-right: 3px solid var(--accent);
  z-index: 2;
}
.img-placeholder {
  background: linear-gradient(135deg, var(--bg-alt), #dde1ea);
  height: 380px; display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 0.88rem;
  border: 1px solid var(--border);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--text-white); padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(200,169,81,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(200,169,81,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem; margin-bottom: 14px; font-weight: 700;
}
.cta-banner p { font-size: 1.02rem; opacity: 0.85; margin-bottom: 32px; }

/* ── TRUST / LOGOS ── */
.trust-section { text-align: center; }
.trust-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 48px; align-items: center; margin-top: 40px;
}
.trust-logo {
  width: 120px; height: 60px;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--text-light);
  transition: var(--transition);
}
.trust-logo:hover { border-color: var(--accent); }

/* ── TIMELINE / PROCESS ── */
.timeline { position: relative; padding-left: 48px; }
.timeline::before {
  content: ''; position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--accent), rgba(200,169,81,0.2));
}
.timeline-item { position: relative; margin-bottom: 44px; }
.timeline-item::before {
  content: ''; position: absolute; left: -38px; top: 4px;
  width: 14px; height: 14px; background: var(--accent);
  border: 3px solid var(--bg);
}
.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 8px;
}
.timeline-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.75; }

/* ── SERVICE LIST (metiers page) ── */
.service-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.service-item:last-child { border-bottom: none; }
.service-num {
  min-width: 48px; height: 48px;
  background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
  font-family: var(--font-heading);
}
.service-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.service-item p { font-size: 0.88rem; color: var(--text-light); }

/* ── CONTACT ── */
.contact-section { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem; color: var(--primary); margin-bottom: 20px;
}
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px;
  background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 0.92rem; font-weight: 600; color: var(--primary); }
.contact-info-item p { font-size: 0.86rem; color: var(--text-light); }

.contact-form {
  background: var(--bg); padding: 40px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}
.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem; color: var(--primary); margin-bottom: 20px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.84rem; font-weight: 600;
  color: var(--primary); margin-bottom: 6px;
  letter-spacing: 0.3px; text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border);
  font-size: 0.9rem; font-family: var(--font-body);
  transition: var(--transition); background: var(--bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,169,81,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  background: rgba(200,169,81,0.1); border: 1px solid var(--accent);
  padding: 16px 20px; color: var(--primary); font-weight: 500;
  margin-bottom: 20px; display: none;
}
.form-success.show { display: block; }

/* ── FOOTER ── */
footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.6);
  padding: 70px 0 30px;
  border-top: 2px solid var(--accent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
footer h4 {
  color: var(--accent); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 18px; font-family: var(--font-body);
}
footer p { font-size: 0.86rem; line-height: 1.7; }
footer a { color: rgba(255,255,255,0.6); font-size: 0.86rem; }
footer a:hover { color: var(--accent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links li::before {
  content: '—'; margin-right: 8px; color: var(--accent); font-size: 0.8rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; font-size: 0.78rem; gap: 12px;
}
.footer-bottom a { margin-left: 20px; }

/* ── GEOMETRIC REVEAL ANIMATIONS ── */
.geo-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.geo-reveal.visible {
  opacity: 1; transform: translateY(0);
}
.geo-reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.geo-reveal-left.visible { opacity: 1; transform: translateX(0); }
.geo-reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.geo-reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── STATS COUNTER ── */
.stats-row {
  display: flex; justify-content: center; gap: 60px;
  padding: 60px 0; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem; font-weight: 700; color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem; color: var(--text-light);
  margin-top: 6px; letter-spacing: 0.5px; text-transform: uppercase;
}

/* ── DOMAINES PREVIEW CARDS ── */
.domaine-card {
  position: relative; overflow: hidden;
  background: var(--bg); border: 1px solid var(--border);
  padding: 0; transition: var(--transition);
}
.domaine-card-img {
  height: 200px; background-size: cover; background-position: center;
  position: relative;
}
.domaine-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,21,38,0.7), transparent);
}
.domaine-card-body { padding: 24px 28px; }
.domaine-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 8px;
}
.domaine-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.7; }
.domaine-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { gap: 40px; }
}
@media (max-width: 768px) {
  nav {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 2px solid var(--accent);
    padding: 16px;
  }
  nav.open { display: flex; }
  header.scrolled nav { background: var(--primary); }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 80vh; min-height: 500px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-inner h1 { font-size: 2rem; }
  .hero-corner { display: none; }
  section { padding: 60px 0; }
  .section-header h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { gap: 32px; }
  .stat-number { font-size: 2.2rem; }
  .topbar .container { flex-direction: column; text-align: center; gap: 4px; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .btn { padding: 12px 24px; font-size: 0.82rem; }
  .container { padding: 0 16px; }
}


/* ═══════════════════════════════════════════════════════
   NEW FEATURES — Cookie, WhatsApp, Back-to-top,
   Preloader, Testimonials, Devis, Availability,
   Process Timeline, FAQ, Breadcrumb, Partners, Counters
   ═══════════════════════════════════════════════════════ */

/* ── PAGE PRELOADER ── */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.preloader-spinner {
  width: 60px; height: 60px; position: relative;
}
.preloader-spinner::before,
.preloader-spinner::after {
  content: ''; position: absolute; inset: 0;
  border: 3px solid transparent;
  border-top-color: var(--accent);
}
.preloader-spinner::before {
  animation: preloaderSpin 1s linear infinite;
}
.preloader-spinner::after {
  inset: 8px;
  border-top-color: transparent;
  border-right-color: var(--accent-light);
  animation: preloaderSpin 0.6s linear infinite reverse;
}
@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

/* ── COOKIE CONSENT BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: var(--dark);
  border-top: 2px solid var(--accent);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  clip-path: polygon(0 8px, 20px 0, 100% 0, 100% 100%, 0 100%);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cookie-banner p {
  color: rgba(255,255,255,0.8); font-size: 0.86rem; line-height: 1.6;
  flex: 1; min-width: 280px;
}
.cookie-banner p a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--accent); color: var(--dark);
  padding: 10px 28px; font-weight: 600; font-size: 0.84rem;
  border: none; cursor: pointer; text-transform: uppercase;
  letter-spacing: 0.5px; font-family: var(--font-body);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: var(--transition);
}
.cookie-btn-accept:hover { background: var(--accent-light); }
.cookie-btn-refuse {
  background: transparent; color: rgba(255,255,255,0.6);
  padding: 10px 20px; font-size: 0.84rem;
  border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
  font-family: var(--font-body); transition: var(--transition);
}
.cookie-btn-refuse:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 9990;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: var(--transition);
  color: var(--accent); font-size: 1.5rem;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  background: var(--primary-light);
  color: var(--accent-light);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: var(--accent); }

/* ── BACK TO TOP BUTTON ── */
.back-to-top {
  position: fixed; bottom: 90px; right: 24px; z-index: 9990;
  width: 46px; height: 46px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.2rem;
  cursor: pointer; border: none;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ── AVAILABILITY BANNER ── */
.availability-banner {
  background: var(--accent);
  color: var(--dark);
  text-align: center;
  padding: 10px 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.availability-banner span {
  display: inline-flex; align-items: center; gap: 8px;
}

/* ── TESTIMONIALS SECTION ── */
.testimonials-section { background: var(--bg-alt); overflow: hidden; }
.testimonials-slider {
  position: relative; max-width: 900px; margin: 0 auto;
  overflow: hidden;
}
.testimonial-track {
  display: flex; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  min-width: 100%; padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; right: 32px;
  font-family: var(--font-heading); font-size: 5rem;
  color: rgba(200,169,81,0.12); line-height: 1;
}
.testimonial-text {
  font-size: 1rem; color: var(--text); line-height: 1.8;
  font-style: italic; margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
  width: 50px; height: 50px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700; font-size: 1.1rem;
  font-family: var(--font-heading);
}
.testimonial-name { font-weight: 600; color: var(--primary); font-size: 0.92rem; }
.testimonial-role { font-size: 0.82rem; color: var(--text-light); }
.testimonial-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 28px;
}
.testimonial-dot {
  width: 32px; height: 3px; background: var(--border);
  cursor: pointer; transition: var(--transition); border: none; padding: 0;
}
.testimonial-dot.active { background: var(--accent); width: 48px; }

/* ── DEVIS PAGE STYLES ── */
.devis-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 48px;
  align-items: start;
}
.devis-form {
  background: var(--bg); padding: 44px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
}
.devis-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem; color: var(--primary); margin-bottom: 8px;
}
.devis-form > p {
  color: var(--text-light); font-size: 0.9rem; margin-bottom: 28px;
}
.devis-form .form-section-title {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin: 28px 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border-gold);
}
.devis-form .form-section-title:first-of-type { margin-top: 0; }
.devis-sidebar {
  position: sticky; top: 120px;
}
.devis-engagements {
  background: var(--primary); color: var(--text-white);
  padding: 36px; position: relative;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.devis-engagements h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem; color: var(--accent); margin-bottom: 24px;
}
.devis-engagement-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 20px;
}
.devis-engagement-item:last-child { margin-bottom: 0; }
.devis-engagement-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(200,169,81,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 0.9rem;
}
.devis-engagement-item h4 {
  font-size: 0.9rem; font-weight: 600; color: var(--text-white);
  margin-bottom: 2px;
}
.devis-engagement-item p {
  font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.5;
}

/* ── FAQ ACCORDION ── */
.faq-section { background: var(--bg-alt); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--accent); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 0.94rem; color: var(--primary);
  background: none; border: none; width: 100%;
  text-align: left; font-family: var(--font-body);
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-toggle {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1rem;
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
  transition: var(--transition);
}
.faq-item.active .faq-toggle {
  background: var(--accent); color: var(--dark);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem; color: var(--text-light); line-height: 1.8;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.8rem; color: var(--text-light);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; color: var(--border); }

/* ── PARTNER LOGOS CAROUSEL ── */
.partners-carousel {
  overflow: hidden; position: relative;
}
.partners-track {
  display: flex; gap: 48px; align-items: center;
  animation: partnersScroll 20s linear infinite;
}
@keyframes partnersScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partners-track:hover { animation-play-state: paused; }

/* ── ANIMATED COUNTERS (enhanced) ── */
.stat-number.counting {
  color: var(--accent);
}

/* ── PROCESS TIMELINE ENHANCED ── */
.process-timeline { position: relative; padding: 0; }
.process-step {
  display: grid; grid-template-columns: 60px 1fr; gap: 28px;
  margin-bottom: 48px; position: relative;
}
.process-step:last-child { margin-bottom: 0; }
.process-step-num {
  width: 60px; height: 60px;
  background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem;
  position: relative; z-index: 2;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.process-step:not(:last-child) .process-step-num::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  width: 2px; height: calc(100% + 48px);
  background: linear-gradient(to bottom, var(--accent), rgba(200,169,81,0.15));
  transform: translateX(-50%);
}
.process-step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700; color: var(--primary);
  margin-bottom: 8px; margin-top: 4px;
}
.process-step-content p {
  font-size: 0.9rem; color: var(--text-light); line-height: 1.75;
}

/* ── LAZY LOAD IMAGES ── */
img[data-src] {
  opacity: 0; transition: opacity 0.5s ease;
}
img[data-src].loaded,
img.lazy-loaded {
  opacity: 1;
}

/* ── PAGE TRANSITION ── */
.page-transition {
  animation: pageFadeIn 0.4s ease;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 768px) {
  .devis-grid { grid-template-columns: 1fr; }
  .cookie-banner .container { flex-direction: column; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
  .whatsapp-btn { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
  .back-to-top { bottom: 76px; right: 16px; width: 40px; height: 40px; }
  .testimonial-card { padding: 28px 20px; }
  .process-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .process-step-num { width: 44px; height: 44px; font-size: 1rem; }
  .availability-banner { font-size: 0.72rem; padding: 8px 12px; }
}
