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

/* ============================================================
   DESIGN TOKENS – Palette BTP 2026
   ============================================================ */
:root {
  /* Couleurs principales */
  --primary:        #0ea5e9;
  --primary-dark:   #0284c7;
  --primary-light:  #38bdf8;
  --accent:         #f59e0b;
  --accent-dark:    #d97706;

  /* Fonds sombres (acier / béton) */
  --dark:           #0b1120;
  --dark-secondary: #111827;
  --dark-card:      #1a2438;
  --steel:          #334155;
  --concrete:       #475569;

  /* Fonds clairs */
  --light-bg:       #f1f5f9;
  --light-card:     #f8fafc;
  --white:          #ffffff;

  /* Texte */
  --text-dark:      #0f172a;
  --text-mid:       #334155;
  --text-light:     #64748b;

  /* Bordures */
  --border:         #e2e8f0;
  --border-dark:    rgba(255,255,255,0.08);

  /* Statuts */
  --success:        #10b981;
  --warning:        #f59e0b;
  --error:          #ef4444;

  /* Gradients */
  --g-primary:  linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  --g-accent:   linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --g-dark:     linear-gradient(160deg, #0b1120 0%, #1a2438 100%);
  --g-steel:    linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --g-glow:     radial-gradient(circle at 50% 0%, rgba(14,165,233,0.18) 0%, transparent 65%);

  /* Ombres */
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.08);
  --shadow-md:  0 4px 16px rgba(15,23,42,0.10);
  --shadow-lg:  0 12px 40px rgba(14,165,233,0.14);
  --shadow-xl:  0 25px 70px rgba(0,0,0,0.22);
  --shadow-glow:0 0 32px rgba(14,165,233,0.28);

  /* Rayons */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full:999px;

  /* Transitions */
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.2s var(--ease);
  --t-base: 0.3s var(--ease);
  --t-slow: 0.5s var(--ease);

  /* Typographie */
  --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ============================================================
   TYPOGRAPHIE & BODY
   ============================================================ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.65;
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a  { color: inherit; }
address { font-style: normal; }

/* Gradient text utilitaire */
.gradient-text {
  background: var(--g-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SECTION BADGE
   ============================================================ */
.section-badge {
  display: inline-block;
  background: rgba(14,165,233,0.10);
  color: var(--primary);
  border: 1px solid rgba(14,165,233,0.22);
  padding: 0.35rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-badge--light {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section-title p {
  font-size: 1.15rem;
  color: var(--text-light);
  font-weight: 400;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 5%;
  transition: padding var(--t-base), box-shadow var(--t-base);
}
#header.header--scrolled {
  padding: 0.5rem 5%;
  box-shadow: 0 4px 24px rgba(15,23,42,0.10);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--t-base);
}
.logo:hover { transform: translateY(-2px); }

.logo-image {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(14,165,233,0.28));
}
.logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  background: var(--g-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

/* Nav desktop */
#mainNav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
#mainNav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 0.45rem 0;
  transition: color var(--t-fast);
}
#mainNav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g-primary);
  border-radius: var(--r-full);
  transition: width var(--t-base);
}
#mainNav a:hover { color: var(--primary); }
#mainNav a:hover::after { width: 100%; }

/* Nav CTA bouton dans la nav */
.nav-cta {
  margin-left: 0.5rem;
}
.nav-cta::after { display: none !important; }

/* Burger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--light-bg); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: var(--r-full);
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BOUTONS
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--g-primary);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: 0 4px 14px rgba(14,165,233,0.28);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease);
}
.cta-button:hover::before { transform: translateX(100%); }
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(14,165,233,0.38);
}
.cta-button:active { transform: translateY(-1px); }

.cta-button--large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--r-lg);
  margin-top: 2rem;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.10);
  border: 2px solid rgba(255,255,255,0.45);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--t-base);
  backdrop-filter: blur(10px);
}
.secondary-button:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: 72px;
  background: var(--g-dark);
  color: var(--white);
  padding: 6rem 5% 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
}

/* Lignes de grille déco (style blueprint BTP) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14,165,233,0.14), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.1); opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.30);
  color: var(--primary-light);
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease both;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-buttons .cta-button {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* Visual côté droit */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease 0.45s both;
}
.hero-blob {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(14,165,233,0.18), rgba(59,130,246,0.08), transparent);
  border-radius: 50%;
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.hero-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: 340px;
}
.hero-icon-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 2.8rem;
  text-align: center;
  transition: all var(--t-base);
  cursor: default;
}
.hero-icon-card span {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-icon-card:hover {
  background: rgba(14,165,233,0.14);
  border-color: rgba(14,165,233,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--white);
  padding: 5rem 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}
.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.stats::after {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--light-card);
  border: 1px solid var(--border);
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.stat:hover::before { transform: scaleX(1); }
.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 900;
  background: var(--g-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 7rem 5%;
  background: var(--light-bg);
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--g-primary);
  transition: height 0.45s var(--ease);
  border-radius: 0 0 4px 0;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g-primary);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
  border-radius: inherit;
}
.service-card:hover::before { height: 100%; }
.service-card:hover::after  { opacity: 0.02; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14,165,233,0.20);
}

