/* ==========================================================
   DÉCORATION17 — DARK MODE STYLE RÉSEAUX SOCIAUX
   Inspiré de Twitter X / Discord / Instagram dark
   ========================================================== */

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

:root {
  /* Palette Dark Social */
  --bg: #000000;                 /* Fond principal (comme X) */
  --bg-elevated: #16181c;        /* Surface élevée (cards) */
  --bg-hover: #1c1f23;           /* Hover des éléments */
  --bg-muted: #202327;           /* Surface grise douce */
  --border: #2f3336;             /* Bordures standard */
  --border-soft: #1d1f23;        /* Bordures très discrètes */

  --text: #e7e9ea;               /* Texte principal */
  --text-secondary: #71767b;     /* Texte secondaire */
  --text-muted: #536471;         /* Texte très discret */

  --accent: #1d9bf0;             /* Bleu accent (style Twitter) */
  --accent-hover: #1a8cd8;       /* Bleu hover */
  --accent-subtle: rgba(29, 155, 240, 0.1);

  --success: #00ba7c;            /* Vert (validation) */
  --warning: #ffd400;            /* Jaune (alerte) */
  --danger: #f4212e;             /* Rouge (erreur) */

  /* Typo */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: 'Inter', var(--font-sans);

  /* Layout */
  --max-width: 1280px;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.2s var(--ease);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  font-weight: 400;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== PROMO BANNER (sous le header) ===== */
.promo-banner {
  background: var(--accent);
  color: white;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
}
.promo-banner.hidden {
  display: none;
}
.promo-banner-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: promoScroll 30s linear infinite;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-left: 100%;
}
.promo-banner-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.promo-banner-track span::before {
  content: "✦";
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}
.promo-banner:hover .promo-banner-track {
  animation-play-state: paused;
}
@keyframes promoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.8; }
.logo svg { display: block; }
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.nav-links a:hover {
  background: var(--bg-hover);
  color: var(--text);
}
.nav-links a.active {
  color: var(--text);
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.burger {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-full);
}
.burger:hover { background: var(--bg-hover); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.9rem 1rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.mobile-menu a:hover { background: var(--bg-hover); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--text-secondary);
  color: var(--text);
}
.btn-large {
  padding: 1.05rem 2rem;
  font-size: 1rem;
}

/* ===== SECTIONS ===== */
section {
  padding: 4rem 0;
}
.section-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-intro h2 {
  margin-bottom: 0.8rem;
}
.section-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
}
.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--accent-subtle);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero h1 .accent-text {
  color: var(--accent);
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero visual — carte style card X */
.hero-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
  position: relative;
}
.hero-visual-img {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.9) 100%),
    linear-gradient(135deg, #1d9bf0 0%, #0a3854 50%, #000 100%);
}
.hero-visual-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 440'><defs><pattern id='tiles' x='0' y='0' width='50' height='35' patternUnits='userSpaceOnUse'><rect width='50' height='35' fill='%232a1f1a'/><path d='M0,17 Q25,7 50,17 M25,35 Q0,25 -25,35 M25,35 Q50,25 75,35' stroke='%23181210' stroke-width='2' fill='none'/></pattern></defs><rect y='0' width='400' height='180' fill='%230a0a0a'/><rect y='180' width='400' height='260' fill='url(%23tiles)'/></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}
.hero-visual-content {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
}
.hero-visual-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.hero-visual-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.hero-badge-circle {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  width: 90px;
  height: 90px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  border: 4px solid var(--bg);
  box-shadow: 0 10px 30px rgba(29, 155, 240, 0.3);
}
.hero-badge-circle strong {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}
.hero-badge-circle small {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* ===== PILIERS / QUICK STATS ===== */
.pillars {
  padding: 2rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillars-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pillar {
  padding: 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid var(--border-soft);
}
.pillar:last-child { border-right: none; }
.pillar-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.pillar-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
  color: var(--text);
}
.pillar-text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===== TEXTE / PRÉSENTATION ===== */
.intro-block {
  padding: 5rem 0;
}
.intro-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}
.intro-visual {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1d9bf0 0%, #0a3854 50%, #000 100%);
  position: relative;
  overflow: hidden;
}
.intro-visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.intro-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.intro-visual-since {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  z-index: 2;
}
.intro-visual-since small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.intro-visual-since strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.intro-content h2 {
  margin-bottom: 1.5rem;
}
.intro-content p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.intro-content p strong {
  color: var(--text);
  font-weight: 600;
}
.intro-content .values-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.intro-content .values-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}
.intro-content .values-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  font-size: 1rem;
}

