/* ========================================
   TLTP - Travaux Publics
   Palette basée sur #192540
   ======================================== */

:root {
  --primary: #192540;
  --primary-light: #1E3A5F;
  --primary-lighter: #2A4F7A;
  --secondary: #E8651A;
  --secondary-light: #F07A35;
  --secondary-dark: #C8550F;
  --accent: #2E6BC6;
  --bg-light: #F5F7FA;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-body: #444444;
  --text-light: #6B7280;
  --border: #E2E8F0;
  --shadow: 0 4px 20px rgba(25, 37, 64, 0.08);
  --shadow-lg: 0 10px 40px rgba(25, 37, 64, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ========================================
   SCROLL OFFSET (sticky header compensation)
   ======================================== */
[id] {
  scroll-margin-top: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; }

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.btn-primary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 101, 26, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border);
  font-weight: 500;
}

.btn-outline:hover {
  border-color: var(--text-light);
  color: var(--text-dark);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar a:hover {
  color: var(--secondary-light);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
}

/* ========================================
   HEADER / NAV
   ======================================== */
.header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 140px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all var(--transition);
}

/* ========================================
   HERO — Animated Blocks (21st.dev style)
   ======================================== */
@keyframes heroReveal {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 0%, var(--primary) 75%);
  opacity: 0.88;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.68;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-bg::after {
  display: none; /* remplacé par .hero::before */
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 101, 26, 0.12);
  border: 1px solid rgba(232, 101, 26, 0.25);
  color: var(--secondary-light);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero h1 {
  color: #fff;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.3rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.2rem;
  line-height: 1.75;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
}

.stat-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
}


/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--secondary);
  color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-img-badge .badge-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-img-badge .badge-text {
  font-size: 0.8rem;
  font-weight: 500;
}

.about-content h2 {
  margin-bottom: 1.2rem;
}

.about-content .section-label {
  text-align: left;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(232, 101, 26, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.about-feature span {
  font-weight: 500;
  color: var(--text-dark);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(232, 101, 26, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 0.8rem;
}

/* ========================================
   ZONE / MAP SECTION
   ======================================== */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.zone-content h2 {
  margin-bottom: 1rem;
}

.zone-list {
  margin: 1.5rem 0 2rem;
}

.zone-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-weight: 500;
  color: var(--text-dark);
}

.zone-list li svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.zone-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.zone-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(232, 101, 26, 0.1);
  border-radius: 50%;
}

.cta .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(25, 37, 64, 0);
  transition: background var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  background: rgba(25, 37, 64, 0.3);
}

.gallery-item-wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

/* ========================================
   FEATURES / WHY US
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, rgba(232, 101, 26, 0.1), rgba(232, 101, 26, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--secondary);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 101, 26, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-form {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--bg-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.8;
}

.footer-brand .logo img {
  height: 45px;
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--secondary-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  color: var(--secondary-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--secondary-light);
}

.footer-credit {
  width: 100%;
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
  background: var(--bg-light);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb li::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--text-light);
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: var(--secondary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ========================================
   PAGE HERO (secondary pages)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(232, 101, 26, 0.08);
  border-radius: 50%;
}

.page-hero h1 {
  color: #fff;
  position: relative;
  z-index: 2;
}

.page-hero p {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* ========================================
   SERVICE DETAIL
   ======================================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: var(--text-body);
  margin-bottom: 1rem;
}

.service-detail-list {
  margin: 1.5rem 0;
}

.service-detail-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  color: var(--text-dark);
}

.service-detail-list li svg {
  color: var(--secondary);
  flex-shrink: 0;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-section-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.value-card h3 {
  margin-bottom: 0.6rem;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-page-grid > * {
  min-width: 0;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}

.contact-page-map {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}

.contact-page-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal */
.reveal-pending {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-pending.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .zone-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-cta .btn {
    display: none;
  }

  .nav-phone .phone-text {
    display: none;
  }

  .nav-phone {
    width: 44px;
    height: 44px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 0;
    gap: 0;
  }

  .nav-phone svg {
    stroke: #fff;
  }

  .hero {
    min-height: auto;
    padding: 1.5rem 0;
  }


  .hero h1 {
    font-size: 2.2rem;
  }

  .stat-card {
    padding: 1rem;
    text-align: left;
    gap: 0.8rem;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item-wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }

  .section {
    padding: 2.5rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-grid {
    gap: 1.5rem;
  }

  .contact-sidebar {
    gap: 1rem;
  }

  .contact-card {
    padding: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-img-badge {
    bottom: -10px;
    left: 10px;
  }
}

/* ========================================
   PROCESS STEPS
   ======================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: steps;
}

.process-step {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  counter-increment: steps;
}

.process-step::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: -14px;
  left: 1.5rem;
  background: var(--secondary);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.process-step:hover {
  box-shadow: var(--shadow);
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: var(--bg-white);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-question:hover,
.faq-item.open .faq-question {
  color: var(--secondary);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--secondary);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--bg-light);
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 1.2rem 1.5rem;
}

.faq-answer-inner p {
  color: var(--text-body);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   INFO / HIGHLIGHT BOXES
   ======================================== */
.info-box {
  background: rgba(46, 107, 198, 0.06);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}

.info-box p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.highlight-box {
  background: rgba(232, 101, 26, 0.06);
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}

.highlight-box p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   INLINE CTA BOX
   ======================================== */
.cta-inline {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.cta-inline-text {
  flex: 1;
}

.cta-inline-text strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.cta-inline-text p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* ========================================
   COMPARISON GRID (revêtements, filières)
   ======================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.comparison-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--bg-white);
  transition: all var(--transition);
}

.comparison-card.recommended {
  border-color: var(--secondary);
  box-shadow: 0 4px 20px rgba(232, 101, 26, 0.12);
}

.comparison-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.badge-recommended {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.comparison-card ul li {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  line-height: 1.5;
}

.comparison-card ul li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================================
   ZONE LIST (secteurs d'intervention)
   ======================================== */
.zone-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.zone-cols h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.zone-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.zone-tag {
  background: rgba(232, 101, 26, 0.08);
  border: 1px solid rgba(232, 101, 26, 0.2);
  color: var(--secondary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
}

/* ========================================
   RESPONSIVE — NEW COMPONENTS
   ======================================== */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .zone-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .cta-inline {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}

/* ========================================
   NORMAN TYPES GRID (constructions normandes - démolition)
   ======================================== */
.norman-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.norman-type-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.norman-type-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.1rem;
  letter-spacing: 0.01em;
}

.norman-type-label svg {
  flex-shrink: 0;
}

.norman-type-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  padding: 0.9rem 1.1rem;
}

@media (max-width: 600px) {
  .norman-types-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