/* Service CTA card variante */
.service-card--cta {
  background: var(--g-dark);
  border-color: rgba(14,165,233,0.18);
  color: var(--white);
}
.service-card--cta::before { background: var(--g-accent); }
.service-card--cta h3, .service-card--cta p { color: rgba(255,255,255,0.92); }

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--g-primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 18px rgba(14,165,233,0.28);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 10px 28px rgba(14,165,233,0.38);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.service-card > p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.service-list {
  list-style: none;
  padding: 1rem 0 0;
}
.service-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
  font-size: 1rem;
}

/* ============================================================
   CALCULATEUR DE DEVIS
   ============================================================ */
.quote-calculator {
  padding: 7rem 5%;
  background: var(--g-dark);
  position: relative;
  overflow: hidden;
}
.quote-calculator::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.quote-calculator .section-title h2 { color: var(--white); }

.calculator-container {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  padding: 3.5rem;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}
.calculator-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.form-group label span[aria-hidden] { color: var(--error); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.97rem;
  color: var(--text-dark);
  font-family: var(--font-sans);
  background: var(--light-card);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.10);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.input--error {
  border-color: var(--error) !important;
  background: rgba(239,68,68,0.04) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.10) !important;
}
.form-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: var(--error);
  padding: 0.875rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Résultat devis */