/* ===== SERVICES GRID ===== */
.services {
  padding: 4rem 0;
  background: var(--bg);
}
.services-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.services-group {
  margin-bottom: 3rem;
}
.services-group-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.services-group-title h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}
.services-group-title .badge {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.service-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}
.service-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ===== RÉALISATIONS ===== */
.realisations {
  padding: 4rem 0;
  background: var(--bg);
}
.realisations-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.project-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.project-image {
  aspect-ratio: 4/3;
  position: relative;
  background: linear-gradient(135deg, #1a1f2e 0%, #0a0f1a 100%);
  overflow: hidden;
}
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 30%, rgba(29, 155, 240, 0.15) 0%, transparent 60%);
}
.project-image[data-pattern="facade"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'><rect width='400' height='300' fill='%231a1f2e'/><rect x='100' y='60' width='80' height='140' fill='%23000' stroke='%231d9bf0' stroke-width='1.5'/><rect x='220' y='60' width='80' height='140' fill='%23000' stroke='%231d9bf0' stroke-width='1.5'/><path d='M0 60 L200 20 L400 60' stroke='%231d9bf0' stroke-width='1' fill='none' opacity='0.5'/></svg>") center/cover;
}
.project-image[data-pattern="roof"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'><rect width='400' height='120' fill='%23000'/><polygon points='0,120 200,40 400,120' fill='%231a1f2e' stroke='%231d9bf0' stroke-width='1'/><rect y='120' width='400' height='180' fill='%230a0f1a'/></svg>") center/cover;
}
.project-image[data-pattern="interior"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'><rect width='400' height='300' fill='%231a1f2e'/><rect x='50' y='50' width='300' height='200' fill='%23000' stroke='%231d9bf0' stroke-width='1.5'/><circle cx='300' cy='80' r='15' fill='%231d9bf0' opacity='0.3'/></svg>") center/cover;
}
.project-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  z-index: 2;
  letter-spacing: 0.03em;
}
.project-info {
  padding: 1.25rem;
}
.project-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.project-meta::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.project-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.project-info p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===== OFFRE BANNER ===== */
.offer-banner {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.offer-banner::before {
  content: "20";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(12rem, 25vw, 25rem);
  font-weight: 900;
  color: var(--accent);
  opacity: 0.04;
  line-height: 1;
  letter-spacing: -0.1em;
  pointer-events: none;
  z-index: 0;
}
.offer-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.offer-inner h2 {
  margin: 1rem 0 1.2rem;
}
.offer-inner h2 .accent-text {
  color: var(--accent);
}
.offer-details {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.offer-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== GARANTIES ===== */
.guarantees {
  padding: 4rem 0;
}
.guarantees-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.guarantee-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.guarantee-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 1rem;
}
.guarantee-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.guarantee-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 5rem 0;
  text-align: center;
}
.final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.final-cta h2 {
  margin-bottom: 1rem;
}
.final-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.final-cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  color: var(--text-secondary);
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  max-width: 340px;
}
.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-badge {
  padding: 0.3rem 0.8rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 500;
}
.footer-col h5 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
}
.footer-col a:hover { color: var(--text); }
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text-secondary); }
.admin-link {
  font-size: 0.75rem;
  opacity: 0.5;
}
.admin-link:hover { opacity: 1; }

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover { color: var(--text); }
.page-header h1 {
  margin-bottom: 0.8rem;
}
.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 4rem 0;
}
.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 {
  margin-bottom: 1.2rem;
}
.contact-info > p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.contact-details-list {
  list-style: none;
}
.contact-details-list li {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.contact-details-list li:first-child {
  border-top: 1px solid var(--border-soft);
}
.contact-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  font-weight: 500;
}
.contact-value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}
.contact-value a {
  color: var(--text);
}
.contact-value a:hover {
  color: var(--accent);
}

/* ===== FORMULAIRE ===== */
.contact-form-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.contact-form-wrap > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231d9bf0' stroke-width='1.5' fill='none'/></svg>");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400 !important;
  color: var(--text-secondary);
  font-size: 0.88rem;
  cursor: pointer;
}
.form-checkbox-label input {
  width: auto !important;
  margin: 0;
  accent-color: var(--accent);
}
.form-hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  text-align: center;
}
.contact-form-wrap .btn {
  width: 100%;
  margin-top: 0.5rem;
}
.success-message {
  display: none;
  padding: 1.5rem;
  background: rgba(0, 186, 124, 0.1);
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 1rem;
}
.success-message.visible { display: block; }
.success-message h4 {
  color: var(--success);
  margin-bottom: 0.5rem;
}

/* ===== SKELETON ===== */
.project-skeleton {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.project-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(29, 155, 240, 0.05), transparent);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* ===== FADE IN ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 450px; margin: 0 auto; order: -1; aspect-ratio: 1.3/1; }
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-visual { max-width: 400px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid, .realisations-grid, .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .pillar:nth-last-child(-n+2) { border-bottom: none; }
  .pillar:nth-child(odd) { border-right: 1px solid var(--border-soft); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  section { padding: 3rem 0; }
  .hero { padding: 2rem 0 3rem; }
  .container { padding: 0 1rem; }

  .nav-links { display: none; }
  .burger { display: flex; }

  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .stat-value { font-size: 1.6rem; }

  .services-grid, .realisations-grid, .guarantees-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none !important; border-bottom: 1px solid var(--border-soft); }
  .pillar:last-child { border-bottom: none; }
  .intro-content .values-list { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  .form-group-row { grid-template-columns: 1fr; gap: 0; }
  .form-group-row .form-group { margin-bottom: 1rem; }

  .hero-badge-circle { width: 75px; height: 75px; top: 1rem; right: 1rem; }
  .hero-badge-circle strong { font-size: 1.2rem; }
  .hero-badge-circle small { font-size: 0.55rem; }
}

/* ===== PHOTOS GÉRÉES DEPUIS L'ADMIN ===== */
.project-image.has-photo::before,
.project-image.has-photo::after { display: none; }
.project-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.project-card.has-photos:hover .project-photo { transform: scale(1.04); }
.project-card.has-photos:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.project-count {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}
.hero-visual-img.has-photo { background: #000; }
.hero-visual-img.has-photo::after { display: none; }
.hero-visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual-img.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.85) 100%);
}

/* ===== VISIONNEUSE PHOTOS ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4rem;
}
.lightbox.open { display: flex; }
.lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lb-caption {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}
.lightbox button {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox button:hover { background: var(--bg-hover); }
.lb-close { top: 1rem; right: 1rem; font-size: 1.1rem !important; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lightbox { padding: 3.5rem 0.5rem 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}