.estimate-result {
  background: var(--g-primary);
  padding: 2.5rem;
  border-radius: var(--r-lg);
  color: var(--white);
  text-align: center;
  margin: 1.5rem 0;
  box-shadow: 0 12px 36px rgba(14,165,233,0.32);
  animation: fadeInUp 0.5s var(--ease) both;
}
.estimate-result[hidden] { display: none; }
.estimate-result h3 {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.estimate-amount {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.estimate-note {
  font-size: 0.85rem;
  opacity: 0.85;
  font-style: italic;
}

/* Bouton calculer */
.calculate-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: var(--g-primary);
  color: var(--white);
  padding: 1.125rem 2rem;
  border: none;
  border-radius: var(--r-md);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: 0 4px 16px rgba(14,165,233,0.30);
  letter-spacing: 0.01em;
}
.calculate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(14,165,233,0.42);
}
.calculate-btn:active { transform: translateY(-1px); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio {
  padding: 7rem 5%;
  background: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.portfolio-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
}
.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 56px rgba(14,165,233,0.16);
  border-color: rgba(14,165,233,0.18);
}
.portfolio-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.portfolio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.25));
}
.portfolio-content { padding: 2rem; }
.portfolio-type {
  display: inline-block;
  background: rgba(14,165,233,0.10);
  color: var(--primary);
  border: 1px solid rgba(14,165,233,0.18);
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}
.portfolio-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.portfolio-description {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.portfolio-stats {
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-weight: 500;
}

/* ============================================================
   À PROPOS
   ============================================================ */
.about {
  padding: 7rem 5%;
  background: var(--light-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-content .section-badge { text-align: left; }
.about-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.about-content > p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.about-address {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.about-address svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.about-badge {
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.18);
  color: var(--primary-dark);
  padding: 0.35rem 0.875rem;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Visuel droite */
.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.about-image {
  width: 100%;
  aspect-ratio: 1;
  max-width: 360px;
  background: var(--g-primary);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: 0 24px 64px rgba(14,165,233,0.28);
  position: relative;
  overflow: hidden;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.about-stat-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  max-width: 360px;
}
.about-stat-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 0.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.about-stat-card strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--g-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.about-stat-card span {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   ÉQUIPE
   ============================================================ */
.team {
  padding: 7rem 5%;
  background: var(--white);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.team-member {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
}
.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14,165,233,0.18);
}
.team-avatar {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.team-avatar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.20), transparent);
}
.team-info { padding: 2rem; }
.team-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.team-role {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.875rem;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.team-experience {
  display: inline-block;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.18);
  color: var(--primary-dark);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials {
  padding: 7rem 5%;
  background: var(--light-bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--r-xl);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(14,165,233,0.06);
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, serif;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  display: block;
}
.testimonial-text {
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 2rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--g-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(14,165,233,0.28);
}
.testimonial-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}
.testimonial-info p {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 7rem 5%;
  background: var(--g-dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.contact-section .section-title h2 { color: var(--white); }

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
  z-index: 1;
}
.contact-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 2.5rem 2rem;
  border-radius: var(--r-xl);
  backdrop-filter: blur(16px);
  transition: all var(--t-base);
}
.contact-item:hover {
  background: rgba(14,165,233,0.10);
  border-color: rgba(14,165,233,0.30);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.22);
}
.contact-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
}
.contact-item h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}
.contact-item address,
.contact-item p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}
.contact-section .cta-button--large {
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #060d1a;
  color: var(--white);
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-content { max-width: 600px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  font-weight: 900;
  background: var(--g-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
footer p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-address {
  margin-top: 0.5rem;
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.40) !important;
}
.footer-sub {
  margin-top: 0.75rem;
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.35) !important;
}
.footer-sub a:hover { color: var(--primary-light); }

/* ============================================================
   RESPONSIVE – TABLETTE (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 5rem 5% 4rem;
    text-align: center;
  }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }

  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual { order: -1; }
  .about-image { max-width: 280px; aspect-ratio: 1; }
}

/* ============================================================
   RESPONSIVE – MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Header mobile */
  #header { padding: 0.875rem 4%; }
  .nav-toggle { display: flex; }

  #mainNav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 5% 2rem;
    gap: 0.25rem;
    z-index: 999;
    box-shadow: 0 12px 40px rgba(15,23,42,0.12);
  }
  #mainNav.nav--open { display: flex; }
  #mainNav a {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--r-md);
    font-size: 1rem;
  }
  #mainNav a:hover { background: var(--light-bg); }
  #mainNav a::after { display: none; }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  /* Sections */
  .hero { margin-top: 64px; padding: 4rem 4% 3.5rem; }
  .stats { padding: 3.5rem 4%; }
  .services,
  .portfolio,
  .about,
  .team,
  .testimonials,
  .contact-section { padding: 5rem 4%; }
  .quote-calculator { padding: 5rem 4%; }

  /* Grilles → 1 colonne */
  .services-grid,
  .portfolio-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr; max-width: 420px; }

  .section-title { margin-bottom: 2.5rem; }
  .section-title h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  .calculator-container { padding: 2rem 1.5rem; }
  .calculator-form { grid-template-columns: 1fr; gap: 1.25rem; }

  .estimate-amount { font-size: 2.5rem; }
  .cta-button--large { padding: 0.875rem 2rem; font-size: 0.97rem; }

  .contact-info { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ============================================================
   RESPONSIVE – PETIT MOBILE (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .cta-button,
  .hero-buttons .secondary-button { justify-content: center; }
  .about-stat-cards { flex-direction: column; }
  .stat-number { font-size: 2.2rem; }
}

/* ============================================================
   UTILITAIRES D'ACCESSIBILITÉ
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* ============================================================
   BLOC CSS – NOUVEAUX COMPOSANTS OPC & EXTENSIONS
   À ajouter à la fin de style.css
   ============================================================ */

/* ============================================================
   HERO ICON CARD – VARIANTE OPC FEATURED
   ============================================================ */
.hero-icon-card--featured {
  background: linear-gradient(135deg, rgba(14,165,233,0.28), rgba(59,130,246,0.20));
  border-color: rgba(14,165,233,0.55);
  box-shadow: 0 0 28px rgba(14,165,233,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.hero-icon-card--featured::after {
  content: '★';
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  font-size: 0.7rem;
  color: var(--accent);
  line-height: 1;
}
.hero-icon-card--featured span {
  color: var(--primary-light);
  font-weight: 900;
}
.hero-icon-card--featured:hover {
  box-shadow: 0 0 40px rgba(14,165,233,0.38), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ============================================================
   SECTION OPC – SECTION PHARE
   ============================================================ */
.opc-section {
  position: relative;
  background: var(--g-dark);
  color: var(--white);
  padding: 8rem 5%;
  overflow: hidden;
}

/* Grille blueprint en fond */
.opc-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Halo lumineux centré */
.opc-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.opc-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- En-tête OPC ---- */
.opc-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.opc-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 1rem 0 1.5rem;
}
.opc-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}
.opc-subtitle strong { color: var(--primary-light); }

/* ---- Grille principale 2 colonnes ---- */
.opc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: start;
}

/* ---- Colonne explainer (gauche) ---- */
.opc-explainer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 3rem;
  backdrop-filter: blur(12px);
  transition: border-color var(--t-base), background var(--t-base);
}
.opc-explainer:hover {
  background: rgba(14,165,233,0.06);
  border-color: rgba(14,165,233,0.22);
}
.opc-explainer-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 0 18px rgba(14,165,233,0.45));
  animation: floatIcon 4s ease-in-out infinite;
}
@keyframes floatIcon {
  0%,100% { transform: translateY(0);    }
  50%      { transform: translateY(-8px); }
}
.opc-explainer h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.opc-explainer p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.opc-explainer p strong { color: var(--primary-light); }

/* Différenciateurs */
.opc-differentiators {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}
.opc-diff-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  transition: all var(--t-fast);
}
.opc-diff-item:hover {
  background: rgba(14,165,233,0.14);
  border-color: rgba(14,165,233,0.30);
  transform: translateX(4px);
}
.opc-diff-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.opc-diff-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.opc-diff-item strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
}
.opc-diff-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.4;
}

/* ---- Colonne prestations (droite) ---- */
.opc-prestations {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 3rem;
  backdrop-filter: blur(12px);
}
.opc-prestations h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.opc-prestation-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.opc-prestation-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all var(--t-fast);
  cursor: default;
}
.opc-prestation-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.opc-prestation-item:hover {
  padding-left: 0.5rem;
}
.opc-prestation-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--g-primary);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(14,165,233,0.32);
  letter-spacing: 0.02em;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.opc-prestation-item:hover .opc-prestation-num {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(14,165,233,0.45);
}
.opc-prestation-body { flex: 1; }
.opc-prestation-body h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.005em;
}
.opc-prestation-body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

/* ---- Bandeau statistiques OPC ---- */
.opc-stats-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.22);
  border-radius: var(--r-xl);
  padding: 2.5rem 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.opc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 3rem;
  gap: 0.5rem;
  flex: 1;
  min-width: 160px;
}
.opc-stat-num {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  background: var(--g-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
}
.opc-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.70);
  font-weight: 600;
  max-width: 140px;
  line-height: 1.4;
}
.opc-stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ---- CTA row OPC ---- */
.opc-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Bouton secondary sombre (sur fond dark) */
.secondary-button--dark {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.90);
  padding: 0.875rem 2rem;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--t-base);
  cursor: pointer;
}
.secondary-button--dark:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.40);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}

/* ============================================================
   SERVICE CARD – VARIANTE OPC (carte premium dans la grille)
   ============================================================ */
.service-card--opc {
  background: var(--g-dark);
  border-color: rgba(14,165,233,0.30);
  color: var(--white);
  grid-column: span 1;
  position: relative;
  overflow: hidden;
}

/* Halo de brillance en coin */
.service-card--opc::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(14,165,233,0.20), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  transition: opacity var(--t-base);
}
.service-card--opc:hover::after {
  opacity: 1.5;
}
.service-card--opc::before {
  background: var(--g-accent) !important;
}
.service-card--opc h3 {
  color: var(--white);
}
.service-card--opc > p {
  color: rgba(255,255,255,0.75);
}
.service-card--opc .service-list li {
  color: rgba(255,255,255,0.72);
  border-bottom-color: rgba(255,255,255,0.08);
}
.service-card--opc .service-list li::before {
  color: var(--primary-light);
}
.service-card--opc:hover {
  border-color: rgba(14,165,233,0.55);
  box-shadow: 0 24px 56px rgba(14,165,233,0.22);
}

/* Badge "Service Phare" sur la carte */
.service-card-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--g-accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(245,158,11,0.30);
}

/* ============================================================
   PORTFOLIO CARD – VARIANTE FEATURED (mission OPC)
   ============================================================ */
.portfolio-card--featured {
  border: 2px solid rgba(14,165,233,0.30);
  position: relative;
}
.portfolio-card--featured::before {
  content: '⭐ Mission OPC';
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--g-accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(245,158,11,0.28);
}
.portfolio-card--featured:hover {
  border-color: rgba(14,165,233,0.50);
  box-shadow: 0 28px 60px rgba(14,165,233,0.22);
}

/* Badge type portfolio OPC */
.portfolio-type--opc {
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(59,130,246,0.15));
  color: var(--primary);
  border-color: rgba(14,165,233,0.28);
  font-weight: 900;
}

/* ============================================================
   TESTIMONIAL CARD – VARIANTE FEATURED (OPC)
   ============================================================ */
.testimonial-card--featured {
  border-top-color: var(--accent);
  background: linear-gradient(160deg, #fff 0%, #f0f9ff 100%);
  box-shadow: 0 4px 20px rgba(14,165,233,0.10);
  position: relative;
}
.testimonial-card--featured::after {
  content: '⭐ OPC';
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: var(--g-accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-full);
  box-shadow: 0 3px 10px rgba(245,158,11,0.28);
}
.testimonial-card--featured:hover {
  box-shadow: 0 20px 48px rgba(14,165,233,0.16);
}

/* ============================================================
   NAV LINK ACTIVE (ActiveNavModule)
   ============================================================ */
#mainNav a.nav-link--active {
  color: var(--primary);
  font-weight: 700;
}
#mainNav a.nav-link--active::after {
  width: 100%;
}

/* ============================================================
   SECTION BADGE – VARIANTE ACCENT (dorée)
   ============================================================ */
.section-badge--accent {
  background: rgba(245,158,11,0.12);
  color: var(--accent-dark);
  border-color: rgba(245,158,11,0.28);
}

/* ============================================================
   RESPONSIVE OPC – TABLETTE (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .opc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .opc-stats-band {
    gap: 1rem;
    padding: 2rem 1.5rem;
  }
  .opc-stat {
    padding: 0 1.5rem;
    min-width: 130px;
  }
  .opc-stat-divider {
    height: 40px;
  }
}

/* ============================================================
   RESPONSIVE OPC – MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .opc-section {
    padding: 5rem 4%;
  }
  .opc-header {
    margin-bottom: 3rem;
  }
  .opc-explainer,
  .opc-prestations {
    padding: 2rem 1.5rem;
  }
  .opc-stats-band {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
  }
  .opc-stat {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .opc-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .opc-stat-divider {
    display: none;
  }
  .opc-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .opc-cta-row .cta-button,
  .opc-cta-row .secondary-button--dark {
    justify-content: center;
    text-align: center;
  }
  .opc-diff-item:hover {
    transform: none; /* Désactiver sur mobile */
  }
  .opc-prestation-item:hover {
    padding-left: 0;
  }

  /* Grille services : OPC card pleine largeur sur mobile */
  .service-card--opc {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE OPC – PETIT MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .opc-header h2 {
    font-size: 1.9rem;
  }
  .opc-subtitle {
    font-size: 1rem;
  }
  .opc-stat-num {
    font-size: 2rem;
  }
  .opc-prestation-num {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }
  .opc-differentiators {
    gap: 0.75rem;
  }
  .portfolio-card--featured::before {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ============================================================
   ANIMATION ENTRÉE OPC (scroll reveal)
   ============================================================ */
.opc-prestation-item,
.opc-diff-item,
.opc-stat {
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    background var(--t-base),
    border-color var(--t-base),
    padding var(--t-fast);
}

/* ============================================================
   PARALLAX HERO – Support variable CSS
   ============================================================ */
.hero::before {
  transform: translateY(var(--hero-parallax, 0));
  will-change: transform;
}

/* ============================================================
   PRINT – Masquer les éléments décoratifs
   ============================================================ */
@media print {
  .opc-bg-pattern,
  .hero-blob,
  .opc-section::before,
  .hero::before,
  .hero::after,
  .nav-toggle,
  #mainNav .cta-button {
    display: none !important;
  }
  .opc-section,
  .hero,
  .quote-calculator,
  .contact-section {
    background: var(--white) !important;
    color: var(--text-dark) !important;
  }
  .opc-header h2,
  .opc-explainer h3,
  .opc-prestations h3,
  .opc-prestation-body h4 {
    color: var(--text-dark) !important;
  }
  .opc-explainer p,
  .opc-prestation-body p,
  .opc-stat-label {
    color: var(--text-light) !important;
  }
}
/* ============================================================
   TIMELINE ABOUT
============================================================ */
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2rem 0 2rem;
  position: relative;
  padding-left: 1rem;
}

/* Ligne verticale connectrice */
.about-timeline::before {
  content: '';
  position: absolute;
  left: 2.25rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--primary),
    rgba(14,165,233,0.20)
  );
}

.about-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 0;
  position: relative;
  transition: all var(--t-fast);
}

.about-timeline-year {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 2px solid rgba(14,165,233,0.30);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.02em;
  box-shadow: 0 2px 10px rgba(14,165,233,0.12);
  z-index: 1;
  transition: all var(--t-fast);
}

.about-timeline-item:hover .about-timeline-year {
  background: var(--g-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(14,165,233,0.30);
  transform: scale(1.06);
}

/* Item courant (BET SG BÂTIMENT) */
.about-timeline-item--current .about-timeline-year {
  background: var(--g-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(14,165,233,0.35);
}

.about-timeline-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.6rem;
}

.about-timeline-body strong {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.005em;
}

.about-timeline-body span {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .about-timeline::before {
    left: 1.75rem;
  }
  .about-timeline-year {
    width: 40px;
    height: 40px;
    font-size: 0.68rem;
  }
}
/* ============================================================
   PORTFOLIO – ÉTAT COMING SOON
============================================================ */
.portfolio-coming-soon {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background: var(--white);
  border: 2px dashed rgba(14,165,233,0.25);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 32px rgba(14,165,233,0.06);
}

/* Icône centrale animée */
.portfolio-coming-icon {
  font-size: 4.5rem;
  animation: floatIcon 4s ease-in-out infinite;
  filter: drop-shadow(0 6px 18px rgba(14,165,233,0.20));
}

/* Texte central */
.portfolio-coming-content h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 1rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.portfolio-coming-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 520px;
}

/* Pastilles de domaines */
.portfolio-coming-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}
.portfolio-coming-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14,165,233,0.07);
  border: 1px solid rgba(14,165,233,0.18);
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
}
.portfolio-coming-step:hover {
  background: rgba(14,165,233,0.14);
  border-color: rgba(14,165,233,0.35);
  transform: translateY(-2px);
}
.portfolio-coming-step-icon {
  font-size: 1rem;
}

/* Texte au-dessus du CTA */
.portfolio-coming-cta-text {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .portfolio-coming-soon {
    padding: 3rem 1.5rem;
  }
  .portfolio-coming-icon {
    font-size: 3.5rem;
  }
  .portfolio-coming-content h3 {
    font-size: 1.35rem;
  }
  .portfolio-coming-steps {
    gap: 0.5rem;
  }
  .portfolio-coming-step {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }
}
/* ============================================================
   TÉMOIGNAGES – ÉTAT COMING SOON
============================================================ */
.testimonials-coming-soon {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background: var(--white);
  border: 2px dashed rgba(14,165,233,0.25);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 32px rgba(14,165,233,0.06);
}

/* Icône animée */
.testimonials-coming-icon {
  font-size: 4rem;
  animation: floatIcon 4s ease-in-out infinite;
  filter: drop-shadow(0 6px 18px rgba(14,165,233,0.18));
}

/* Texte central */
.testimonials-coming-content h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 1rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.testimonials-coming-content p {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

/* Encart invitation à témoigner */
.testimonials-coming-invite {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(14,165,233,0.06);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: var(--r-lg);
  padding: 1.5rem 2rem;
  text-align: left;
  width: 100%;
  flex-wrap: wrap;
}
.testimonials-coming-invite-icon {
  font-size: 2.25rem;
  flex-shrink: 0;
}
.testimonials-coming-invite-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 180px;
}
.testimonials-coming-invite-text strong {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--text-dark);
}
.testimonials-coming-invite-text span {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}
.testimonials-coming-invite .secondary-button {
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .testimonials-coming-soon {
    padding: 3rem 1.25rem;
  }
  .testimonials-coming-icon {
    font-size: 3rem;
  }
  .testimonials-coming-content h3 {
    font-size: 1.3rem;
  }
  .testimonials-coming-invite {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1.25rem;
  }
  .testimonials-coming-invite-text {
    align-items: center;
  }
  .testimonials-coming-invite .secondary-button {
    width: 100%;
    justify-content: center;
  }
}
/* ============================================================
   TEAM – TAGS DE COMPÉTENCES
============================================================ */
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
}

.team-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(14,165,233,0.07);
  border: 1px solid rgba(14,165,233,0.18);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
}

.team-tag:hover {
  background: rgba(14,165,233,0.14);
  border-color: rgba(14,165,233,0.32);
  transform: translateY(-1px);
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .team-tags {
    gap: 0.4rem;
  }
  .team-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
  }
}
